/* Kulüp web sitesi — haber portalı / spor kulübü teması */

:root {
    margin: 0;
    --cw-primary: #0c1e3d;
    --cw-primary-light: #1a3a6b;
    --cw-accent: #206bc4;
    --cw-accent-hot: #d63939;
    --cw-gold: #f59f00;
    --cw-surface: #f6f8fb;
    --cw-border: rgba(12, 30, 61, 0.08);
    --cw-shadow: 0 4px 24px rgba(12, 30, 61, 0.08);
    --cw-radius: 0.5rem;
    --cw-header-shell-overlay: linear-gradient(rgba(12, 30, 61, 0.78), rgba(12, 30, 61, 0.88));
    --cw-widget-head-overlay: linear-gradient(rgba(12, 30, 61, 0.78), rgba(12, 30, 61, 0.88));
    --cw-header-bg: url('/assets/img/web/bg-header.jpg');
    --cw-menu-bg: url('/assets/img/web/bg-menu.jpg');
    --cw-header-shell-bg-size: cover;
    --cw-header-shell-bg-position: 0% 0%;
    --cw-header-shell-bg-repeat: no-repeat;
    --cw-widget-head-bg-size: cover;
    --cw-widget-head-bg-position: 50% 81%;
    --cw-widget-head-bg-repeat: no-repeat;
    --cw-topbar-color: rgba(255, 255, 255, 0.85);
    --cw-brand-bar-bg: rgba(255, 255, 255, 0.65);
    --cw-nav-active-border: var(--cw-gold);
    --cw-page-head-color: #ffffff;
}

body.club-web {
    background: var(--cw-surface);
}

/* ── Ortak header arka planı ─────────────────────── */
.cw-header-shell {
    background-color: var(--cw-primary);
    background-image: var(--cw-header-shell-overlay), var(--cw-menu-bg);
    background-size: var(--cw-header-shell-bg-size);
    background-position: var(--cw-header-shell-bg-position);
    background-repeat: var(--cw-header-shell-bg-repeat);
}

/* ── Üst şerit ───────────────────────────────────── */
.cw-topbar {
    background: transparent;
    color: var(--cw-topbar-color);
    font-size: 0.8125rem;
    padding: 0.35rem 0;
    border-bottom: 3px solid var(--cw-accent);
}

.cw-topbar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.cw-topbar a:hover {
    color: #fff;
}

.cw-topbar .cw-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    margin-left: 0.4rem;
    transition: background 0.2s, transform 0.2s;
    color: #fff;
}

.cw-topbar .cw-social a svg {
    display: block;
    flex-shrink: 0;
}

.cw-topbar .cw-social a:hover {
    background: var(--cw-accent);
    transform: translateY(-2px);
}

/* ── Marka başlığı ───────────────────────────────── */
.cw-brand-bar {
    background: var(--cw-brand-bar-bg);
    border-bottom: 1px solid var(--cw-border);
    padding: 1rem 0;
}

.cw-brand-bar .cw-club-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cw-primary);
    line-height: 1.2;
    margin: 0;
}

.cw-brand-bar .cw-club-tagline {
    font-size: 0.875rem;
    color: #6c7a91;
    margin: 0.15rem 0 0;
}

