/**
 * TMHS Cheer Booster — Public Theme Styles
 *
 * Navy  #162A50
 * Silver #B8BBC2
 */

:root {
    --tmhs-navy:        #162A50;
    --tmhs-navy-light:  #1e3a6e;
    --tmhs-silver:      #B8BBC2;
    --tmhs-bg:          #ffffff;
    --tmhs-bg-muted:    #f8f9fa;
    --tmhs-text:        #1d2327;
    --tmhs-text-muted:  #646970;
    --tmhs-border:      #e5e7eb;
    --tmhs-radius:      8px;
    --tmhs-radius-lg:   16px;
    --tmhs-shadow:      0 2px 8px rgba(0,0,0,.06);
    --tmhs-shadow-lg:   0 6px 20px rgba(22,42,80,.12);
}

/* ━━━━━━━━━━━━━━━━━━ Sections ━━━━━━━━━━━━━━━━━━ */

.tmhs-section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tmhs-section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tmhs-section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tmhs-text);
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

.tmhs-section__subtitle {
    font-size: 1.1rem;
    color: var(--tmhs-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.tmhs-accent {
    color: var(--tmhs-silver);
}

/* ━━━━━━━━━━━━━━━━━━ Hero ━━━━━━━━━━━━━━━━━━ */

.tmhs-hero {
    background: #182246;
    color: #ffffff;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

.tmhs-hero--image {
    background-size: cover;
    background-position: center top;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
}

.tmhs-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(29, 41, 86, 0.82);
}

/* Straight bottom edge line */
.tmhs-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(184, 187, 194, 0.3);
    z-index: 2;
}

/* Admin dashboard button — upper-right of hero, visible to board/admin only.
   Frosted-glass style matching the Donate Now outline button. */
.tmhs-hero__admin-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    max-width: calc(100% - 40px);
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--tmhs-radius);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    line-height: 1.4;
}
.tmhs-hero__admin-btn:hover,
.tmhs-hero__admin-btn:focus {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transform: scale(1.03);
}
.tmhs-hero__admin-btn:active {
    transform: scale(0.97);
}
.tmhs-hero__admin-btn img,
.tmhs-hero__admin-btn svg {
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1);
}
@media (max-width: 480px) {
    .tmhs-hero__admin-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        right: 12px;
        top: 10px;
    }
}

.tmhs-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.tmhs-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #ffffff;
}

.tmhs-hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.tmhs-hero__actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ━━━━━━━━━━━━━━━━━━ Mission (hero overlap) ━━━━━━━━━━━━━━━━━━ */

.tmhs-mission {
    position: relative;
    z-index: 3;
    margin-top: -3rem;
    padding-bottom: 2rem;
}

/* ━━━━━━━━━━━━━━━━━━ Buttons ━━━━━━━━━━━━━━━━━━ */

.tmhs-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--tmhs-radius);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
    line-height: 1.4;
}

.tmhs-btn:hover {
    transform: translateY(-1px);
}

.tmhs-btn--navy {
    background: var(--tmhs-navy);
    color: #ffffff;
}
.tmhs-btn--navy:hover {
    background: var(--tmhs-navy-light);
    color: #ffffff;
    box-shadow: var(--tmhs-shadow-lg);
}

.tmhs-btn--white {
    background: #ffffff;
    color: var(--tmhs-navy);
}
.tmhs-btn--white:hover {
    background: #f0f0f0;
    color: var(--tmhs-navy);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.tmhs-btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.5);
}
.tmhs-btn--outline:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
}
.tmhs-btn--outline .tmhs-icon {
    filter: brightness(0) invert(1);
}

/* ━━━━━━━━━━━━━━━━━━ Card Grid ━━━━━━━━━━━━━━━━━━ */

