/* Race Results v40.2 — uses live Yelkencileriz theme tokens. */
.srr-single-container,.srr-form-container,.srr-table {font-family:inherit!important;font-size:inherit!important;color:var(--ink,inherit)}
.srr-single-container,.srr-form-container {background:#fff;border:1px solid #dce7ef;border-radius:var(--ym-radius,12px);box-shadow:0 5px 24px #123312}
.srr-title-area h1 {font-family:inherit!important;font-size:clamp(1.45em,2.3vw,2em)!important;color:var(--navy,#092c46)!important}
.srr-info-table th,.srr-info-table td,.srr-link,.srr-back-btn {font-size:inherit!important}
.srr-info-table td,.srr-link {color:var(--ink,#183348)!important}
.srr-info-table th {color:var(--ym-muted,#647e90)!important}
.srr-back-btn,.srr-link:hover {color:var(--sea,#087eb7)!important}
.srr-file-item,.srr-detail-tags span,.srr-tag {background:var(--paper,#f3f7fa)!important;border-color:#dce7ef!important;border-radius:var(--ym-radius,9px)!important;color:var(--ink,#183348)!important}
.srr-download-btn,.srr-btn,.srr-btn-add,.srr-submit-btn {background:var(--sea,#087eb7)!important;color:#fff!important;border-radius:var(--ym-radius,7px)!important;font-family:inherit!important;font-size:inherit!important}
.srr-download-btn:hover,.srr-btn:hover,.srr-submit-btn:hover {filter:brightness(.9)}
.srr-table {border-color:#dce7ef!important;border-radius:var(--ym-radius,12px)!important}
.srr-table th {background:var(--navy,#092c46)!important;color:#fff!important;font-size:inherit!important}
.srr-table td {border-color:#e4edf2!important;font-size:inherit!important}
.srr-table tr:nth-child(even) {background:var(--paper,#f3f7fa)!important}
.srr-page-btn.active {background:var(--sea,#087eb7)!important;border-color:var(--sea,#087eb7)!important}
.srr-input,.srr-select,.srr-form-input {font:inherit!important;border-radius:var(--ym-radius,7px)!important}
.srr-info-text,.srr-tag,.srr-btn,.srr-page-btn {font-size:.9em!important}
.srr-race-ad {margin:20px 0;clear:both}
.srr-race-ad .ad {margin:0 auto}
.srr-ad-table-row td {padding:0!important;border:0!important;background:#fff!important}
.srr-ad-table-row .srr-race-ad {padding:14px;margin:0}
@media(max-width:700px){.srr-single-container{padding:18px!important}.srr-table{font-size:.88em!important}.srr-table th,.srr-table td{padding:9px!important}}

/* v40.13 — Etkinlik Merkezi ile uyumlu yarış detay sayfası */
.srr-modern-single{--srr-navy:#0c2e50;--srr-blue:#126b87;--srr-line:#dbe6f0;--srr-paper:#f2f6fa;color:#163451;font-family:inherit;max-width:1250px;margin:0 auto 40px;line-height:1.55}
.srr-modern-single *{box-sizing:border-box}
.srr-modern-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:11px;margin:0 0 18px;font-size:13px;color:#66809b}
.srr-modern-crumb a{color:#28628a;text-decoration:none}.srr-modern-crumb a:hover{text-decoration:underline}
.srr-modern-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,30%);align-items:center;gap:34px;padding:clamp(28px,5vw,58px);border-radius:22px;background:linear-gradient(112deg,#0a2849 0%,#103c60 60%,#126f83 100%);color:#fff;margin-bottom:24px;overflow:hidden}
.srr-modern-hero-text{min-width:0}.srr-modern-eyebrow{display:inline-block;margin-bottom:18px;font-size:12px;letter-spacing:1.4px;font-weight:800;color:#b9e5ee}
.srr-modern-hero h1{font-size:clamp(28px,3.7vw,52px)!important;line-height:1.13!important;letter-spacing:-.025em;font-weight:800;color:#fff!important;margin:0 0 27px!important;overflow-wrap:anywhere}
.srr-modern-hero p{color:#edf6fd;font-size:clamp(14px,1.4vw,17px);margin:11px 0!important}
.srr-modern-logo{display:flex;align-items:center;justify-content:center;min-height:170px;padding:20px;background:#fff;border-radius:19px}.srr-modern-logo img{width:100%;max-height:170px;object-fit:contain}
.srr-modern-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:22px;align-items:start}
.srr-modern-panel{padding:clamp(20px,2.5vw,30px);border:1px solid var(--srr-line);border-radius:17px;background:#fff;box-shadow:0 4px 18px rgba(9,38,68,.035);min-width:0}
.srr-modern-panel h2{color:var(--srr-navy)!important;font-size:21px!important;line-height:1.3;margin:0 0 20px!important;font-weight:800}
.srr-modern-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.srr-modern-fact{padding:17px 18px;border-radius:12px;background:var(--srr-paper);min-width:0;overflow-wrap:anywhere}
.srr-modern-fact>span{display:block;color:#607c97;font-size:12px;margin-bottom:7px}.srr-modern-fact strong{display:block;color:var(--srr-navy);font-size:15px;line-height:1.5}
.srr-modern-chips{display:flex;gap:6px;flex-wrap:wrap}.srr-modern-chips span{display:inline-block;background:#fff;border:1px solid #d9e6f1;border-radius:7px;padding:5px 9px;color:#163451;font-size:12px;font-weight:700}
.srr-modern-file{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--srr-line);min-width:0}.srr-modern-file:last-child{border-bottom:0}.srr-modern-file-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;border-radius:10px;background:#e9f3fa;color:#126b87;font-size:20px}.srr-modern-file strong{flex:1;min-width:0;font-size:14px;color:var(--srr-navy);overflow-wrap:anywhere}
.srr-modern-download{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:10px 17px;background:#f87918;color:#fff!important;text-decoration:none!important;border-radius:9px;font-size:13px;font-weight:800}.srr-modern-download:hover{background:#e2680d}
.srr-modern-empty{color:#708398}.srr-modern-return{display:inline-block;margin:22px 0 0;color:#145c89!important;text-decoration:none!important;font-weight:700;font-size:14px}
@media(max-width:800px){.srr-modern-grid{grid-template-columns:1fr}.srr-modern-hero{grid-template-columns:minmax(0,1fr) minmax(130px,30%);gap:18px}.srr-modern-logo{min-height:130px;padding:12px}}
@media(max-width:560px){.srr-modern-hero{grid-template-columns:1fr;padding:25px 20px;border-radius:16px}.srr-modern-hero h1{font-size:30px!important;margin-bottom:18px!important}.srr-modern-logo{max-width:260px;width:100%;min-height:110px;justify-self:start}.srr-modern-logo img{max-height:110px}.srr-modern-facts{grid-template-columns:1fr}.srr-modern-panel{padding:20px}.srr-modern-file{flex-wrap:wrap}.srr-modern-download{margin-left:auto}}

/* v40.14 — tarih ve detay sayfası okunabilirlik iyileştirmeleri */
.srr-modern-single{max-width:1280px;width:100%;padding:0 18px}
.srr-modern-hero{grid-template-columns:minmax(0,1fr) minmax(180px,27%);gap:26px;padding:clamp(28px,4vw,48px);min-height:270px}
.srr-modern-hero h1{font-size:clamp(27px,3vw,43px)!important;line-height:1.17!important;overflow-wrap:normal;word-break:normal;hyphens:none;margin-bottom:22px!important}
.srr-modern-logo{min-height:145px}.srr-modern-logo img{max-height:145px}
.srr-modern-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
.srr-modern-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.srr-modern-fact-date{grid-column:1/-1;background:#eaf3fa;border:1px solid #d5e6f4}
.srr-modern-fact-date strong{font-size:19px;letter-spacing:-.015em;white-space:normal;overflow-wrap:normal;word-break:normal}
.srr-modern-fact{padding:16px 18px}
.srr-modern-file{gap:10px}.srr-modern-file strong{font-size:13px;line-height:1.45}
.srr-modern-download{padding:10px 13px;white-space:nowrap}
@media(max-width:980px){.srr-modern-grid{grid-template-columns:1fr}.srr-modern-hero h1{font-size:clamp(27px,4vw,40px)!important}}
@media(max-width:600px){.srr-modern-single{padding:0 12px}.srr-modern-hero{grid-template-columns:1fr;min-height:0;padding:26px 22px}.srr-modern-logo{max-width:240px;min-height:100px}.srr-modern-facts{grid-template-columns:1fr}.srr-modern-fact-date{grid-column:auto}.srr-modern-fact-date strong{font-size:17px}.srr-modern-file{flex-wrap:nowrap}.srr-modern-download{padding:9px 11px}}

/* v40.15 — Expand the race detail independently of the theme's narrow article column. */
body.single-sailing_race .srr-modern-single {
  position:relative;left:50%;transform:translateX(-50%);
  width:min(1280px, calc(100vw - 48px));max-width:none;
  margin:0 0 48px;padding:0 8px;clear:both;
}
body.single-sailing_race .srr-modern-hero {
  grid-template-columns:minmax(0, 1fr) minmax(200px, 26%);
  padding:clamp(30px, 4vw, 54px);gap:36px;
}
body.single-sailing_race .srr-modern-grid {
  grid-template-columns:minmax(0, 3fr) minmax(0, 2fr);gap:24px;
}
body.single-sailing_race .srr-modern-facts {grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.single-sailing_race .srr-modern-fact-date {grid-column:1/-1}
body.single-sailing_race .srr-modern-fact strong {overflow-wrap:break-word}
body.single-sailing_race .srr-modern-file strong {font-size:14px}
@media(max-width:900px){
  body.single-sailing_race .srr-modern-single {width:calc(100vw - 32px)}
  body.single-sailing_race .srr-modern-grid {grid-template-columns:1fr}
}
@media(max-width:600px){
  body.single-sailing_race .srr-modern-single {width:calc(100vw - 20px);padding:0 3px}
  body.single-sailing_race .srr-modern-hero {grid-template-columns:1fr;gap:20px;padding:26px 22px}
  body.single-sailing_race .srr-modern-facts {grid-template-columns:1fr}
  body.single-sailing_race .srr-modern-fact-date {grid-column:auto}
}
/* v40.16: theme-independent centered detail and configurable sidebar */
body.single-sailing_race .srr-standalone-wrap{width:min(1280px,calc(100% - 40px));max-width:1280px;margin:35px auto 60px;min-width:0}
body.single-sailing_race .srr-standalone-wrap .srr-modern-single{position:static!important;left:auto!important;transform:none!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible}
body.single-sailing_race .srr-modern-hero{width:100%;margin:0 0 24px;min-width:0}
body.single-sailing_race .srr-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) var(--srr-side-width,320px);gap:24px;align-items:start;min-width:0}
body.single-sailing_race .srr-detail-layout:has(> .srr-detail-sidebar) .srr-modern-grid{grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}
body.single-sailing_race .srr-detail-layout:not(:has(> .srr-detail-sidebar)){grid-template-columns:minmax(0,1fr)}
body.single-sailing_race .srr-detail-layout:not(:has(> .srr-detail-sidebar)) .srr-modern-grid{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}
.srr-detail-sidebar{min-width:0;display:grid;gap:18px}.srr-side-box,.srr-side-ad{border:1px solid #dbe6f0;background:#fff;border-radius:16px;padding:22px;min-width:0;overflow-wrap:anywhere}
.srr-side-box h3{font-size:18px!important;color:#0c2e50!important;margin:0 0 14px!important}.srr-side-box ul{list-style:none!important;padding:0!important;margin:0!important}.srr-side-box li{padding:11px 0;border-bottom:1px solid #e5edf5;font-size:14px;line-height:1.5}.srr-side-box li:last-child{border-bottom:0}.srr-side-box a{color:#16466b;text-decoration:none;font-weight:650}.srr-side-box a:hover{color:#087eb7}.srr-side-ad{padding:12px;text-align:center}.srr-side-ad img{display:block;width:100%;height:auto;max-width:100%;border-radius:9px}
@media(max-width:960px){body.single-sailing_race .srr-detail-layout{grid-template-columns:1fr!important}body.single-sailing_race .srr-detail-layout:not(:has(> .srr-detail-sidebar)) .srr-modern-grid{grid-template-columns:1fr}}
@media(max-width:600px){body.single-sailing_race .srr-standalone-wrap{width:calc(100% - 24px);margin:20px auto 40px}body.single-sailing_race .srr-modern-hero{padding:24px 20px}}

/* v40.17: sidebar must be a sibling of the main cards within the grid. */
body.single-sailing_race .srr-standalone-wrap .srr-detail-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,var(--srr-side-width,320px))!important;gap:24px!important;align-items:start!important;width:100%!important}
body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-modern-grid{display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:20px!important;min-width:0!important;width:100%!important}
body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-detail-sidebar{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important}
body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-modern-grid > *{min-width:0!important}
@media(max-width:1100px){body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-modern-grid{grid-template-columns:1fr!important}}
@media(max-width:850px){body.single-sailing_race .srr-standalone-wrap .srr-detail-layout{grid-template-columns:minmax(0,1fr)!important}body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-detail-sidebar{grid-column:1!important;grid-row:auto!important}}

/* v40.44 — Results take priority; event documents remain in their separate extras section. */
body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-results-first-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,.85fr)!important;align-items:start!important}
body.single-sailing_race .srr-results-primary{border-color:#bcd7e9;box-shadow:0 8px 28px rgba(12,46,80,.08)}
body.single-sailing_race .srr-results-panel-heading{display:flex;align-items:center;gap:13px;margin-bottom:19px}
body.single-sailing_race .srr-results-panel-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;background:#e8f3fb;border-radius:12px;font-size:23px}
body.single-sailing_race .srr-results-panel-heading h2{margin:0 0 3px!important}
body.single-sailing_race .srr-results-panel-heading p{margin:0!important;font-size:13px;color:#627c92}
body.single-sailing_race .srr-results-pending{padding:18px;border:1px dashed #bfd4e4;border-radius:11px;background:#f5f9fc}
@media(max-width:1100px){body.single-sailing_race .srr-standalone-wrap .srr-detail-layout > .srr-results-first-grid{grid-template-columns:1fr!important}}

.srr-org-address-card{padding:22px 24px;margin:0 0 18px;background:#f3f7fb;border:1px solid #dce8f3;border-radius:15px;color:#173c5c}.srr-org-address-card strong{display:block;font-size:17px;margin-bottom:10px}.srr-org-address-card p{margin:6px 0;line-height:1.6}.srr-org-address-places{font-weight:650}

/* Calendar export on the individual race page. */
.srr-modern-hero .srr-single-ics{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:9px;background:#087caa;color:#fff!important;font-weight:700;text-decoration:none;line-height:1.4}
.srr-modern-hero .srr-single-ics:hover,.srr-modern-hero .srr-single-ics:focus{background:#075e83;color:#fff!important}
