:root {
  --ink: #0f2a30;
  --accent: #148c9c;
  --accent-dark: #0f6b77;
  --muted: #5f6b73;
  --soft: #f4fbfc;
}


.card-ghost {
  background: #ffffff;
  border: 1px solid #e6edef;
  border-radius: 18px;
  margin-bottom: 50px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}

.xl-title {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 1.75rem;
  margin: 0;
}


.lg-title {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 1.40rem;
  margin: 0;
}

.md-title {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1rem;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #f1fafb;
  color: #16424a;
  border: 1px solid #d6eaee;
  padding: .45rem .7rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  margin: .25rem .35rem .25rem 0;
  white-space: nowrap;
}

/* Bullets */
.dot-black {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.dot-black li {
  position: relative;
  padding-left: 1.05rem;
  margin: .5rem 0;
  color: #15292e;
}
.dot-black li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72rem;
  transform: translateY(-50%);
  width: .50rem;
  height: .50rem;
  border-radius: 50%;
  background: #000000;
}
/* Notices / tags */
.notice {
  background: #fff8e6;
  border: 1px solid #f4d28d;
  color: #553400;
  border-radius: 14px;
  padding: 14px;
  /* font-weight: 700; */
}
.note-red {
  background: #fff2f2;
  border-color: #f0b9b9;
  color: #7a0b0b;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: .48rem .7rem;
  border-radius: 12px;
  background: #000;
  color: #44e0d8;
  font-weight: 800;
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  height: fit-content;
  margin-right: .5rem;
}
/* Tables */
.table-clean {
  --bs-table-bg: transparent;
}
.table-clean th,
.table-clean td {
  vertical-align: middle;
  border-color: #e6edef;
}
.table-section {
  border-radius: 14px;
  border: 1px solid #e6edef;
  overflow: hidden;
}




/* ayir */


