/* Why Exhibit — page-specific styles (aw- namespace) */

/* --- Shared rich-text (CMS CKEditor content) --- */
.aw-richtext {
    color: var(--aw-body);
    line-height: 1.65;
}

.aw-richtext p {
    margin: 0 0 0.9em;
}

.aw-richtext p:last-child {
    margin-bottom: 0;
}

.aw-richtext strong {
    color: var(--aw-heading);
    font-weight: 700;
}

.aw-richtext ul,
.aw-richtext ol {
    margin: 0 0 0.9em;
    padding-left: 1.35rem;
}

.aw-richtext ul { list-style: disc; }
.aw-richtext ol { list-style: decimal; }

.aw-richtext li {
    margin-bottom: 0.4em;
}

.aw-richtext a {
    color: var(--aw-accent);
    font-weight: 650;
}

/* --- Image-backed hero (mirrors why-attend / contact hero) --- */
.aw-exhibit-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(420px, 54vh, 580px);
    overflow: hidden;
    isolation: isolate;
}

.aw-exhibit-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.aw-exhibit-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 25, 32, 0.72), rgba(18, 78, 96, 0.42) 48%, rgba(18, 78, 96, 0.08)),
        linear-gradient(180deg, rgba(5, 25, 32, 0.14), rgba(5, 25, 32, 0.3));
    z-index: -1;
}

.aw-exhibit-hero__content {
    padding-top: calc(var(--aw-header-height) + clamp(48px, 6.5vw, 77px));
    padding-bottom: clamp(58px, 8vw, 102px);
}

.aw-exhibit-hero .aw-eyebrow {
    color: var(--aw-highlight);
}

.aw-exhibit-hero .aw-eyebrow::before {
    background: var(--aw-highlight);
}

.aw-exhibit-hero h1 {
    max-width: 760px;
    margin: 14px 0 18px;
    color: var(--aw-white);
    font-size: clamp(3rem, 7vw, 6.8rem);
    letter-spacing: 0;
}

.aw-exhibit-hero p {
    max-width: 640px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

/* --- Lead / "Take the Lead" --- */
.aw-exhibit-lead {
    background:
        radial-gradient(circle at 12% 16%, rgba(184, 245, 255, 0.28), transparent 30%),
        linear-gradient(180deg, var(--aw-white), var(--aw-surface));
}

.aw-exhibit-lead__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.aw-exhibit-lead__title {
    margin-top: 10px;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.05;
}

.aw-exhibit-lead__title span {
    display: block;
    color: var(--aw-accent);
}

.aw-exhibit-lead__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 34px 0 0;
}

.aw-exhibit-lead__details div {
    padding: 18px;
    border: 1px solid rgba(18, 78, 96, 0.1);
    border-radius: var(--aw-radius-md);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--aw-shadow-card);
}

.aw-exhibit-lead__details dt {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--aw-accent);
    font-size: 0.74rem;
    font-weight: 780;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aw-exhibit-lead__details dt i {
    color: var(--aw-primary);
}

.aw-exhibit-lead__details dd {
    margin: 0;
    color: var(--aw-heading);
    font-weight: 650;
    line-height: 1.4;
}

.aw-exhibit-lead__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.aw-exhibit-lead__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.aw-exhibit-stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: clamp(20px, 3vw, 26px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background: var(--aw-white);
    box-shadow: var(--aw-shadow-card);
    transition: box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-stat:hover {
    box-shadow: var(--aw-shadow-soft);
}

.aw-exhibit-stat__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    flex: 0 0 auto;
    border-radius: var(--aw-radius-md);
    background: linear-gradient(135deg, var(--aw-primary), var(--aw-accent));
    color: var(--aw-white);
    font-size: 1.35rem;
}

.aw-exhibit-stat p {
    margin: 0;
    color: var(--aw-body);
    font-size: 0.98rem;
    line-height: 1.55;
}

/* --- Statement ("Why Exhibit At / Showcase. Connect.") --- */
.aw-exhibit-statement {
    text-align: center;
}

.aw-exhibit-statement__heading {
    max-width: 860px;
    margin: 0 auto;
}