.tmhs-card-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.tmhs-card-grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tmhs-card {
    background: var(--tmhs-bg);
    border: 1px solid var(--tmhs-border);
    border-radius: var(--tmhs-radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow .2s ease, transform .15s ease, border-color .2s ease;
}

.tmhs-card:hover {
    box-shadow: var(--tmhs-shadow-lg);
    transform: translateY(-2px);
    border-color: rgba(22,42,80,.15);
}

.tmhs-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(22,42,80,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Base icon style — navy by default, override per-context as needed */
.tmhs-icon {
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

.tmhs-card__icon .tmhs-icon {
    width: 24px;
    height: 24px;
}

.tmhs-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tmhs-text);
    margin: 0 0 0.5rem;
}

.tmhs-card__desc {
    font-size: 0.875rem;
    color: var(--tmhs-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Board member cards — compact */
.tmhs-card--board {
    padding: 1.25rem;
}

.tmhs-card--board .tmhs-card__title {
    font-size: 0.875rem;
}

.tmhs-card--board .tmhs-card__desc {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Icon circle (for section headers) — rounded square */
.tmhs-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(22,42,80,.08);
    margin-bottom: 1.25rem;
}

/* Hero icon — white-on-dark rounded square */
.tmhs-hero__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.tmhs-hero__icon .tmhs-icon {
    width: 32px;
    height: 32px;
    filter: invert(83%) sepia(4%) saturate(298%) hue-rotate(185deg) brightness(91%) contrast(88%);
}

.tmhs-icon-circle .tmhs-icon {
    width: 28px;
    height: 28px;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

/* ━━━━━━━━━━━━━━━━━━ Spirit Wear ━━━━━━━━━━━━━━━━━━ */

.tmhs-spirit-wear {
    max-width: 900px;
}

.tmhs-spirit-wear__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: var(--tmhs-bg);
    border: 1px solid var(--tmhs-border);
    border-radius: var(--tmhs-radius-lg);
    text-decoration: none;
    color: var(--tmhs-text);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.tmhs-spirit-wear__card:hover {
    box-shadow: var(--tmhs-shadow-lg);
    border-color: rgba(22,42,80,.2);
}

.tmhs-spirit-wear__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--tmhs-radius-lg);
    background: rgba(22,42,80,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tmhs-spirit-wear__icon .tmhs-icon {
    width: 32px;
    height: 32px;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

.tmhs-spirit-wear__body {
    flex: 1;
    min-width: 200px;
}

.tmhs-spirit-wear__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tmhs-text);
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.tmhs-spirit-wear__desc {
    font-size: 0.9rem;
    color: var(--tmhs-text-muted);
    margin: 0;
    line-height: 1.6;
}

.tmhs-spirit-wear__btn {
    flex-shrink: 0;
    box-shadow: var(--tmhs-shadow);
    border-radius: 12px;
}

/* ━━━━━━━━━━━━━━━━━━ Donate ━━━━━━━━━━━━━━━━━━ */

.tmhs-donate {
    max-width: 900px;
}

.tmhs-donate__card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid rgba(22,42,80,.08);
    border-radius: var(--tmhs-radius-lg);
    padding: 1.75rem 2rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--tmhs-shadow);
    transition: box-shadow .2s ease, border-color .2s ease;
}

.tmhs-donate__card:hover {
    box-shadow: var(--tmhs-shadow-lg);
    border-color: rgba(22,42,80,.2);
}

.tmhs-donate__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--tmhs-radius-lg);
    background: var(--tmhs-bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tmhs-donate__icon .tmhs-icon {
    width: 32px;
    height: 32px;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

.tmhs-donate__body {
    flex: 1;
    min-width: 200px;
}

.tmhs-donate__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tmhs-text);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}

.tmhs-donate__desc {
    font-size: 0.9rem;
    color: var(--tmhs-text-muted);
    margin: 0;
    line-height: 1.6;
}

.tmhs-donate__btn {
    flex-shrink: 0;
    box-shadow: var(--tmhs-shadow);
    border-radius: 12px;
    line-height: 1.7;
}

/* ━━━━━━━━━━━━━━━━━━ Sponsor Grid ━━━━━━━━━━━━━━━━━━ */

.tmhs-sponsors-tier {
    text-align: center;
}

.tmhs-sponsor-grid {
    display: grid;
    grid-template-columns: repeat(var(--tmhs-cols, 6), 1fr);
    gap: 1.25rem;
    margin-top: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .tmhs-sponsor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .tmhs-sponsor-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* ── Sponsor Card (base) ── */
.tmhs-sponsor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--tmhs-bg);
    height: auto;
    border: 2px solid var(--tmhs-navy);
    border-radius: var(--tmhs-radius-lg);
    transition: box-shadow .2s ease, transform .2s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    padding: 1.25rem 1rem;
}

/* Tier-specific sizing — wider-than-tall rectangles */
.tmhs-sponsor-card--lg { min-height: 140px; max-height: 200px; }
.tmhs-sponsor-card--md { min-height: 100px; max-height: 160px; }
.tmhs-sponsor-card--sm { min-height: 60px; }

.tmhs-sponsor-card:hover {
    box-shadow: var(--tmhs-shadow-lg);
    transform: translateY(-2px);
}

/* ── Platinum — Large cards (4-col) ── */

.tmhs-sponsor-card--lg .tmhs-sponsor-card__logo {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.tmhs-sponsor-card--lg .tmhs-sponsor-card__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tmhs-text);
}

.tmhs-sponsor-card--lg .tmhs-sponsor-card__text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tmhs-navy);
}

.tmhs-sponsor-card__link-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    font-size: 0.9rem;
    color: var(--tmhs-navy);
    opacity: 0;
    transition: opacity .2s ease;
}

a.tmhs-sponsor-card:hover .tmhs-sponsor-card__link-icon {
    opacity: 1;
}

/* ── Gold — Medium cards (5-col) ── */

.tmhs-sponsor-card--md .tmhs-sponsor-card__logo {
    max-width: 100%;
    max-height: 55px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.35rem;
}