.cw-club-logo {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-club-logo .cw-logo,
.cw-club-logo .avatar {
    width: 4rem;
    height: 4rem;
    margin: 0 !important;
    object-fit: contain;
}

.cw-brand-bar .cw-logo {
    height: 4rem;
    width: 4rem;
    max-width: 4rem;
    object-fit: contain;
}

.cw-club-logo--intro {
    margin-right: 0;
}

/* ── Ana navigasyon ──────────────────────────────── */
.cw-nav {
    background: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cw-nav .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.85rem 1rem;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.cw-nav .navbar-nav .nav-link:hover,
.cw-nav .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-bottom-color: var(--cw-nav-active-border);
}

.cw-nav .dropdown-menu {
    border: none;
    box-shadow: var(--cw-shadow);
    border-radius: var(--cw-radius);
    margin-top: 0;
}

.cw-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* ── Duyuru ticker ───────────────────────────────── */
.cw-ticker {
    background: linear-gradient(90deg, var(--cw-accent-hot), #b91c1c);
    color: #fff;
    font-size: 0.875rem;
}

.cw-ticker-viewport {
    overflow: hidden;
    width: 100%;
    padding: 0px;
}

.cw-ticker-track {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    will-change: transform;
}

.cw-ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.75rem;
    margin-right: 1rem;
}

.cw-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    padding: 0rem 1rem 0rem 0rem;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2rem;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.cw-ticker-item:hover,
.cw-ticker-item:focus-visible {
    color: #fff;
    background: rgba(0, 0, 0, 0.32);
    border-color: rgba(255, 255, 255, 0.45);
    outline: none;
    text-decoration: none;
}

.cw-ticker-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.cw-ticker-item-title {
    font-weight: 700;
}

.cw-ticker-item-sep {
    opacity: 0.65;
    margin: 0 0.15rem;
}

.cw-ticker-item-excerpt {
    opacity: 0.92;
    font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
    .cw-ticker-viewport {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cw-ticker-track {
        transform: none !important;
        padding-inline: 1rem;
    }

    .cw-ticker-group[aria-hidden="true"] {
        display: none;
    }
}

/* ── Hero / manşet ───────────────────────────────── */
.cw-hero {
    margin: 0 calc(-1 * var(--tblr-gutter-x, 1.5rem));
    margin-bottom: 2rem;
}

.cw-hero .carousel-item {
    min-height: 380px;
    background: var(--cw-primary);
}

.cw-hero .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2.5rem 2rem 2rem;
    text-align: left;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
    z-index: 10;
}

.cw-hero .carousel-caption h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    max-width: 48rem;
}

.cw-hero .carousel-caption p {
    font-size: 0.95rem;
    opacity: 0.9;
    max-width: 40rem;
    margin-bottom: 0.75rem;
}

.cw-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.cw-hero-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--cw-primary) 0%, var(--cw-primary-light) 50%, var(--cw-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-hero-placeholder i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.15);
}

.cw-hero .carousel-indicators {
    z-index: 12;
    margin-bottom: 0.5rem;
}

.cw-hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Ok düğmeleri caption/link üstünü kapatmasın */
.cw-hero .carousel-control-prev,
.cw-hero .carousel-control-next {
    z-index: 5;
    width: 3rem;
    height: 3rem;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    opacity: 0.85;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
}

.cw-hero .carousel-control-prev {
    left: 1rem;
}

.cw-hero .carousel-control-next {
    right: 1rem;
}

.cw-hero .carousel-item:not(.active) {
    pointer-events: none;
}

.cw-hero-cta {
    position: relative;
    z-index: 11;
}

/* ── İstatistik şeridi ───────────────────────────── */
.cw-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
    .cw-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@keyframes cw-stat-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cw-stat-icon-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes cw-stat-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.cw-stat {
    position: relative;
    background: #fff;
    border-radius: var(--cw-radius);
    padding: 1.35rem 1rem 1.15rem;
    text-align: center;
    border: 1px solid var(--cw-border);
    box-shadow: var(--cw-shadow);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    opacity: 0;
    animation: cw-stat-in 0.55s ease forwards;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cw-stat:nth-child(1) {
    animation-delay: 0.05s;
}

.cw-stat:nth-child(2) {
    animation-delay: 0.15s;
}

.cw-stat:nth-child(3) {
    animation-delay: 0.25s;
}

.cw-stat:nth-child(4) {
    animation-delay: 0.35s;
}

.cw-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cw-stat-accent, var(--cw-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.cw-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(12, 30, 61, 0.14);
    color: inherit;
}

.cw-stat:hover::before {
    transform: scaleX(1);
}

.cw-stat:hover .cw-stat-icon {
    animation: cw-stat-icon-float 1.2s ease-in-out infinite;
}

.cw-stat-icon {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--cw-stat-accent, var(--cw-accent)) 14%, white);
    color: var(--cw-stat-accent, var(--cw-accent));
    transition: transform 0.25s ease;
}

.cw-stat-icon svg {
    width: 1.65rem;
    height: 1.65rem;
    display: block;
}

.cw-stat-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--cw-stat-accent, var(--cw-accent));
    opacity: 0;
}

