/* ==========================================================
   GRGVS UNIVERSAL PROJECT TEMPLATE
   Responsive: Desktop | Laptop | Tablet | Mobile
   ========================================================== */

.grgvs-project,
.grgvs-project * {
    box-sizing: border-box;
}

.grgvs-project {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    color: #17221C;
    font-family: inherit;
}

.grgvs-project p,
.grgvs-project li {
    overflow-wrap: break-word;
}


/* ----------------------------------------------------------
   FEATURED IMAGE
   ---------------------------------------------------------- */

.grgvs-project-image {
    width: 100%;
    margin: 0 0 34px;
}

.grgvs-project-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    border-radius: 8px;
}


/* ----------------------------------------------------------
   PROJECT SUMMARY
   ---------------------------------------------------------- */

.grgvs-project-summary {
    max-width: 980px;
    margin: 0 0 36px;
    color: #2F3A34;
    font-size: 18px;
    line-height: 1.75;
}

.grgvs-project-summary p {
    margin-top: 0;
    margin-bottom: 16px;
}


/* ----------------------------------------------------------
   PROJECT STATISTICS
   ---------------------------------------------------------- */

.grgvs-project-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 55px;
}

.grgvs-stat {
    min-width: 0;
    padding: 24px;
    background: #F6F8F5;
    border: 1px solid #E8F1E8;
    border-radius: 8px;
}

.grgvs-stat strong {
    display: block;
    margin-bottom: 7px;
    color: #123B2A;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
}

.grgvs-stat span {
    display: block;
    color: #5F6B63;
    font-size: 14px;
    line-height: 1.45;
}


/* ----------------------------------------------------------
   CONTENT SECTIONS
   ---------------------------------------------------------- */

.grgvs-project-section,
.grgvs-project-details {
    margin: 55px 0;
}

.grgvs-project h2 {
    margin: 0 0 24px;
    color: #123B2A;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.grgvs-project-section p {
    margin-top: 0;
    margin-bottom: 18px;
    color: #2F3A34;
    font-size: 17px;
    line-height: 1.75;
}

.grgvs-project-section ul,
.grgvs-project-section ol {
    margin: 18px 0;
    padding-left: 24px;
}

.grgvs-project-section li {
    margin-bottom: 8px;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   PROJECT AT A GLANCE
   ---------------------------------------------------------- */

.grgvs-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    background: #FFFFFF;
    border: 1px solid #E8F1E8;
    border-radius: 8px;
}

.grgvs-details-grid > div {
    min-width: 0;
    padding: 19px 22px;
    border-bottom: 1px solid #E8F1E8;
}

.grgvs-details-grid > div:nth-child(odd) {
    border-right: 1px solid #E8F1E8;
}

.grgvs-details-grid span {
    display: block;
    margin-bottom: 6px;
    color: #5F6B63;
    font-size: 13px;
    font-weight: 500;
}

.grgvs-details-grid strong {
    display: block;
    color: #17221C;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.45;
}


/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */

.grgvs-project-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.grgvs-project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 22px;
    background: #2E7D32;
    border-radius: 5px;
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.grgvs-project-button:hover {
    background: #123B2A;
    color: #FFFFFF !important;
}

.grgvs-project-button:focus-visible {
    outline: 3px solid #D9A441;
    outline-offset: 3px;
}

.grgvs-project-button-secondary {
    background: #123B2A;
}


/* ----------------------------------------------------------
   FINAL CTA
   ---------------------------------------------------------- */

.grgvs-project-cta {
    margin: 65px 0 10px;
    padding: 46px;
    background: #123B2A;
    border-radius: 8px;
}

.grgvs-project-cta h2 {
    margin: 0 0 15px;
    color: #FFFFFF;
}

.grgvs-project-cta p {
    max-width: 800px;
    margin: 0 0 24px;
    color: #FFFFFF;
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.92;
}

.grgvs-project-cta .grgvs-project-button {
    background: #FFFFFF;
    color: #123B2A !important;
}

.grgvs-project-cta .grgvs-project-button:hover {
    background: #D9A441;
    color: #17221C !important;
}


/* ----------------------------------------------------------
   LAPTOP
   ---------------------------------------------------------- */

@media (max-width: 1199px) {

    .grgvs-project {
        max-width: 100%;
    }

    .grgvs-project-stats {
        gap: 14px;
    }

    .grgvs-stat {
        padding: 21px;
    }

    .grgvs-stat strong {
        font-size: 25px;
    }
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 1024px) {

    .grgvs-project {
        padding-left: 20px;
        padding-right: 20px;
    }

    .grgvs-project-image img {
        max-height: 460px;
    }

    .grgvs-project-summary {
        font-size: 17px;
    }

    .grgvs-project-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grgvs-project h2 {
        font-size: 30px;
    }

    .grgvs-project-cta {
        padding: 38px 32px;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 767px) {

    .grgvs-project {
        padding-left: 16px;
        padding-right: 16px;
    }

    .grgvs-project-image {
        margin-bottom: 24px;
    }

    .grgvs-project-image img {
        max-height: 330px;
        border-radius: 6px;
    }

    .grgvs-project-summary {
        margin-bottom: 26px;
        font-size: 16px;
        line-height: 1.65;
    }

    .grgvs-project-stats {
        grid-template-columns: 1fr;
        gap: 11px;
        margin: 25px 0 40px;
    }

    .grgvs-stat {
        padding: 19px 20px;
    }

    .grgvs-stat strong {
        font-size: 24px;
    }

    .grgvs-project h2 {
        margin-bottom: 18px;
        font-size: 26px;
    }

    .grgvs-project-section,
    .grgvs-project-details {
        margin: 40px 0;
    }

    .grgvs-details-grid {
        grid-template-columns: 1fr;
    }

    .grgvs-details-grid > div {
        border-right: 0 !important;
    }

    .grgvs-project-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .grgvs-project-button {
        width: 100%;
        min-height: 48px;
    }

    .grgvs-project-cta {
        margin-top: 45px;
        padding: 30px 22px;
    }
}


/* ----------------------------------------------------------
   SMALL MOBILE
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .grgvs-project {
        padding-left: 14px;
        padding-right: 14px;
    }

    .grgvs-project-image img {
        max-height: 260px;
    }

    .grgvs-project h2 {
        font-size: 24px;
    }

    .grgvs-project-cta {
        padding: 26px 18px;
    }
}


/* ----------------------------------------------------------
   ACCESSIBILITY
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .grgvs-project-button {
        transition: none;
    }
}