/* ======================================================
   Campus THL PRO · Launch / Inicio
====================================================== */

.thl-launch-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 86% 18%, rgba(232, 77, 42, .10), transparent 30%),
        linear-gradient(180deg, #fbf7f0 0%, #f5efe7 100%);
    color: #111;
}

.thl-home-shell {
    width: min(1380px, 100%);
    min-height: 100vh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
}

.thl-home-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: rgba(255,255,255,.62);
    border-right: 1px solid rgba(17,17,17,.06);
    backdrop-filter: blur(14px);
}

.thl-home-brand {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: -.02em;
}

.thl-home-brand img,
.thl-home-brand > span {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    object-fit: contain;
    background: #fff;
    box-shadow: 0 16px 34px rgba(17,17,17,.08);
}

.thl-home-brand > span {
    display: grid;
    place-items: center;
    color: #e84d2a;
}

.thl-home-menu,
.thl-home-programs {
    display: grid;
    gap: 8px;
}

.thl-home-menu a,
.thl-home-programs a,
.thl-home-logout {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: rgba(17,17,17,.72);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
}

.thl-home-menu a.is-active,
.thl-home-programs a.is-current {
    background: rgba(232,77,42,.10);
    color: #e84d2a;
}

.thl-home-programs {
    margin-top: 4px;
    padding-top: 18px;
    border-top: 1px solid rgba(17,17,17,.07);
}

.thl-home-programs small {
    padding: 0 10px;
    color: rgba(17,17,17,.45);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.thl-home-programs a {
    display: grid;
    gap: 3px;
}

.thl-home-programs a em {
    color: rgba(17,17,17,.44);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.thl-home-programs a.is-locked {
    opacity: .48;
}

.thl-home-logout {
    margin-top: auto;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.55);
}

.thl-home-main {
    width: min(1180px, calc(100% - 56px));
    margin: 0 auto;
    padding: 46px 0 72px;
}

.thl-home-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.thl-home-topbar small {
    color: #e84d2a;
    font-size: 12px;
    font-weight: 950;
}

.thl-home-topbar h1 {
    margin: 6px 0 4px;
    font-size: clamp(32px, 4.8vw, 54px);
    line-height: .96;
    letter-spacing: -.055em;
}

.thl-home-topbar p {
    margin: 0;
    color: rgba(17,17,17,.54);
    font-size: 15px;
}

.thl-home-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(17,17,17,.10);
}

.thl-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .9fr);
    gap: 22px;
    align-items: start;
}

.thl-home-left,
.thl-home-right {
    display: grid;
    gap: 14px;
}

.thl-home-section-title {
    margin: 0 0 12px;
    color: #111;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.thl-home-section-title-community {
    margin-top: 8px;
}

.thl-home-section-title-live {
    margin-bottom: 12px;
}