.tmhs-sponsor-card--md .tmhs-sponsor-card__name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tmhs-text-muted);
}

.tmhs-sponsor-card--md .tmhs-sponsor-card__text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tmhs-text);
}

/* ── Silver — Small text-only cards ── */

.tmhs-sponsor-card--sm .tmhs-sponsor-card__text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tmhs-text);
    text-align: center;
    word-break: break-word;
}

/* Keep old class for backward compat */

.tmhs-sponsor-logo:hover { box-shadow: var(--tmhs-shadow-lg); }
.tmhs-sponsor-logo img { max-width: 100%; max-height: 60px; object-fit: contain; }

/* ━━━━━━━━━━━━━━━━━━ Contact Form ━━━━━━━━━━━━━━━━━━ */

.tmhs-contact__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .tmhs-contact__grid {
        grid-template-columns: 1fr;
    }
}

.tmhs-form-group {
    margin-bottom: 1.25rem;
}

.tmhs-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tmhs-text);
    margin-bottom: 0.4rem;
}

.tmhs-required {
    color: #dc3545;
}

.tmhs-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--tmhs-border);
    border-radius: 12px;
    background: var(--tmhs-bg);
    font-size: 0.9rem;
    color: var(--tmhs-text);
    transition: border-color .2s ease, box-shadow .2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.tmhs-input:focus {
    outline: none;
    border-color: var(--tmhs-navy);
    box-shadow: 0 0 0 2px rgba(22,42,80,.15);
}

.tmhs-input::placeholder {
    color: var(--tmhs-text-muted);
    opacity: 0.7;
}

.tmhs-textarea {
    resize: none;
    min-height: 120px;
}

.tmhs-contact__submit {
    margin-top: 0.5rem;
}

.tmhs-contact__status {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Sidebar info cards */
.tmhs-contact__info-card {
    background: var(--tmhs-bg);
    border: 1px solid var(--tmhs-border);
    border-radius: var(--tmhs-radius-lg);
    padding: 1.5rem;
}

.tmhs-contact__info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.tmhs-contact__info-row:last-child {
    margin-bottom: 0;
}

.tmhs-contact__info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(22,42,80,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tmhs-contact__info-icon .tmhs-icon {
    width: 20px;
    height: 20px;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

.tmhs-contact__info-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--tmhs-text);
    margin: 0 0 0.25rem;
}

.tmhs-contact__info-text {
    font-size: 0.85rem;
    color: var(--tmhs-text-muted);
    line-height: 1.65;
    margin: 0;
}

.tmhs-contact__note p {
    font-size: 0.85rem;
    color: var(--tmhs-text-muted);
    line-height: 1.65;
    margin: 0;
}

.tmhs-contact__note a {
    color: var(--tmhs-navy);
    font-weight: 600;
    text-decoration: none;
}

.tmhs-contact__note a:hover {
    text-decoration: underline;
}

/* Success state */
.tmhs-contact__success {
    text-align: center;
    padding: 3rem 1.5rem;
}

.tmhs-contact__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tmhs-contact__success h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tmhs-text);
    margin: 0 0 0.5rem;
}

.tmhs-contact__success p {
    font-size: 1.05rem;
    color: var(--tmhs-text-muted);
    margin: 0 0 1.5rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

/* ━━━━━━━━━━━━━━━━━━ Coming Soon ━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━ Responsive ━━━━━━━━━━━━━━━━━━ */

@media (max-width: 640px) {
    .tmhs-section {
        padding: 2rem 1rem;
    }

    .tmhs-hero {
        padding: 3.5rem 1rem;
    }

    .tmhs-hero--image {
        min-height: 65vh;
        padding: 4rem 1rem 3rem;
    }

    .tmhs-hero__title {
        font-size: 2rem;
    }

    .tmhs-section__title {
        font-size: 1.5rem;
    }

    .tmhs-spirit-wear__card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .tmhs-donate__card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .tmhs-card-grid--4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

/* ━━━━━━━━━━━━━━━━━━ Phase 3: Sponsorship ━━━━━━━━━━━━━━━━━━ */

/* Badge (small label) */
.tmhs-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(22,42,80,.08);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tmhs-navy);
    margin-bottom: 1rem;
}

.tmhs-tier-badge {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(184,187,194,.2);
    color: var(--tmhs-silver);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
}

/* Callout box */
.tmhs-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border: 2px solid rgba(22,42,80,.15);
    background: rgba(22,42,80,.03);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.tmhs-callout__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(22,42,80,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tmhs-callout__icon .tmhs-icon {
    width: 20px;
    height: 20px;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

.tmhs-callout__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tmhs-text);
    margin: 0 0 0.35rem;
}

.tmhs-callout__desc {
    font-size: 0.9rem;
    color: var(--tmhs-text-muted);
    margin: 0 0 0.75rem;
}

/* Check list */
.tmhs-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tmhs-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--tmhs-text);
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.tmhs-check-list li .tmhs-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
    margin-top: 2px;
}