.day-header {
    background-color: #FFD500;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    margin-top: 30px;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .event-card {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 5px solid #ffc107;
  }

  .event-card.red {
    border-left-color: #dc3545;
    color: #dc3545;
    font-weight: bold;
  }

  .event-card.blue {
    border-left-color: #0d6efd;
    color: #0d6efd;
    font-weight: bold;
  }

  .event-title {
    font-size: 1rem;
    font-weight: 500;
    white-space: pre-line;
  }

  .event-time {
    font-size: 0.95rem;
    font-weight: bold;
    white-space: nowrap;
  }

  

  /* ayir */


  .map-container {
  color: #333;
  width: 100%;
  margin: 0 auto 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.map-container h1 {
  margin: 16px;
  font-size: 22px;
  color: #222;
  text-align: center;
}
.map {
  width: 100%;
  height: 500px;
}
.download-buttons {
  display: flex;
}
.download-buttons a {
  flex: 1;
  padding: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  text-align: center;
}
.btn-kml { background: #44e0d8; color:#333!important; }
.btn-gpx { background: #333; }

.leaflet-control-attribution {
  display: none !important;
}

.route-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.route-btn {
  flex: 1;
  min-width: 90px;
  padding: 12px;
  border: none;
  background: #696969;
  color: #fff;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.route-btn:hover {
  background: #FF5831;
}
.d-flex {
	display: flex !important;
}


/* notice */

.notice-box {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.notice-box .notice-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.notice-info {
  background: #f2fbfe;
  border: 1px solid #cfe6f0;
  color: #0f2a30;
}

.notice-warning {
  background: #fff7e6;
  border: 1px solid #f6c36b;
  color: #4a2a00;
}

.notice-danger {
  background: #fff2f2;
  border: 1px solid #ffb3b3;
  color: #7a0b0b;
}

.notice-box strong {
  font-weight: 700;
}

    .sponsor-circle {
        width: 200px!important;
        aspect-ratio: 1 / 1;
        background: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .sponsor-circle img {
        width: 90%;
        height: 90%;
        object-fit: contain;

        /* optik güçlendirme */
        transform: scale(1.15);
        filter:
            contrast(1.15) saturate(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    }



     .g23-grid {
      padding-left: 20px;
      padding-right: 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  @media (max-width: 1200px) {
    .g23-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }

  @media (max-width: 900px) {
    .g23-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 560px) {
    .g23-grid { grid-template-columns: 1fr; }
  }

  .g23-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .g23-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.16);
  }

  .g23-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: block;
    background: #f3f4f6;
  }

  .g23-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .25s ease;
  }

  .g23-card:hover .g23-media img {
    transform: scale(1.04);
  }

  .g23-body {
    padding: 12px 12px 14px;
  }

  .g23-title {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    color: #0f172a;
  }

  .g23-subtitle {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(15, 23, 42, 0.72);
  }



.res-top {
  margin-top: 90px;
}

@media (max-width: 1024px) {
  .res-top {
    margin-top: 60px;
  }
}


.countdown-sec{
  background:#000;
  padding:60px 16px;
  display:flex;
  justify-content:center;
  align-items:center;
}

.race-countdown{
  color:#fff;
  text-align:center;
}

.race-countdown__title{
  font-size:26px;
  font-weight:800;
  margin-bottom:18px;
}

.race-countdown__timer{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px;
}

.tcell{
  min-width:90px;
  padding:14px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.08);
}

.tval{
  font-size:52px;
  font-weight:900;
  line-height:1;
}

.tlabel{
  font-size:12px;
  opacity:.8;
  margin-top:6px;
}

.tsep{
  font-size:52px;
  font-weight:700;
  opacity:.6;
}

.race-countdown__status{
  margin-top:16px;
  font-size:15px;
  opacity:.85;
}

.race-countdown--live .tcell{
  background:rgba(46,204,113,.15);
}

.underline-link {
  text-decoration: underline !important;
}



.race-info-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  margin-bottom: 16px;
}

/* ---------- RESPONSIVE COUNTDOWN (2x2 GRID) ---------- */
@media (max-width: 768px) {
  .countdown-sec {
    padding: 40px 12px;
  }

  .race-countdown__timer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 320px;
    margin: 0 auto;
  }

  .tcell {
    padding: 16px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
  }

  .tval {
    font-size: 36px;
    line-height: 1.1;
  }

  .tlabel {
    font-size: 11px;
    margin-top: 8px;
  }

  .tsep {
    display: none;
  }

  .race-countdown__status {
    font-size: 14px;
    margin-top: 14px;
  }
}

@media (max-width: 420px) {
  .race-countdown__timer {
    max-width: 260px;
  }

  .tval {
    font-size: 34px;
  }

  .tlabel {
    font-size: 10px;
  }
}

.info-box {
  background: #f2fbfe;
  border: 1px solid #cfe6f0;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  min-height: 22px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-box *{
  color: #333333;
}

.info-box a:hover,
.info-box a:hover * {
  color: #44e0d8 !important;
}

.info-box strong {
  font-weight: 800;
}