.aw-exhibit-statement__heading h2 {
    margin-top: 8px;
    font-size: clamp(2rem, 4.4vw, 3.6rem);
}

.aw-exhibit-statement__body {
    max-width: 920px;
    margin: 28px auto 0;
    color: var(--aw-body);
    font-size: 1.04rem;
    line-height: 1.7;
}

.aw-exhibit-statement__actions {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

/* --- Benefits --- */
.aw-exhibit-benefits__heading {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.aw-exhibit-benefits__intro {
    margin-top: -18px;
}

.aw-exhibit-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.aw-exhibit-benefit {
    padding: clamp(26px, 3.4vw, 34px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background: var(--aw-white);
    box-shadow: var(--aw-shadow-card);
    transition: box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-benefit:hover {
    box-shadow: var(--aw-shadow-soft);
}

.aw-exhibit-benefit__icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin-bottom: 22px;
    border-radius: var(--aw-radius-md);
    background: linear-gradient(135deg, var(--aw-primary), var(--aw-accent));
    color: var(--aw-white);
    font-size: 1.6rem;
}

.aw-exhibit-benefit h3 {
    margin-bottom: 12px;
    font-size: 1.22rem;
    line-height: 1.25;
}

/* --- Inline CTA (after benefits / categories) --- */
.aw-exhibit-inline-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    text-align: center;
}

.aw-exhibit-inline-cta .aw-richtext {
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    color: var(--aw-heading);
}

/* --- Categories --- */
.aw-exhibit-categories__heading {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.aw-exhibit-categories__intro {
    margin-top: -18px;
}

.aw-exhibit-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.aw-exhibit-category {
    overflow: hidden;
    padding: clamp(24px, 3vw, 30px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background: var(--aw-white);
    box-shadow: var(--aw-shadow-card);
    text-align: center;
    transition: box-shadow 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-category:hover {
    box-shadow: var(--aw-shadow-soft);
}

.aw-exhibit-category__media {
    overflow: hidden;
    margin: calc(clamp(24px, 3vw, 30px) * -1) calc(clamp(24px, 3vw, 30px) * -1) 22px;
    aspect-ratio: 16 / 10;
    background: var(--aw-surface);
}

.aw-exhibit-category__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-exhibit-category:hover .aw-exhibit-category__media img {
    transform: scale(1.05);
}

.aw-exhibit-category h3 {
    margin-bottom: 12px;
    font-size: 1.24rem;
}

.aw-exhibit-category .aw-richtext {
    color: var(--aw-muted);
}

/* --- Prospectus + closing CTA --- */
.aw-exhibit-prospectus {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(24px, 4vw, 48px);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    background:
        radial-gradient(circle at 90% 12%, rgba(184, 245, 255, 0.3), transparent 32%),
        var(--aw-white);
    box-shadow: var(--aw-shadow-card);
}

.aw-exhibit-prospectus__text h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.aw-exhibit-prospectus__text .aw-richtext {
    color: var(--aw-muted);
}

.aw-exhibit-prospectus__action {
    flex: 0 0 auto;
}

/* Closing CTA corner decoration (scoped, see GUIDE 3.5) */
.aw-exhibit-cta {
    margin-top: 32px;
}

.aw-exhibit-cta .aw-cta {
    position: relative;
    overflow: hidden;
}

.aw-exhibit-cta .aw-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: clamp(200px, 26vw, 320px);
    height: clamp(200px, 26vw, 320px);
    background: url("../images/decor/aviation-swirl.png") no-repeat center / contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.aw-exhibit-cta .aw-cta > div {
    position: relative;
    z-index: 1;
}

/* --- Responsive --- */
@media (max-width: 1080px) {
    .aw-exhibit-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .aw-exhibit-lead__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .aw-exhibit-prospectus {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .aw-exhibit-prospectus__action {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .aw-exhibit-lead__details,
    .aw-exhibit-benefits__grid,
    .aw-exhibit-categories__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aw-exhibit-stat,
    .aw-exhibit-benefit,
    .aw-exhibit-category {
        transition: none;
    }

    .aw-exhibit-category__media img,
    .aw-exhibit-category:hover .aw-exhibit-category__media img {
        transition: none;
        transform: none;
    }
}
