/* Alumni Club – hero accents + podcast frame polish */

.v16-al-hero {
    background: linear-gradient(
        135deg,
        rgba(10, 54, 82, 0.98) 0%,
        rgba(0, 88, 128, 0.94) 38%,
        rgba(14, 62, 94, 0.96) 68%,
        rgba(10, 54, 82, 0.99) 100%
    );
}

.v16-al-hero::before {
    background:
        radial-gradient(circle at 12% 22%, rgba(102, 214, 231, 0.16) 0%, transparent 34%),
        radial-gradient(circle at 88% 58%, rgba(216, 180, 106, 0.12) 0%, transparent 32%),
        radial-gradient(circle at 50% 100%, rgba(91, 163, 245, 0.08) 0%, transparent 42%),
        linear-gradient(118deg, rgba(0, 104, 142, 0.24) 0%, transparent 56%);
}

.v16-al-hero__glass-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(160px, 22vw, 220px);
}

.v16-al-hero__svg {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 220px;
    display: block;
    margin: 0 auto;
}

.v16-al-page .font-display {
    font-family: var(--font-display, "Space Grotesk", "Noto Sans Georgian", system-ui, sans-serif);
}

.v16-al-podcast__frame iframe {
    display: block;
}

@media (max-width: 820px) {
    .v16-al-page ol.border-l {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
}

/* ============================================================
   Alumni World Map section
   ============================================================ */

.tma-alumni-map {
    position: relative;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
}

/* decorative blobs */
.tma-alumni-map__blob {
    pointer-events: none;
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0;
    animation: tmaMapBlobIn 1.2s ease forwards;
}

.tma-alumni-map__blob--a {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle, rgba(0, 102, 142, 0.14), transparent 70%);
    animation-delay: 0.1s;
}

.tma-alumni-map__blob--b {
    width: 380px;
    height: 380px;
    bottom: -120px;
    right: -80px;
    background: radial-gradient(circle, rgba(102, 214, 231, 0.12), transparent 70%);
    animation-delay: 0.3s;
}

@keyframes tmaMapBlobIn {
    to { opacity: 1; }
}

/* dotted academic background */
.tma-alumni-map__dots {
    pointer-events: none;
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(0, 102, 142, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(0, 102, 142, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 142, 0.04) 1px, transparent 1px);
    background-size: 28px 28px, 80px 80px, 80px 80px;
}

/* glass panel — single-column stacked layout */
.tma-alumni-map__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 64px rgba(10, 54, 82, 0.09);
    padding: 2rem;
}

@media (min-width: 960px) {
    .tma-alumni-map__panel {
        gap: 2rem;
        padding: 2.5rem;
    }
}

/* header row: text left, meta (stat + legend) right */
.tma-alumni-map__header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .tma-alumni-map__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 2rem;
    }
}

.tma-alumni-map__header-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.tma-alumni-map__header-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .tma-alumni-map__header-meta {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.75rem;
    }
}

/* content (kept for backwards compat, not used in new layout) */
.tma-alumni-map__content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tma-alumni-map__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #00668e;
}

.tma-alumni-map__kicker::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: #00668e;
    flex-shrink: 0;
}

.tma-alumni-map__heading {
    font-family: var(--font-display, "Space Grotesk", "Noto Sans Georgian", system-ui, sans-serif);
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    line-height: 1.25;
    color: #0a3652;
}

.tma-alumni-map__desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(36, 70, 90, 0.85);
    max-width: 38ch;
}

/* stat badge */
.tma-alumni-map__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 142, 0.2);
    background: linear-gradient(135deg, rgba(0, 102, 142, 0.07), rgba(102, 214, 231, 0.06));
    width: fit-content;
}

.tma-alumni-map__stat-value {
    font-family: var(--font-display, "Space Grotesk", system-ui, sans-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: #0a3652;
    line-height: 1;
}

.tma-alumni-map__stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(10, 54, 82, 0.65);
    line-height: 1.3;
}

/* legend */
.tma-alumni-map__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.tma-alumni-map__legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(10, 54, 82, 0.7);
}

.tma-alumni-map__legend-swatch {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

.tma-alumni-map__legend-swatch--alumni {
    background: #00668e;
}

.tma-alumni-map__legend-swatch--other {
    background: #d8ecf4;
    border: 1px solid rgba(0, 102, 142, 0.25);
}

/* screen-reader country list */
.tma-alumni-map__sr-list {
    margin-top: 0.75rem;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tma-alumni-map__sr-list li {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 102, 142, 0.08);
    color: #0a3652;
    font-weight: 500;
}

/* visual (right) */
.tma-alumni-map__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* map container — 731×400 on desktop, scales down proportionally on smaller screens */
.tma-alumni-map__map {
    position: relative;
    width: 100%;
    max-width: 731px;
    aspect-ratio: 731 / 400;
    min-height: 200px;
    border-radius: 18px;
    overflow: hidden;
    background: #f0f7fb;
    box-shadow: inset 0 1px 3px rgba(10, 54, 82, 0.07);
}

/* jsVectorMap overrides */
.tma-alumni-map__map .jvm-container {
    width: 100%;
    height: 100%;
}

.tma-alumni-map__map .jvm-zoom-btn {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 102, 142, 0.25);
    color: #0a3652;
    font-size: 14px;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(10, 54, 82, 0.12);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.tma-alumni-map__map .jvm-zoom-btn:hover {
    background: #00668e;
    color: #fff;
    border-color: #00668e;
}

.tma-alumni-map__map .jvm-zoom-btn.jvm-zoomin {
    top: 10px;
}

.tma-alumni-map__map .jvm-zoom-btn.jvm-zoomout {
    top: 46px;
}

/* tooltip */
.jvm-tooltip {
    background: rgba(10, 54, 82, 0.92) !important;
    color: #fff !important;
    border: 1px solid rgba(102, 214, 231, 0.35) !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 8px 24px rgba(10, 54, 82, 0.25) !important;
    pointer-events: none !important;
    z-index: 9999 !important;
}

/* Graduate outcome cards */
.v16-al-graduates__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.v16-al-graduate-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(238, 248, 255, 0.58));
    box-shadow: 0 18px 48px rgba(10, 54, 82, 0.08);
    backdrop-filter: blur(16px);
}

.v16-al-graduate-card__media {
    aspect-ratio: 1;
    overflow: hidden;
    background: #0a3652;
}

.v16-al-graduate-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.v16-al-graduate-card__body {
    padding: 18px 18px 20px;
}

.v16-al-graduate-card__name {
    margin: 0 0 8px;
    color: #0a3652;
    font-family: var(--font-display, "Space Grotesk", "Noto Sans Georgian", system-ui, sans-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.v16-al-graduate-card__meta {
    margin: 0;
    color: rgba(36, 70, 90, 0.78);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 991px) {
    .v16-al-graduates__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .v16-al-graduates__grid {
        grid-template-columns: 1fr;
    }
}