.cw-stat.is-counted .cw-stat-icon::after {
    animation: cw-stat-ring 0.8s ease-out;
}

.cw-stat--athletes {
    --cw-stat-accent: #206bc4;
}

.cw-stat--coaches {
    --cw-stat-accent: #2fb344;
}

.cw-stat--board {
    --cw-stat-accent: #f59f00;
}

.cw-stat--referees {
    --cw-stat-accent: #d63939;
}

.cw-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--cw-primary);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cw-stat-label {
    font-size: 0.8125rem;
    color: #6c7a91;
    margin-top: 0.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Bölüm başlığı ───────────────────────────────── */
.cw-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cw-primary);
}

.cw-section-head h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--cw-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cw-section-head h3 i {
    color: var(--cw-accent);
}

.cw-section-head a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cw-accent);
    text-decoration: none;
}

.cw-section-head a:hover {
    text-decoration: underline;
}

/* ── Haber kartları ──────────────────────────────── */
.cw-news-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
    .cw-news-featured {
        grid-template-columns: 1fr;
    }
}

.cw-news-card {
    background: #fff;
    border-radius: var(--cw-radius);
    overflow: hidden;
    border: 1px solid var(--cw-border);
    box-shadow: var(--cw-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cw-news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(12, 30, 61, 0.14);
    color: inherit;
}

.cw-news-card-img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

.cw-news-card-img-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--cw-primary-light), var(--cw-accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cw-news-card-img-placeholder i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.35);
}

.cw-news-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cw-news-card-meta {
    font-size: 0.75rem;
    color: #8a96a8;
    margin-bottom: 0.4rem;
}

.cw-news-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cw-primary);
    margin: 0 0 0.5rem;
    line-height: 1.35;
}

.cw-news-card-excerpt {
    font-size: 0.875rem;
    color: #6c7a91;
    margin: 0;
    flex: 1;
}

.cw-news-card-tags .badge {
    font-weight: 500;
    font-size: 0.7rem;
}

/* Haber listesi (kompakt) */
.cw-news-list-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--cw-border);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.cw-news-list-item:first-child {
    padding-top: 0;
}

.cw-news-list-item:last-child {
    border-bottom: none;
}

.cw-news-list-item:hover {
    color: var(--cw-accent);
}

.cw-news-list-date {
    flex-shrink: 0;
    width: 3.25rem;
    text-align: center;
    background: var(--cw-surface);
    border-radius: var(--cw-radius);
    padding: 0.4rem 0.25rem;
    line-height: 1.1;
}

.cw-news-list-date .day {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cw-accent);
}

.cw-news-list-date .month {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #8a96a8;
    font-weight: 600;
}

.cw-news-list-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--cw-primary);
    margin: 0;
    line-height: 1.35;
}

/* ── Sidebar widget ──────────────────────────────── */
.cw-widget {
    background: #fff;
    border-radius: var(--cw-radius);
    border: 1px solid var(--cw-border);
    box-shadow: var(--cw-shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.cw-widget-head {
    background-color: var(--cw-primary);
    background-image: var(--cw-widget-head-overlay), var(--cw-header-bg);
    background-size: var(--cw-widget-head-bg-size);
    background-position: var(--cw-widget-head-bg-position);
    background-repeat: var(--cw-widget-head-bg-repeat);
    color: #fff;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cw-widget-body {
    padding: 1rem;
}

.cw-widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cw-widget-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--cw-border);
    font-size: 0.875rem;
}

.cw-widget-list li:last-child {
    border-bottom: none;
}

.cw-widget-list a {
    color: var(--cw-primary);
    text-decoration: none;
    font-weight: 500;
}

.cw-widget-list a:hover {
    color: var(--cw-accent);
}

.cw-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.cw-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.5rem;
    background: var(--cw-surface);
    border-radius: var(--cw-radius);
    text-decoration: none;
    color: var(--cw-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}

.cw-quick-link i {
    font-size: 1.35rem;
    color: var(--cw-accent);
}

.cw-quick-link:hover {
    background: var(--cw-accent);
    color: #fff;
}

.cw-quick-link:hover i {
    color: #fff;
}

