/* Homepage service colors. These rules change colors only, never media geometry.
   The catalogue uses the same native :target state as its existing panels, so
   deep links and Back/Forward retain the correct color without JavaScript. */
body[data-service-theme="ooh"],
body[data-service-theme].directory-238:has(#detay-ooh:target, [id^="ooh-"]:target){
  --service-color:#007ec4;--service-bg:#071d2d;--service-surface:#102e43;
  --service-muted:#c3d6e5;--service-link:#9bd8ff;--service-light:#eff8ff;
  --service-tint:#dcedfa;--service-border:#b9d9ee;--service-strong:#005780;
}
body[data-service-theme="tv"]{
  --service-color:#f2c400;--service-bg:#211f13;--service-surface:#302d1b;
  --service-muted:#ddd8c2;--service-link:#f8dc64;--service-light:#fffcef;
  --service-tint:#fff2ba;--service-border:#e5d17c;--service-strong:#705700;
}
body[data-service-theme="radio"],
body[data-service-theme].directory-238:has(#detay-radio:target){
  --service-color:#e34b43;--service-bg:#291416;--service-surface:#3a2022;
  --service-muted:#e3ccce;--service-link:#ffb1a9;--service-light:#fff4f2;
  --service-tint:#ffdfda;--service-border:#ebbbb4;--service-strong:#a32922;
}
body.protected-redesign[data-service-theme]{
  --service-ink:#03060a;--bg:var(--service-bg);--surface:var(--service-surface);
  --surface-2:var(--service-surface);--text:#fffaf7;--muted:var(--service-muted);
  --accent:var(--service-color);--violet:var(--service-link);
  --migration-bg:var(--service-bg);--migration-surface:var(--service-surface);
  --migration-text:#fffaf7;--migration-muted:var(--service-muted);
  background:var(--service-bg);color:#fffaf7;
}
body[data-service-theme].legacy-page main,
body[data-service-theme].directory-238 #services-page,
body[data-service-theme].legacy-page main :is(.section,.outdoor,.approach,.portfolio,.mc-applications,.mc-search-context,.mc-planning-note,.service-content,.about-hero){background:var(--service-bg)!important}
body[data-service-theme].legacy-page main :is(article,.card,.channel-group,.related,.guide-card,.faq,.station-group,.service-copy,.format-description,aside),
body[data-service-theme].directory-238 :is(.format-card,.ooh-card,.example-card,.ooh-group){background:var(--service-surface)!important}
body[data-service-theme].legacy-page main :is(p,li,dt,dd,figcaption){color:var(--service-muted)!important}
body[data-service-theme].legacy-page main a,
body[data-service-theme].legacy-page main .eyebrow{color:var(--service-link)!important}
body[data-service-theme].legacy-page main :is(.crumb,.guide-label,.project-kicker){color:var(--service-muted)!important}
body[data-service-theme].protected-redesign .site-footer{background:var(--service-bg);border-top-color:#ffffff25}
body[data-service-theme].legacy-page main .btn{background:var(--service-color)!important;color:var(--service-ink)!important;border-color:var(--service-color)}
body[data-service-theme].legacy-page main .btn.outline{background:transparent!important;color:#fffaf7!important;border-color:var(--service-link)}
body[data-service-theme] :is(.tv-price-factors,.radio-price-factors) div{border-left-color:var(--service-color)}

/* Exact service color stays on the existing sticky header at every scroll depth.
   Near-black text exceeds 4.5:1 on all three original homepage colors. */
body[data-service-theme].protected-redesign .site-header.single-menu{
  background:var(--service-color);color:var(--service-ink);border-bottom-color:#03060a25;backdrop-filter:none;
}
body[data-service-theme] .site-header.single-menu .brand img{filter:brightness(0)}
body[data-service-theme] .site-header.single-menu :is(a,.menu-toggle,.desktop-company-toggle){color:var(--service-ink)!important}
body[data-service-theme] .site-header.single-menu .menu-toggle{background:transparent;border-color:#03060a66}
body[data-service-theme] .site-header.single-menu :is(.desktop-primary-links>a,.desktop-company-toggle,.desktop-plan-link){background:#ffffff45;border-color:#03060a25}
body[data-service-theme] .site-header.single-menu :is(.desktop-primary-links>a:hover,.desktop-company-toggle:hover,.desktop-primary-links>a[aria-current],.desktop-company-toggle[aria-expanded="true"],.desktop-plan-link){background:var(--service-light);border-color:#03060a55}
body[data-service-theme] .site-header.single-menu :is(#site-nav,.desktop-company-links){background:var(--service-light);color:var(--service-ink);border-color:var(--service-border);color-scheme:light}
body[data-service-theme] .site-header.single-menu .menu-section-title{color:var(--service-strong)}
body[data-service-theme] .site-header.single-menu .menu-section+.menu-section{border-top-color:var(--service-border)}
body[data-service-theme] .site-header.single-menu :is(#site-nav,.desktop-company-links) a:is(:hover,[aria-current]){background:var(--service-tint)}
body[data-service-theme] .site-header.single-menu :focus-visible{outline-color:var(--service-ink)}

/* A matching hero identifies each service immediately, with the same dark ink. */
body[data-service-theme].legacy-page main .hero{background:var(--service-color)!important;color:var(--service-ink)}
body[data-service-theme].legacy-page main .hero :is(h1,h2,p,li,a,strong,.eyebrow){color:var(--service-ink)!important}
body[data-service-theme].legacy-page main .hero :is(.tv-hero-points,.radio-hero-points) li::before{color:var(--service-ink)}
body[data-service-theme].legacy-page main .hero .btn{background:var(--service-ink)!important;color:#fff!important;border-color:var(--service-ink)}
body[data-service-theme].legacy-page main .hero :focus-visible{outline-color:var(--service-ink)}

/* Preserve the light forms, directories and captions and their readable text. */
body[data-service-theme].legacy-page main :is(.tv-request-form,.radio-request-form,.tv-disclosure,.radio-disclosure,.en-catalogue-group,.en-channel-group,.tv-channel-group,.radio-station-panel,.daypart-guide){background:var(--service-light);border-color:var(--service-border);color-scheme:light}
body[data-service-theme].legacy-page main :is(.tv-request-form,.radio-request-form,.tv-disclosure,.radio-disclosure,.en-catalogue-group,.en-channel-group,.tv-channel-group,.radio-station-panel,.daypart-guide) :is(h2,h3,p,li,dt,dd,summary,label,strong,small,span){color:#243247!important}
body[data-service-theme].legacy-page main :is(.tv-request-form,.radio-request-form,.tv-disclosure,.radio-disclosure,.en-catalogue-group,.en-channel-group,.tv-channel-group,.radio-station-panel,.daypart-guide) a:not(.btn){color:var(--service-strong)!important}
body[data-service-theme].legacy-page main :is(.tv-channel-group,.radio-station-panel,.en-catalogue-group,.en-channel-group) li{background:var(--service-tint);border-color:var(--service-border)}
body[data-service-theme] #tv-channel-directory .tv-channel-group h3{border-left-color:var(--service-color)}
body[data-service-theme].legacy-page main :is(.mc-application figcaption,.field-card figcaption,.field-end,.project-photo figcaption,.project-planning) :is(h2,h3,p,figcaption){color:#243247!important}
body[data-service-theme].legacy-page main .project-photo>figcaption{color:#243247!important}

/* Replace the outdoor catalogue's lilac with a coordinated blue palette in both
   languages, preserving its separate mobile/desktop layout and photo treatment. */
body[data-service-theme="ooh"] #format-detaylari{
  --migration-text:#071e42;--migration-muted:#39546c;--migration-surface:var(--service-tint);
  background:var(--service-light)!important;color:#071e42;
}
body[data-service-theme="ooh"] #format-detaylari :is(h2,h3,h4,strong){color:#071e42!important}
body[data-service-theme="ooh"] #format-detaylari p{color:#39546c!important}
body[data-service-theme="ooh"] #format-detaylari :is(.eyebrow,.migration-format-category,.migration-format-action){color:var(--service-strong)!important}
body[data-service-theme="ooh"] #format-detaylari :is(.migration-catalog-nav a,.migration-format-group,.migration-format){background:var(--service-tint)!important;border-color:var(--service-border)}
body[data-service-theme="ooh"] #format-detaylari :is(.migration-format-content,.migration-format-action){border-color:var(--service-border)}
body[data-service-theme="ooh"] #format-detaylari a:not(.btn){color:var(--service-strong)!important}
body[data-service-theme="ooh"] #format-detaylari .migration-duration{background:#c6e6fb;color:#071e42}
body[data-service-theme="ooh"] #format-detaylari :is(a,summary):focus-visible{outline-color:var(--service-strong)}
body[data-service-theme="ooh"] .ooh-detail-dialog{background:var(--service-light);border-color:var(--service-border);color:#071e42;color-scheme:light}
body[data-service-theme="ooh"] .ooh-detail-dialog .ooh-dialog-bar{background:var(--service-tint);border-color:var(--service-border)}
body[data-service-theme="ooh"] .ooh-detail-dialog :is(.ooh-dialog-close,.ooh-dialog-content a){color:var(--service-strong);border-color:var(--service-border)}
body[data-service-theme="ooh"] .ooh-detail-dialog button:focus-visible{outline-color:var(--service-strong)}

/* All-service catalogue: native hash selection also changes the header palette. */
body[data-service-theme].directory-238 .static-tabs a[href="#detay-tv"]{--tab-color:#f2c400}
body[data-service-theme].directory-238 .static-tabs a[href="#detay-radio"]{--tab-color:#e34b43}
body[data-service-theme].directory-238 .static-tabs a[href="#detay-ooh"]{--tab-color:#007ec4}
body[data-service-theme].directory-238 .static-tabs a{color:#fffaf7!important;border-bottom:4px solid var(--tab-color)!important}
body[data-service-theme].directory-238 .static-tabs a[aria-current="page"]{color:var(--service-link)!important;background:var(--service-surface)}
body[data-service-theme].directory-238 :is(.ooh-tabs a,.planning-detail-link){background:var(--service-surface);color:var(--service-link)!important}
body[data-service-theme].directory-238 :is(.ooh-card-detail a,.planning-directory a){color:var(--service-link)!important}
body[data-service-theme].directory-238 :is(.fold-hint,.format-meta,.format-index,.example-format,.station-grid,.availability,.daypart-content,.daypart-codes,.format-duration,.format-duration-note){color:var(--service-muted)!important}
body[data-service-theme].directory-238 .ooh-tabs a[aria-current],
body[data-service-theme].directory-238 .ooh-tabs a:focus-visible{border-color:var(--service-color)!important}

/* The retained form rules use ID selectors and !important dark-purple values.
   Match that scope so both language versions have a complete readable palette. */
body[data-service-theme].protected-redesign.legacy-page main :is(#tv-request,#other-radio-request){background:var(--service-light)!important;color:#243247;border-color:var(--service-border);color-scheme:light}
body[data-service-theme].protected-redesign.legacy-page main :is(#tv-request,#other-radio-request) :is(label,.mc-privacy-note,small){color:#243247!important}
body[data-service-theme].protected-redesign.legacy-page main :is(#tv-request,#other-radio-request) .mc-privacy-note a{color:var(--service-strong)!important}
body[data-service-theme].protected-redesign.legacy-page main :is(#tv-request,#other-radio-request) :is(input,select){background:#fff!important;color:#243247!important;border-color:var(--service-strong)}
body[data-service-theme].protected-redesign.legacy-page main :is(#tv-request,#other-radio-request) input::placeholder{color:#586474;opacity:1}
body[data-service-theme].protected-redesign.legacy-page main :is(#tv-request,#other-radio-request) :is(input,select,button):focus-visible{outline-color:var(--service-strong)}

/* Override the older high-specificity lilac CTA treatment, including native
   submit buttons and sidebars in both languages. Keep disabled behavior intact. */
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing,.ooh-landing) main :is(.btn,.button):not(.outline,.secondary){background:var(--service-color)!important;color:var(--service-ink)!important;border-color:var(--service-color)!important}
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing,.ooh-landing) main :is(.btn,.button):not(.outline,.secondary,:disabled,[aria-disabled="true"]):hover{background:var(--service-tint)!important;color:var(--service-ink)!important;border-color:var(--service-color)!important}
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing,.ooh-landing) main :is(.btn,.button):not(.outline,.secondary):focus-visible{outline-color:var(--service-ink)!important;box-shadow:0 0 0 6px var(--service-light)}
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing,.ooh-landing) main .hero :is(.btn,.button):not(.outline,.secondary){background:var(--service-ink)!important;color:#fff!important;border-color:var(--service-ink)!important}
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing) main :is(#service .tv-channel-toggle,#radio-station-directory>.radio-disclosure,#radyo-reklam-teklifi>.radio-disclosure)>summary{background:var(--service-color)!important;color:var(--service-ink)!important;border-color:var(--service-color)!important}
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing) main :is(#service .tv-channel-toggle,#radio-station-directory>.radio-disclosure,#radyo-reklam-teklifi>.radio-disclosure)>summary:hover{background:var(--service-tint)!important}
body[data-service-theme].legacy-page.protected-redesign:is(.tv-landing,.radio-landing) main :is(#service .tv-channel-toggle,#radio-station-directory>.radio-disclosure,#radyo-reklam-teklifi>.radio-disclosure)>summary:focus-visible{outline-color:var(--service-ink);box-shadow:0 0 0 6px var(--service-light)}
body[data-service-theme].legacy-page.protected-redesign #radyo-reklam-teklifi>.radio-disclosure{border-color:var(--service-border)}
