.aaig-hero-section {
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/aaig-img.png");
    background-size: cover;
    background-position: center;
    padding: 20px 0;
    color: white;
    text-align: center;
    min-height: 30vh;
    display: flex;
    align-items: center;
}

.aaig-container {
    max-width: 1600px !important;
    margin: 0 auto;
    width: 95%;
}
/* ── Thumbnail Strip ── */
.aaig-thumb-strip-wrapper {
    background: #f5f5f5;
    border-bottom: 3px solid #f0c040;
    padding: 24px 0 0;
    position: relative;
}

.aaig-thumb-strip {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    gap: 0;
    transition: transform 0.4s ease;
}

.aaig-thumb-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.aaig-thumb-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 0 10px;
}

/* Arrow buttons */
.aaig-strip-btn {
    background: #1a2340;
    border: none;
    color: #f0c040;
    width: 44px;
    min-width: 44px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
    align-self: stretch;
}

.aaig-strip-btn:hover {
    background: #f0c040;
    color: #1a2340;
}
.aaig-strip-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Each thumbnail card */
.aaig-thumb-card {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    max-width: 200px;
    cursor: pointer;
    border-bottom: 4px solid transparent;
    padding-bottom: 0;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    background: #fff;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    user-select: none;
}

/* Add button */
.aaig-thumb-card.aaig-add-card {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    max-width: 200px;
    cursor: pointer;
    padding-bottom: 0;
    border-bottom: 0;
    transition:
        border-color 0.25s,
        box-shadow 0.25s;
    background: #fff;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.aaig-thumb-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.aaig-thumb-card.active {
    border-bottom-color: #f0c040;
    box-shadow: 0 4px 18px rgba(240, 192, 64, 0.35);
}

.aaig-thumb-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.aaig-thumb-card .aaig-thumb-label {
    font-family: "Roboto", sans-serif;
    font-size: 0.78rem;
    color: #1a2340;
    padding: 8px 10px 12px;
    line-height: 1.35;
    flex: 1;
}

.aaig-thumb-card.active .aaig-thumb-label {
    color: #b8860b;
    font-weight: 500;
}

/* ── Content Area ── */
.aaig-content-area {
    background: #fff;
    padding: 48px 0 64px;
}

.aaig-panel {
    display: none;
}
.aaig-panel.active {
    display: block;
    animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Panel layout */
.aaig-panel-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.add-infocard-btn {
    /* prevents stretching */
    align-self: flex-start;
}
.aaig-panel-inner {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) {
    .aaig-panel-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.aaig-panel-poster {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
    display: block;
}

.aaig-panel-info h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.65rem;
    color: #1a2340;
    margin-bottom: 6px;
    line-height: 1.3;
}

.aaig-info-block {
    margin-bottom: 20px;
}

.aaig-info-block .aaig-info-label,
.aaig-info-block > p > strong {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b8860b;
    display: block;
    margin-bottom: 4px;
}

.aaig-info-block p,
.aaig-info-block ul,
.aaig-info-block li {
    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.aaig-info-block p {
    margin: 0;
}

.aaig-info-block ul {
    margin: 0;
    padding-left: 1.25rem;
}

.aaig-info-block li {
    margin-bottom: 0.5rem;
}

.aaig-info-block li:last-child {
    margin-bottom: 0;
}

.aaig-info-block a {
    color: #1a2340;
    text-decoration: underline;
    font-weight: 500;
}
.aaig-info-block a:hover {
    color: #b8860b;
}

.aaig-cta-btn {
    display: inline-block;
    margin-top: 6px;
    background: #1a2340;
    color: #f0c040 !important;
    font-family: "Roboto", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 9px 22px;
    border-radius: 3px;
    transition:
        background 0.2s,
        color 0.2s;
}

.aaig-cta-btn:hover {
    background: #f0c040;
    color: #1a2340 !important;
}

/* Gallery grid for older panels */
.aaig-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.aaig-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive container padding */
.aaig-main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── 2021 Full-width banner ── */
.aaig-banner-wrap {
    /* Breaks out of aaig-main-container's max-width */
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 12px;
    background: #1a2340;
}

.aaig-banner-wrap img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.aaig-banner-caption {
    padding: 24px 28px 20px;
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2340;
    line-height: 1.7;
    max-width: 900px;
    border-left: 4px solid #f0c040;
    margin-top: 8px;
    font-style: italic;
}

/* ── 2021 Alternating-row table ── */
.aaig-data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Roboto", sans-serif;
    font-size: 0.88rem;
}

.aaig-data-table thead tr {
    background: #1a2340;
    color: #f0c040;
}

.aaig-data-table thead th {
    padding: 11px 14px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    border: none;
}

.aaig-data-table tbody tr:nth-child(odd) {
    background: #f9f7f0;
}
.aaig-data-table tbody tr:nth-child(even) {
    background: #fff;
}

.aaig-data-table tbody tr:hover {
    background: #fef3cc;
    transition: background 0.15s;
}

.aaig-data-table td {
    padding: 10px 14px;
    color: #333;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.5;
}

.aaig-data-table td:first-child {
    font-weight: 600;
    color: #1a2340;
    white-space: nowrap;
}

/* ── Table cell helpers ── */
.aaig-data-table .td-activity {
    color: #333;
    display: block;
}
.aaig-data-table .td-name {
    font-weight: 700;
    color: #1a2340;
    display: block;
    margin-top: 3px;
}
.aaig-data-table .td-title {
    font-style: italic;
    color: #666;
    display: block;
    font-size: 0.83rem;
}
.aaig-data-table .td-org {
    color: #555;
    display: block;
    font-size: 0.83rem;
}
.aaig-data-table .td-gap {
    display: block;
    margin-top: 10px;
}

/* ── Section title block ── */
.aaig-section-heading {
    margin-bottom: 16px;
    padding: 14px 18px;
    background: #1a2340;
    border-left: 5px solid #f0c040;
    border-radius: 3px;
}
.aaig-section-heading-title {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0c040;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.aaig-section-heading-subtitle {
    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-style: italic;
    color: #e0e0e0;
    display: block;
}

/* ── Media Sections ── */
.aaig-media-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.aaig-media-section .aaig-info-label {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b8860b;
    display: block;
    margin-bottom: 4px;
}

/* Image + Video side by side */
.aaig-media-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.aaig-media-row img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.aaig-video-wrap {
    position: relative;
    width: 100%;
    height: 275px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.aaig-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Two images side by side — same styling as .aaig-panel-poster */
.aaig-dual-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.aaig-dual-images img {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
}

/* Zoom cursor on all clickable images */
.aaig-zoomable {
    cursor: zoom-in;
    transition: opacity 0.18s;
}
.aaig-zoomable:hover {
    opacity: 0.85;
}

/* Lightbox */
.aaig-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.aaig-lightbox.open {
    display: flex;
}

.aaig-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
    animation: lbIn 0.2s ease;
}

@keyframes lbIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.aaig-lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s;
}
.aaig-lightbox-close:hover {
    opacity: 1;
}

@media (max-width: 700px) {
    .aaig-media-row,
    .aaig-dual-images {
        grid-template-columns: 1fr;
    }
    .aaig-media-row img,
    .aaig-media-row .aaig-video-wrap {
        height: 220px;
    }
}

.modal {
    word-break: break-word;
}