/* Shirt tier cards */
.tmhs-shirt-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tmhs-shirt-card {
    background: var(--tmhs-bg);
    border: 1px solid var(--tmhs-border);
    border-left: 4px solid var(--tmhs-navy);
    border-radius: var(--tmhs-radius);
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.tmhs-shirt-card:hover {
    box-shadow: var(--tmhs-shadow-lg);
    border-color: var(--tmhs-navy);
}

/* Claimed shirt tier overlay */
.tmhs-shirt-card--claimed {
    position: relative;
    opacity: .65;
    pointer-events: none;
}
.tmhs-shirt-card--claimed:hover {
    box-shadow: none;
}
.tmhs-claimed-overlay {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--tmhs-navy, #1a2e4a);
    color: var(--tmhs-silver, #b5b9c4);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 4px 12px;
    border-radius: 20px;
    justify-content: center;
}
.tmhs-claimed-overlay .tmhs-icon {
    width: 14px;
    height: 14px;
}

.tmhs-shirt-card__body {
    flex: 1;
    min-width: 250px;
}

.tmhs-shirt-card__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.tmhs-shirt-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tmhs-text);
    margin: 0;
}

.tmhs-shirt-card__desc {
    font-size: 0.9rem;
    color: var(--tmhs-text-muted);
    margin: 0 0 0.5rem;
    line-height: 1.6;
}

.tmhs-shirt-card__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tmhs-highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--tmhs-bg-muted);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--tmhs-text-muted);
}

.tmhs-shirt-card__image {
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tmhs-shirt-card__image img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 8px;
}

.tmhs-shirt-card__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
}

.tmhs-shirt-card__price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tmhs-text);
    letter-spacing: -0.02em;
}

/* Standard Tiers (navy background) */
.tmhs-standard-tiers {
    background: var(--tmhs-navy);
    padding: 4rem 1.5rem;
}

.tmhs-standard-tiers__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.tmhs-standard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.tmhs-standard-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}

.tmhs-standard-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.3);
}

.tmhs-standard-card__badge-img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    background-size: 80%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,.08);
    margin: 0 auto 1rem;
    transition: transform .2s ease;
}

.tmhs-standard-card:hover .tmhs-standard-card__badge-img {
    transform: scale(1.05);
}

.tmhs-standard-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem;
}

.tmhs-standard-card__price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--tmhs-silver);
    margin-bottom: 1rem;
}

.tmhs-standard-card__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.tmhs-standard-card__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tmhs-standard-card__benefits li .tmhs-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Outline button (for standard tier cards on dark bg) */
.tmhs-btn--outline {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #ffffff;
}

/* Full-width only inside tier cards, not in hero */
.tmhs-standard-card .tmhs-btn--outline {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.tmhs-btn--outline:hover {
    background: #ffffff;
    color: var(--tmhs-navy);
    border-color: #ffffff;
}
.tmhs-btn--outline:hover .tmhs-icon {
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}

/* File upload component */
.tmhs-file-upload {
    position: relative;
}

.tmhs-file-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.tmhs-file-upload__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--tmhs-bg);
    border: 2px dashed var(--tmhs-border);
    border-radius: var(--tmhs-radius);
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--tmhs-text-muted);
    transition: border-color .2s ease, background .2s ease;
}

.tmhs-file-upload__label:hover {
    border-color: var(--tmhs-navy);
    background: rgba(22,42,80,.03);
    color: var(--tmhs-text);
}

.tmhs-file-upload__preview {
    margin-top: 8px;
}

.tmhs-field-hint {
    font-size: 0.8rem;
    color: var(--tmhs-text-muted);
    margin: 6px 0 0;
    line-height: 1.4;
}

/* Sponsor form section */
.tmhs-sponsor-form-section {
    max-width: 800px;
}

.tmhs-sponsor-form-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.tmhs-sponsor-form {
    background: var(--tmhs-bg);
    border: 1px solid var(--tmhs-border);
    border-radius: var(--tmhs-radius-lg);
    padding: 2rem;
    box-shadow: var(--tmhs-shadow);
}

.tmhs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .tmhs-form-row {
        grid-template-columns: 1fr;
    }
}

.tmhs-select {
    appearance: auto;
    cursor: pointer;
}

/* Sponsor CTA */
.tmhs-sponsor-cta {
    text-align: center;
}