/* ── Duyuru kartı ────────────────────────────────── */
.cw-announcement {
    background: #fff;
    border-radius: var(--cw-radius);
    border-left: 4px solid var(--cw-accent);
    padding: 1.25rem;
    margin-bottom: 1rem;
    scroll-margin-top: 5.5rem;
    box-shadow: var(--cw-shadow);
}

.cw-announcement.pinned {
    border-left-color: var(--cw-gold);
    background: linear-gradient(90deg, #fffbeb, #fff);
}

.cw-announcement h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cw-primary);
    margin: 0 0 0.5rem;
}

/* ── Galeri grid ─────────────────────────────────── */
.cw-gallery-card {
    position: relative;
    border-radius: var(--cw-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.cw-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.cw-gallery-card:hover img {
    transform: scale(1.05);
}

.cw-gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.75));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: #fff;
}

.cw-gallery-card-overlay h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.cw-video-card {
    position: relative;
    border-radius: var(--cw-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    display: block;
    cursor: pointer;
    background: var(--cw-primary);
}

.cw-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.cw-video-card:hover img {
    transform: scale(1.05);
}

.cw-video-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.92);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s, background 0.2s;
    z-index: 2;
}

.cw-video-card:hover .cw-video-card-play {
    transform: translate(-50%, -50%) scale(1.08);
    background: rgba(220, 38, 38, 0.95);
}

/* ── Sayfa başlığı (iç sayfalar) ─────────────────── */
.cw-page-head {
    background: transparent;
    color: var(--cw-page-head-color);
    padding: 2rem 0;
    border-bottom: 3px solid var(--cw-surface);
    border-top: 1px solid var(--cw-surface);
}

.cw-page-head h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin: 0;
}

.cw-page-head .cw-breadcrumb {
    font-size: 0.8125rem;
    opacity: 0.75;
    margin-top: 0.35rem;
}

.cw-page-head .cw-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

/* ── Makale (haber detay) ────────────────────────── */
.cw-article {
    background: #fff;
    border-radius: var(--cw-radius);
    padding: 2rem;
    box-shadow: var(--cw-shadow);
    border: 1px solid var(--cw-border);
}

.cw-article-lead {
    font-size: 1.125rem;
    color: #4a5568;
    line-height: 1.6;
    border-left: 4px solid var(--cw-accent);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.cw-article-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

.cw-comp-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cw-primary);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cw-border);
}

.cw-comp-dl dt {
    font-weight: 600;
}

.cw-comp-dl dd {
    margin-bottom: 0.65rem;
}

.cw-comp-reg-box {
    background: color-mix(in srgb, var(--cw-primary) 6%, white);
    border: 1px solid var(--cw-border);
    border-radius: var(--cw-radius);
    padding: 1.25rem;
}

.cw-comp-reg-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: color-mix(in srgb, var(--cw-accent) 10%, white);
    border: 1px solid color-mix(in srgb, var(--cw-accent) 25%, white);
    border-radius: var(--cw-radius);
    padding: 1rem 1.25rem;
}

.cw-comp-tabs {
    margin-top: 0.5rem;
}

.cw-comp-tab-nav {
    border-bottom: 2px solid var(--cw-border);
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.cw-comp-tab-nav::-webkit-scrollbar {
    display: none;
}

.cw-comp-tab-nav .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: #6c7a91;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
    white-space: nowrap;
    border-radius: var(--cw-radius) var(--cw-radius) 0 0;
    background: transparent;
}

.cw-comp-tab-nav .nav-link:hover {
    color: var(--cw-primary);
    background: color-mix(in srgb, var(--cw-primary) 5%, white);
}

.cw-comp-tab-nav .nav-link.active {
    color: var(--cw-primary);
    border-bottom-color: var(--cw-primary);
    background: color-mix(in srgb, var(--cw-primary) 6%, white);
}

.cw-comp-tab-content {
    padding-top: 1.25rem;
}

.cw-comp-page .cw-comp-section-title {
    margin-top: 0;
}

.cw-comp-page .cw-comp-section-title:not(:first-child) {
    margin-top: 1.5rem;
}

