/* Tenkit WARM theme layer v2 — cream page + the two logo colours (orange #F68B33, turquoise #2FA8D3)
   sprinkled clearly on edges, boxes, headers and the footer. Red #FE0000 stays the action accent.
   Loaded after main.css (header.php). Tokens: tokens.css --tk-*, mirrored in /wp-json/tenkit/v1/site-info → theme.
   Text rules: text on tints is only --ink / --ink2 / --mute or the 600 shades (all AA). */

/* ---------- page + chrome ---------- */
html,body{background:var(--tk-bg)}
::selection{background:var(--tk-teal-100)}
.cover{background:var(--tk-bg)}
.cover img{background:var(--tk-bg)} /* banner file itself has the #FAF3E8 background (assets/brand/tenkit-logo-banner-krem*) */
.top{background:rgba(250,243,232,.92);border-bottom:0}
.top::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--tk-grad);opacity:.85;pointer-events:none}
.ticker{background:var(--tk-orange-50);border-bottom:1px solid var(--tk-orange-200)}
.cats a.on{background:var(--tk-orange-50);border-radius:99px}
.skip:focus{background:var(--tk-surface)}
:focus-visible{outline:2px solid var(--tk-teal-400);outline-offset:2px}

/* ---------- section headers: short orange→teal bar under the title ---------- */
.band-h h2,.maphead h2,.stream h2,.appdl h2,.w h3,.foot h4{position:relative;padding-bottom:9px}
.band-h h2::after,.maphead h2::after,.stream h2::after,.appdl h2::after,.w h3::after,.foot h4::after{
  content:"";position:absolute;left:0;bottom:0;width:38px;height:3px;border-radius:3px;background:var(--tk-grad)}
.arch-h{position:relative;padding-left:16px}
.arch-h::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;border-radius:4px;background:linear-gradient(180deg,var(--tk-orange-400),var(--tk-teal-400))}

/* ---------- boxes: tinted by type, coloured ring + top stripe ---------- */
.w,.mapcard,.empty,.result,.clist li,.auth-card,.form-card,.prof-head,.appdl-steps li,.appdl-facts,.appdl-qr,
.appdl-note-top,.phone,.crop-sheet{background:var(--tk-surface);position:relative;
  transition:box-shadow var(--dur-med) var(--ease-out),transform var(--dur-med) var(--ease-out)}
/* teal family: clock/weather/namaz, reader box, file facts, search results */
.w.now,.w.reader,.appdl-facts,.result{background:var(--tk-teal-50);box-shadow:0 0 0 1.5px var(--tk-teal-200),var(--tk-shadow)}
.w.now:hover,.w.reader:hover,.result:hover{box-shadow:0 0 0 1.5px var(--tk-teal-300),var(--tk-shadow-hover)}
/* orange family: FX, Adıyaman map, empty states, comments */
.w.fx,.mapcard,.empty,.clist li{background:var(--tk-orange-50);box-shadow:0 0 0 1.5px var(--tk-orange-200),var(--tk-shadow)}
.w.fx:hover,.mapcard:hover,.clist li:hover{box-shadow:0 0 0 1.5px var(--tk-orange-300),var(--tk-shadow-hover)}
/* other widgets alternate */
.w:not(.now):not(.fx):not(.reader){background:var(--tk-surface);box-shadow:0 0 0 1.5px var(--tk-orange-100),var(--tk-shadow)}
/* 4px top stripes */
.w::before,.mapcard::before,.auth-card::before,.form-card::before,.prof-head::before,.appdl-steps li::before,.appdl-facts::before,.crop-sheet::before{
  content:"";position:absolute;left:18px;right:18px;top:0;height:4px;border-radius:0 0 4px 4px;background:var(--tk-orange-400);pointer-events:none}
.w.now::before,.w.reader::before,.appdl-facts::before,.appdl-steps li:nth-child(even)::before{background:var(--tk-teal-400)}
.auth-card::before,.form-card::before,.prof-head::before,.crop-sheet::before{background:var(--tk-grad);left:28px;right:28px}
.mapcard{overflow:hidden}
/* big cards: gradient-stripe + soft ring */
.auth-card,.form-card,.prof-head,.crop-sheet,.appdl-qr{box-shadow:0 0 0 1.5px var(--tk-orange-100),var(--tk-shadow-hover)}
.appdl-steps li{box-shadow:0 0 0 1.5px var(--tk-orange-200),var(--tk-shadow)}
.appdl-steps li:nth-child(even){background:var(--tk-teal-50);box-shadow:0 0 0 1.5px var(--tk-teal-200),var(--tk-shadow)}
.appdl-steps li:nth-child(odd){background:var(--tk-orange-50)}
.appdl-steps li:hover{transform:translateY(-3px);box-shadow:0 0 0 1.5px var(--tk-orange-300),var(--tk-shadow-hover)}
.appdl-steps li:nth-child(even):hover{box-shadow:0 0 0 1.5px var(--tk-teal-300),var(--tk-shadow-hover)}
.phone{box-shadow:0 0 0 2px var(--tk-orange-200),0 0 0 7px var(--tk-teal-50),var(--tk-shadow-hover)}
/* Kaynak box: orange tint + 4px left stripe */
.source{background:var(--tk-orange-50);box-shadow:inset 4px 0 0 var(--tk-orange-400),0 0 0 1.5px var(--tk-orange-200)}

/* news cards: image gets a thin logo-colour underline on hover */
.card-ph{box-shadow:0 0 0 1.5px var(--tk-orange-100)}
.card-ph::after{content:"";position:absolute;inset:auto 0 0 0;height:3px;box-shadow:none;border-radius:0;background:var(--tk-grad);transform:scaleX(0);transform-origin:left;transition:transform var(--dur-med) var(--ease-out)}
.card:hover .card-ph::after{transform:scaleX(1)}