.tmhs-sponsor-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .tmhs-callout {
        flex-direction: column;
        padding: 1.25rem;
    }

    .tmhs-shirt-card {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
    }

    .tmhs-shirt-card__image {
        width: 80px;
        align-self: center;
    }

    .tmhs-shirt-card__action {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .tmhs-shirt-card__price {
        font-size: 1.5rem;
    }

    .tmhs-standard-tiers {
        padding: 3rem 1rem;
    }

    .tmhs-sponsor-form {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Phase 4 – Membership & Auth Styles
   ========================================================================== */

/* ── Membership Options ────────────────── */
.tmhs-membership-options {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.tmhs-membership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .tmhs-membership-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.tmhs-membership-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    transition: box-shadow .3s, border-color .3s, transform .2s;
}
.tmhs-membership-card:hover {
    box-shadow: 0 8px 24px rgba(22,42,80,.12);
    border-color: rgba(22,42,80,.3);
    transform: translateY(-2px);
}
.tmhs-membership-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: .75rem;
    background: rgba(22,42,80,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background .3s;
}
.tmhs-membership-card:hover .tmhs-membership-icon {
    background: rgba(22,42,80,.15);
}
.tmhs-membership-icon .tmhs-icon {
    width: 1.5rem;
    height: 1.5rem;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}
.tmhs-membership-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 .75rem;
}
.tmhs-membership-card p {
    color: #6b7280;
    line-height: 1.7;
    margin: 0 0 2rem;
}
.tmhs-card-link {
    color: #162A50;
    font-weight: 600;
    transition: letter-spacing .2s;
}
.tmhs-membership-card:hover .tmhs-card-link {
    letter-spacing: .03em;
}
.tmhs-membership-note {
    text-align: center;
    color: #9ca3af;
    font-size: .875rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.tmhs-membership-note .tmhs-icon {
    width: 1rem;
    height: 1rem;
}

/* ── Auth Pages (Login / Register) ─────── */
.tmhs-auth-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: var(--tmhs-bg-muted);
}
.tmhs-auth-card {
    width: 100%;
    max-width: 28rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0,0,0,.25);
    overflow: hidden;
}
.tmhs-auth-header {
    background: #162A50;
    padding: 2rem;
    text-align: center;
}
.tmhs-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    text-decoration: none;
    color: #fff;
}
.tmhs-auth-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}
.tmhs-auth-logo strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}
.tmhs-auth-logo small {
    display: block;
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    letter-spacing: .04em;
}
.tmhs-auth-header h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}
.tmhs-auth-header p {
    color: rgba(255,255,255,.6);
    font-size: .875rem;
    margin: 0;
}
.tmhs-auth-form {
    padding: 2rem;
}
.tmhs-auth-form .tmhs-form-group {
    margin-bottom: 1.25rem;
}
.tmhs-auth-form label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .375rem;
}
.tmhs-auth-form input[type="text"],
.tmhs-auth-form input[type="email"],
.tmhs-auth-form input[type="password"],
.tmhs-auth-form select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    font-size: .875rem;
    color: #1f2937;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
    box-sizing: border-box;
}
.tmhs-auth-form input:focus,
.tmhs-auth-form select:focus {
    outline: none;
    border-color: #162A50;
    box-shadow: 0 0 0 3px rgba(22,42,80,.15);
}
.tmhs-password-wrap {
    position: relative;
}
.tmhs-password-wrap input {
    padding-right: 3rem;
}
.tmhs-toggle-pw {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    line-height: 1;
}
.tmhs-toggle-pw:hover {
    color: #4b5563;
}
.tmhs-toggle-pw .tmhs-icon {
    width: 1.25rem;
    height: 1.25rem;
}
.tmhs-auth-form .tmhs-btn-submit {
    width: 100%;
    padding: .75rem 1.5rem;
    background: #162A50;
    color: #fff;
    border: none;
    border-radius: .75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 4px 12px rgba(22,42,80,.25);
    margin-top: .5rem;
}
.tmhs-auth-form .tmhs-btn-submit:hover {
    background: #0f1e3a;
    box-shadow: 0 8px 20px rgba(22,42,80,.35);
}
.tmhs-auth-form .tmhs-btn-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.tmhs-auth-form .tmhs-btn-submit .tmhs-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(0) invert(1);
}
.tmhs-auth-switch {
    text-align: center;
    font-size: .875rem;
    color: #6b7280;
    margin-top: 1.25rem;
}
.tmhs-auth-switch a {
    color: #162A50;
    font-weight: 600;
    text-decoration: none;
}
.tmhs-auth-switch a:hover {
    text-decoration: underline;
}
.tmhs-auth-back {
    text-align: center;
    margin-top: 1.5rem;
}
.tmhs-auth-back a {
    color: var(--tmhs-text-muted);
    font-size: .75rem;
    text-decoration: none;
    transition: color .2s;
}
.tmhs-auth-back a:hover {
    color: var(--tmhs-navy);
}
.tmhs-auth-redirect {
    text-align: center;
    padding: 2rem;
    background: #f3f4f6;
    border-radius: .75rem;
    max-width: 500px;
    margin: 2rem auto;
}
.tmhs-auth-redirect a {
    color: #162A50;
    font-weight: 600;
}

/* Form messages */
.tmhs-form-message {
    padding: .75rem 1rem;
    border-radius: .75rem;
    font-size: .875rem;
    margin-bottom: 1rem;
}
.tmhs-msg-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.tmhs-msg-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.tmhs-msg-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Spinner (for submit buttons) */
.tmhs-spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: tmhs-spin .6s linear infinite;
}
@keyframes tmhs-spin {
    to { transform: rotate(360deg); }
}

