/**
 * custom.css - Satranç Turnuvası Özel Stiller
 */

/* ========================================
   REKLAM BANNERLARI
   ======================================== */
.reklam-banner {
    position: relative;
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
}
.reklam-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: inline-block;
}
.reklam-banner .reklam-lbl {
    position: absolute;
    top: 4px;
    right: 8px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    pointer-events: none;
}

/* Leaderboard / inline konumlar */
.reklam-poz-ana-hero-alti,
.reklam-poz-ana-orta,
.reklam-poz-turnuva-liste-ust,
.reklam-poz-turnuva-detay-ust,
.reklam-poz-haber-liste-ust,
.reklam-poz-haber-detay-ust,
.reklam-poz-haber-detay-alt {
    margin: 30px auto;
}

/* Turnuva detay sidebar */
.reklam-poz-turnuva-detay-sidebar {
    margin: 0 0 20px 0;
}

/* Yan Gutter (Skyscraper) — yalnızca geniş ekranda görünür */
.reklam-yan-wrap {
    display: none;
}
@media (min-width: 1400px) {
    .reklam-yan-wrap {
        display: block;
        position: fixed;
        top: 130px;
        width: 160px;
        z-index: 90;
    }
    .reklam-yan-wrap.sol { left: 12px; }
    .reklam-yan-wrap.sag { right: 12px; }
    .reklam-yan-wrap .reklam-banner { margin: 0; }
    .reklam-yan-wrap .reklam-banner img { max-height: 600px; }
}

