/* ==========================================================================
   About Page – Gaya Cosmetics
   Brand colors: #EEE6DA (warm beige), #F8F5F0 (off-white), #FFFFFF (white),
                 #4C312F (dark brown text), #604136 (earthy brown secondary)
   Font: Heebo
   ========================================================================== */

/* ---- Layout ---- */
.about-page {
    color: #4C312F;
    font-family: 'Heebo', sans-serif;
    line-height: 1.85;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Hide Astra default page header/title */
.about-page .entry-header,
.about-page .ast-archive-description,
.page-template-about-page-template .entry-title {
    display: none !important;
}

/* ---- Hero Section ---- */
.about-hero {
    position: relative;
    min-height: 580px;
    background-image: url('../../images/about-us-background.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.about-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(76, 49, 47, 0.18) 0%, rgba(76, 49, 47, 0.45) 100%);
    z-index: 1;
}

.about-hero__content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    max-width: 720px;
    padding: 60px 30px;
}

.about-hero__title {
    font-family: 'Heebo', sans-serif;
    font-size: 60px;
    font-weight: 200;
    letter-spacing: 0.02em;
    margin: 0 0 26px;
    color: #FFFFFF;
    line-height: 1.15;
}

.about-hero__text {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.7;
    margin: 0 0 18px;
}

.about-hero__text strong {
    font-weight: 500;
    letter-spacing: 0.02em;
}

.about-hero__subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 0.01em;
}

/* ---- Clean Beauty Section ---- */
.about-clean {
    background-color: #F8F5F0;
    padding: 100px 0;
    text-align: center;
}

.about-clean__title {
    font-size: 32px;
    font-weight: 300;
    color: #4C312F;
    margin: 0 0 14px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.about-clean__subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #604136;
    margin: 0 0 45px;
    letter-spacing: 0.02em;
}

.about-clean__grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 70px;
}

.about-clean__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: start;
}

.about-clean__list li {
    font-size: 15px;
    font-weight: 300;
    color: #604136;
    padding: 12px 0;
    border-bottom: 1px solid rgba(76, 49, 47, 0.12);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Clean icons row */
.about-clean__icons {
    display: flex;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.about-clean__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    min-width: 100px;
}

.about-clean__icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    opacity: 0.85;
}

.about-clean__icon span {
    font-size: 13px;
    font-weight: 400;
    color: #4C312F;
    letter-spacing: 0.02em;
}

/* ---- Content Sections (Story / Values / Vision) ---- */
.about-section {
    padding: 110px 0;
}

.about-section--story {
    background-color: #FFFFFF;
}

.about-section--values {
    background-color: #EEE6DA;
}

.about-section--vision {
    background-color: #F8F5F0;
}

.about-section__inner {
    max-width: 780px;
}

.about-section__text {
    text-align: start;
}

.about-section__label {
    display: inline-block;
    font-size: 17px;
    font-weight: 300;
    letter-spacing: 0;
    color: #604136;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(96, 65, 54, 0.3);
}

.about-section__heading-en {
    font-family: 'Heebo', sans-serif;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #4C312F;
    margin: 0 0 32px;
    line-height: 1.25;
}

.about-section__text p {
    font-size: 17px;
    line-height: 1.9;
    font-weight: 300;
    color: #4C312F;
    margin: 0 0 20px;
}

/* Brand wordmark inline in body copy — per brand book, wordmark is lowercase */
.gaya-wordmark {
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #4C312F;
    font-size: 1.02em;
}

.about-section__text p:last-child {
    margin-bottom: 0;
}

/* ---- Responsive ---- */

/* Tablet (max 999px) */
@media (max-width: 999px) {
    .about-hero {
        min-height: 460px;
    }

    .about-hero__title {
        font-size: 46px;
        letter-spacing: 0.02em;
    }

    .about-hero__text {
        font-size: 19px;
    }

    .about-clean {
        padding: 75px 0;
    }

    .about-clean__grid {
        gap: 50px;
    }

    .about-clean__icons {
        gap: 32px;
    }

    .about-section {
        padding: 80px 0;
    }

    .about-section__heading-en {
        font-size: 30px;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .about-hero {
        min-height: 420px;
        background-image: url('../../images/about-us-mobile.jpg');
    }

    .about-hero__content {
        padding: 40px 22px;
    }

    .about-hero__title {
        font-size: 36px;
        letter-spacing: 0.02em;
        margin-bottom: 18px;
    }

    .about-hero__text {
        font-size: 17px;
        line-height: 1.65;
    }

    .about-hero__subtitle {
        font-size: 14px;
    }

    .about-clean {
        padding: 60px 0;
    }

    .about-clean__title {
        font-size: 24px;
    }

    .about-clean__subtitle {
        margin-bottom: 32px;
    }

    .about-clean__grid {
        flex-direction: column;
        gap: 0;
        align-items: center;
        margin-bottom: 48px;
    }

    .about-clean__list {
        width: 100%;
        max-width: 280px;
    }

    .about-clean__list li {
        padding: 10px 0;
    }

    .about-clean__icons {
        gap: 24px;
        justify-content: center;
    }

    .about-clean__icon {
        min-width: 80px;
        flex: 0 0 calc(33.33% - 16px);
    }

    .about-clean__icon img {
        width: 44px;
        height: 44px;
    }

    .about-clean__icon span {
        font-size: 11px;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-container {
        padding: 0 22px;
    }

    .about-section__heading-en {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .about-section__label {
        font-size: 16px;
        letter-spacing: 0;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .about-section__text p {
        font-size: 16px;
        line-height: 1.85;
        margin-bottom: 16px;
    }
}

/* ---- Remove Astra wrapper constraints for full-width layout ---- */
.page-template-about-page-template .site-content > .ast-container {
    max-width: 100%;
    padding: 0;
    display: block;
}

.page-template-about-page-template #primary,
.page-template-about-page-template .ast-container #primary {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    float: none;
}

.page-template-about-page-template #secondary {
    display: none;
}

.page-template-about-page-template article.page {
    margin: 0;
    padding: 0;
}

.page-template-about-page-template .entry-content {
    margin: 0;
    padding: 0;
}

.about-page {
    width: 100% !important;
    max-width: 100% !important;
}