/* Puan / Rozet kutusu */
.info-box--points {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Rozet görselleri */
.info-box--points img {
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Konum tek başına alt satır */
.info-box--wide {
  grid-column: span 6;
  text-align: center;
}

.info-icon {
  font-size: 18px;
  line-height: 1;
  color: #44e0d8!important;
  margin-bottom: 4px;
}

.info-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 2px;
}


.info-box--half {
  grid-column: span 3;
  text-align: center;
}

.info-box--half-2 {
  grid-column: span 3;
  text-align: center;
}

/* Tablet */
@media (max-width: 1024px) {
  .info-box--half {
    grid-column: span 3;
  }
}

/* Mobil */
@media (max-width: 600px) {
  .info-box--half {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .race-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-box--wide {
    grid-column: span 3;
  }
}

@media (max-width: 600px) {
  .race-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-box--wide {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .info-box--points img {
    max-height: 24px;
  }
}

.hero-asset-1 {
  /* Maksimum: desktop */
  max-width: 219px;
  max-height: 160px;

  /* Responsive ölçek – %50 alt sınır */
  max-width: clamp(153px, 14vw, 219px);

  height: auto;
  object-fit: contain;
}
.logo-asset-2 {
  /* %70 alt sınır + responsive */
  max-width: clamp(113px, 12vw, 162px);
  max-height: clamp(128px, 18vw, 183px);

  height: auto;
  object-fit: contain;
}

.logo-asset-3 {
  max-width: 437px;
  max-height: 233px;

  transform-origin: left center;
  transform: scale(1);
}

.race-info-grid-2 {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

/* Üstteki 5 bilgi */
.race-info-grid-2 > .info-box:not(.info-box--wide):not(.info-box--half-2) {
  grid-column: span 2;
}

/* Konum */
.race-info-grid-2 > .info-box--wide {
  grid-column: span 10;
}

/* KML / GPX */
.race-info-grid-2 > .info-box--half-2 {
  grid-column: span 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .race-info-grid-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .race-info-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Mobil */
@media (max-width: 768px) {
  /* .logo-asset-3 {
    transform: scale(0.7);
  } */
}

@media (max-width: 768px) {

  /* ASIL KONUM BURADA */
  #hero .hero-center-wrap {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  #hero .hero-center-wrap .logo-asset-3 {
    margin: 0 auto;
    display: block;
    transform-origin: center center;
    transform: scale(0.7);
  }

}

/* Çocuk Koşusu – 4 kartlı bilgi alanı */
.race-info-grid-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

/* Tablet */
@media (max-width: 1024px) {
  .race-info-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobil */
@media (max-width: 600px) {
  .race-info-grid-3 {
    grid-template-columns: 1fr;
  }
}
.logo-asset-4 {
  max-width: 399px;
  max-height: 63px;

  transform-origin: right bottom;
  transform: scale(1);
}
@media (max-width: 1024px) {
  .logo-asset-4 {
    display: none;
  }
}

.logo-asset-5 {
  max-width: 551px;
  max-height: 373px;

  transform-origin: right center;
  transform: scale(1);
}

.logo-asset-6{
  display: none;
}

/* Laptop / Tablet */
@media (max-width: 1200px) {
  .logo-asset-5 {
    transform: scale(0.85);
  }

}

/* Mobil */
@media (max-width: 768px) {
  .logo-asset-5 {
    transform: scale(0.7);
  }
}

@media (max-width: 1150px) {
  /* .logo-asset-3 {
    display: none;
  }
  .logo-asset-4 {
    display: none;
  }
  .logo-asset-5 {
    display: none;
  } */
}

/* Laptop / Tablet */
@media (max-width: 1200px) {
  .tp-bgimg{
    opacity: 0.1!important;
  }
    .hero-asset-1{
    display: none;
  }
    .logo-asset-6{
    display: block;
  }
}


 .info-box.info-kml {
                                background-color: #44e0d8 !important;
                              }

                              .info-box.info-gpx {
                                background-color: #333 !important;
                              }

                              .info-box.info-kml a,
                              .info-box.info-kml a * {
                                color: #333 !important;
                              }


                              /* SADECE KML / GPX DOWNLOAD BOX'LAR */
                              .info-box.info-kml a,
                              .info-box.info-kml a * {
                                color: #333 !important;
                              }

                              .info-box.info-gpx a,
                              .info-box.info-gpx a * {
                                color: #44e0d8 !important;
                              }



                              @media (max-width: 600px) {

  .race-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px; /* nefes aldır */
  }

  /* Tüm info box'lar varsayılan */
  .race-info-grid .info-box {
    grid-column: span 1;
  }

  /* Geniş konum kutusu */
  .race-info-grid .info-box--wide {
    grid-column: span 2;
  }

  /* KML / GPX kutuları mobilde alt alta */
  .race-info-grid .info-box--half {
    grid-column: span 2;
  }

  /* Rozetli kutu */
  .race-info-grid .info-box--points {
    grid-column: span 1;
    justify-content: center;
  }
}