/* Popup */
.reklam-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.reklam-popup-box {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 640px;
    width: 100%;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.reklam-popup-box .reklam-banner { margin: 0; }
.reklam-popup-box .reklam-banner img { border-radius: 8px; width: 100%; }
.reklam-popup-kapat {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #1B1D36;
    color: #fff;
    border: 3px solid #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
}
.reklam-popup-kapat:hover { background: #e53e3e; }
.reklam-popup-reklam-lbl {
    text-align: center;
    font-size: 11px;
    color: #9aa0a6;
    margin-top: 6px;
    letter-spacing: 0.3px;
}


/* =====================
   Chess Preloader - LEGO Knight Assembly
   ===================== */
.chess-preloader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.knight-grid {
  display: grid;
  grid-template-columns: repeat(7, 16px);
  grid-template-rows: repeat(9, 16px);
  gap: 2px;
}

.kp {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  grid-row: var(--r);
  grid-column: var(--c);
  opacity: 0;
  animation: knightBuild 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  animation-delay: calc(var(--d) * 60ms);
  box-shadow: inset -1px -1px 0 rgba(0,0,0,0.15), inset 1px 1px 0 rgba(255,255,255,0.1);
}

/* Alternating black and red like chess/LEGO */
.kp:nth-child(odd)  { background: #1a1a2e; }
.kp:nth-child(even) { background: #c11820; }

/* Some pieces get a slightly different shade for depth */
.kp:nth-child(3n) { background: #2a2a3e; }
.kp:nth-child(4n) { background: #d42830; }

@keyframes knightBuild {
  0% {
    opacity: 0;
    transform: translate(calc(var(--tx) * 1px), calc(var(--ty) * 1px)) scale(0.3) rotate(180deg);
  }
  8% {
    opacity: 0.6;
    transform: translate(calc(var(--tx) * 0.3px), calc(var(--ty) * 0.3px)) scale(0.8) rotate(45deg);
  }
  16% {
    opacity: 1;
    transform: translate(0, 0) scale(1.08) rotate(0deg);
  }
  20% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  65% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  75% {
    opacity: 0.8;
    transform: translate(0, 0) scale(0.95) rotate(0deg);
  }
  85% {
    opacity: 0;
    transform: translate(calc(var(--tx) * -0.8px), calc(var(--ty) * -0.8px)) scale(0.2) rotate(-120deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--tx) * -1px), calc(var(--ty) * -1px)) scale(0) rotate(-180deg);
  }
}

.chess-loading-text {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #999;
  animation: chessTextPulse 3.5s ease-in-out infinite;
}

@keyframes chessTextPulse {
  0%, 20% { opacity: 0.3; }
  35%, 65% { opacity: 1; }
  80%, 100% { opacity: 0.3; }
}

/* Ödül Badge */
.odul-badge {
  background-color: #fff8e1 !important;
  color: #b8860b !important;
  border: 1px solid #f0c040 !important;
  font-weight: 600 !important;
    padding: 7px 10px;
    border-radius: 6px;
}
.odul-badge:hover {
  background-color: #f0c040 !important;
  color: #5c4200 !important;
}

/* Genel */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* =====================
   Sidebar Yıl Listesi
   ===================== */
.sidebar-years-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-years-list li {
  border-bottom: 1px solid #f0f4f8;
}
.sidebar-years-list li:last-child {
  border-bottom: none;
}
.sidebar-years-list a {
  display: flex;
  align-items: center;
  padding: 10px 4px;
  color: #253D4E;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  gap: 10px;
}
.sidebar-years-list a:hover {
  color: #c11820;
  text-decoration: none;
}
.sidebar-years-list .syl-icon {
  color: #c11820;
  font-size: 13px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.sidebar-years-list .syl-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}
.sidebar-years-list .syl-count {
  background: #f0f4f8;
  color: #66789C;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  min-width: 28px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}
.sidebar-years-list a:hover .syl-count {
  background: #c11820;
  color: #fff;
}
.sidebar-years-list a.active {
  color: #c11820;
}
.sidebar-years-list a.active .syl-text {
  font-weight: 700;
}
.sidebar-years-list a.active .syl-count {
  background: #c11820;
  color: #fff;
}

/* Turnuva Öner Butonu (Hero) */
.btn-turnuva-oner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    background: #85FF83;
    border: 2px solid #6be069;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(133, 255, 131, 0.4);
}
.btn-turnuva-oner:hover {
    background: #a5ffa3;
    color: #1a1a1a;
    border-color: #85FF83;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(133, 255, 131, 0.5);
}
.btn-turnuva-oner i {
    font-size: 17px;
}



/* Turnuva kartları */
.card-grid-3 {
    border: 1px solid #e0e6f7;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
    height: 100%;
}
.card-grid-3:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.card-grid-3 .card-block-info {
    padding: 20px;
}
.card-grid-3 .card-grid-3-image figure {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.card-grid-3 .card-grid-3-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Haber kartlarının yüksekliklerini eşitle (Swiper slide stretch) */
.swiper-group-3 .swiper-slide {
    height: auto;
    display: flex;
}
.swiper-group-3 .card-grid-3 {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.swiper-group-3 .card-grid-3 .card-block-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.swiper-group-3 .card-grid-3 .card-block-info p {
    flex: 1 1 auto;
}


/* Sidebar panel menü */
.sidebar-border {
    border: 1px solid #e0e6f7;
}
.sidebar-border .menu-footer li a {
    padding: 8px 0;
    display: block;
    color: #4f5e64;
}
.sidebar-border .menu-footer li a:hover,
.sidebar-border .menu-footer li a strong {
    color: #3c65f5;
}

/* Tablo stili */
.table {
    font-size: 14px;
}
.table thead th {
    background: #f5f7fc;
    border-color: #e0e6f7;
    font-weight: 600;
    color: #1B1D36;
}
.table td {
    vertical-align: middle;
}

/* Badge stili */
.badge {
    font-size: 11px;
    padding: 4px 8px;
    font-weight: 500;
}

/* Alert mesajları */
.alert {
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Kart hover efekti (dashboard) */
.card.hover-up {
    border: 1px solid #e0e6f7;
    transition: all 0.3s ease;
}
.card.hover-up:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Form alanları */
.form-control:focus {
    border-color: #3c65f5;
    box-shadow: 0 0 0 0.15rem rgba(60,101,245,0.15);
}

/* Küçük buton */
.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

/* Sayfalama */
.paginations {
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
}

.paginations .pager li a {
    font-weight: 600;
    padding: 7px 0px;
    font-size: 15px !important;
}

.paginations .pager li a.pager-btn:hover {
    color:#FFF;
}

.paginations .pager li a.pager-btn i:hover {
    color:#FFF;
}

.paginations .pager .pager-number:hover {
    color: #c11820;
}

.pager {
    display: inline-flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
}
.pager li {
    display: flex;
}
.pager .pager-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #e0e6f7;
    border-radius: 10px;
    color: #4f5e64;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #fff;
}
.pager a.pager-number:hover {
    background: #f0f3ff;
    border-color: #c11820;
    color: #c11820;
}
.pager .pager-number.active {
    background: #c11820;
    color: #fff;
    border-color: #c11820;
    box-shadow: 0 4px 12px rgba(193, 24, 32, 0.3);
    cursor: default;
}
.pager .pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e6f7;
    border-radius: 10px;
    color: #4f5e64;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    background: #fff;
}
.pager a.pager-btn:hover {
    background: #c11820;
    color: #fff;
    border-color: #c11820;
}
.pager .pager-btn.disabled {
    color: #cdd5df;
    cursor: default;
    background: #f8f9fc;
    border-color: #e0e6f7;
}
.pager .pager-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: #a0abb8;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Harita responsive */
.map-responsive {
    overflow: hidden;
    border-radius: 8px;
}
.map-responsive iframe {
    width: 100%;
    border: 0;
}

/* Box white */
.box-white {
    background: #fff;
    border: 1px solid #e0e6f7;
}

/* Mobil düzenlemeler */
@media (max-width: 768px) {
    .banner-hero.hero-2{
        padding-top:40px!important;
    }
    .banner-hero.hero-2 .banner-inner {
        /*padding: 40px 0;*/
    }
    .banner-hero.hero-2 .block-banner h1 {
        font-size: 28px;
    }
    .breacrumb-cover {
        padding: 25px 0;
    }
    .sidebar-shadow {
        margin-bottom: 30px;
    }
}

.header-logo{
    width: 250px;
}
.header {
    padding: 30px 10px 25px 10px!important;
}

.header .main-menu li a {
    font-size: 16px!important;
}

.btn-tag {
    background: #ffd2d4!important;
}

/* ========================
   Turnuva Türü Badge Renkleri
   ======================== */
.badge-turnuva-success {
    background-color: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.badge-turnuva-warning {
    background-color: #fff3cd;
    color: #856404;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}
.badge-turnuva-danger {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

/* lbl-hot renk varyantları */
.lbl-hot.bg-warning {
    background-color: #f0ad4e !important;
}
.lbl-hot.bg-danger {
    background-color: #dc3545 !important;
}

/* Kayıt Açık badge soft renkleri */
.bg-success-soft {
    background-color: #d4edda !important;
    color: #155724 !important;
    border: 1px solid #c3e6cb;
}
.bg-warning-soft {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border: 1px solid #ffeeba;
}
.bg-danger-soft {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb;
}

/* ========================
   Sidebar Filtre Stiller
   ======================== */
.sidebar-filters .filter-block.head-border {
    border-bottom: 1px solid #e0e6f7;
    padding-bottom: 15px;
}
.sidebar-filters .filter-block.head-border h5 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sidebar-filters .link-reset {
    font-size: 13px;
    color: #3c65f5;
    text-decoration: none;
}
.sidebar-filters .link-reset:hover {
    text-decoration: underline;
}

/* Checkbox listesi radio uyumu */
.list-checkbox input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.list-checkbox input[type="radio"] ~ .checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #cdd5df;
    border-radius: 50%;
    transition: all 0.15s;
}
.list-checkbox input[type="radio"]:checked ~ .checkmark {
    background-color: #3c65f5;
    border-color: #3c65f5;
}
.list-checkbox input[type="radio"]:checked ~ .checkmark:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}

/* Sidebar select ikonlu */
.select-style-icon {
    position: relative;
}
.select-style-icon i {
    position: absolute;
    top: 30px;
    left: 15px;
    transform: translateY(-50%);
    color: #a0abb8;
    z-index: 1;
}
.select-style-icon .form-control {
    padding-left: 40px;
}

/* ========================
   Tab Sistemi (Anasayfa)
   ======================== */
.list-tabs {
    border-bottom: none;
}
.list-tabs .nav-tabs {
    border-bottom: none;
    gap: 8px;
    flex-wrap: wrap;
}
.list-tabs .nav-tabs li a {
    display: inline-block;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #4f5e64;
    border: 1px solid #e0e6f7;
    background: #fff;
    border-radius: 5px;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}
.list-tabs .nav-tabs li a:hover {
    color: #c11820;
    border-color: #c11820;
    background: #fff5f5;
}
.list-tabs .nav-tabs li a.active {
    color: #fff;
    background: #c11820;
    border-color: #c11820;
    box-shadow: 0 4px 12px rgba(193, 24, 32, 0.3);
}

/* ========================
   Detay Sayfası Stiller
   ======================== */
.box-border-single {
    background: #fff;
    border: 1px solid #e0e6f7;
    border-radius: 12px;
    padding: 30px;
}
.job-overview {
    background: #f8f9fc;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}
.job-overview .sidebar-icon-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e6f7;
    flex-shrink: 0;
}
.job-overview .sidebar-icon-item i {
    font-size: 18px;
}
.job-overview .sidebar-text-info {
    display: flex;
    flex-direction: column;
}
.job-overview .text-description {
    font-size: 13px;
    color: #a0abb8;
}
.job-overview .small-heading {
    font-size: 14px;
    color: #1B1D36;
}

/* Benzer turnuvalar listesi */
.sidebar-border .sidebar-list-job ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-border .sidebar-list-job ul li {
    border-bottom: 1px solid #f0f3f7;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.sidebar-border .sidebar-list-job ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Card-list-4 resim boyutu */
.card-list-4 .image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.card-list-4 .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Avatar sidebar (detay sayfası) */
.avatar-sidebar figure {
    width: 85px;
    height: 85px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}
.avatar-sidebar figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sosyal paylaşım ikonları */
.social-share img {
    width: 28px;
    height: 28px;
    transition: opacity 0.2s;
}
.social-share a:hover img {
    opacity: 0.7;
}

/* Single apply jobs */
.single-apply-jobs {
    border-top: 1px solid #e0e6f7;
    padding-top: 20px;
}

/* Box map */
.box-map {
    border-radius: 8px;
    overflow: hidden;
}
.box-map iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* Banner image single */
.banner-image-single img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: auto;
}

/* Display list kartları yükseklik */
.display-list .card-grid-2 {
    margin-bottom: 20px;
}

/* Liste görünümünde resim boyutu */
.display-list .card-grid-2-image-left .image-box {
    width: 1000px;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 5px;
    min-width: 335px!important;
}
.display-list .card-grid-2-image-left .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Filtre sidebar mobil */
@media (max-width: 991px) {
    .sidebar-filters {
        margin-top: 20px;
        margin-left: 20px;
    }
    .box-border-single {
        padding: 20px;
    }
    .job-overview {
        padding: 15px;
    }
    .list-tabs .nav-tabs {
        gap: 6px;
    }
    .list-tabs .nav-tabs li a {
        padding: 7px 14px;
        font-size: 13px;
    }
}

/* bg renk sınıfları (tema uyumlu) */
.bg-16 {
    background-color: #d4edda !important;
    color: #155724 !important;
}
.bg-18 {
    background-color: #fff3cd !important;
    color: #856404 !important;
}

.banner-hero.hero-2 .banner-inner {
    max-width: 1000px!important;
}

.banner-hero .color-brand-2::after {
    background-color:  unset !important;
}

.banner-single .block-banner {
    max-width: 900px!important;
}

.btn-apply-now {
    background-color: #ffebeb!important;
    color: #c11820!important;
}

.card-grid-2 .card-block-info .card-2-bottom .btn-tags-sm {
    background-color: #ffebeb!important;
    color: #c11820!important;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color:  unset !important;
}

/* WhatsApp */
.btn-whatsapp-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: #25d366;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp-cta:hover {
    background: #1ebe5a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.whatsapp-link {
    color: #25d366 !important;
}
.whatsapp-link:hover {
    color: #1ebe5a !important;
}
.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #25d366 !important;
    font-weight: 500;
    text-decoration: none;
}
.footer-whatsapp-link:hover {
    color: #1ebe5a !important;
}

.card-briefcase, .card-time, .location-small, .card-location {
    color: #c11820!important;
}

.card-grid-2 {
    border: 1px solid #c11820!important;
    background: #fffefe!important;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-grid-2 > .card-block-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-grid-2 > .card-block-info > .card-2-bottom {
    margin-top: auto;
}

/* Kart Alt Bilgi */
.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f5;
}
.card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #66789c;
}
.card-meta-item i {
    font-size: 14px;
    color: #c11820;
}

.btn-apply-now:hover {
    background-color: #c11820!important;
    color: #FFF!important;
}

.card-grid-2 .card-grid-2-image-left {
    padding: 10px 10px 5px 10px!important;
}

.job-overview .text-description {
    line-height: 18px!important;
}

.image-box figure a {
    cursor: pointer;
}

.btn.btn-default:hover {
    background-color: #05264E;
    color:#FFF!important;
}

.img-wrapper {
    height: 200px;          /* Maksimum gösterilecek yükseklik */
    overflow: hidden;       /* Taşanı gizle */
}

.img-wrapper img {
    width: 100%;            /* Genişliği bozma */
    height: 100%;
    object-fit: cover;      /* Oranı koru, taşanı kırp */
    display: block;
}

.bg-img-about {
    background: url(/assets/imgs/page/about/img-about.png) no-repeat top center;
}

.banner-hero.banner-single::before {
    background: url(/assets/bg-chess-left.png) no-repeat left bottom;
    height: 220px;
    width: 280px;
    opacity: 0.5;
}

.banner-hero.banner-single::after {
    background: url(/assets/bg-chess-right.png) no-repeat right bottom;
    height: 220px;
    width: 230px;
    opacity: 0.5;
}

.btn-tags-success {
    background-color: #ebfff6!important;
    color: #13b00c!important;
}


.banner-hero.hero-2 {
    background: url("/assets/banner-bg.png") center top / cover no-repeat;
}

/* ========================
   UKD / ELO Hesaplama Stiller
   ======================== */

/* Araç Tab Navigasyonu */
.arac-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.arac-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #4f5e64;
    background: #f5f7fc;
    border: 2px solid #e0e6f7;
    text-decoration: none;
    transition: all 0.25s ease;
}
.arac-tabs a:hover {
    background: #eef1ff;
    border-color: #3c65f5;
    color: #3c65f5;
}
.arac-tabs a.active {
    background: #c11820;
    border-color: #b90912;
    color: #fff;
    box-shadow: 0 4px 12px rgba(60, 101, 245, 0.3);
}

/* Sonuç Kutucukları */
.kazanc {
    color: #155724 !important;
    font-weight: bold;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}
.kayip {
    color: #721c24 !important;
    font-weight: bold;
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
}
.beraberlik {
    color: #856404 !important;
    font-weight: bold;
    background-color: #fff3cd !important;
    border-color: #ffeeba !important;
}


h2.accordion-header {
    line-height: 0px;
}

.accordion-button:not(.collapsed) {
    color: #c11820;
    background-color: #ffebeb;
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 #fbc6c6;
}

/* ========================
   Header Kullanıcı Dropdown
   ======================== */
.header-user-dropdown {
    position: relative;
    display: inline-block;
}
.header-user-dropdown .user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    color: #c11820;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #fecece;
    background: #ffebeb;
}
.header-user-dropdown .user-toggle:hover {
    background: #fecece;
    border-color: #c11820;
}
.header-user-dropdown .user-toggle i {
    font-size: 18px;
    color: #c11820;
}
.header-user-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 10px;
    display: none;
}
.header-user-dropdown:hover::after {
    display: block;
}
.header-user-dropdown .user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    background: #fff;
    border: 1px solid #e0e6f7;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 999;
    list-style: none;
    margin: 0;
}
.header-user-dropdown:hover .user-dropdown-menu {
    display: block;
}
.header-user-dropdown .user-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: #4f5e64;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s;
}
.header-user-dropdown .user-dropdown-menu li a:hover {
    background: #f5f7fc;
    color: #c11820;
}
.header-user-dropdown .user-dropdown-menu li a i {
    font-size: 15px;
    width: 20px;
}
.header-user-dropdown .user-dropdown-menu .dropdown-divider {
    height: 1px;
    background: #e0e6f7;
    margin: 6px 0;
}

