/* ======================================================
   Campus THL PRO · Community Screen
====================================================== */

.thl-community-page {
    --thl-community-radius: 18px;
    --thl-community-soft: color-mix(in srgb, var(--thl-main) 8%, #fff);
    --thl-community-soft-strong: color-mix(in srgb, var(--thl-main) 14%, #fff);
}

.thl-community-app {
    max-width: 430px;
}

.thl-community-hero-header {
    margin-bottom: 20px;
}

.thl-community-hero-header h1 {
    margin: 0 0 8px;
    color: #111;
    font-size: 40px;
    line-height: .95;
    letter-spacing: -.055em;
}

.thl-community-hero-header p {
    margin: 0;
    max-width: 680px;
    color: var(--thl-muted);
    font-size: 13px;
    line-height: 1.55;
}

.thl-community-showcase {
    position: relative;
    overflow: hidden;
    border-radius: var(--thl-community-radius);
    background: #fff;
    border: 1px solid rgba(17, 17, 17, .06);
    box-shadow: 0 22px 54px rgba(20, 20, 20, .11);
}

.thl-community-showcase-media {
    position: relative;
    min-height: 250px;
    background: #171717;
    overflow: hidden;
}

.thl-community-showcase-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.thl-community-image-placeholder {
    min-height: 250px;
    display: grid;
    place-items: center;
    color: #fff;
    background: radial-gradient(circle at 70% 10%, color-mix(in srgb, var(--thl-main) 28%, transparent), transparent 34%), #191919;
    font-size: 54px;
    font-weight: 900;
}

.thl-community-showcase-content {
    position: relative;
    background: linear-gradient(135deg, #fff 0%, #fff 48%, var(--thl-community-soft) 100%);
}

.thl-community-copy {
    padding: 28px 24px 30px;
}

.thl-community-copy h2 {
    margin: 0 0 12px;
    color: #151515;
    font-size: 34px;
    line-height: .96;
    letter-spacing: -.055em;
}

.thl-community-copy p {
    margin: 0 0 20px;
    max-width: 520px;
    color: var(--thl-muted);
    font-size: 14px;
    line-height: 1.55;
}

.thl-community-checks {
    display: grid;
    gap: 12px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.thl-community-checks li {
    position: relative;
    min-height: 24px;
    padding-left: 34px;
    color: #222;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 750;
}

.thl-community-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--thl-main) 13%, #fff);
    color: var(--thl-main);
    font-size: 12px;
    font-weight: 950;
}

.thl-community-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 12px;
    background: var(--thl-main);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 950;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--thl-main) 25%, transparent);
    transition: transform var(--thl-transition), box-shadow var(--thl-transition), filter var(--thl-transition);
}

.thl-community-button:hover,
.thl-community-button:focus {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(.98);
    box-shadow: 0 18px 38px color-mix(in srgb, var(--thl-main) 32%, transparent);
}

.thl-community-feature-strip {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(17, 17, 17, .06);
    background: #fff;
}

.thl-community-feature {
    padding: 22px 24px;
    text-align: center;
    border-top: 1px solid rgba(17, 17, 17, .05);
}

.thl-community-feature:first-child {
    border-top: 0;
}

.thl-community-feature-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--thl-main) 10%, #fff);
    color: #1d1d1d;
    border: 1px solid color-mix(in srgb, var(--thl-main) 18%, #e9e3dd);
    font-size: 19px;
    line-height: 1;
}

.thl-community-feature h3 {
    margin: 0 0 6px;
    color: #151515;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: -.02em;
}

.thl-community-feature p {
    margin: 0;
    color: var(--thl-muted);
    font-size: 11px;
    line-height: 1.45;
}

@media (hover:hover) {
    .thl-community-showcase:hover {
        box-shadow: 0 28px 68px rgba(20, 20, 20, .13);
    }
}

@media (min-width: 760px) {
    .thl-community-app {
        max-width: 960px;
    }

    .thl-community-hero-header h1 {
        font-size: 54px;
    }

    .thl-community-showcase {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        grid-template-areas:
            "media content"
            "features content";
        align-items: stretch;
    }

    .thl-community-showcase-media {
        grid-area: media;
        min-height: 330px;
    }

    .thl-community-showcase-media img,
    .thl-community-image-placeholder {
        min-height: 330px;
    }

    .thl-community-showcase-content {
        grid-area: content;
        display: flex;
        align-items: center;
        min-height: 470px;
    }

    .thl-community-copy {
        padding: 54px 50px;
    }

    .thl-community-copy h2 {
        font-size: 44px;
    }

    .thl-community-feature-strip {
        grid-area: features;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-top: 0;
    }

    .thl-community-feature {
        padding: 24px 18px 26px;
        border-top: 0;
        border-left: 1px solid rgba(17, 17, 17, .06);
    }

    .thl-community-feature:first-child {
        border-left: 0;
    }
}

@media (min-width: 1100px) {
    .thl-community-app {
        max-width: 1120px;
    }

    .thl-community-hero-header {
        margin-bottom: 28px;
    }

    .thl-community-hero-header h1 {
        font-size: 64px;
    }

    .thl-community-showcase-media {
        min-height: 390px;
    }

    .thl-community-showcase-media img,
    .thl-community-image-placeholder {
        min-height: 390px;
    }

    .thl-community-showcase-content {
        min-height: 540px;
    }

    .thl-community-copy {
        padding: 66px 58px;
    }

    .thl-community-copy h2 {
        font-size: 50px;
        max-width: 520px;
    }

    .thl-community-copy p {
        font-size: 15px;
    }
}
