/*
 * ╔══════════════════════════════════════════════════════════════════╗
 * ║   SatrançTurnuvası.com — Widget Stilleri                        ║
 * ║   https://satrancturnuvasi.com/sitene-ekle                      ║
 * ╠══════════════════════════════════════════════════════════════════╣
 * ║   ÖZELLEŞTİRME REHBERİ                                          ║
 * ║   Aşağıdaki CSS sınıflarını kendi stillerinizle ezebilirsiniz.  ║
 * ║                                                                  ║
 * ║  ANA YAPI                                                        ║
 * ║   .stw-widget             → Tüm widgetin dış çerçevesi          ║
 * ║   .stw-widget.stw-light   → Açık tema                           ║
 * ║   .stw-widget.stw-dark    → Koyu tema                           ║
 * ║                                                                  ║
 * ║  BAŞLIK ÇUBUĞU                                                   ║
 * ║   .stw-header             → Üst başlık bandı                    ║
 * ║   .stw-header__title      → "♟ Satranç Turnuvaları" metni       ║
 * ║   .stw-header__link       → "Tümünü Gör →" bağlantısı           ║
 * ║                                                                  ║
 * ║  SATIR ÖĞESİ (resimli / resimsiz)                               ║
 * ║   .stw-item               → Tıklanabilir satır (a etiketi)      ║
 * ║   .stw-item__thumb        → Küçük kare resim (72×72 px)         ║
 * ║   .stw-item__thumb--ph    → Resim yoksa yer tutucu              ║
 * ║   .stw-item__body         → Metin içerik alanı                  ║
 * ║   .stw-item__title        → Öğe başlığı                         ║
 * ║   .stw-item__meta         → Alt bilgi satırı (tarih, şehir, tur)║
 * ║   .stw-item__meta-sep     → Ayraç noktası "·"                   ║
 * ║   .stw-item__badges       → Etiket grubu (ELO, UKD...)          ║
 * ║   .stw-item__badge        → Tek etiket                          ║
 * ║   .stw-item__badge--elo   → ELO etiketi                         ║
 * ║   .stw-item__badge--ukd   → UKD etiketi                         ║
 * ║   .stw-item__badge--date  → Son başvuru tarihi etiketi          ║
 * ║   .stw-item__excerpt      → Kısa özet metin                     ║
 * ║                                                                  ║
 * ║  KART GÖRÜNÜMÜ (gorunum=kart)                                    ║
 * ║   .stw-cards              → Kart ızgara sarmalayıcı             ║
 * ║   .stw-card               → Tek kart (a etiketi)                ║
 * ║   .stw-card__image        → Kart resim alanı                    ║
 * ║   .stw-card__image--ph    → Kart resim yer tutucusu             ║
 * ║   .stw-card__body         → Kart alt bilgi alanı                ║
 * ║   .stw-card__title        → Kart başlığı                        ║
 * ║   .stw-card__meta         → Kart meta bilgisi                   ║
 * ║   .stw-card__badges       → Kart etiket grubu                   ║
 * ║                                                                  ║
 * ║  BAŞLIK + ÖZET (gorunum=baslik-ozet)                            ║
 * ║   .stw-bo                 → Öğe sarmalayıcı (a etiketi)         ║
 * ║   .stw-bo__title          → Başlık                              ║
 * ║   .stw-bo__meta           → Meta bilgi                          ║
 * ║   .stw-bo__excerpt        → Özet metin                          ║
 * ║   .stw-bo__arrow          → Sağ köşe ok göstergesi              ║
 * ║                                                                  ║
 * ║  SADECE BAŞLIKLAR (gorunum=sadece-baslik)                        ║
 * ║   .stw-sb                 → Liste (ol etiketi)                  ║
 * ║   .stw-sb__item           → Liste öğesi (li etiketi)            ║
 * ║   .stw-sb__num            → Numara dairesi                      ║
 * ║   .stw-sb__link           → Tıklanabilir başlık metni           ║
 * ║   .stw-sb__date           → Tarih (sağa hizalı)                 ║
 * ║                                                                  ║
 * ║  ALT BİLGİ                                                       ║
 * ║   .stw-footer             → Alt bilgi bandı                     ║
 * ║   .stw-footer__link       → Kaynak site bağlantısı              ║
 * ╚══════════════════════════════════════════════════════════════════╝
 */

/* ─────────────────────────────────────────────────────────────────────────
   CSS Değişkenleri (light)
   ───────────────────────────────────────────────────────────────────────── */
