/* ============================================================
   IAB HOLIDAYS — About Page
   Design tokens mirror package detail + packages listing
============================================================ */

body.page-template-about,
body.page-template-about-php,
body.page-template-about .pageWarp {
    background: #f7f5fa !important;
}

body.page-template-about .iab-header,
body.page-template-about-php .iab-header {
    position: absolute !important;
    top: 24px !important;
    background: transparent !important;
}

/* ── Outer wrapper ── */
.iab-about {
    background: #f7f5fa;
    padding-bottom: 80px;
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
.iab-about__hero-zone {
    position: relative;
    margin-top: -72px;
    margin-bottom: 48px;
}

.iab-about__hero {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 520px;
    padding: 148px 0 80px;
    background-size: cover;
    background-position: center;
    background-image: var(--iab-about-bg, linear-gradient(135deg, #2E0C54 0%, #49207A 100%));
    color: #fff;
    overflow: hidden;
}

.iab-about__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(46, 12, 84, 1) 20%,
        rgba(73, 32, 122, 0.5) 100%
    );
}

/* Gradient-only hero (no background image): keep solid brand gradient, no overlay */
.iab-about__hero:not(.iab-about__hero--has-image) .iab-about__hero-overlay {
    display: none;
}

.iab-about__hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    flex: 1;
    min-height: 340px;
}

.iab-about__hero-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.iab-about__eyebrow {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.iab-about__title {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: clamp(38px, 5.5vw, 56px);
    font-weight: 600;
    line-height: 1.08;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.iab-about__lead {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    max-width: 640px;
}

/* ══════════════════════════════════
   MAIN CONTENT
══════════════════════════════════ */
.iab-about__main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.iab-about__panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(69, 45, 91, 0.08);
    border: 1px solid rgba(69, 45, 91, 0.06);
    padding: 40px 36px;
}

.iab-about__panel--accent {
    background: linear-gradient(135deg, #2E0C54 0%, #49207A 100%);
    border-color: transparent;
    color: #fff;
}

.iab-about__panel--accent .iab-about__panel-title {
    color: #fff;
}

.iab-about__panel--accent .iab-about__prose,
.iab-about__panel--accent .iab-about__prose p {
    color: rgba(255, 255, 255, 0.88);
}

.iab-about__panel-title {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 600;
    color: #452D5B;
    margin: 0 0 20px;
    line-height: 1.1;
}

.iab-about__prose {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 15px;
    line-height: 1.78;
    color: #5a4a6a;
}

.iab-about__prose p {
    margin: 0 0 16px;
    color: inherit;
}

.iab-about__prose p:last-child { margin-bottom: 0; }

/* ── Values ── */
.iab-about__values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.iab-about__value-card {
    background: #faf8fc;
    border: 1px solid rgba(69, 45, 91, 0.08);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.iab-about__value-card:hover {
    box-shadow: 0 8px 28px rgba(69, 45, 91, 0.12);
    transform: translateY(-2px);
}

.iab-about__value-ico {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
}

.iab-about__value-text {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 14px;
    line-height: 1.65;
    color: #452D5B;
}

.iab-about__value-text p {
    margin: 0 0 8px;
}

.iab-about__value-text p:last-child { margin-bottom: 0; }

.iab-about__value-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #FC7936;
    margin-bottom: 6px;
}

/* ── Why IAB ── */
.iab-about__why {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(30, 0, 58, 0.14);
    min-height: 360px;
}

.iab-about__why-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.iab-about__why-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(30, 0, 58, 0.92) 0%,
        rgba(69, 45, 91, 0.82) 50%,
        rgba(20, 8, 38, 0.88) 100%);
}

.iab-about__why-inner {
    position: relative;
    z-index: 2;
    padding: 48px 36px;
}

.iab-about__why-title {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: clamp(26px, 3.5vw, 34px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 28px;
    text-align: center;
}

.iab-about__why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.iab-about__why-card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: background 0.2s;
}

.iab-about__why-card:hover {
    background: rgba(255, 255, 255, 0.16);
}

.iab-about__why-ico {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin: 0 auto 14px;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.iab-about__why-text {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

/* ── Team ── */
.iab-about__team-lead {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 15px;
    line-height: 1.7;
    color: #6D5B7D;
    margin: -8px 0 28px;
    max-width: 640px;
}

.iab-about__team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.iab-about__team-card {
    background: #faf8fc;
    border: 1px solid rgba(69, 45, 91, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.iab-about__team-card:hover {
    box-shadow: 0 8px 28px rgba(69, 45, 91, 0.12);
    transform: translateY(-2px);
}

.iab-about__team-photo {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center top;
}

.iab-about__team-meta {
    padding: 16px 14px 18px;
    text-align: center;
}

.iab-about__team-name {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 18px;
    font-weight: 600;
    color: #452D5B;
    margin: 0 0 4px;
    line-height: 1.2;
}

.iab-about__team-role {
    font-family: var(--iab-font, 'Helvetica Neue', Helvetica, Arial, sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6D5B7D;
    margin: 0;
}

/* Hide legacy about markup if any remains */
.iab-about .aboutTop,
.iab-about .ourStory,
.iab-about .ourMission,
.iab-about .ourValues,
.iab-about .whyIAB,
.iab-about .meetTheTeam {
    display: none !important;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 991px) {
    .iab-about__hero-zone { margin-top: -64px; margin-bottom: 40px; }
    .iab-about__hero { min-height: 480px; padding: 136px 0 72px; }
    .iab-about__hero-inner { min-height: 300px; padding: 20px; }
    .iab-about__main { padding: 0 20px; }
    .iab-about__panel { padding: 28px 24px; }
    .iab-about__values-grid,
    .iab-about__why-grid { grid-template-columns: 1fr; }
    .iab-about__team-grid { grid-template-columns: repeat(2, 1fr); }
    .iab-about__why-inner { padding: 36px 24px; }
}

@media (max-width: 768px) {
    body.page-template-about .iab-header,
    body.page-template-about-php .iab-header {
        top: 12px !important;
    }

    .iab-about__hero-zone { margin-top: -56px; }
    .iab-about__hero { min-height: 460px; padding: 148px 0 64px; }
    .iab-about__hero-inner { padding: 16px 20px; min-height: 280px; }
}

@media (max-width: 600px) {
    .iab-about__hero-zone { margin-top: -48px; margin-bottom: 32px; }
    .iab-about__hero { min-height: 440px; padding: 140px 0 56px; }
    .iab-about__hero-inner { padding: 12px 16px; min-height: 260px; }
    .iab-about__main { padding: 0 16px; gap: 20px; }
    .iab-about__panel { padding: 24px 20px; }
    .iab-about__team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .iab-about__team-name { font-size: 16px; }
    .iab-about__why-inner { padding: 28px 20px; }
}