.header .main-header .header-right {
    margin-top: -5px;
}


.icon-socials {
    display: inline-block;
    margin-right: 10px;
    height: 24px;
    width: 24px;
    transition-duration: 0.2s;
    &:hover {
        transform: translateY(-3px);
        transition-duration: 0.2s;
    }
    &.icon-facebook {
        background: url(/assets/imgs/template/icons/icon-facebook.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-twitter {
        background: url(/assets/imgs/template/icons/icon-twitter.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-linkedin {
        background: url(/assets/imgs/template/icons/icon-linkedin.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-instagram {
        background: url(/assets/imgs/template/icons/icon-instagram.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-telegram {
        background: url(/assets/imgs/template/icons/icon-telegram.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
        background-size: 24px 24px;
    }
}


.footer .icon-socials {
    display: inline-block;
    margin-right: 10px;
    height: 24px;
    width: 24px;
    transition-duration: 0.2s;
    &:hover {
        transform: translateY(-3px);
        transition-duration: 0.2s;
        background-size: 24px 24px;
    }
    &.icon-facebook {
        background: url(/assets/imgs/template/icons/icon-facebook.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-twitter {
        background: url(/assets/imgs/template/icons/icon-twitter.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-linkedin {
        background: url(/assets/imgs/template/icons/icon-linkedin.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-instagram {
        background: url(/assets/imgs/template/icons/icon-instagram.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
    }
    &.icon-telegram {
        background: url(/assets/imgs/template/icons/icon-telegram.svg) no-repeat 0px 0px;
        transition-duration: 0.2s;
        background-size: 24px 24px;
    }
}



.form-group input {
    background: #fff;
    border: 1px solid #E0E6F6;
    height: 50px;
    box-shadow: none;
    padding-left: 20px;
    font-size: 14px;
    width: 100%;
}


.select2-container--default .select2-search--inline .select2-search__field {
    background: #fff;
    border: 1px solid #E0E6F6;
    height: 40px;
    box-shadow: none;
    padding-left: 10px;
    margin: 0px;
    font-size: 14px;
    width: 100%!important;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color:unset;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border:0px;
}

.select2-container--default .select2-selection--multiple {
    border:0px;
}

/* Select2 Multi-Select Badge Stili */
.select-style .select2--multiple {
    padding: 5px 8px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li.select2-search--inline {
    order: -1;
    width: 100% !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear {
    order: 99;
    margin-left: auto;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0px;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear:hover {
    background: #c11820;
    color: #fff;
    border-color: #c11820;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #ffebeb;
    color: #c11820;
    border: 1px solid #fcd2d2;
    border-radius: 4px;
    padding: 1px 8px 1px 8px;
    font-size: 12px;
    margin: 3px 3px 3px 0;
    order: 10;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #c11820;
    border-right: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #8b0000;
    background: transparent;
}



@media (max-width: 991px) {
    /* Anasayfa: Mobilde önce turnuvalar, sonra hero/arama */
    .main:has(.section-hero) {
        display: flex;
        flex-direction: column;
    }
    .main:has(.section-hero) > * {
        order: 3;
    }
    .section-turnuvalar {
        order: 1 !important;
    }
    .section-hero {
        order: 2 !important;
    }
}

@media (max-width: 760px) {
    .banner-hero .block-banner .form-find {
        max-width: 390px !important;
    }

    .card-grid-2 .card-grid-2-image-left {
        display: block!important;
    }
    .display-list .card-grid-2-image-left .image-box {
        width: 100%!important;
        padding-right: 0px;
    }

    .mobil-mt-10{
        margin-top: 5px;
        margin-bottom: 5px;
    }

}



.sidebar-border, .sidebar-shadow {
    padding: 20px!important;
}

.menu-footer li {
    border-bottom: 1px solid #d1d1d1;
}

.menu-footer li:last-child {
    border-bottom: none;
}

.form-control:disabled {
    background-color: #f4f4f4!important;
}

footer .menu-footer li{
    border-bottom: none!important;
}

.banner-hero .block-banner .form-find .btn-find {
    background-image: url(/assets/imgs/page/homepage1/search-icon.svg)!important;
}

#scrollUp {
    background-image: url(/assets/imgs/template/icons/go-top.svg) !important;
}

.box-swiper .swiper-button-next {
    background: url(/assets/imgs/slider/swiper/next.svg) no-repeat 0px 0px!important;
}

.box-swiper .swiper-button-prev {
    background: url(/assets/imgs/slider/swiper/prev.svg) no-repeat 0px 0px!important;
}

.btn-icon-load {
    background-image: url(/assets/imgs/template/icons/icon-load.svg) !important;
}


.form-control {
    color: #000000!important;
}


.alfabe_hepsi a{
    width: 75px!important;
    max-width: 100px!important;
    &:hover, &.active
    {
        background-color: $color-border-2;
        border-radius: 5%!important;
    }
}

#kvkk_onay{
    height: 17px!important;
    margin-right: 5px;
    margin-bottom: 20px;
}


.card-grid-2 .card-grid-2-image-rd.online figure::before {
    background: none;
}