/* ── Membership Activate ───────────────── */
.tmhs-activate-membership {
    padding: 3rem 1rem;
    background: var(--tmhs-bg-muted);
    min-height: 60vh;
}
.tmhs-activate-wrap {
    max-width: 640px;
    margin: 0 auto;
}
.tmhs-activate-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.tmhs-activate-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tmhs-navy);
    margin: 0 0 .5rem;
}
.tmhs-activate-header p {
    color: var(--tmhs-text-muted);
    font-size: 1rem;
    margin: 0;
}
.tmhs-activate-card {
    background: var(--tmhs-navy);
    border: 1px solid rgba(184,187,194,.15);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(22,42,80,.12);
}
.tmhs-activate-card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.tmhs-activate-card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.tmhs-green { color: #4ade80 !important; }
img.tmhs-green { filter: invert(72%) sepia(32%) saturate(829%) hue-rotate(93deg) brightness(97%) contrast(91%) !important; }
.tmhs-amber { color: #fbbf24 !important; }
img.tmhs-amber { filter: invert(83%) sepia(37%) saturate(1058%) hue-rotate(358deg) brightness(103%) contrast(97%) !important; }
.tmhs-activate-card-header .tmhs-icon {
    width: 1.5rem;
    height: 1.5rem;
}
.tmhs-status-rows {
    display: flex;
    flex-direction: column;
}
.tmhs-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(184,187,194,.15);
}
.tmhs-status-row:last-child {
    border-bottom: none;
}
.tmhs-label {
    color: rgba(184,187,194,.7);
    font-size: .875rem;
}
.tmhs-value {
    color: #fff;
    font-weight: 500;
    font-size: .875rem;
}
.tmhs-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .8125rem;
    font-weight: 500;
}
.tmhs-badge .tmhs-icon {
    width: .875rem;
    height: .875rem;
}
.tmhs-badge-green {
    background: rgba(74,222,128,.15);
    color: #4ade80;
}
.tmhs-badge-green .tmhs-icon {
    filter: invert(72%) sepia(32%) saturate(829%) hue-rotate(93deg) brightness(97%) contrast(91%);
}
.tmhs-badge-amber {
    background: rgba(251,191,36,.15);
    color: #fbbf24;
}
.tmhs-badge-amber .tmhs-icon {
    filter: invert(83%) sepia(37%) saturate(1058%) hue-rotate(358deg) brightness(103%) contrast(97%);
}

/* Icon color filters — for Lucide <img> icons that need non-default color */
.tmhs-icon-white  { filter: brightness(0) invert(1) !important; }
.tmhs-icon-green  { filter: invert(72%) sepia(32%) saturate(829%) hue-rotate(93deg) brightness(97%) contrast(91%) !important; }
.tmhs-icon-silver { filter: invert(83%) sepia(4%) saturate(298%) hue-rotate(185deg) brightness(91%) contrast(88%) !important; }
.tmhs-icon-navy   { filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%) !important; }
.tmhs-icon-amber  { filter: invert(83%) sepia(37%) saturate(1058%) hue-rotate(358deg) brightness(103%) contrast(97%) !important; }

/* Payment card */
.tmhs-payment-card h3 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .75rem;
}
.tmhs-payment-card p {
    color: rgba(184,187,194,.7);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}
.tmhs-payment-cta {
    text-align: center;
}
.tmhs-btn-zeffy {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    color: #162A50;
    padding: 1rem 2rem;
    border-radius: .75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: background .2s, box-shadow .2s, transform .15s;
}
.tmhs-btn-zeffy:hover {
    background: #f3f4f6;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    transform: scale(1.03);
}
.tmhs-btn-zeffy:active {
    transform: scale(.97);
}
.tmhs-btn-zeffy .tmhs-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(0) invert(1);
}
.tmhs-payment-cta small {
    display: block;
    color: rgba(184,187,194,.5);
    font-size: .75rem;
    margin-top: 1rem;
}

/* Active membership message */

.tmhs-active-card h3 {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 .5rem;
}
.tmhs-active-card p {
    color: rgba(184,187,194,.7);
    margin: 0;
}

.tmhs-back-link a {
    color: var(--tmhs-text-muted);
    font-size: .875rem;
    text-decoration: none;
    transition: color .2s;
}
.tmhs-back-link a:hover {
    color: var(--tmhs-navy);
}

/* ── Athlete Selection (membership-activate) ─── */
.tmhs-athlete-instructions {
    color: rgba(184,187,194,.7);
    font-size: .9rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}