.stw-widget {
    --stw-primary:       #2563eb;
    --stw-primary-dark:  #1d4ed8;
    --stw-bg:            #ffffff;
    --stw-bg-hover:      #f8fafc;
    --stw-bg-subtle:     #f1f5f9;
    --stw-border:        #e2e8f0;
    --stw-text:          #1e293b;
    --stw-text-muted:    #64748b;
    --stw-text-light:    #94a3b8;
    --stw-badge-elo-bg:  #dbeafe;
    --stw-badge-elo-fg:  #1d4ed8;
    --stw-badge-ukd-bg:  #dcfce7;
    --stw-badge-ukd-fg:  #166534;
    --stw-badge-dt-bg:   #fef3c7;
    --stw-badge-dt-fg:   #92400e;
    --stw-shadow:        0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --stw-shadow-hover:  0 4px 16px rgba(0,0,0,.10);
    --stw-radius:        10px;
    --stw-radius-sm:     6px;
    --stw-font:          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

/* ─── Koyu tema değişkenleri ─── */
.stw-widget.stw-dark {
    --stw-primary:       #3b82f6;
    --stw-primary-dark:  #2563eb;
    --stw-bg:            #0f172a;
    --stw-bg-hover:      #1e293b;
    --stw-bg-subtle:     #1e293b;
    --stw-border:        #1e293b;
    --stw-text:          #f1f5f9;
    --stw-text-muted:    #94a3b8;
    --stw-text-light:    #64748b;
    --stw-badge-elo-bg:  #1e3a5f;
    --stw-badge-elo-fg:  #93c5fd;
    --stw-badge-ukd-bg:  #14532d;
    --stw-badge-ukd-fg:  #86efac;
    --stw-badge-dt-bg:   #451a03;
    --stw-badge-dt-fg:   #fcd34d;
    --stw-shadow:        0 1px 3px rgba(0,0,0,.3);
    --stw-shadow-hover:  0 4px 20px rgba(0,0,0,.4);
}

/* ─────────────────────────────────────────────────────────────────────────
   Ana Çerçeve
   ───────────────────────────────────────────────────────────────────────── */
.stw-widget {
    font-family: var(--stw-font);
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    max-width: 100%;
    background: var(--stw-bg);
    border: 1px solid var(--stw-border);
    border-radius: var(--stw-radius);
    overflow: hidden;
    color: var(--stw-text);
}

.stw-widget.stw-transparent {
    background: transparent !important;
    border: none !important;
}

.stw-widget * {
    box-sizing: border-box;
}

/* ─────────────────────────────────────────────────────────────────────────
   Başlık Çubuğu
   ───────────────────────────────────────────────────────────────────────── */
.stw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--stw-primary) 0%, var(--stw-primary-dark) 100%);
    gap: 8px;
}

.stw-header__title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stw-header__link {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: color .15s;
}
.stw-header__link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────────────────
   Yükleniyor / Boş Durumlar
   ───────────────────────────────────────────────────────────────────────── */
.stw-loading,
.stw-empty {
    text-align: center;
    padding: 24px 16px;
    font-size: 12px;
    color: var(--stw-text-light);
}

/* ─────────────────────────────────────────────────────────────────────────
   Ortak Etiket (Badge) Stilleri
   ───────────────────────────────────────────────────────────────────────── */
.stw-item__badge,
.stw-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
    white-space: nowrap;
}

.stw-item__badge--elo,
.stw-card__badge--elo {
    background: var(--stw-badge-elo-bg);
    color: var(--stw-badge-elo-fg);
}

.stw-item__badge--ukd,
.stw-card__badge--ukd {
    background: var(--stw-badge-ukd-bg);
    color: var(--stw-badge-ukd-fg);
}

.stw-item__badge--date,
.stw-card__badge--date {
    background: var(--stw-badge-dt-bg);
    color: var(--stw-badge-dt-fg);
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: resimli / resimsiz  (Satır Listesi)
   ───────────────────────────────────────────────────────────────────────── */
.stw-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--stw-border);
    text-decoration: none;
    color: var(--stw-text);
    transition: background .15s;
}

.stw-item:last-child {
    border-bottom: none;
}

.stw-item:hover {
    background: var(--stw-bg-hover);
}

/* Küçük resim */
.stw-item__thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--stw-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: var(--stw-bg-subtle);
}

