/* PyLoHerb — About Us (/about-us) extras on top of brand-system.css */

.pyloherb-about {
    overflow-x: hidden;
    max-width: 100%;
}

.pyloherb-about * {
    max-width: 100%;
}

.pyloherb-about img,
.pyloherb-about figure,
.pyloherb-about iframe,
.pyloherb-about table {
    max-width: 100% !important;
    height: auto;
}

.pyloherb-about table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pyloherb-about__richtext {
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: var(--section-desc-color, var(--bs-muted));
    text-align: left;
}

.pyloherb-about__richtext p {
    margin: 0 0 var(--pylo-section-desc-gap, 1em);
    font-size: inherit;
    line-height: inherit;
    text-align: inherit;
}

.pyloherb-about__richtext p:last-child {
    margin-bottom: 0;
}

.pyloherb-about__production {
    padding: var(--pylo-space-lg, clamp(24px, 2vw, 32px)) 0;
}

.pyloherb-about__production-intro {
    max-width: 820px;
    margin: 0 auto var(--pylo-space-md, 24px);
    text-align: center;
}

.pyloherb-about__production-intro h2 {
    margin: 0 0 var(--pylo-space-xs, 16px);
    font-family: var(--bs-serif);
    font-size: var(--pylo-fs-h2, clamp(1.45rem, 2.8vw, 1.85rem));
    font-weight: 600;
    font-style: normal;
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: var(--section-title-color, var(--bs-green));
}

.pyloherb-about__richtext,
.pyloherb-about__production-intro p {
    font-style: normal;
}

.pyloherb-about__richtext em,
.pyloherb-about__richtext i {
    font-style: italic;
}

.pyloherb-about__production-intro p {
    margin: 0;
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.7);
    color: var(--section-desc-color, var(--bs-muted));
    text-align: center;
}

/* Left mô tả (Câu chuyện / Vision / Mission): desktop justify */
@media (min-width: 768px) {
    .pyloherb-about__richtext,
    .pyloherb-about__richtext p,
    .pyloherb-about__story .pyloherb-bs__split-text p,
    .pyloherb-about__vision .pyloherb-bs__split-text p,
    .pyloherb-about__mission .pyloherb-bs__split-text p {
        text-align: justify;
        text-justify: inter-word;
    }
}

.pyloherb-about__production-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .pyloherb-about__production-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
}

.pyloherb-about__production-item {
    margin: 0;
    overflow: hidden;
    background: transparent;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
}

.pyloherb-about__production-item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}

@media (min-width: 992px) {
    .pyloherb-about__vision .pyloherb-bs__split-media img,
    .pyloherb-about__mission .pyloherb-bs__split-media img {
        min-height: 420px;
        object-fit: contain;
    }
}

/* ── All About Us Sections Unified Padding (Desktop & Mobile) ── */
.pyloherb-about section,
.pyloherb-about .pyloherb-about-section,
.pyloherb-about .pyloherb-bs__about,
.pyloherb-about .pyloherb-about__story,
.pyloherb-about .pyloherb-about__vision,
.pyloherb-about .pyloherb-about__mission,
.pyloherb-about .pyloherb-about__production,
.pyloherb-about .pyloherb-about__standardization {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

@media (max-width: 767.98px) {
    .pyloherb-about section,
    .pyloherb-about .pyloherb-about-section,
    .pyloherb-about .pyloherb-bs__about,
    .pyloherb-about .pyloherb-about__story,
    .pyloherb-about .pyloherb-about__vision,
    .pyloherb-about .pyloherb-about__mission,
    .pyloherb-about .pyloherb-about__production,
    .pyloherb-about .pyloherb-about__standardization {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
    }
}

/* Standardization Sections rhythm (Danh sách Section Item) */
.pyloherb-about .pyloherb-about__standardization + .pyloherb-about__standardization {
    padding-top: 0 !important;
}

.pyloherb-about__standardization-intro {
    width: 100%;
    margin-bottom: 16px;
}

.pyloherb-about__standardization-title {
    font-family: var(--bs-serif);
    font-size: var(--pylo-fs-h2, clamp(1.35rem, 2.2vw, 1.75rem));
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--section-title-color, #9d4915);
}

.pyloherb-about__standardization-content {
    font-size: var(--pylo-section-desc-size, 15px);
    line-height: var(--pylo-section-desc-lh, 1.65);
    color: var(--section-desc-color, #333333);
}

.pyloherb-about__standardization-content p {
    margin-bottom: 10px;
}

.pyloherb-about__standardization-content p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .pyloherb-about__standardization-content p {
        text-align: justify;
        text-justify: inter-word;
    }
}

.pyloherb-about__standardization-figure {
    margin: 14px 0 0 0;
    width: 100%;
}

.pyloherb-about__standardization-media {
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}

.pyloherb-about__standardization-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.pyloherb-about__standardization-caption {
    font-size: 13.5px;
    font-style: italic;
    color: #666666;
    text-align: center;
    margin-top: 8px;
}