.tmhs-athlete-team-group {
    margin-bottom: 1.5rem;
}
.tmhs-athlete-team-label {
    color: rgba(255,255,255,.6);
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 0 0 .75rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid rgba(184,187,194,.15);
}
.tmhs-athlete-checkboxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
}
@media (min-width: 480px) {
    .tmhs-athlete-checkboxes {
        grid-template-columns: 1fr 1fr;
    }
}
.tmhs-athlete-checkbox {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem .875rem;
    border-radius: .5rem;
    border: 1px solid rgba(184,187,194,.15);
    background: rgba(255,255,255,.04);
    cursor: pointer;
    transition: background .2s, border-color .2s;
    user-select: none;
}
.tmhs-athlete-checkbox:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(184,187,194,.3);
}
.tmhs-athlete-checkbox.tmhs-checked {
    background: rgba(184,187,194,.12);
    border-color: rgba(184,187,194,.5);
}
.tmhs-athlete-checkbox input[type="checkbox"] {
    display: none;
}
.tmhs-check-icon {
    width: 1.25rem;
    height: 1.25rem;
    min-width: 1.25rem;
    border-radius: .25rem;
    border: 2px solid rgba(184,187,194,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, border-color .2s;
}
.tmhs-athlete-checkbox.tmhs-checked .tmhs-check-icon {
    background: var(--tmhs-silver);
    border-color: var(--tmhs-silver);
}
.tmhs-athlete-checkbox.tmhs-checked .tmhs-check-icon::after {
    content: '';
    display: block;
    width: .375rem;
    height: .625rem;
    border: solid #162A50;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.tmhs-athlete-name {
    color: #fff;
    font-size: .875rem;
    font-weight: 500;
}
.tmhs-athlete-save-wrap {
    margin-top: 1.5rem;
    text-align: center;
}
.tmhs-btn-save-athletes {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--tmhs-silver);
    color: #162A50;
    border: none;
    border-radius: .5rem;
    padding: .75rem 2rem;
    font-weight: 600;
    font-size: .9375rem;
    cursor: pointer;
    transition: background .2s, transform .15s;
}
.tmhs-btn-save-athletes:hover {
    background: #c8cad0;
    transform: scale(1.02);
}
.tmhs-btn-save-athletes:active {
    transform: scale(.97);
}
.tmhs-btn-save-athletes:disabled {
    opacity: .6;
    cursor: not-allowed;
}
.tmhs-btn-save-athletes .tmhs-icon {
    width: 1.125rem;
    height: 1.125rem;
    filter: brightness(0) invert(1);
}
#tmhs-athlete-message {
    margin-top: 1rem;
}

/* ==========================================================================
   Phase 5 – Document Library Styles
   ========================================================================== */

.tmhs-documents {
    padding: 3rem 1rem;
}
.tmhs-documents-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* Empty state */
.tmhs-docs-empty {
    text-align: center;
    padding: 5rem 1rem;
}
.tmhs-docs-empty .tmhs-icon {
    width: 3rem;
    height: 3rem;
    filter: invert(93%) sepia(3%) saturate(200%) hue-rotate(185deg) brightness(92%) contrast(86%);
    margin-bottom: 1rem;
}
.tmhs-docs-empty h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 .5rem;
}
.tmhs-docs-empty p {
    color: #6b7280;
    margin: 0;
}

/* Accordion */
.tmhs-docs-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.tmhs-docs-category {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* Category toggle button */
.tmhs-cat-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
    transition: background .2s;
}
.tmhs-cat-toggle:hover {
    background: #f9fafb;
}
.tmhs-cat-left {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.tmhs-cat-icon {
    font-size: 1.25rem;
}
.tmhs-cat-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}
.tmhs-cat-count {
    font-size: .75rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: .125rem .5rem;
    border-radius: 9999px;
}
.tmhs-cat-chevron {
    width: 1.25rem;
    height: 1.25rem;
    filter: invert(70%) sepia(5%) saturate(300%) hue-rotate(180deg) brightness(95%) contrast(90%);
    transition: transform .25s;
}

/* Panel (hidden by default) */
.tmhs-cat-panel {
    display: none;
    border-top: 1px solid #f3f4f6;
}
.tmhs-docs-category.tmhs-cat-open .tmhs-cat-panel {
    display: block;
}
.tmhs-docs-category.tmhs-cat-open .tmhs-cat-chevron {
    transform: rotate(180deg);
}

/* Document row */
.tmhs-doc-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    transition: background .15s;
}
.tmhs-doc-row:hover {
    background: #f9fafb;
}
.tmhs-doc-border {
    border-top: 1px solid #f9fafb;
}
.tmhs-doc-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: .75rem;
    background: rgba(22,42,80,.05);
    border: 1px solid rgba(22,42,80,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tmhs-doc-icon .tmhs-icon {
    width: 1.25rem;
    height: 1.25rem;
    filter: invert(13%) sepia(48%) saturate(1620%) hue-rotate(209deg) brightness(90%) contrast(95%);
}
.tmhs-doc-info {
    flex: 1;
    min-width: 0;
}
.tmhs-doc-title-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.tmhs-doc-title {
    font-size: .875rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}
.tmhs-doc-badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .125rem .375rem;
    background: #fffbeb;
    color: #b45309;
    font-size: .625rem;
    font-weight: 700;
    border-radius: .25rem;
}
.tmhs-doc-badge .tmhs-icon {
    width: .625rem;
    height: .625rem;
}
.tmhs-doc-desc {
    font-size: .75rem;
    color: #6b7280;
    margin: .125rem 0 0;
}
.tmhs-doc-meta {
    font-size: .6875rem;
    color: #9ca3af;
    margin: .25rem 0 0;
}