/* Resim yer tutucusu */
.stw-item__thumb--ph {
    width: 72px;
    height: 72px;
    border-radius: var(--stw-radius-sm);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: var(--stw-bg-subtle);
    color: var(--stw-text-light);
}

/* Metin alanı */
.stw-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Başlık */
.stw-item__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--stw-text);
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .15s;
}

.stw-item:hover .stw-item__title {
    color: var(--stw-primary);
}

/* Meta bilgi satırı */
.stw-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    font-size: 11px;
    color: var(--stw-text-muted);
    line-height: 1.4;
}

.stw-item__meta-sep {
    color: var(--stw-text-light);
    font-size: 9px;
}

/* Etiket grubu */
.stw-item__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Özet metin */
.stw-item__excerpt {
    font-size: 11px;
    color: var(--stw-text-muted);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: kart  (2-sütun kart ızgarası)
   ───────────────────────────────────────────────────────────────────────── */
.stw-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 12px;
}

.stw-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--stw-text);
    background: var(--stw-bg);
    border: 1px solid var(--stw-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--stw-shadow);
    transition: transform .2s, box-shadow .2s, border-color .15s;
}

.stw-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--stw-shadow-hover);
    border-color: var(--stw-primary);
}

/* Resim sarmalayıcı — padding ile iç mesafe */
.stw-card__img-wrap {
    position: relative;
    padding: 10px 10px 0;
}

/* Resim — kendi yuvarlatılmış köşeleri */
.stw-card__image {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: var(--stw-bg-subtle);
}

.stw-card__image--ph {
    width: 100%;
    height: 185px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    background: var(--stw-bg-subtle);
    color: var(--stw-text-light);
}

/* Resim üzerindeki tür etiketi */
.stw-card__lbl {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 2px 10px;
    border-radius: 5px;
    background: var(--stw-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: .02em;
    white-space: nowrap;
    z-index: 1;
}

/* Kart metin alanı */
.stw-card__body {
    padding: 10px 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Kart başlığı */
.stw-card__title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: var(--stw-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .15s;
}

.stw-card:hover .stw-card__title { color: var(--stw-primary); }

/* Kısa açıklama */
.stw-card__excerpt {
    font-size: 12px;
    color: var(--stw-text-muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ELO/UKD etiketleri */
.stw-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Alt meta: tarih, şehir */
.stw-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--stw-border);
    margin-top: auto;
    font-size: 11px;
    color: var(--stw-text-muted);
}

.stw-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: kart2  (3-sütun kompakt kart ızgarası)
   ───────────────────────────────────────────────────────────────────────── */
.stw-cards2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 10px;
}

.stw-card2 {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--stw-text);
    background: var(--stw-bg);
    border: 1px solid var(--stw-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--stw-shadow);
    transition: transform .2s, box-shadow .2s, border-color .15s;
}

.stw-card2:hover {
    transform: translateY(-4px);
    box-shadow: var(--stw-shadow-hover);
    border-color: var(--stw-primary);
}

.stw-card2__img-wrap {
    position: relative;
    padding: 8px 8px 0;
}

.stw-card2__image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    background: var(--stw-bg-subtle);
}

.stw-card2__image--ph {
    width: 100%;
    height: 110px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--stw-bg-subtle);
    color: var(--stw-text-light);
}

.stw-card2__lbl {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 1px 7px;
    border-radius: 4px;
    background: var(--stw-primary);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
    z-index: 1;
}