.cw-comp-group-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #6c7a91;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cw-comp-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c7a91;
    border-bottom-width: 2px;
}

.cw-comp-table tbody td {
    vertical-align: middle;
}

.cw-comp-match {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--cw-border);
}

.cw-comp-match:last-child {
    border-bottom: 0;
}

.cw-comp-match-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cw-comp-match-status {
    min-width: 6.5rem;
    text-align: center;
}

.cw-comp-match-players {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.cw-comp-match-score {
    font-weight: 800;
    color: var(--cw-primary);
    padding: 0 0.25rem;
    white-space: nowrap;
}

.cw-comp-match-vs {
    color: #9aa5b4;
    font-size: 0.875rem;
    padding: 0 0.25rem;
}

.cw-comp-match-sets {
    font-size: 0.8125rem;
    color: #6c7a91;
    margin: 0.35rem 0 0 calc(6.5rem + 0.75rem);
}

.cw-comp-match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.45rem;
    margin-left: calc(6.5rem + 0.75rem);
}

.cw-comp-match-soon {
    border-left: 3px solid #f59e0b;
    padding-left: 0.5rem;
    margin-left: -0.5rem;
}

.cw-live-widget {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1040;
}

.cw-live-widget-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 23, 42, 0.92);
    color: #e2e8f0;
    padding: 0.4rem 0.65rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cw-live-widget .form-select {
    width: auto;
    min-width: 4.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    font-size: 0.75rem;
    padding: 0.2rem 1.5rem 0.2rem 0.4rem;
}

.cw-live-countdown strong {
    font-variant-numeric: tabular-nums;
    color: #7dd3fc;
}

@media (max-width: 575.98px) {

    .cw-comp-match-sets,
    .cw-comp-match-meta {
        margin-left: 0;
    }
}

/* ── Etkinlik / antrenman satırı ─────────────────── */
.cw-event-row {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: var(--cw-radius);
    border: 1px solid var(--cw-border);
    margin-bottom: 0.75rem;
    transition: box-shadow 0.2s;
}

.cw-event-row:hover {
    box-shadow: var(--cw-shadow);
}

.cw-event-date-box {
    flex-shrink: 0;
    width: 3.5rem;
    text-align: center;
    background: var(--cw-primary);
    color: #fff;
    border-radius: var(--cw-radius);
    padding: 0.5rem 0.35rem;
    line-height: 1.1;
}

.cw-event-date-box .day {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
}

.cw-event-date-box .month {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.85;
}

/* ── Kişi kartı geliştirme ───────────────────────── */
.cw-person-card {
    background: #fff;
    border-radius: var(--cw-radius);
    border: 1px solid var(--cw-border);
    box-shadow: var(--cw-shadow);
    text-align: center;
    padding: 1.5rem 1rem;
    height: 100%;
    transition: transform 0.2s;
}

.cw-person-card:hover {
    transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────── */
.cw-footer {
    background: var(--cw-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.cw-footer h4 {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.cw-footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.875rem;
}

.cw-footer a:hover {
    color: #fff;
}

.cw-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cw-footer-links li {
    margin-bottom: 0.4rem;
}

.cw-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: 0.8125rem;
    text-align: center;
    opacity: 0.7;
}

/* ── Kulüp özeti kutusu ──────────────────────────── */
.cw-club-intro {
    background: #fff;
    border-radius: var(--cw-radius);
    padding: 1.5rem;
    border: 1px solid var(--cw-border);
    box-shadow: var(--cw-shadow);
    margin-bottom: 2rem;
}

.cw-club-intro blockquote {
    border-left: 4px solid var(--cw-gold);
    padding: 0.75rem 1rem;
    margin: 1rem 0 0;
    background: var(--cw-surface);
    font-style: italic;
    color: #4a5568;
    font-size: 0.9375rem;
}

/* Sıralama — ilk 3 madalya ikonları */
.cw-podium-rank {
    font-weight: 600;
}

.cw-podium-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.cw-podium-rank--1 .cw-podium-icon {
    color: var(--cw-gold);
}

.cw-podium-rank--2 .cw-podium-icon {
    color: #8b9cb3;
}

.cw-podium-rank--3 .cw-podium-icon {
    color: #c87941;
}