/* timeline (Canlı Akış) */
.timeline{border-left-color:var(--tk-teal-200)}
.timeline li::before{background:var(--tk-bg);border-color:var(--tk-orange-300)}

/* ---------- chips, tags, search, tabs, pager ---------- */
.chip{background:var(--tk-orange-50);box-shadow:0 0 0 1px var(--tk-orange-200)}
.chip:hover{background:var(--tk-orange-100)}
.tags a{background:var(--tk-teal-50);color:var(--tk-teal-600);box-shadow:0 0 0 1px var(--tk-teal-200);
  transition:color var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out),background-color var(--dur-med) var(--ease-out)}
.tags a:hover{background:var(--tk-teal-100);box-shadow:0 0 0 1.5px var(--tk-teal-400)}
.search{background:var(--tk-teal-50);box-shadow:0 0 0 1.5px var(--tk-teal-200);transition:box-shadow var(--dur-med) var(--ease-out)}
.search:focus-within{box-shadow:0 0 0 1.5px var(--tk-teal-400),0 0 0 5px var(--tk-teal-100)}
.tabs{background:var(--tk-orange-50);box-shadow:0 0 0 1px var(--tk-orange-200)}
.tab-ind{background:var(--tk-surface);box-shadow:0 0 0 1.5px var(--tk-orange-300),0 2px 10px rgba(197,94,16,.10)}
.pager a,.pager span{background:var(--tk-surface);box-shadow:0 0 0 1.5px var(--tk-teal-200)}
.pager a:hover{box-shadow:0 0 0 1.5px var(--tk-teal-400)}
.pager .current{box-shadow:none}

/* ---------- placeholders / skeletons / misc fills ---------- */
.hero{background:var(--tk-soft-2);box-shadow:0 0 0 1.5px var(--tk-orange-100)}
.sk{background:var(--tk-soft-2)}
.sk::after{background:linear-gradient(90deg,transparent,rgba(255,251,245,.7),transparent)}
.mapnews .ph,.row-ph,.card-ph,.gallery a,.a-media,.quota i{background:var(--tk-soft-2)}
.reel a{background:#e9dccb}
.noimg{background:linear-gradient(135deg,var(--tk-orange-50),var(--tk-teal-50));color:#b9a990}
.map .il{fill:var(--tk-teal-50);stroke:var(--tk-teal-200)}
.badge-fmt{background:rgba(255,251,245,.92)}
.a-media figcaption{background:var(--tk-surface)}
.steps b{background:var(--tk-surface);box-shadow:0 0 0 1.5px var(--tk-orange-300)}
.tk-consent,.tk-danger{background:#fff1ea}
.pray .next{background:#ffefe9}
.slide::after{background:linear-gradient(90deg,var(--tk-surface) 0,rgba(255,251,245,.96) 32%,rgba(255,251,245,.55) 52%,transparent 72%)}
@media(max-width:760px){.slide::after{background:linear-gradient(transparent 30%,rgba(255,251,245,.9) 58%,var(--tk-surface) 70%)}}

/* ---------- forms ---------- */
.tk-form input:not([type=checkbox]):not([type=file]),.tk-form textarea,.tk-form select{background:var(--tk-surface);border-color:var(--tk-border-strong)}
.tk-form input:not([type=checkbox]):not([type=file]):hover,.tk-form textarea:hover,.tk-form select:hover{border-color:var(--tk-orange-300)}
.tk-form input:not([type=checkbox]):not([type=file]):focus,.tk-form textarea:focus,.tk-form select:focus{border-color:var(--tk-teal-400);box-shadow:0 0 0 4px var(--tk-teal-100)}
.tk-form input[type=file]{border-color:var(--tk-orange-300);background:var(--tk-orange-50)}

/* ---------- footer: soft turquoise tint with a logo-gradient top line ---------- */
.foot{position:relative;background:linear-gradient(180deg,var(--tk-teal-50),#E4F1F6);border-top:0;color:var(--ink2)}
.foot::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--tk-grad)}
.foot .copy{border-top:1px solid var(--tk-teal-200);color:#5E5852}
.foot .soc,.foot-app{background:var(--tk-surface);box-shadow:0 0 0 1.5px var(--tk-teal-200)}
.foot .soc:hover,.foot-app:hover{box-shadow:0 0 0 1.5px var(--tk-orange-300)}
.soc:hover,.soc:focus-visible{background:var(--tk-surface)}
.soc-row:hover .bg{color:var(--tk-teal-600)}

/* ---------- mobile tab bar: active item in an orange pill ---------- */
.tabbar{background:rgba(255,251,245,.96);box-shadow:0 0 0 1.5px var(--tk-orange-200),0 10px 30px rgba(120,70,20,.12)}
.tabbar a{color:#6F675F;border-radius:14px;padding:4px 6px;transition:color var(--dur-med) var(--ease-out),background-color var(--dur-med) var(--ease-out),transform var(--dur-fast) var(--ease-out)}
.tabbar a.on{color:var(--brand);background:var(--tk-orange-50);box-shadow:0 0 0 1px var(--tk-orange-200)}
.tabbar .plus{background:var(--tk-surface);box-shadow:0 0 0 2px var(--tk-orange-200),0 8px 20px rgba(254,0,0,.2)}
.tabbar .plus.on{background:var(--tk-surface)}
.lb button{background:var(--tk-surface)}

/* ---------- body links on cream: deeper red (AA); buttons keep #FE0000 ---------- */
.content a{color:var(--brand-ink)}
.content a:hover{color:var(--brand)}