.stw-card2__body {
    padding: 8px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stw-card2__title {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--stw-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .15s;
}

.stw-card2:hover .stw-card2__title { color: var(--stw-primary); }

.stw-card2__excerpt {
    font-size: 10px;
    color: var(--stw-text-muted);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stw-card2__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.stw-card2__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding-top: 6px;
    border-top: 1px solid var(--stw-border);
    margin-top: auto;
    font-size: 9px;
    color: var(--stw-text-muted);
}

.stw-card2__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.stw-card2__meta {
    font-size: 9px;
    color: var(--stw-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.stw-card2__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-top: auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: baslik-ozet  (başlık + metin özeti)
   ───────────────────────────────────────────────────────────────────────── */
.stw-bo {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid var(--stw-border);
    text-decoration: none;
    color: var(--stw-text);
    transition: background .15s;
    border-left: 3px solid transparent;
}

.stw-bo:last-child {
    border-bottom: none;
}

.stw-bo:hover {
    background: var(--stw-bg-hover);
    border-left-color: var(--stw-primary);
}

.stw-bo__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Başlık */
.stw-bo__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--stw-text);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .15s;
}

.stw-bo:hover .stw-bo__title {
    color: var(--stw-primary);
}

/* Meta */
.stw-bo__meta {
    font-size: 11px;
    color: var(--stw-text-muted);
}

/* Özet */
.stw-bo__excerpt {
    font-size: 12px;
    color: var(--stw-text-muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Ok göstergesi */
.stw-bo__arrow {
    flex-shrink: 0;
    color: var(--stw-text-light);
    font-size: 14px;
    margin-top: 2px;
    transition: color .15s, transform .15s;
}

.stw-bo:hover .stw-bo__arrow {
    color: var(--stw-primary);
    transform: translateX(3px);
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: sadece-baslik  (numaralı minimal liste)
   ───────────────────────────────────────────────────────────────────────── */
.stw-sb {
    list-style: none;
    margin: 0;
    padding: 0;
}

.stw-sb__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--stw-border);
    transition: background .15s;
}

.stw-sb__item:last-child {
    border-bottom: none;
}

.stw-sb__item:hover {
    background: var(--stw-bg-hover);
}

/* Numara dairesi */
.stw-sb__num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--stw-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

/* İlk 3 öğe daha belirgin */
.stw-sb__item:nth-child(1) .stw-sb__num { background: #f59e0b; }
.stw-sb__item:nth-child(2) .stw-sb__num { background: #94a3b8; }
.stw-sb__item:nth-child(3) .stw-sb__num { background: #cd7c2c; }

/* Başlık bağlantısı */
.stw-sb__link {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--stw-text);
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    transition: color .15s;
}

.stw-sb__item:hover .stw-sb__link {
    color: var(--stw-primary);
}

/* Tarih */
.stw-sb__date {
    font-size: 10px;
    color: var(--stw-text-light);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────────
   Alt Bilgi
   ───────────────────────────────────────────────────────────────────────── */
/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: banner  (geniş yatay banner — büyük resim + başlık + özet)
   ───────────────────────────────────────────────────────────────────────── */

/* .stw-bn               → Tıklanabilir satır (a etiketi)              */
/* .stw-bn__image        → Geniş resim (110px genişlik, tam yükseklik) */
/* .stw-bn__image--ph    → Resim yoksa yer tutucu                      */
/* .stw-bn__body         → Metin alanı                                 */
/* .stw-bn__title        → Başlık (büyük)                              */
/* .stw-bn__meta         → Meta bilgi (tarih, şehir, tur)              */
/* .stw-bn__excerpt      → Özet metin                                  */
/* .stw-bn__badges       → Etiket grubu                                */

.stw-bn {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--stw-border);
    text-decoration: none;
    color: var(--stw-text);
    transition: background .15s;
    overflow: hidden;
}

.stw-bn:last-child { border-bottom: none; }
.stw-bn:hover      { background: var(--stw-bg-hover); }

.stw-bn__image {
    width: 110px;
    min-height: 90px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    background: var(--stw-bg-subtle);
}

.stw-bn__image--ph {
    width: 110px;
    min-height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--stw-bg-subtle);
    color: var(--stw-text-light);
}

.stw-bn__body {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stw-bn__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--stw-text);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color .15s;
}

.stw-bn:hover .stw-bn__title { color: var(--stw-primary); }

.stw-bn__meta {
    font-size: 11px;
    color: var(--stw-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
}

.stw-bn__excerpt {
    font-size: 11px;
    color: var(--stw-text-muted);
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stw-bn__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: takvim  (tarih bloğu solda — etkinlik/turnuva için ideal)
   ───────────────────────────────────────────────────────────────────────── */

/* .stw-cal__item        → Tıklanabilir satır (a etiketi)              */
/* .stw-cal__date        → Tarih bloğu (gün + ay)                      */
/* .stw-cal__day         → Gün sayısı (büyük)                          */
/* .stw-cal__month       → Ay kısaltması (küçük)                       */
/* .stw-cal__body        → Metin alanı                                 */
/* .stw-cal__title       → Başlık                                      */
/* .stw-cal__meta        → Meta bilgi (şehir, tur)                     */
/* .stw-cal__badges      → Etiket grubu                                */

.stw-cal__item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--stw-border);
    text-decoration: none;
    color: var(--stw-text);
    transition: background .15s;
}

.stw-cal__item:last-child { border-bottom: none; }
.stw-cal__item:hover      { background: var(--stw-bg-hover); }

.stw-cal__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 48px;
    border-radius: 8px;
    background: var(--stw-primary);
    color: #ffffff;
    flex-shrink: 0;
    text-align: center;
    line-height: 1;
}

.stw-cal__day {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.stw-cal__month {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
    margin-top: 2px;
}

.stw-cal__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stw-cal__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--stw-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    transition: color .15s;
}

.stw-cal__item:hover .stw-cal__title { color: var(--stw-primary); }

.stw-cal__meta {
    font-size: 11px;
    color: var(--stw-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
}

.stw-cal__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

/* ─────────────────────────────────────────────────────────────────────────
   GÖRÜNÜM: magazin  (öne çıkan büyük + alt mini liste)
   ───────────────────────────────────────────────────────────────────────── */

/* .stw-mag__featured       → İlk öğe: öne çıkan (a etiketi)          */
/* .stw-mag__feat-img       → Büyük resim (tam genişlik)               */
/* .stw-mag__feat-img--ph   → Resim yoksa yer tutucu                   */
/* .stw-mag__feat-body      → Metin alanı                              */
/* .stw-mag__feat-label     → "Öne Çıkan" etiketi                      */
/* .stw-mag__feat-title     → Başlık (büyük)                           */
/* .stw-mag__feat-meta      → Meta bilgi                               */
/* .stw-mag__mini           → Sonraki öğeler: kompakt liste (a etiketi)*/
/* .stw-mag__mini-thumb     → Küçük resim (44×44)                      */
/* .stw-mag__mini-thumb--ph → Resim yoksa yer tutucu                   */
/* .stw-mag__mini-body      → Metin alanı                              */
/* .stw-mag__mini-title     → Başlık                                   */
/* .stw-mag__mini-meta      → Meta bilgi                               */

.stw-mag__featured {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--stw-text);
    transition: background .15s;
    border-bottom: 2px solid var(--stw-border);
}

.stw-mag__featured:hover { background: var(--stw-bg-hover); }

.stw-mag__feat-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    background: var(--stw-bg-subtle);
}

