/*
 * Stile condiviso per le pagine progetto della cartella residenziale
 * (essenziale, monocromatico, piccole, e successive)
 */

.pg-hero {
    padding: 40px 20px 20px;
    text-align: center;
    background: #fff;
}
.pg-hero h3 {
    font-size: 38px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 300;
    color: #303334;
    margin: 0 0 8px;
    border: none !important;
    padding: 0 !important;
    line-height: 1.5;
}
.pg-hero .pg-subtitle {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
    line-height: 1.5;
}
.pg-hero .pg-divider {
    width: 50px;
    height: 3px;
    background: #ed1e24;
    margin: 12px auto 0;
    border: 0;
}

.pg-cards {
    padding: 25px 20px 30px;
    background: #f6f6f6;
}
.pg-card {
    background: #fff;
    padding: 25px 26px;
    border-radius: 4px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    border-top: 3px solid #ed1e24;
    height: 100%;
    margin-bottom: 16px;
    text-align: left;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.pg-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}
.pg-card h6 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: #303334;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ececec;
    line-height: 1.5;
}
.pg-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}
.pg-card ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}
.pg-card ul li {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 4px;
    color: #444;
}
.pg-card .pg-label {
    font-weight: 600;
    color: #303334;
    display: inline-block;
    min-width: 200px;
}

.pg-gallery {
    padding: 30px 20px;
    background: #fff;
}
.pg-gallery .row {
    margin-left: -8px;
    margin-right: -8px;
}
.pg-gallery [class^="col-"] {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 14px;
}
.pg-gallery .thumbnail {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.pg-gallery .thumbnail img {
    display: block;
    transition: transform 0.5s ease;
}
.pg-gallery .thumbnail:hover img {
    transform: scale(1.03);
}

.pg-description {
    padding: 35px 20px 40px;
    background: #fafafa;
}
.pg-description .pg-desc-inner {
    max-width: 880px;
    margin: 0 auto;
}
.pg-description .pg-desc-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #303334;
    text-align: left;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ed1e24;
    display: inline-block;
}
.pg-description .pg-desc-title .pg-desc-year {
    color: #999;
    font-weight: 300;
    letter-spacing: 3px;
    margin-left: 8px;
}
.pg-description p {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: justify;
    margin-bottom: 10px;
}
.pg-description p:first-of-type::first-letter {
    font-size: 3em;
    float: left;
    line-height: 0.9;
    margin: 2px 8px 0 0;
    color: #ed1e24;
    font-weight: 300;
}
.pg-description ul {
    list-style: disc;
    font-size: 16px;
    line-height: 1.5;
    padding-left: 32px;
    margin: 6px 0 12px;
    color: #333;
    text-align: left;
}
.pg-description ul li {
    margin-bottom: 3px;
}

.pg-realizzato-head {
    text-align: center;
    padding: 30px 20px 6px;
}
.pg-realizzato-head h3 {
    font-size: 30px;
    letter-spacing: 5px;
    text-transform: uppercase;
    font-weight: 300;
    color: #303334;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 4px;
    line-height: 1.5;
}
.pg-realizzato-head h5 {
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 10px;
    line-height: 1.5;
}
.pg-realizzato-head .pg-divider {
    width: 50px;
    height: 3px;
    background: #ed1e24;
    margin: 0 auto;
    border: 0;
}

@media (max-width: 767px) {
    .pg-hero { padding: 25px 15px 15px; }
    .pg-hero h3 { font-size: 26px; letter-spacing: 4px; }
    .pg-cards { padding: 18px 10px 24px; }
    .pg-card { padding: 20px 18px; }
    .pg-card .pg-label { min-width: 0; display: inline; }
    .pg-description { padding: 25px 15px 30px; }
    .pg-description p { text-align: left; }
    .pg-description p:first-of-type::first-letter { font-size: 2.4em; }
    .pg-realizzato-head h3 { font-size: 24px; letter-spacing: 4px; }
}