/* Download button */
.tmhs-doc-download {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background: rgba(22,42,80,.05);
    color: #162A50;
    font-size: .875rem;
    font-weight: 600;
    border-radius: .5rem;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .2s;
}
.tmhs-doc-download:hover {
    background: rgba(22,42,80,.1);
}
.tmhs-doc-download .tmhs-icon {
    width: 1rem;
    height: 1rem;
}

/* Member-only note */
.tmhs-docs-member-note {
    text-align: center;
    font-size: .875rem;
    color: #9ca3af;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .375rem;
    flex-wrap: wrap;
}
.tmhs-docs-member-note .tmhs-icon {
    width: .875rem;
    height: .875rem;
}
.tmhs-docs-member-note a {
    color: #162A50;
    font-weight: 600;
    text-decoration: none;
}
.tmhs-docs-member-note a:hover {
    text-decoration: underline;
}

/* Responsive: Stack download button below on small screens */
@media (max-width: 600px) {
    .tmhs-doc-row {
        flex-wrap: wrap;
    }
    .tmhs-doc-download {
        width: 100%;
        justify-content: center;
        margin-top: .5rem;
    }
}
/* ═══════════════════════════════════════════
   EVENTS SECTION
   ═══════════════════════════════════════════ */

.tmhs-events-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.tmhs-events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tmhs-events-month__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tmhs-navy, #162A50);
    margin: 0 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--tmhs-silver, #C0C0C0);
}

.tmhs-events-month__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tmhs-event-card {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,.04);
    border: 1px solid var(--tmhs-border, rgba(192,192,192,.15));
    border-radius: 12px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.tmhs-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(22,42,80,.1);
}

.tmhs-event-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    padding: 1rem .75rem;
    background: var(--tmhs-navy, #162A50);
    color: #fff;
}
.tmhs-event-card__day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}
.tmhs-event-card__weekday {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    opacity: .7;
    margin-top: 4px;
}

.tmhs-event-card__body {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
}

.tmhs-event-card__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}

.tmhs-event-card__name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tmhs-text-primary, #1d2327);
}

.tmhs-event-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: .75rem;
    font-weight: 600;
    white-space: nowrap;
}
.tmhs-event-type-badge--meeting {
    background: rgba(22,42,80,.1);
    color: var(--tmhs-navy, #162A50);
}
.tmhs-event-type-badge--special {
    background: #f0e6ff;
    color: #6b21a8;
}

.tmhs-event-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.tmhs-event-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .875rem;
    color: var(--tmhs-text-muted, #646970);
}

.tmhs-event-card__desc {
    margin: .25rem 0 0;
    font-size: .9rem;
    color: var(--tmhs-text-secondary, #b8bbc2);
    line-height: 1.5;
}

.tmhs-event-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: .25rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--tmhs-navy, #162A50);
    text-decoration: none;
}
.tmhs-event-card__link:hover {
    text-decoration: underline;
}

.tmhs-event-card__image {
    width: 140px;
    min-height: 100%;
    flex-shrink: 0;
}
.tmhs-event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Spotlight Card ── */

.tmhs-spotlight-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.tmhs-spotlight-card {
    display: flex;
    border-radius: 16px;
    overflow: hidden;
    background: var(--tmhs-navy, #162A50);
    box-shadow: var(--tmhs-shadow-lg, 0 8px 30px rgba(0,0,0,.15));
}

.tmhs-spotlight-card__image {
    width: 280px;
    flex-shrink: 0;
}
.tmhs-spotlight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tmhs-spotlight-card__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    color: #fff;
}

.tmhs-spotlight-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
}

.tmhs-spotlight-card__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .9rem;
    color: rgba(255,255,255,.7);
}
.tmhs-spotlight-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tmhs-spotlight-card__desc {
    margin: .5rem 0 0;
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    line-height: 1.6;
}

/* ── Events Mobile ── */

@media (max-width: 600px) {
    .tmhs-event-card {
        flex-direction: column;
    }
    .tmhs-event-card__date {
        flex-direction: row;
        gap: 8px;
        min-width: unset;
        padding: .75rem 1rem;
    }
    .tmhs-event-card__image {
        width: 100%;
        height: 180px;
    }
    .tmhs-spotlight-card {
        flex-direction: column;
    }
    .tmhs-spotlight-card__image {
        width: 100%;
        height: 200px;
    }
}