.thl-home-current-card {
    min-height: 310px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    align-items: center;
    gap: 28px;
    padding: 36px;
    color: #fff;
    background:
        radial-gradient(circle at 92% 50%, rgba(255,255,255,.11), transparent 0 90px, transparent 91px),
        linear-gradient(135deg, #171717 0%, #232220 100%);
    box-shadow: 0 28px 72px rgba(17,17,17,.16);
}

.thl-home-current-card:after {
    content: '';
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(232,77,42,.24);
}

.thl-home-current-card > * {
    position: relative;
    z-index: 1;
}

.thl-home-current-card small {
    display: block;
    color: var(--thl-main, #e84d2a);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
    margin-bottom: 12px;
}


.thl-home-card-kicker {
    margin: 0 0 14px;
    color: var(--thl-main, #e84d2a);
    font-size: 12px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.thl-home-community-copy h3 {
    margin: 0 0 6px;
    color: #111;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: -.03em;
}

.thl-home-current-card h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: .98;
    letter-spacing: -.055em;
}

.thl-home-current-card p {
    margin: 12px 0 22px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 1.5;
}

.thl-home-current-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 14px;
    background: var(--thl-main, #e84d2a);
    color: #fff;
    text-decoration: none;
    font-weight: 950;
    font-size: 13px;
}

.thl-home-current-progress {
    display: grid;
    place-items: center;
}

.thl-home-current-progress span {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.thl-home-current-progress b {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #171717;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.thl-home-widget,
.thl-home-community-card {
    border: 1px solid rgba(17,17,17,.07);
    border-radius: 22px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 20px 56px rgba(17,17,17,.08);
}

.thl-home-widget {
    padding: 22px;
}

.thl-home-widget-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.thl-home-widget-head span,
.thl-home-community-copy > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(232,77,42,.10);
    color: #e84d2a;
    font-weight: 950;
}

.thl-home-widget h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.thl-home-widget p,
.thl-home-event small,
.thl-home-event-main small,
.thl-home-community-card p {
    margin: 0;
    color: rgba(17,17,17,.56);
    font-size: 13px;
    line-height: 1.45;
}

.thl-home-widget > a,
.thl-home-widget-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 38px;
    margin-top: 14px;
    padding: 0 16px;
    border: 1px solid rgba(232,77,42,.28);
    border-radius: 12px;
    color: #e84d2a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
}

.thl-home-shortcode {
    margin-top: 14px;
}

.thl-home-event {
    display: grid;
    gap: 4px;
    padding: 11px 0;
    border-top: 1px solid rgba(17,17,17,.07);
    color: #111;
    text-decoration: none;
}

.thl-home-event strong {
    font-size: 13px;
}

.thl-home-community-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: stretch;
    min-height: 150px;
}

.thl-home-community-copy {
    padding: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.thl-home-community-card h2 {
    margin: 0 0 4px;
    font-size: 21px;
    letter-spacing: -.035em;
}

.thl-home-community-card a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    margin-top: 12px;
    padding: 0 16px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 950;
}

.thl-home-community-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback grid de programas */
.thl-launch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.thl-launch-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    border-radius: 30px;
    border: 1px solid rgba(17,17,17,.08);
    background: rgba(255,255,255,.72);
    box-shadow: 0 24px 70px rgba(17,17,17,.10);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.thl-launch-card.is-locked {
    filter: grayscale(1);
    opacity: .58;
}

.thl-launch-logo {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin-bottom: 24px;
}

.thl-launch-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.thl-launch-logo span {
    padding: 10px;
    font-size: 14px;
    font-weight: 950;
    text-align: center;
    text-transform: uppercase;
}

.thl-launch-status {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(17,17,17,.06);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.thl-launch-card h2 {
    margin: 12px 0 8px;
    font-size: 30px;
    line-height: .98;
}

.thl-launch-card p {
    margin: 0;
    color: rgba(17,17,17,.58);
    font-size: 14px;
    line-height: 1.48;
}

.thl-launch-card-action {
    margin-top: auto;
    padding-top: 22px;
}

.thl-launch-card-action a,
.thl-launch-card-action span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
}

.thl-launch-card-action a {
    background: #e84d2a;
    color: #fff;
}

.thl-launch-card-action span {
    background: rgba(17,17,17,.08);
    color: rgba(17,17,17,.48);
}

.thl-launch-empty {
    border-radius: 28px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(17,17,17,.08);
    padding: 28px;
}

@media (max-width: 1100px) {
    .thl-home-shell {
        grid-template-columns: 1fr;
    }

    .thl-home-sidebar {
        position: static;
        height: auto;
        width: min(980px, calc(100% - 32px));
        margin: 0 auto;
        padding: 18px 0 0;
        background: transparent;
        border-right: 0;
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .thl-home-brand {
        justify-items: start;
        grid-template-columns: 48px auto;
        text-align: left;
    }

    .thl-home-brand img,
    .thl-home-brand > span {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .thl-home-logout {
        display: none;
    }

    .thl-home-menu {
        grid-column: 1 / -1;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 12px 0 0;
        scrollbar-width: none;
    }

    .thl-home-menu::-webkit-scrollbar {
        display: none;
    }

    .thl-home-menu a {
        min-width: max-content;
        min-height: 42px;
        padding: 10px 14px;
        border: 1px solid rgba(17,17,17,.06);
        background: rgba(255,255,255,.68);
        box-shadow: 0 10px 24px rgba(17,17,17,.045);
    }

    .thl-home-menu a.is-active {
        background: rgba(232,77,42,.11);
        border-color: rgba(232,77,42,.16);
    }

    .thl-home-programs {
        grid-column: 1 / -1;
        display: flex;
        overflow-x: auto;
        padding: 12px 0 0;
        border-top: 0;
    }

    .thl-home-programs small {
        display: none;
    }

    .thl-home-programs a {
        min-width: 170px;
        background: rgba(255,255,255,.60);
        border: 1px solid rgba(17,17,17,.06);
    }

    .thl-home-main {
        width: min(980px, calc(100% - 32px));
        padding: 24px 0 96px;
    }

    .thl-home-grid {
        grid-template-columns: 1fr;
    }

    .thl-home-right {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thl-home-section-title-live {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .thl-home-main {
        width: min(430px, calc(100% - 26px));
        padding-bottom: 96px;
    }

    .thl-home-sidebar {
        width: min(430px, calc(100% - 26px));
        gap: 12px;
    }

    .thl-home-menu {
        margin-inline: -2px;
        padding-top: 4px;
    }

    .thl-home-menu a {
        min-height: 40px;
        padding: 9px 12px;
        font-size: 12px;
        border-radius: 999px;
    }

    .thl-home-topbar {
        align-items: center;
    }

    .thl-home-topbar h1 {
        font-size: 34px;
    }

    .thl-home-current-card {
        min-height: auto;
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .thl-home-current-progress {
        justify-content: start;
    }

    .thl-home-current-progress span {
        width: 86px;
        height: 86px;
    }

    .thl-home-current-progress b {
        width: 58px;
        height: 58px;
        font-size: 16px;
    }

    .thl-home-right,
    .thl-home-community-card {
        grid-template-columns: 1fr;
    }

    .thl-home-community-card img {
        height: 170px;
        order: -1;
    }

    .thl-launch-grid {
        grid-template-columns: 1fr;
    }
}


.thl-home-events-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.thl-home-event-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid rgba(17,17,17,.07);
}

.thl-home-event-main {
    min-width: 0;
    display: grid;
    gap: 4px;
    color: #111;
    text-decoration: none;
}

.thl-home-event-main strong {
    font-size: 13px;
    line-height: 1.25;
}

.thl-home-event-main em {
    width: max-content;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(232,77,42,.09);
    color: #e84d2a;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    line-height: 1;
}

.thl-home-event-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

.thl-home-event-card.has-no-tickets .thl-home-event-cta {
    background: rgba(17,17,17,.08);
    color: #111;
}