.stw-mag__feat-img--ph {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: var(--stw-bg-subtle);
    color: var(--stw-text-light);
}

.stw-mag__feat-body {
    padding: 12px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stw-mag__feat-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--stw-primary);
}

.stw-mag__feat-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--stw-text);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: color .15s;
}

.stw-mag__featured:hover .stw-mag__feat-title { color: var(--stw-primary); }

.stw-mag__feat-excerpt {
    font-size: 12px;
    color: var(--stw-text-muted);
    line-height: 1.55;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stw-mag__feat-meta {
    font-size: 11px;
    color: var(--stw-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 6px;
}

.stw-mag__feat-badges { display: flex; flex-wrap: wrap; gap: 3px; }

/* Kompakt mini öğeler */
.stw-mag__mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--stw-border);
    text-decoration: none;
    color: var(--stw-text);
    transition: background .15s;
}

.stw-mag__mini:last-child { border-bottom: none; }
.stw-mag__mini:hover      { background: var(--stw-bg-hover); }

.stw-mag__mini-thumb {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--stw-bg-subtle);
    display: block;
}

.stw-mag__mini-thumb--ph {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: var(--stw-bg-subtle);
    color: var(--stw-text-light);
}

.stw-mag__mini-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.stw-mag__mini-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--stw-text);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    transition: color .15s;
}

.stw-mag__mini:hover .stw-mag__mini-title { color: var(--stw-primary); }

.stw-mag__mini-meta {
    font-size: 10px;
    color: var(--stw-text-muted);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 5px;
}

/* ─────────────────────────────────────────────────────────────────────────
   Alt Bilgi
   ───────────────────────────────────────────────────────────────────────── */

.stw-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-top: 1px solid var(--stw-border);
    background: var(--stw-bg-subtle);
}

.stw-footer__link {
    font-size: 11px;
    font-weight: 500;
    color: var(--stw-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color .15s;
}


.stw-footer__link:hover {
    color: var(--stw-primary);
}

.stw-footer__tools {
    display: flex;
    gap: 30px;
}

.stw-footer__btn {
    font-size: 10px;
    font-weight: 700;
    color: var(--stw-primary);
    text-decoration: none;
    padding: 4px 11px;
    border: 1px solid var(--stw-primary);
    border-radius: 5px;
    letter-spacing: .04em;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.stw-footer__btn:hover {
    background: var(--stw-primary);
    color: #ffffff;
}