/* Turkpidya Home Atlas. Inlined by templates/template-homepage-atlas.php.
   Every rule starts with #tp-home so Kadence's element styles (buttons, inputs,
   links, headings) never win. Colours: brand crimson and gold, Istanbul sky. */

#tp-home{
  --crimson:#E30A17;--crimson-d:#B80813;--gold:#C9A227;--gold-t:#8A6D12;--gold-l:#E2C15A;
  --ink:#1A1614;--body:#2D2926;--muted:#6B6662;--cream:#F9F6EE;--paper:#FEFEFE;--bg:#F7F6F5;--line:#EDECEA;
  --teal:#1A7F7C;--green:#2A7D4F;--night:#0F1B2D;
  --wrap:1240px;--gut:clamp(16px,4vw,40px);--r-lg:22px;--r-md:16px;--r-sm:10px;
  --shadow:0 1px 2px rgba(26,22,20,.06),0 8px 24px rgba(26,22,20,.08);
  --shadow-lg:0 2px 4px rgba(26,22,20,.05),0 18px 48px rgba(26,22,20,.13);
  --ease:cubic-bezier(.2,.7,.2,1);
  --display:'TP Literata',Georgia,'Times New Roman',serif;
  --ui:'TP Manrope',system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --figure:var(--display);
  --focus:var(--crimson-d);
  position:relative;display:block;font-family:var(--ui)!important;font-size:16px;line-height:1.6!important;font-weight:500;
  color:var(--body);background:var(--paper);overflow-x:clip;overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;text-size-adjust:100%
}
#tp-home.tp-lang-ar,#tp-home.tp-lang-fa{--display:'TP Naskh','Noto Naskh Arabic','Geeza Pro','Traditional Arabic','TP Literata',serif;--figure:var(--ui)}
#tp-home.tp-lang-he{--display:'TP Frank Ruhl','Frank Ruhl Libre','TP Literata','Times New Roman',serif;--figure:'TP Literata',Georgia,serif}
#tp-home.tp-lang-zh-hans{--display:'TP Literata','Songti SC','Noto Serif CJK SC','Source Han Serif SC','STSong',serif}

/* Lower sections keep their place while the browser skips off-screen layout/paint.
   The remembered size replaces the estimate after a section has been rendered. */
@supports (content-visibility:auto){
  #tp-home>section:not(.tp-hero){content-visibility:auto;contain-intrinsic-block-size:auto var(--tp-section-size,800px)}
  #tp-home>.tp-dest{--tp-section-size:970px}
  #tp-home>.tp-now{--tp-section-size:1240px}
  #tp-home>.tp-topics{--tp-section-size:450px}
  #tp-home>.tp-reads{--tp-section-size:900px}
  #tp-home>.tp-tools{--tp-section-size:1250px}
  #tp-home>.tp-stories{--tp-section-size:970px}
  #tp-home>.tp-langs{--tp-section-size:650px}
  #tp-home>.tp-trust{--tp-section-size:250px}
  #tp-home>.tp-dev{--tp-section-size:150px}
  @media (max-width:1140px){
    #tp-home>.tp-now{--tp-section-size:2200px}
    #tp-home>.tp-tools{--tp-section-size:1900px}
  }
  @media (max-width:1023px){
    #tp-home>.tp-dest{--tp-section-size:1150px}
    #tp-home>.tp-reads{--tp-section-size:1500px}
    #tp-home>.tp-langs{--tp-section-size:1050px}
    #tp-home>.tp-trust{--tp-section-size:400px}
  }
  @media (max-width:960px){
    #tp-home>.tp-now{--tp-section-size:2700px}
    #tp-home>.tp-stories{--tp-section-size:1350px}
  }
  @media (max-width:800px){#tp-home>.tp-trust{--tp-section-size:700px}}
  @media (max-width:640px){
    #tp-home>.tp-dest{--tp-section-size:1410px}
    #tp-home>.tp-now{--tp-section-size:3000px}
    #tp-home>.tp-topics{--tp-section-size:860px}
    #tp-home>.tp-reads{--tp-section-size:520px}
    #tp-home>.tp-tools{--tp-section-size:1300px}
    #tp-home>.tp-stories{--tp-section-size:1270px}
    #tp-home>.tp-langs{--tp-section-size:1340px}
    #tp-home>.tp-dev{--tp-section-size:300px}
  }
}
@media print{
  #tp-home>section:not(.tp-hero){content-visibility:visible;contain-intrinsic-block-size:none}
  #tp-home.tp-anim .tp-rise{opacity:1!important;transform:none!important;transition:none!important;animation:none!important}
}

/* Reset the parts of Kadence that leak into the page */
#tp-home *,#tp-home *::before,#tp-home *::after{box-sizing:border-box}
#tp-home :where(h1,h2,h3,h4,p,ul,ol,li,dl,dt,dd,figure,blockquote){margin:0;padding:0}
#tp-home :where(h1,h2,h3,h4){font:inherit;color:inherit;letter-spacing:inherit;text-transform:none;clear:none}
#tp-home :where(ul,ol){list-style:none}
#tp-home :where(a),#tp-home :where(a:hover,a:focus,a:active,a:visited){color:inherit;text-decoration:none;background-color:transparent;box-shadow:none}
#tp-home :where(button,input,select,output){font:inherit;color:inherit;letter-spacing:inherit;text-transform:none}
#tp-home :where(button),#tp-home :where(button:hover,button:focus){background:none;border:0;margin:0;padding:0;border-radius:0;box-shadow:none;min-height:0;line-height:inherit!important;cursor:pointer;color:inherit}
#tp-home :where(input,select),#tp-home :where(input:focus,select:focus){background:transparent;border:0;margin:0;padding:0;border-radius:0;box-shadow:none;min-height:0;height:auto;width:auto;max-width:none;-webkit-appearance:none;appearance:none}
#tp-home :where(img,svg){display:block;max-width:100%}
#tp-home :where(img){height:auto;border:0}
#tp-home :where(a,button,input,select,output):focus{outline:none}
#tp-home :where(a,button,input,select):focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
/* The site's stylesheet gives every element a face and a line height in ar, fa, he, el, ru, bg and zh,
   and h1-h4 their own face and weight, all with !important. This page brings its own type for those
   scripts, so here everything inherits both, and every rule that sets a face, a line height or a
   heading's weight marks it !important too. */
#tp-home :where(*){font-family:inherit!important;line-height:inherit!important}
/* German and Dutch compounds hyphenate in titles and tool text, where the browser can limit that to words of 12 letters or more.
   Elsewhere a word that does not fit its line simply breaks (overflow-wrap on #tp-home). */
@supports (hyphenate-limit-chars:12 5 5){
  #tp-home :is(.tp-h2,.tp-place__name,.tp-story__title,.tp-read__title,.tp-topic__text,.tp-shelf__title,.tp-tool__name,.tp-card__title,.tp-trust__title){-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:12 5 5}
}

#tp-home .tp-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#tp-home .tp-i{display:inline-block;font-family:'Turkpidya Font Awesome'!important;font-weight:900;font-style:normal;font-variant:normal;line-height:1!important;text-rendering:auto;-webkit-font-smoothing:antialiased;speak:never}
#tp-home .tp-wrap{width:100%;max-width:calc(var(--wrap) + 2*var(--gut));margin-inline:auto;padding-inline:var(--gut)}
#tp-home .tp-section{padding-block:clamp(64px,8vw,112px)}

/* Section heads: a small gold star, a serif title, a quiet line under it */
#tp-home .tp-head{max-width:780px;margin-bottom:clamp(28px,4vw,48px)}
#tp-home .tp-head::before,#tp-home .tp-head--split>div::before{content:"";display:block;width:22px;height:22px;margin-bottom:18px;background:var(--star) center/contain no-repeat}
#tp-home .tp-head--split::before{display:none}
#tp-home .tp-h2{font-family:var(--display)!important;font-weight:600!important;font-size:clamp(32px,4.2vw,50px);line-height:1.08!important;letter-spacing:-.018em;color:var(--ink);text-wrap:balance}
#tp-home .tp-head__sub{margin-top:14px;font-size:clamp(16px,1.35vw,18.5px);line-height:1.6!important;color:var(--muted);text-wrap:pretty}
#tp-home .tp-head--split{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px 40px;max-width:none}
#tp-home .tp-head--split>div{max-width:780px}
#tp-home .tp-more{display:inline-flex;align-items:center;gap:10px;padding-block:8px;font-weight:800;font-size:15px;color:var(--crimson-d);border-bottom:2px solid rgba(184,8,19,.25);transition:border-color .25s,gap .25s}
#tp-home .tp-more .tp-i{font-size:12px}
#tp-home .tp-more:hover{gap:14px;border-color:var(--crimson-d)}

/* ---------- 1. Hero: photos of Türkiye behind the search ---------- */
/* The photo runs up under the site's fixed 80px header. The script cross-fades the slides (is-on over is-prev) and
   each drifts slowly closer; a shade on the text side keeps white type readable on a bright sky. */
#tp-home .tp-hero{--focus:var(--gold-l);position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;
  min-height:min(100vh,920px);min-height:min(100svh,920px);margin-top:-80px;padding-top:calc(80px + clamp(40px,7vh,96px));padding-bottom:clamp(20px,3vw,36px);
  background:var(--night);color:#fff}
#tp-home .tp-hero__media{position:absolute;inset:0;z-index:-2;overflow:hidden}
#tp-home .tp-hero__slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease}
#tp-home .tp-hero__slide.is-on{z-index:2;opacity:1}
#tp-home .tp-hero__slide.is-prev{z-index:1;opacity:1;transition:none}
#tp-home .tp-hero__slide img{width:100%;height:100%;max-width:none;object-fit:cover}
#tp-home .tp-hero__slide:is(.is-on,.is-prev) img{animation:tp-kenburns 9s linear both}
#tp-home .tp-hero.is-paused .tp-hero__slide img{animation-play-state:paused}
#tp-home .tp-hero__shade{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg,rgba(8,12,22,.4) 0,rgba(8,12,22,0) 240px),linear-gradient(90deg,rgba(8,12,22,.84) 0%,rgba(8,12,22,.6) 38%,rgba(8,12,22,.24) 62%,rgba(8,12,22,0) 86%),linear-gradient(0deg,rgba(8,12,22,.72) 0%,rgba(8,12,22,0) 42%)}
#tp-home[dir=rtl] .tp-hero__shade{background:linear-gradient(180deg,rgba(8,12,22,.4) 0,rgba(8,12,22,0) 240px),linear-gradient(270deg,rgba(8,12,22,.84) 0%,rgba(8,12,22,.6) 38%,rgba(8,12,22,.24) 62%,rgba(8,12,22,0) 86%),linear-gradient(0deg,rgba(8,12,22,.72) 0%,rgba(8,12,22,0) 42%)}
/* No photos (the content build failed): the night sky and the lattice */
#tp-home .tp-hero--plain{background:radial-gradient(ellipse 70% 60% at 85% 0%,rgba(201,162,39,.2),transparent 60%),radial-gradient(ellipse 60% 60% at 0% 100%,rgba(227,10,23,.18),transparent 60%),var(--night)}
#tp-home .tp-hero--plain .tp-hero__shade,#tp-home[dir=rtl] .tp-hero--plain .tp-hero__shade{background:var(--lattice) 50% 0/80px 80px;opacity:.1}
#tp-home .tp-hero__inner{position:relative;display:flex;flex:1 1 auto;flex-direction:column;justify-content:space-between;gap:clamp(36px,6vh,72px)}
#tp-home .tp-hero__copy{position:relative;min-width:0;max-width:760px}

#tp-home .tp-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:24px;padding:8px 16px 8px 12px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(10,15,28,.34);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:12.5px;font-weight:800;line-height:1.3!important;letter-spacing:.14em;text-transform:uppercase;color:#fff}
#tp-home[dir=rtl] .tp-eyebrow{padding:8px 12px 8px 16px}
#tp-home .tp-star{width:16px;height:16px;flex:none;fill:var(--gold-l)}

#tp-home .tp-hero__title{font-family:var(--display)!important;font-weight:600!important;font-size:clamp(44px,7.2vw,104px);font-size:clamp(44px,min(7.2vw,11.5vh),104px);line-height:.98!important;letter-spacing:-.028em;color:#fff;text-shadow:0 2px 28px rgba(8,12,22,.35)}
#tp-home .tp-hero__a{display:block}
#tp-home .tp-hero__b{display:inline-block;padding-bottom:.12em;font-style:italic;font-weight:600;color:var(--gold-l);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M3 17C88 6 214 2 397 12' fill='none' stroke='%23C9A227' stroke-width='3.5' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 100%/100% .2em no-repeat}
#tp-home .tp-hero__title--long{font-size:clamp(38px,5.2vw,72px);font-size:clamp(38px,min(5.2vw,8.6vh),72px);line-height:1.02!important}
#tp-home.tp-lang-ar .tp-hero__title,#tp-home.tp-lang-fa .tp-hero__title{font-weight:700!important;font-size:clamp(44px,6.6vw,92px);font-size:clamp(44px,min(6.6vw,10.5vh),92px);line-height:1.3!important;letter-spacing:0}
#tp-home.tp-lang-he .tp-hero__title{line-height:1.08!important;letter-spacing:-.01em}
#tp-home.tp-lang-zh-hans .tp-hero__title{line-height:1.12!important;letter-spacing:.02em}
#tp-home:is(.tp-lang-ar,.tp-lang-fa,.tp-lang-he,.tp-lang-zh-hans) .tp-hero__b{font-style:normal}

#tp-home .tp-hero__lede{max-width:34em;margin-top:22px;font-size:clamp(17px,1.45vw,20px);line-height:1.6!important;color:rgba(255,255,255,.92);text-shadow:0 1px 18px rgba(8,12,22,.5);text-wrap:pretty}

#tp-home .tp-search{position:relative;display:flex;align-items:center;max-width:600px;height:64px;margin-top:30px;padding:6px;padding-inline-start:54px;border-radius:999px;background:#fff;
  box-shadow:0 2px 6px rgba(8,12,22,.14),0 22px 50px rgba(8,12,22,.34);transition:box-shadow .25s}
#tp-home .tp-search:focus-within{box-shadow:0 0 0 4px rgba(226,193,90,.75),0 22px 50px rgba(8,12,22,.34)}
#tp-home .tp-search__icon{position:absolute;inset-inline-start:23px;top:50%;transform:translateY(-50%);font-size:17px;color:var(--muted);pointer-events:none}
#tp-home .tp-search__input{flex:1;min-width:0;height:100%;padding-inline-end:12px;font-size:17px;font-weight:600;color:var(--ink)}
#tp-home .tp-search__input::placeholder{color:var(--muted);opacity:1;font-weight:500}
#tp-home .tp-search__input::-webkit-search-cancel-button,#tp-home .tp-search__input::-webkit-search-decoration{-webkit-appearance:none;appearance:none}
#tp-home .tp-search__input:focus-visible{outline:none}
#tp-home .tp-search__btn{flex:none;height:100%;padding-inline:28px;border-radius:999px;background:var(--crimson);color:#fff;font-weight:800;font-size:15.5px;transition:background .2s}
#tp-home .tp-search__btn:hover,#tp-home .tp-search__btn:focus-visible{background:var(--crimson-d);color:#fff}

#tp-home .tp-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;max-width:640px}
#tp-home .tp-chips__label{margin-inline-end:4px;font-size:13.5px;font-weight:700;color:rgba(255,255,255,.84)}
#tp-home .tp-chip{display:inline-flex;align-items:center;min-height:34px;padding:4px 14px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:14px;font-weight:700;line-height:1.3!important;color:#fff;transition:border-color .2s,color .2s,background .2s}
#tp-home .tp-chip:hover{border-color:#fff;background:#fff;color:var(--crimson-d)}

/* Figures and the photo controls, on glass along the bottom of the photo */
#tp-home .tp-hero__foot{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px 24px}
#tp-home .tp-stats,#tp-home .tp-hero__ctrl{border:1px solid rgba(255,255,255,.16);background:rgba(10,15,28,.42);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%)}
#tp-home .tp-stats{display:grid;grid-auto-flow:column;grid-auto-columns:max-content;border-radius:18px}
#tp-home .tp-stats li{padding:14px 24px 13px;border-inline-start:1px solid rgba(255,255,255,.14)}
#tp-home .tp-stats li:first-child{border-inline-start:0}
#tp-home .tp-stats strong{display:block;font-family:var(--figure)!important;font-weight:600;font-size:clamp(24px,2.3vw,32px);line-height:1.08!important;letter-spacing:-.02em;color:#fff;font-variant-numeric:lining-nums;white-space:nowrap}
#tp-home .tp-stats span{display:block;margin-top:4px;font-size:12.5px;font-weight:700;line-height:1.3!important;color:rgba(255,255,255,.76)}
#tp-home:is(.tp-lang-ar,.tp-lang-fa) .tp-stats strong{font-weight:800;letter-spacing:-.01em}
#tp-home .tp-hero__ctrl{display:flex;align-items:center;gap:4px;min-width:0;max-width:100%;padding:5px;padding-inline-start:16px;border-radius:999px}
#tp-home .tp-hero__cap{display:flex;align-items:center;gap:8px;min-width:0;margin-inline-end:8px;font-size:13.5px;font-weight:700;line-height:1.3!important;color:#fff}
#tp-home .tp-hero__cap .tp-i{flex:none;font-size:13px;color:var(--gold-l)}
#tp-home .tp-hero__cap span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#tp-home .tp-hero__dots{display:flex;flex:none;align-items:center}
#tp-home .tp-hero__dot{display:grid;place-items:center;width:28px;height:36px}
#tp-home .tp-hero__dot::before{content:"";width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.5);transition:width .35s var(--ease),background .25s}
#tp-home .tp-hero__dot:hover::before{background:rgba(255,255,255,.85)}
#tp-home .tp-hero__dot[aria-current=true]::before{width:20px;background:#fff}
#tp-home .tp-hero__play{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:12px;transition:background .2s,color .2s}
#tp-home .tp-hero__play:hover{background:#fff;color:var(--ink)}
#tp-home:not(.js) :is(.tp-hero__dots,.tp-hero__play){display:none}

/* ---------- 2. Where to go ---------- */
/* Photo tiles, the first two larger; each carries a small map of Türkiye with the place marked. */
#tp-home .tp-dest{background:var(--paper)}
#tp-home .tp-defs{position:absolute;width:0;height:0;overflow:hidden}
#tp-home .tp-dest__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(200px,19vw,250px);gap:16px}
#tp-home .tp-dest__item{display:flex;min-width:0}
#tp-home .tp-dest__item:nth-child(1){grid-column:span 2;grid-row:span 2}
#tp-home .tp-dest__item:nth-child(2){grid-column:span 2}
#tp-home .tp-place{position:relative;isolation:isolate;display:block;width:100%;overflow:hidden;border-radius:var(--r-lg);background:var(--night);color:#fff;box-shadow:var(--shadow);transition:box-shadow .35s var(--ease)}
#tp-home .tp-place:hover{box-shadow:var(--shadow-lg)}
#tp-home .tp-place__media,#tp-home .tp-place__media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
#tp-home .tp-place__media{z-index:-2;transition:transform .9s var(--ease)}
#tp-home .tp-place:hover .tp-place__media{transform:scale(1.06)}
#tp-home .tp-place::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(10,15,28,.32) 0%,rgba(10,15,28,0) 28%),linear-gradient(0deg,rgba(10,15,28,.9) 0%,rgba(10,15,28,.5) 34%,rgba(10,15,28,0) 64%)}
#tp-home .tp-place__text{position:absolute;inset-inline:0;bottom:0;padding:20px;padding-inline-end:64px}
#tp-home .tp-place__name{font-family:var(--display)!important;font-weight:600!important;font-size:clamp(22px,2vw,28px);line-height:1.1!important;letter-spacing:-.01em;color:#fff;text-shadow:0 1px 14px rgba(0,0,0,.3)}
#tp-home .tp-dest__item:first-child .tp-place__name{font-size:clamp(30px,3.2vw,44px)}
#tp-home .tp-place__guide{display:-webkit-box;margin-top:6px;overflow:hidden;font-size:13.5px;font-weight:600;line-height:1.45!important;color:rgba(255,255,255,.86);-webkit-line-clamp:2;-webkit-box-orient:vertical}
#tp-home .tp-dest__item:first-child .tp-place__guide{max-width:34em;margin-top:10px;font-size:15.5px}
#tp-home .tp-place__map{position:absolute;top:14px;inset-inline-end:14px;width:clamp(72px,7vw,104px);height:auto;padding:6px 8px;border:1px solid rgba(255,255,255,.24);border-radius:12px;background:rgba(10,15,28,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#tp-home .tp-place__map use{fill:rgba(255,255,255,.92)}
#tp-home .tp-place__dot{fill:var(--crimson);stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}
#tp-home .tp-place__ring{fill:none;stroke:var(--crimson);stroke-width:2;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:tp-pulse 2.4s var(--ease) infinite}
#tp-home .tp-place .tp-badge{top:14px;inset-inline-start:14px;inset-inline-end:auto;border:0;background:rgba(255,255,255,.94);color:var(--ink)}
#tp-home .tp-place__go{position:absolute;bottom:18px;inset-inline-end:16px;display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;font-size:13px;transition:background .25s,color .25s,border-color .25s}
#tp-home .tp-place:is(:hover,:focus-visible) .tp-place__go{border-color:#fff;background:#fff;color:var(--crimson-d)}

/* ---------- 3. Türkiye right now ---------- */
#tp-home .tp-now{
  --skyline-h:clamp(104px,13.75vw,232px);
  /* Open sky between the cards and the skyline, where the sun and moon travel. */
  --orb-room:clamp(44px,7vw,120px);
  --sky:linear-gradient(180deg,#b9dcf3 0%,#d6e9f6 52%,#eef6fb 100%);
  --now-ink:#10243a;--now-sub:#3f566b;
  --far:#a3bccf;--near:#5d7285;--lights:transparent;--sea:#8fb0c6;--gulls:#4d6275;--stars:0;
  --orb-bg:radial-gradient(circle,#fffdf0 0%,#fff1b8 42%,#ffd76e 72%);--orb-glow:0 0 70px 26px rgba(255,222,130,.55),0 0 180px 80px rgba(255,236,170,.35);
  position:relative;isolation:isolate;overflow:hidden;padding-top:clamp(56px,7vw,100px);padding-bottom:calc(var(--skyline-h) + var(--orb-room));background:var(--sky);color:var(--now-ink)}
#tp-home .tp-now[data-sky=golden]{--sky:linear-gradient(180deg,#f0bf73 0%,#f5d59f 55%,#f8e6c2 100%);--now-ink:#35200b;--now-sub:#6a4726;--far:#cda277;--near:#6b4a33;--sea:#b98e62;--gulls:#5a3b24;
  --orb-bg:radial-gradient(circle,#fff6dc 0%,#ffd78a 45%,#ffab4a 75%);--orb-glow:0 0 80px 30px rgba(255,176,80,.55),0 0 200px 90px rgba(255,200,120,.35)}
#tp-home .tp-now[data-sky=night]{--sky:linear-gradient(180deg,#0a1424 0%,#12213a 55%,#1b2d4a 100%);--now-ink:#fff;--now-sub:rgba(255,255,255,.74);--far:#22375a;--near:#08101d;--lights:#ffd98a;--sea:#0f1d33;--gulls:transparent;--stars:1;
  --orb-bg:transparent;--orb-glow:inset 16px -7px 0 0 #f6efd6,0 0 60px 6px rgba(246,239,214,.10)}
#tp-home .tp-now[data-sky=dawn]{--sky:linear-gradient(180deg,#2f3a66 0%,#5c4f7e 38%,#c07a84 74%,#f2c29a 100%);--now-ink:#fff;--now-sub:rgba(255,255,255,.8);--far:#8c7088;--near:#382c44;--lights:#ffd98a;--sea:#4a3f5e;--gulls:#2e2438;--stars:.45;
  --orb-bg:radial-gradient(circle,#fff4e0 0%,#ffcf9a 45%,#ff9f6e 75%);--orb-glow:0 0 80px 30px rgba(255,170,120,.5),0 0 200px 90px rgba(255,190,150,.3)}
#tp-home .tp-now[data-sky=dusk]{--sky:linear-gradient(180deg,#26244f 0%,#4e3668 40%,#a8567a 76%,#ee9d6c 100%);--now-ink:#fff;--now-sub:rgba(255,255,255,.8);--far:#5f406f;--near:#22182f;--lights:#ffd98a;--sea:#39294c;--gulls:#1c1427;--stars:.5;
  --orb-bg:radial-gradient(circle,#fff0dc 0%,#ffb877 45%,#f47a4e 76%);--orb-glow:0 0 80px 30px rgba(244,122,78,.5),0 0 200px 90px rgba(238,157,108,.3)}

#tp-home .tp-now__sky{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
#tp-home .tp-now__stars,#tp-home .tp-now__stars::after{position:absolute;inset:0 0 25%;opacity:var(--stars);transition:opacity 1.2s;
  background-image:radial-gradient(1.6px 1.6px at 23px 41px,#fff 50%,transparent 60%),radial-gradient(1px 1px at 131px 97px,rgba(255,255,255,.85) 50%,transparent 60%),radial-gradient(1.2px 1.2px at 177px 23px,#fff 50%,transparent 60%),radial-gradient(1px 1px at 71px 151px,rgba(255,255,255,.7) 50%,transparent 60%);
  background-size:197px 173px}
#tp-home .tp-now__stars::after{content:"";inset:0;opacity:1;background-image:radial-gradient(1.3px 1.3px at 57px 71px,#fff 50%,transparent 60%),radial-gradient(1px 1px at 211px 139px,rgba(255,255,255,.8) 50%,transparent 60%),radial-gradient(2px 2px at 151px 211px,rgba(255,244,214,.95) 50%,transparent 60%);background-size:263px 241px;animation:tp-twinkle 5s ease-in-out infinite alternate}
#tp-home .tp-now__orb{position:absolute;width:clamp(52px,5.6vw,88px);aspect-ratio:1;border-radius:50%;left:calc(var(--orb-x,.8)*100%);bottom:calc(var(--skyline-h)*.3 + var(--orb-y,.8)*(var(--skyline-h)*.45 + var(--orb-room)));transform:translate(-50%,50%);background:var(--orb-bg);box-shadow:var(--orb-glow);transition:left 2s var(--ease),bottom 2s var(--ease)}
#tp-home .tp-now[data-sky=golden] .tp-now__orb{--orb-x:.86;--orb-y:.18}
#tp-home .tp-now[data-sky=dawn] .tp-now__orb{--orb-x:.14;--orb-y:.02}
#tp-home .tp-now[data-sky=dusk] .tp-now__orb{--orb-x:.88;--orb-y:.02}
#tp-home .tp-now[data-sky=night] .tp-now__orb{--orb-x:.2;--orb-y:.86}

#tp-home .tp-skyline{position:absolute;left:0;right:0;bottom:0;z-index:-1;width:100%;height:var(--skyline-h);max-width:none;pointer-events:none}
#tp-home .tp-skyline__sea{fill:var(--sea);transition:fill 1s}
#tp-home .tp-skyline__far{fill:var(--far);transition:fill 1s}
#tp-home .tp-skyline__near{fill:var(--near);transition:fill 1s}
#tp-home .tp-skyline__lights{fill:var(--lights)}
#tp-home .tp-skyline__gulls{fill:none;stroke:var(--gulls);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;animation:tp-drift 38s ease-in-out infinite alternate}

#tp-home .tp-now__inner{position:relative}
#tp-home .tp-now__head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:end;gap:22px 44px}
#tp-home .tp-now .tp-h2{color:var(--now-ink)}
#tp-home .tp-now__sub{max-width:36em;margin-top:12px;font-size:clamp(16px,1.35vw,18px);color:var(--now-sub)}
#tp-home .tp-now__when{text-align:end}
#tp-home .tp-now__zone,#tp-home .tp-city__label{font-size:12px;font-weight:800;line-height:1.3!important;letter-spacing:.12em;text-transform:uppercase;color:var(--now-sub)}
#tp-home .tp-clock{margin-top:6px;font-weight:800;font-size:clamp(42px,4.6vw,62px);line-height:1!important;letter-spacing:-.02em;color:var(--now-ink);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate}
#tp-home[dir=rtl] .tp-clock{text-align:left}
#tp-home .tp-clock__s{display:inline-block;min-width:1.4em;margin-inline-start:4px;font-size:.4em;font-weight:700;vertical-align:.95em;opacity:.62;text-align:start}
#tp-home .tp-now__date{margin-top:8px;font-size:14.5px;font-weight:600;color:var(--now-sub)}
#tp-home .tp-now__hijri:not(:empty)::before{content:"·";margin-inline:8px}
#tp-home .tp-city{display:flex;flex-direction:column;gap:8px}
#tp-home .tp-city__label{display:inline-flex;align-items:center;gap:8px}
#tp-home .tp-city__box{position:relative;display:block}
#tp-home .tp-city__select{display:block;width:100%;min-width:200px;height:50px;padding-inline:18px 46px;border:1px solid var(--c-border);border-radius:14px;background:var(--c-field-solid);color:var(--c-ink);font-weight:700;font-size:16px;line-height:1.2!important;cursor:pointer;box-shadow:var(--c-shadow)}
#tp-home .tp-city__select option,#tp-home .tp-conv__cur option{color:#1A1614;background:#fff}
#tp-home .tp-city__chev{position:absolute;inset-inline-end:17px;top:50%;transform:translateY(-50%);font-size:12px;color:var(--c-muted);pointer-events:none}
#tp-home .tp-nojs{margin-top:18px;padding:14px 18px;border-radius:14px;background:var(--c-bg);color:var(--c-text);font-weight:600}

/* Cards: light glass by day, dark glass at night, dawn and dusk */
#tp-home .tp-now{
  --c-bg:rgba(255,255,255,.86);--c-field-solid:rgba(255,255,255,.92);--c-field:#fff;--c-border:rgba(255,255,255,.8);
  --c-shadow:0 1px 2px rgba(16,36,58,.06),0 14px 36px rgba(16,36,58,.11);
  --c-ink:#1A1614;--c-text:#2D2926;--c-muted:#5f5a56;--c-line:rgba(26,22,20,.09);--c-soft:rgba(26,22,20,.045);--c-soft2:rgba(26,22,20,.1);
  --c-up:#1f7a4a;--c-down:#B80813;--c-teal:#1A7F7C;--c-gold:#b58a14;--c-map-label:#fff;
  --m-sea:#e4eef5;--m-land:#ebe7df;--m-border:#fff;--m-tr:#fffdf8;--m-tr-line:#bfb6a8}
#tp-home .tp-now:is([data-sky=night],[data-sky=dawn],[data-sky=dusk]){
  --c-bg:rgba(10,17,32,.64);--c-field-solid:rgba(10,17,32,.55);--c-field:rgba(255,255,255,.08);--c-border:rgba(255,255,255,.14);
  --c-shadow:0 14px 40px rgba(3,8,20,.28);
  --c-ink:#fff;--c-text:rgba(255,255,255,.9);--c-muted:rgba(255,255,255,.68);--c-line:rgba(255,255,255,.12);--c-soft:rgba(255,255,255,.06);--c-soft2:rgba(255,255,255,.13);
  --c-up:#6fd49a;--c-down:#ff8a90;--c-teal:#5fd4c8;--c-gold:#E2C15A;--c-map-label:#0b1424;
  --m-sea:rgba(255,255,255,.03);--m-land:rgba(255,255,255,.07);--m-border:rgba(255,255,255,.06);--m-tr:rgba(255,255,255,.15);--m-tr-line:rgba(255,255,255,.4);
  --focus:var(--gold-l)}
#tp-home .tp-card--prayer{--k-l:#3b4fa0;--k-d:#a9b8ff}
#tp-home .tp-card--quake{--k-l:#B80813;--k-d:#ff8a90}
#tp-home .tp-card--fx{--k-l:#146c69;--k-d:#5fd4c8}
#tp-home .tp-card--gold{--k-l:#8A6D12;--k-d:#E2C15A}
#tp-home .tp-card--fuel{--k-l:#23704a;--k-d:#6fd49a}
#tp-home .tp-card{--k:var(--k-l)}
#tp-home .tp-now:is([data-sky=night],[data-sky=dawn],[data-sky=dusk]) .tp-card{--k:var(--k-d)}
#tp-home .tp-card{--k-soft:var(--c-soft);--k-soft:color-mix(in srgb,var(--k) 13%,transparent)}

#tp-home .tp-now__grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;margin-top:clamp(28px,3.5vw,44px)}
#tp-home .tp-card{container-type:inline-size;display:flex;flex-direction:column;min-width:0;padding:22px 22px 16px;border:1px solid var(--c-border);border-radius:var(--r-lg);background:var(--c-bg);box-shadow:var(--c-shadow);color:var(--c-text);
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%)}
#tp-home .tp-card--prayer{grid-column:span 5}
#tp-home .tp-card--quake{grid-column:span 7}
#tp-home .tp-card--fx,#tp-home .tp-card--gold,#tp-home .tp-card--fuel{grid-column:span 4}
#tp-home .tp-card__head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px;margin-bottom:16px}
#tp-home .tp-card__title{display:flex;align-items:center;gap:11px;min-width:0;font-weight:800!important;font-size:15.5px;line-height:1.3!important;color:var(--c-ink)}
#tp-home .tp-card__title .tp-i{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:var(--k-soft);color:var(--k);font-size:15px}
#tp-home .tp-card__tag{padding:5px 11px;border-radius:999px;background:var(--c-soft);font-size:12.5px;font-weight:700;line-height:1.35!important;color:var(--c-muted)}
#tp-home .tp-card__tag:empty{display:none}
#tp-home .tp-card__body{flex:1 1 auto;min-width:0}
#tp-home .tp-card__note{margin-bottom:8px;font-size:13px;line-height:1.45!important;color:var(--c-muted)}
#tp-home .tp-card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin-top:18px;padding-top:13px;border-top:1px solid var(--c-line);font-size:12.5px;line-height:1.45!important;color:var(--c-muted)}
#tp-home .tp-card__src{min-width:0}
#tp-home .tp-card__srck{font-weight:800;color:var(--c-text)}
#tp-home .tp-card__stamp:not(:empty)::before{content:"·";margin-inline:6px}
#tp-home .tp-card__link{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:13px;white-space:nowrap;color:var(--k)}
#tp-home .tp-card__link .tp-i{font-size:11px;transition:transform .25s var(--ease)}
#tp-home .tp-card__link:hover .tp-i{transform:translateX(3px)}
#tp-home[dir=rtl] .tp-card__link:hover .tp-i{transform:translateX(-3px)}

#tp-home .tp-skel{display:inline-block;min-width:5em;border-radius:6px;background:linear-gradient(90deg,var(--c-soft) 0%,var(--c-soft2) 50%,var(--c-soft) 100%);background-size:200% 100%;color:transparent!important;animation:tp-shimmer 1.3s linear infinite}
#tp-home .tp-err{grid-column:1/-1;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:16px;border-radius:14px;background:var(--c-soft);font-size:14px;font-weight:600;color:var(--c-muted)}
#tp-home .tp-err__btn{display:inline-flex;align-items:center;gap:8px;height:36px;padding-inline:14px;border:1px solid var(--c-line);border-radius:999px;background:var(--c-field);font-weight:800;font-size:13px;color:var(--c-ink)}
#tp-home .tp-err__btn:hover{border-color:var(--k)}
#tp-home .tp-card[data-state=error] .tp-card__body>:not(.tp-err){display:none}
#tp-home .tp-card__body{transition:opacity .25s}
#tp-home .tp-card.is-busy .tp-card__body{opacity:.5}
#tp-home:not(.js) .tp-live{display:none}

/* Prayer times */
#tp-home .tp-prayer__next{min-height:1.4em;font-size:19px;font-weight:700;line-height:1.35!important;color:var(--c-text)}
#tp-home .tp-prayer__nn{color:var(--k);font-weight:800}
#tp-home .tp-prayer__nt{color:var(--c-ink);font-weight:800;white-space:nowrap}
#tp-home .tp-arc{margin-top:6px}
#tp-home .tp-arc svg{width:100%;height:auto;overflow:visible}
#tp-home[dir=rtl] .tp-arc svg{transform:scaleX(-1)}
#tp-home .tp-arc__sky{fill:var(--c-soft)}
#tp-home .tp-arc__path{fill:none;stroke:var(--c-soft2);stroke-width:1.5;stroke-dasharray:2 5;stroke-linecap:round}
#tp-home .tp-arc__done{fill:none;stroke:var(--c-gold);stroke-width:3;stroke-linecap:round;stroke-dasharray:0 1}
#tp-home .tp-arc__horizon{stroke:var(--c-soft2);stroke-width:1}
#tp-home .tp-arc__tick{fill:var(--c-field);stroke:var(--c-muted);stroke-width:1.5}
#tp-home .tp-arc__tick.is-past{fill:var(--c-gold);stroke:var(--c-gold)}
#tp-home .tp-arc__sun{fill:#F5B82E;stroke:#fff6d8;stroke-width:2;filter:drop-shadow(0 0 7px rgba(245,184,46,.9))}
#tp-home .tp-arc__sun.is-down{fill:var(--c-muted);stroke:none;filter:none;opacity:.55}
#tp-home .tp-prayer__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:14px}
#tp-home .tp-prayer__list li{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:1px;min-width:0;padding:9px 4px;border-radius:12px;background:var(--c-soft);text-align:center;transition:background .3s,opacity .3s}
#tp-home .tp-prayer__name{max-width:100%;font-size:12.5px;font-weight:700;line-height:1.25!important;color:var(--c-muted);text-wrap:balance}
#tp-home .tp-prayer__time{font-size:18px;font-weight:800;line-height:1.3!important;color:var(--c-ink);font-variant-numeric:tabular-nums}
#tp-home .tp-prayer__list li.is-past{opacity:.55}
#tp-home .tp-prayer__list li.is-next{background:var(--k-soft);box-shadow:inset 0 0 0 1.5px var(--k);opacity:1}
#tp-home .tp-prayer__list li.is-next .tp-prayer__name,#tp-home .tp-prayer__list li.is-next .tp-prayer__time{color:var(--k)}
@container (min-width:600px){#tp-home .tp-prayer__list{grid-template-columns:repeat(6,minmax(0,1fr))}}
/* A card as wide as the page puts the countdown and the arc beside the six times, so the arc stays a sensible size. */
@container (min-width:820px){#tp-home .tp-card--prayer .tp-card__body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:auto 1fr;column-gap:32px;align-items:end}
  #tp-home .tp-card--prayer .tp-prayer__list{grid-column:2;grid-row:1/3;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}}

/* Earthquakes */
#tp-home .tp-quake{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:start;gap:18px}
@container (max-width:560px){#tp-home .tp-quake{grid-template-columns:minmax(0,1fr)}}
#tp-home .tp-quake__map{position:relative;overflow:hidden;border:1px solid var(--c-line);border-radius:14px;background:var(--m-sea)}
#tp-home .tp-quake__map svg{width:100%;height:auto}
#tp-home .tp-map__sea{fill:var(--m-sea)}
#tp-home .tp-map__land{fill:var(--m-land);stroke:var(--m-border);stroke-width:1.2;stroke-linejoin:round}
#tp-home .tp-map__tr{fill:var(--m-tr);stroke:var(--m-tr-line);stroke-width:1.6;stroke-linejoin:round}
#tp-home .tp-map__pin{opacity:0;transition:opacity .3s}
#tp-home .tp-map__pin.is-on{opacity:1}
#tp-home .tp-map__pin circle:first-child{fill:rgba(26,127,124,.18);stroke:var(--c-teal);stroke-width:2.5}
#tp-home .tp-map__pin circle:last-child{fill:var(--c-teal)}
#tp-home .tp-map__pin circle{transform:scale(1.9)}
#tp-home .tp-map__dot{fill:var(--q);fill-opacity:.82;stroke:#fff;stroke-width:2}
#tp-home .tp-map__ping{fill:none;stroke:var(--q);stroke-width:3;transform-box:fill-box;transform-origin:center;animation:tp-ping 2.4s var(--ease) infinite}
#tp-home .tp-map__label{font-family:var(--ui)!important;font-weight:800;font-size:30px;fill:var(--c-ink);paint-order:stroke;stroke:var(--c-map-label);stroke-width:7px;stroke-linejoin:round}
#tp-home .q1{--q:#f2b33d;--qt:#3a2600}
#tp-home .q2{--q:#f07f2f;--qt:#361400}
#tp-home .q3{--q:#E30A17;--qt:#fff}
#tp-home .q4{--q:#7d0010;--qt:#fff}
#tp-home .tp-quake__list li{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1px 12px;padding:10px 0;border-top:1px solid var(--c-line)}
#tp-home .tp-quake__list li:first-child{padding-top:2px;border-top:0}
#tp-home .tp-quake__mag{grid-row:span 2;display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:var(--q);color:var(--qt);font-weight:800;font-size:16px;font-variant-numeric:tabular-nums}
#tp-home .tp-quake__loc{overflow:hidden;font-weight:800;font-size:14.5px;line-height:1.3!important;color:var(--c-ink);text-overflow:ellipsis;white-space:nowrap}
#tp-home .tp-quake__meta{font-size:12.5px;line-height:1.35!important;color:var(--c-muted)}
#tp-home .tp-quake__label{margin-bottom:8px;font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--c-muted)}
#tp-home .tp-quake__mag--skel{background:var(--c-soft2)}
#tp-home .tp-quake__list .tp-skel{width:72%;min-width:0}
#tp-home .tp-quake__list .tp-quake__meta.tp-skel{width:46%}
#tp-home .tp-quake__key{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:9px 14px;border-top:1px solid var(--c-line);font-size:12px;font-weight:700;line-height:1.3!important;color:var(--c-muted)}
#tp-home .tp-quake__key>span{display:inline-flex;align-items:center;gap:6px}
#tp-home .tp-quake__key i{flex:none;width:var(--d,10px);height:var(--d,10px);border-radius:50%;background:var(--q);box-shadow:0 0 0 1.5px #fff}
#tp-home .tp-quake__key .q1{--d:8px}
#tp-home .tp-quake__key .q2{--d:10px}
#tp-home .tp-quake__key .q3{--d:12px}
#tp-home .tp-quake__key .q4{--d:14px}
#tp-home .tp-quake__m{font-weight:800;color:var(--c-ink)}
#tp-home .tp-quake__key .tp-quake__you{margin-inline-start:auto;color:var(--c-text)}
#tp-home .tp-quake__you i{--d:14px;background:radial-gradient(circle,var(--c-teal) 0 2.6px,rgba(26,127,124,.18) 3.2px);box-shadow:inset 0 0 0 2px var(--c-teal)}
#tp-home .tp-quake__none{padding:14px;border-radius:12px;background:var(--c-soft);font-weight:600;color:var(--c-muted)}

/* Exchange rates and converter */
#tp-home .tp-fx__list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--c-line)}
#tp-home .tp-fx__list li:first-child{border-top:0}
#tp-home .tp-fx__code{display:inline-grid;place-items:center;min-width:50px;height:30px;padding-inline:8px;border-radius:9px;background:var(--k-soft);color:var(--k);font-weight:800;font-size:13px;letter-spacing:.05em}
#tp-home .tp-fx__name{font-size:13.5px;font-weight:600;line-height:1.3!important;color:var(--c-muted);text-wrap:balance}
#tp-home .tp-fx__rate{font-weight:800;font-size:18px;color:var(--c-ink);font-variant-numeric:tabular-nums;unicode-bidi:isolate;white-space:nowrap}
#tp-home .tp-conv{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-top:14px;padding:12px;border-radius:16px;background:var(--c-soft)}
#tp-home .tp-conv__field{position:relative;display:block;min-width:0}
#tp-home .tp-conv__amount,#tp-home .tp-conv__cur,#tp-home .tp-conv__swap{height:44px;border:1px solid var(--c-line);border-radius:12px;background:var(--c-field);color:var(--c-ink);font-weight:800;font-size:16px}
#tp-home .tp-conv__amount{width:100%;padding-inline:14px;font-variant-numeric:tabular-nums}
#tp-home .tp-conv__cur{padding-inline:12px 30px;cursor:pointer}
#tp-home .tp-conv__field--cur::after{content:"\f078";position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font:900 10px/1 'Turkpidya Font Awesome';color:var(--c-muted);pointer-events:none}
#tp-home .tp-conv__swap{display:grid;place-items:center;width:44px;color:var(--k);transition:transform .35s var(--ease),border-color .2s}
#tp-home .tp-conv__swap:hover{border-color:var(--k)}
#tp-home .tp-conv.is-flipped .tp-conv__swap{transform:rotate(180deg)}
#tp-home .tp-conv__out{grid-column:1/-1;display:block;min-height:1.45em;padding:4px 4px 0;font-weight:800;font-size:18px;line-height:1.45!important;color:var(--c-ink);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#tp-home .tp-conv__out span{color:var(--c-muted);font-weight:700}

/* Gold */
#tp-home .tp-big{font-family:var(--figure)!important;font-weight:600;font-size:clamp(34px,3.1vw,42px);line-height:1.1!important;letter-spacing:-.02em;color:var(--c-ink);font-variant-numeric:lining-nums tabular-nums;unicode-bidi:isolate}
#tp-home:is(.tp-lang-ar,.tp-lang-fa) .tp-big,#tp-home:is(.tp-lang-ar,.tp-lang-fa) .tp-fuel__v{font-weight:800}
#tp-home .tp-gold__meta{margin-top:8px;font-size:13.5px;font-weight:600;color:var(--c-muted)}
#tp-home .tp-up{color:var(--c-up);font-weight:800;white-space:nowrap}
#tp-home .tp-down{color:var(--c-down);font-weight:800;white-space:nowrap}
#tp-home .tp-flat{color:var(--c-muted);font-weight:800;white-space:nowrap}
#tp-home .tp-rows{margin-top:14px}
#tp-home .tp-rows>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--c-line)}
#tp-home .tp-rows dt{font-size:14px;font-weight:600;color:var(--c-text)}
#tp-home .tp-rows dd{font-weight:800;font-size:16px;color:var(--c-ink);font-variant-numeric:tabular-nums;white-space:nowrap}

/* Fuel */
#tp-home .tp-fuel{display:grid;gap:10px}
#tp-home .tp-fuel__item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 14px;padding:14px 16px;border-radius:14px;background:var(--c-soft)}
#tp-home .tp-fuel__k{font-weight:800;font-size:14px;color:var(--c-text)}
#tp-home .tp-fuel__v{grid-row:span 2;font-family:var(--figure)!important;font-weight:600;font-size:30px;line-height:1.1!important;letter-spacing:-.01em;color:var(--c-ink);font-variant-numeric:lining-nums tabular-nums;unicode-bidi:isolate;white-space:nowrap}
#tp-home .tp-fuel__sub{font-size:12.5px;line-height:1.4!important;color:var(--c-muted)}
#tp-home .tp-fuel__bar{grid-column:1/-1;position:relative;height:4px;margin:10px 0 2px;border-radius:4px;background:var(--c-soft2)}
#tp-home .tp-fuel__bar i{position:absolute;top:50%;inset-inline-start:calc(var(--p,.5)*100%);width:12px;height:12px;border:2px solid var(--c-field);border-radius:50%;background:var(--k);transform:translate(-50%,-50%)}
#tp-home[dir=rtl] .tp-fuel__bar i{transform:translate(50%,-50%)}
#tp-home .tp-fuel__range{grid-column:1/-1;display:flex;justify-content:space-between;font-size:11.5px;font-weight:700;color:var(--c-muted);font-variant-numeric:tabular-nums}
#tp-home .tp-fuel .tp-skel{width:7em;min-width:0}
#tp-home .tp-fuel .tp-fuel__v.tp-skel{width:3.6em}
#tp-home .tp-fuel__cities{width:100%;margin:4px 0 0;border-collapse:collapse;font-size:13.5px;line-height:1.3!important;font-variant-numeric:tabular-nums}
#tp-home .tp-fuel__cities :is(th,td){padding:8px 0;border-top:1px solid var(--c-line);text-align:end;vertical-align:bottom;white-space:nowrap}
#tp-home .tp-fuel__cities thead th{padding:2px 0 8px;border-top:0;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:normal;color:var(--c-muted)}
#tp-home .tp-fuel__cities :is(th,td)+:is(th,td){padding-inline-start:12px}
#tp-home .tp-fuel__cities :is(th,td):first-child{text-align:start}
#tp-home .tp-fuel__cities tbody th{font-weight:600;color:var(--c-text)}
#tp-home .tp-fuel__cities td{font-weight:800;color:var(--c-ink);unicode-bidi:isolate}

/* ---------- 4. Topics ---------- */
#tp-home .tp-topics{background:var(--paper)}
#tp-home .tp-topics__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
#tp-home .tp-topic{display:flex;min-width:0}
#tp-home .tp-topic__main{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;width:100%;aspect-ratio:3/4;padding:18px;overflow:hidden;overflow:clip;border-radius:var(--r-lg);background:var(--night);color:#fff;box-shadow:var(--shadow);transition:translate .35s var(--ease),box-shadow .35s var(--ease)}
#tp-home .tp-topic__main:hover{translate:0 -4px;box-shadow:var(--shadow-lg)}
#tp-home .tp-topic__media,#tp-home .tp-topic__media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
#tp-home .tp-topic__media{z-index:-2;transition:transform .9s var(--ease)}
#tp-home .tp-topic__main:hover .tp-topic__media{transform:scale(1.06)}
#tp-home .tp-topic__main::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(15,27,45,.22) 0%,rgba(15,27,45,0) 26%,rgba(15,27,45,.5) 52%,rgba(15,27,45,.94) 100%)}
#tp-home .tp-topic__icon{position:absolute;top:14px;inset-inline-start:14px;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.94);color:var(--crimson);font-size:17px;box-shadow:0 6px 18px rgba(0,0,0,.18)}
#tp-home .tp-topic__count{display:inline-block;margin-bottom:10px;padding:4px 10px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:12px;font-weight:800;line-height:1.3!important;color:#fff}
#tp-home .tp-topic__text{display:block;width:100%}
#tp-home .tp-topic__name{font-family:var(--display)!important;font-weight:600!important;font-size:clamp(20px,1.7vw,24px);line-height:1.12!important;letter-spacing:-.01em;color:#fff}
#tp-home .tp-topic__desc{display:-webkit-box;margin-top:6px;overflow:hidden;font-size:13px;font-weight:500;line-height:1.45!important;color:rgba(255,255,255,.86);-webkit-line-clamp:3;-webkit-box-orient:vertical}

/* ---------- 5. Most read ---------- */
#tp-home .tp-reads{background:var(--cream)}
#tp-home .tp-reads__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 20px}
#tp-home .tp-read{display:flex;min-width:0}
#tp-home .tp-read__link{display:flex;flex-direction:column;width:100%;overflow:hidden;border-radius:var(--r-lg);background:#fff;box-shadow:var(--shadow);transition:translate .35s var(--ease),box-shadow .35s var(--ease)}
#tp-home .tp-read__link:hover{translate:0 -4px;box-shadow:var(--shadow-lg)}
#tp-home .tp-read__media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--night)}
#tp-home .tp-read__media img{width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .9s var(--ease)}
#tp-home .tp-read__link:hover .tp-read__media img{transform:scale(1.06)}
#tp-home .tp-read__ph{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(circle at 30% 20%,#1f3556 0%,var(--night) 72%);color:var(--gold-l);font-size:34px}
#tp-home .tp-read__ph::before{content:"";position:absolute;inset:0;background-image:var(--lattice);background-size:56px 56px;opacity:.16}
#tp-home .tp-read__ph .tp-i{position:relative}
#tp-home .tp-read__num{position:absolute;bottom:12px;inset-inline-start:12px;display:grid;place-items:center;min-width:40px;height:40px;padding-inline:8px;border-radius:12px;background:#fff;font-family:var(--figure)!important;font-weight:700;font-size:17px;line-height:1!important;color:var(--crimson-d);font-variant-numeric:lining-nums tabular-nums;box-shadow:0 6px 16px rgba(0,0,0,.2)}
#tp-home .tp-read__body{display:flex;flex:1 1 auto;flex-direction:column;padding:16px 18px 18px}
#tp-home .tp-read__cat{display:block;min-height:1.5em;margin-bottom:6px;font-size:11.5px;font-weight:800;line-height:1.5!important;letter-spacing:.12em;text-transform:uppercase;color:var(--crimson-d)}
#tp-home .tp-read__title{display:-webkit-box;overflow:hidden;font-family:var(--display)!important;font-weight:600;font-size:18px;line-height:1.3!important;color:var(--ink);-webkit-line-clamp:3;-webkit-box-orient:vertical;transition:color .25s}
#tp-home .tp-read__link:hover .tp-read__title{color:var(--crimson-d)}
#tp-home .tp-read__meta{display:block;margin-top:auto;padding-top:12px;font-size:13px;font-weight:600;color:var(--muted)}

/* ---------- 6. Tools ---------- */
/* Every tool this edition has, in groups: live figures, money and work, travel and daily life (and, in Turkish and
   German, tools for Turks in Germany). Each tool is a picture card: a small drawing of what it does (inline SVG from
   tool-art.json, no images), its name and a line on what it gives you. Every drawing is painted on a glazed çini
   tile set into the card, in one Kütahya hand (art/cini in the data-api workspace draws them). Live tools sit on
   the night sky and show today's figure, filled in by the script from the data the page already loads. */
#tp-home .tp-tools{background:var(--paper)}
#tp-home .tp-defs{position:absolute;width:0;height:0;overflow:hidden}
#tp-home .tp-shelf{display:grid;gap:clamp(36px,4vw,52px)}
#tp-home .tp-shelf__group{--accent:#145CCA;min-width:0}
#tp-home .tp-shelf__group--live{--accent:var(--night)}
#tp-home .tp-shelf__group--life{--accent:#BD6446}
#tp-home .tp-shelf__group--de{--accent:#AA7530}
#tp-home .tp-shelf__head{display:flex;align-items:center;gap:12px;margin:0 0 18px}
#tp-home .tp-shelf__head::after{content:"";flex:1 1 auto;min-width:24px;height:1px;background:var(--line)}
#tp-home .tp-shelf__mark{position:relative;display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:var(--accent);color:#fff;font-size:15px;
  box-shadow:0 6px 14px -6px rgba(26,22,20,.4);box-shadow:0 6px 14px -6px color-mix(in srgb,var(--accent) 85%,transparent)}
#tp-home .tp-shelf__group--live .tp-shelf__mark{color:var(--gold-l)}
#tp-home .tp-shelf__pulse{position:absolute;top:-4px;inset-inline-end:-4px;width:12px;height:12px;border:2px solid var(--paper);border-radius:50%;background:#3DDC84}
#tp-home .tp-shelf__pulse::after{content:"";position:absolute;inset:-2px;border-radius:50%;background:#3DDC84;animation:tp-pulse 2.4s var(--ease) infinite}
#tp-home .tp-shelf__title{min-width:0;font-family:var(--display)!important;font-weight:600!important;font-size:clamp(19px,1.7vw,22px);line-height:1.2!important;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
#tp-home .tp-shelf__list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
#tp-home .tp-shelf__group--de .tp-shelf__list{grid-template-columns:repeat(2,minmax(0,1fr))}
#tp-home .tp-shelf__list>li{display:flex;min-width:0}

/* The card. Each tool brings its own three colours (a deep, b mid, c pale) and the two of its sky (only the icon
   fallback still uses them: the drawings carry their own çini colours). */
#tp-home .tp-tool{--a:#145CCA;--b:#5B8FE0;--c:#D3E2FA;--bg1:#F2F7FF;--bg2:#DAE7FB;--w:#fff;--sh:rgba(26,22,20,.1);
  position:relative;display:flex;flex-direction:column;width:100%;overflow:hidden;overflow:clip;border:1px solid var(--line);border-radius:var(--r-md);background:#fff;box-shadow:var(--shadow);
  transition:translate .35s var(--ease),box-shadow .35s var(--ease),border-color .3s}
#tp-home .tp-tool:hover{translate:0 -4px;border-color:transparent;box-shadow:var(--shadow-lg)}
#tp-home .tp-tool__art{position:relative;isolation:isolate;display:block;flex:none;aspect-ratio:5/3;overflow:hidden;background:transparent}
/* The tile: cream glaze with a soft bevel, and a sheen laid over the painting */
#tp-home .tp-tool__art::before{content:"";position:absolute;inset:7px;z-index:-1;border-radius:9px;
  background:radial-gradient(130% 120% at 28% 18%,#FFFCF5 0%,#F8F1E2 55%,#F0E6D0 100%);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.95),inset 0 -2px 4px rgba(130,96,40,.14),inset 0 0 0 1px rgba(150,118,64,.2),0 1px 2px rgba(26,22,20,.08)}
#tp-home .tp-tool__art::after{content:"";position:absolute;inset:7px;z-index:1;border-radius:9px;pointer-events:none;
  background:linear-gradient(118deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,0) 30%,rgba(255,255,255,0) 72%,rgba(255,255,255,.16) 100%)}
#tp-home .tp-art{display:block;width:100%;height:100%;overflow:visible;transition:transform .7s var(--ease)}
#tp-home .tp-tool:hover .tp-art{transform:scale(1.045)}
#tp-home .tp-art .f{transition:transform .6s var(--ease)}
#tp-home .tp-tool:hover .tp-art .f{transform:translateY(-4px)}
#tp-home .tp-art .a{fill:var(--a)}
#tp-home .tp-art .b{fill:var(--b)}
#tp-home .tp-art .c{fill:var(--c)}
#tp-home .tp-art .w{fill:var(--w)}
#tp-home .tp-art .g{fill:#EBBB45}
#tp-home .tp-art .h{fill:#BF8A1F}
#tp-home .tp-art .r{fill:var(--crimson)}
#tp-home .tp-art .k{fill:#2B2724}
#tp-home .tp-art .n{fill:var(--night)}
#tp-home .tp-art .e{fill:#2A9D5C}
#tp-home .tp-art .s{fill:var(--sh)}
#tp-home .tp-art .l{fill:none;stroke-linecap:round;stroke-linejoin:round}
#tp-home .tp-art .la{stroke:var(--a)}
#tp-home .tp-art .lb{stroke:var(--b)}
#tp-home .tp-art .lc{stroke:var(--c)}
#tp-home .tp-art .lw{stroke:var(--w)}
#tp-home .tp-art .lg{stroke:#EBBB45}
#tp-home .tp-art .lh{stroke:#BF8A1F}
#tp-home .tp-art .lk{stroke:#2B2724}
#tp-home .tp-art .lt{stroke:#3CC4B4}
#tp-home .tp-art .tx{font-family:var(--ui)!important;font-weight:800;text-anchor:middle}
#tp-home .tp-tool__icon{position:absolute;inset:0;display:grid;place-items:center;color:var(--a);font-size:40px}
#tp-home .tp-tool__text{display:flex;flex:1 1 auto;flex-direction:column;gap:5px;min-width:0;padding:14px 16px 17px}
#tp-home .tp-tool__name{font-family:var(--display)!important;font-weight:600!important;font-size:17px;line-height:1.22!important;letter-spacing:-.005em;color:var(--ink);text-wrap:balance}
#tp-home .tp-tool__desc{display:-webkit-box;overflow:hidden;font-size:13px;line-height:1.45!important;color:var(--muted);text-wrap:pretty;-webkit-line-clamp:3;-webkit-box-orient:vertical}
#tp-home .tp-tool__en{position:absolute;z-index:2;top:13px;inset-inline-end:13px;padding:2px 7px;border-radius:999px;background:rgba(255,255,255,.92);font-size:10.5px;font-weight:800;line-height:1.4!important;letter-spacing:.06em;color:var(--ink);box-shadow:0 2px 6px rgba(26,22,20,.12)}

/* Live figures: the night sky, a green dot and today's figure on a small tag at the foot of the drawing */
#tp-home .tp-tool--live{--a:#E2C15A;--b:#C9A227;--c:rgba(226,193,90,.13);--w:#F9F6EE;--sh:rgba(0,0,0,.35);border-color:transparent;background:var(--night)}
#tp-home .tp-tool--live .tp-tool__art::before{box-shadow:inset 0 1.5px 0 rgba(255,255,255,.95),inset 0 -2px 4px rgba(130,96,40,.16),0 6px 14px -6px rgba(0,0,0,.6)}
#tp-home .tp-tool--live .tp-tool__name{color:#fff}
#tp-home .tp-tool--live .tp-tool__desc{color:rgba(255,255,255,.68)}
#tp-home .tp-tool__dot{position:absolute;z-index:2;top:15px;inset-inline-start:15px;width:8px;height:8px;border-radius:50%;background:#3DDC84;box-shadow:0 0 0 2px #FFFCF5,0 0 0 4px rgba(61,220,132,.3)}
#tp-home .tp-tool__val{position:absolute;z-index:2;bottom:13px;inset-inline-start:13px;display:inline-flex;align-items:baseline;gap:6px;max-width:calc(100% - 20px);padding:3px 10px 4px;
  border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(10,19,33,.74);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 4px 14px rgba(0,0,0,.25)}
#tp-home .tp-tool__val[hidden]{display:none}
#tp-home .tp-tool__vk{min-width:0;overflow:hidden;font-size:11px;font-weight:700;line-height:1.3!important;white-space:nowrap;text-overflow:ellipsis;color:rgba(255,255,255,.74)}
#tp-home .tp-tool__vv{flex:none;font-family:var(--figure)!important;font-weight:700;font-size:15px;line-height:1.3!important;color:var(--gold-l);font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}

/* For Turks in Germany: two wide cards, the drawing beside the words */
#tp-home .tp-shelf__group--de .tp-tool{flex-direction:row}
#tp-home .tp-shelf__group--de .tp-tool__art{flex:0 0 46%;aspect-ratio:auto;min-height:150px}
#tp-home .tp-shelf__group--de .tp-tool__text{justify-content:center;padding:20px 24px}
#tp-home .tp-shelf__group--de .tp-tool__name{font-size:21px}
#tp-home .tp-shelf__group--de .tp-tool__desc{font-size:14px}

/* Each tool's colours */
#tp-home .tp-tool--rent{--a:#BD6446;--b:#E39073;--c:#F6DACD;--bg1:#FFF5EF;--bg2:#F8E0D4}
#tp-home .tp-tool--time-machine{--a:#6D3FA0;--b:#A47CD2;--c:#E6DAF5;--bg1:#F8F2FD;--bg2:#E9DDF7}
#tp-home .tp-tool--housing{--a:#16706D;--b:#46A9A3;--c:#CDECE8;--bg1:#EFFAF8;--bg2:#D4EEEA}
#tp-home .tp-tool--history{--a:#A06A22;--b:#D39F4B;--c:#F4E4C3;--bg1:#FDF7EA;--bg2:#F4E5C6}
#tp-home .tp-tool--economy{--a:#257346;--b:#58AC7B;--c:#D2EDDC;--bg1:#F0F9F3;--bg2:#D8EEDF}
#tp-home .tp-tool--calendar{--a:#C8102E;--b:#E8576B;--c:#F9D6DB;--bg1:#FFF2F4;--bg2:#F9DDE1}
#tp-home .tp-tool--journey{--a:#1F6F9F;--b:#4E9DCB;--c:#CFE5F3;--bg1:#F0F8FD;--bg2:#D7EAF6}
#tp-home .tp-tool--museums{--a:#93552A;--b:#C68753;--c:#F0DCC8;--bg1:#FCF5EC;--bg2:#F1E0CE}
#tp-home .tp-tool--meds{--a:#137565;--b:#3DB09B;--c:#CBEEE6;--bg1:#EEFAF7;--bg2:#D2EFE8}
#tp-home .tp-tool--donum{--a:#4C7625;--b:#83AF4C;--c:#DCEAC7;--bg1:#F4F9EC;--bg2:#DFEDCC}
#tp-home .tp-tool--tourism{--a:#2363AE;--b:#5B98DD;--c:#D3E3F7;--bg1:#F1F6FD;--bg2:#D9E7F9}
#tp-home .tp-tool--silayolu{--a:#B0651E;--b:#DE9650;--c:#F5DFC4;--bg1:#FEF6EA;--bg2:#F6E2C8}
#tp-home .tp-tool--vatandaslik{--a:#A3122A;--b:#D9485E;--c:#F5D3D9;--bg1:#FDF1F3;--bg2:#F6D9DE}

/* The "In English" badge on a destination photo */
#tp-home .tp-badge{position:absolute;top:18px;inset-inline-end:18px;padding:3px 9px;border:1px solid var(--line);border-radius:999px;background:var(--bg);font-size:11px;font-weight:800;line-height:1.4!important;letter-spacing:.04em;color:var(--muted)}

/* ---------- 7. Stories ---------- */
#tp-home .tp-stories{--focus:var(--gold-l);position:relative;isolation:isolate;padding-block:clamp(72px,9vw,124px);background:radial-gradient(ellipse 80% 60% at 85% 0%,rgba(201,162,39,.16),transparent 60%),radial-gradient(ellipse 70% 60% at 0% 100%,rgba(227,10,23,.14),transparent 60%),var(--night);color:#fff}
#tp-home .tp-stories::before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--lattice);background-size:80px 80px;opacity:.1}
#tp-home .tp-head--light .tp-h2{color:#fff}
#tp-home .tp-head--light .tp-head__sub{color:rgba(255,255,255,.74)}
#tp-home .tp-stories__grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);grid-auto-rows:auto;gap:20px}
#tp-home .tp-story--lead{grid-row:1/span 3}
#tp-home .tp-story>a{display:block;height:100%;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:var(--r-lg);background:rgba(255,255,255,.045);transition:background .3s,border-color .3s}
#tp-home .tp-story>a:hover{border-color:rgba(226,193,90,.45);background:rgba(255,255,255,.075)}
#tp-home .tp-story__media{position:relative;display:block;overflow:hidden;background:rgba(255,255,255,.06)}
#tp-home .tp-story__media img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
#tp-home .tp-story>a:hover .tp-story__media img{transform:scale(1.05)}
#tp-home .tp-story--lead .tp-story__media{aspect-ratio:16/10}
#tp-home .tp-story--lead .tp-story__text{padding:26px 28px 28px}
#tp-home .tp-story:not(.tp-story--lead)>a{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);align-items:center;gap:18px;padding:12px;padding-inline-end:18px}
#tp-home .tp-story:not(.tp-story--lead) .tp-story__media{aspect-ratio:4/3;border-radius:14px}
#tp-home .tp-story__cat{display:block;font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-l)}
#tp-home .tp-story__title{margin-top:6px;font-family:var(--display)!important;font-weight:600!important;font-size:22px;line-height:1.25!important;color:#fff;text-wrap:pretty}
#tp-home .tp-story--lead .tp-story__title{font-size:clamp(26px,2.6vw,36px);line-height:1.15!important;letter-spacing:-.01em}
#tp-home .tp-story__excerpt{display:-webkit-box;margin-top:12px;overflow:hidden;font-size:16px;line-height:1.6!important;color:rgba(255,255,255,.76);-webkit-line-clamp:3;-webkit-box-orient:vertical}
#tp-home .tp-story__meta{display:block;margin-top:10px;font-size:13px;font-weight:600;color:rgba(255,255,255,.6)}
#tp-home .tp-stories__more{display:flex;flex-wrap:wrap;gap:12px 32px;margin-top:36px}
#tp-home .tp-more--light{color:var(--gold-l);border-color:rgba(226,193,90,.35)}
#tp-home .tp-more--light:hover{border-color:var(--gold-l)}

/* ---------- 8. Editions, around the welcome ring ---------- */
#tp-home .tp-langs{position:relative;isolation:isolate;overflow:hidden;background:var(--cream)}
#tp-home .tp-langs::before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--lattice);background-size:80px 80px;background-position:50% 0;opacity:.3;
  -webkit-mask-image:radial-gradient(ellipse 44% 72% at 18% 50%,#000 0%,rgba(0,0,0,.45) 45%,transparent 80%);mask-image:radial-gradient(ellipse 44% 72% at 18% 50%,#000 0%,rgba(0,0,0,.45) 45%,transparent 80%)}
#tp-home[dir=rtl] .tp-langs::before{-webkit-mask-image:radial-gradient(ellipse 44% 72% at 82% 50%,#000 0%,rgba(0,0,0,.45) 45%,transparent 80%);mask-image:radial-gradient(ellipse 44% 72% at 82% 50%,#000 0%,rgba(0,0,0,.45) 45%,transparent 80%)}
#tp-home .tp-langs__inner{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);align-items:center;gap:clamp(40px,6vw,88px)}
#tp-home .tp-langs__main{min-width:0}
#tp-home .tp-langs .tp-head{margin-bottom:clamp(24px,3vw,36px)}

/* The crest: the logo as a medal inside a slowly turning ring of greetings */
#tp-home .tp-crest{position:relative;width:100%;max-width:400px;aspect-ratio:1;margin-inline:auto}
#tp-home .tp-crest__star{position:absolute;top:-11%;inset-inline-start:-11%;width:122%;height:122%;max-width:none;fill:rgba(201,162,39,.13);animation:tp-spin 240s linear infinite reverse}
#tp-home .tp-crest__ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#tp-home .tp-crest__rim{fill:none;stroke:var(--gold);stroke-width:1.5}
#tp-home .tp-crest__rim--in{stroke-width:2;stroke-dasharray:.5 7;stroke-linecap:round;opacity:.9}
#tp-home .tp-crest__text{font-family:var(--ui)!important;font-size:19px;font-weight:700;letter-spacing:.02em;fill:var(--ink)}
#tp-home .tp-ring__g{transition:fill .6s}
#tp-home .tp-ring__g:lang(ar),#tp-home .tp-ring__g:lang(fa),#tp-home .tp-ring__g:lang(he){letter-spacing:0}
#tp-home .tp-ring__g.is-on{fill:var(--crimson)}
#tp-home .tp-ring__sep{fill:var(--gold)}
#tp-home .tp-crest__spin{transform-box:view-box;transform-origin:50% 50%;transition:transform 1.4s var(--ease)}
#tp-home .tp-crest__pointer{fill:var(--crimson)}
#tp-home .tp-crest__medal{position:absolute;inset:11.43%;overflow:hidden;border-radius:50%;background:#fff;
  box-shadow:0 26px 64px rgba(184,8,19,.22),0 6px 18px rgba(26,22,20,.08),0 0 0 7px rgba(255,255,255,.6),0 0 0 8px rgba(201,162,39,.45)}
#tp-home .tp-crest__logo{width:100%;height:100%;object-fit:cover}

#tp-home .tp-langs__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#tp-home .tp-langs__grid>li{display:flex}
#tp-home .tp-lang{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:14px 16px;border:1px solid rgba(26,22,20,.08);border-radius:var(--r-md);background:#fff;transition:border-color .25s,box-shadow .25s,translate .25s var(--ease)}
#tp-home .tp-lang:hover{translate:0 -2px;border-color:rgba(227,10,23,.35);box-shadow:var(--shadow)}
#tp-home .tp-lang__greet{font-family:'TP Literata',Georgia,serif!important;font-weight:600;font-size:19px;line-height:1.25!important;color:var(--ink)}
#tp-home .tp-lang:lang(ar) .tp-lang__greet,#tp-home .tp-lang:lang(fa) .tp-lang__greet{font-family:'TP Naskh','Noto Naskh Arabic','Geeza Pro','Traditional Arabic',serif!important;font-weight:700;line-height:1.45!important}
#tp-home .tp-lang:lang(he) .tp-lang__greet{font-family:'TP Frank Ruhl','Frank Ruhl Libre','Times New Roman',serif!important}
#tp-home .tp-lang:lang(zh) .tp-lang__greet{font-family:'Songti SC','Noto Serif CJK SC','Source Han Serif SC','STSong',serif!important}
#tp-home .tp-lang__name{font-weight:800;font-size:14px;line-height:1.35!important;color:var(--body)}
#tp-home .tp-lang__count{font-size:12.5px;font-weight:600;color:var(--muted)}
#tp-home .tp-lang__here{margin-top:6px;padding:2px 9px;border-radius:999px;background:var(--crimson-d);font-size:10.5px;font-weight:800;line-height:1.5!important;letter-spacing:.05em;color:#fff}
#tp-home .tp-lang.is-here{border-color:var(--crimson);box-shadow:inset 0 0 0 1px var(--crimson);background:linear-gradient(180deg,#fff,var(--cream))}

/* ---------- 9. Sources ---------- */
#tp-home .tp-trust{padding-block:clamp(48px,6vw,80px);border-top:1px solid var(--line);background:var(--paper)}
#tp-home .tp-trust__inner{display:grid;grid-template-columns:minmax(0,1.1fr) repeat(3,minmax(0,1fr));gap:clamp(24px,3vw,44px)}
#tp-home .tp-trust__head::before{content:"";display:block;width:22px;height:22px;margin-bottom:16px;background:var(--star) center/contain no-repeat}
#tp-home .tp-trust__title{font-family:var(--display)!important;font-weight:600!important;font-size:clamp(24px,2.2vw,30px);line-height:1.15!important;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
#tp-home .tp-trust__sub{margin-top:10px;font-size:15px;line-height:1.55!important;color:var(--muted);text-wrap:pretty}
#tp-home .tp-trust__col{min-width:0}
#tp-home .tp-trust__h{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-weight:800!important;font-size:14.5px;line-height:1.3!important;color:var(--ink)}
#tp-home .tp-trust__h .tp-i{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:rgba(227,10,23,.08);color:var(--crimson-d);font-size:13px}
#tp-home .tp-press{display:flex;flex-wrap:wrap;gap:8px}
#tp-home .tp-press a{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border:1px solid var(--line);border-radius:12px;background:var(--bg);font-family:'TP Literata',Georgia,serif!important;font-weight:700;font-size:16px;line-height:1.2!important;color:var(--ink);transition:border-color .2s,color .2s,background .2s}
#tp-home .tp-press a:hover{border-color:var(--crimson);background:#fff;color:var(--crimson-d)}
#tp-home .tp-trust__list li{padding-block:8px;border-top:1px solid var(--line);font-size:14px;font-weight:600;line-height:1.45!important;color:var(--body)}
#tp-home .tp-trust__list li:first-child{padding-top:0;border-top:0}
#tp-home .tp-trust__list a{color:var(--crimson-d);font-weight:800;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
#tp-home .tp-trust__list a:hover{text-decoration-thickness:2px}

/* ---------- 10. Developers ---------- */
#tp-home .tp-dev{--focus:var(--gold-l);position:relative;isolation:isolate;overflow:hidden;padding-block:clamp(52px,6vw,84px);background:var(--ink);color:#fff}
#tp-home .tp-dev::before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--lattice);background-size:80px 80px;opacity:.07;-webkit-mask-image:linear-gradient(90deg,transparent,#000 70%);mask-image:linear-gradient(90deg,transparent,#000 70%)}
#tp-home[dir=rtl] .tp-dev::before{-webkit-mask-image:linear-gradient(270deg,transparent,#000 70%);mask-image:linear-gradient(270deg,transparent,#000 70%)}
#tp-home .tp-dev__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px 48px}
#tp-home .tp-dev__copy{flex:1 1 460px;min-width:0}
#tp-home .tp-dev__h{display:flex;align-items:center;gap:14px;font-family:var(--display)!important;font-weight:600!important;font-size:clamp(26px,3vw,38px);line-height:1.15!important;color:#fff;text-wrap:balance}
#tp-home .tp-dev__h .tp-i{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:rgba(226,193,90,.14);color:var(--gold-l);font-size:18px}
#tp-home .tp-dev__p{max-width:44em;margin-top:12px;font-size:16.5px;color:rgba(255,255,255,.74)}
#tp-home .tp-dev__actions{display:flex;flex-wrap:wrap;gap:12px}
#tp-home .tp-btn{display:inline-flex;align-items:center;gap:10px;height:52px;padding-inline:24px;border-radius:999px;font-weight:800;font-size:15.5px;white-space:nowrap;transition:background .2s,border-color .2s,color .2s}
#tp-home .tp-btn .tp-i{font-size:12px}
#tp-home .tp-btn--light{background:#fff;color:var(--ink)}
#tp-home .tp-btn--light:hover{background:var(--gold-l);color:var(--ink)}
#tp-home .tp-btn--ghost{border:1px solid rgba(255,255,255,.32);color:#fff}
#tp-home .tp-btn--ghost:hover{border-color:#fff;color:#fff}
#tp-home .tp-gh{width:18px;height:18px;fill:currentColor}

/* Arabic, Persian and Hebrew: no tracking or capitals on small labels, taller lines */
#tp-home:is(.tp-lang-ar,.tp-lang-fa,.tp-lang-he) :is(.tp-eyebrow,.tp-now__zone,.tp-city__label,.tp-read__cat,.tp-story__cat,.tp-lang__here,.tp-badge,.tp-fx__code,.tp-quake__label,.tp-fuel__cities thead th){letter-spacing:0}
#tp-home:is(.tp-lang-ar,.tp-lang-fa) :is(.tp-h2,.tp-place__name,.tp-topic__name,.tp-read__title,.tp-story__title,.tp-dev__h,.tp-trust__title){font-weight:700!important;line-height:1.4!important;letter-spacing:0}
#tp-home:is(.tp-lang-ar,.tp-lang-fa) :is(.tp-eyebrow,.tp-now__zone,.tp-city__label,.tp-read__cat,.tp-story__cat){font-size:13.5px}
#tp-home.tp-lang-zh-hans :is(.tp-eyebrow,.tp-now__zone,.tp-city__label,.tp-read__cat,.tp-story__cat){letter-spacing:.06em}

/* AdSense auto ads may land inside the grids; give them the full row */
#tp-home .google-auto-placed{grid-column:1/-1;width:100%;margin-block:24px}

/* Scroll reveal: only when the script is running and motion is welcome */
#tp-home.tp-anim .tp-rise{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease) var(--rd,0s),transform .7s var(--ease) var(--rd,0s),translate .35s var(--ease),box-shadow .35s var(--ease),border-color .3s}
#tp-home.tp-anim .tp-rise.is-in{opacity:1;transform:none}

@keyframes tp-spin{to{transform:rotate(360deg)}}
@keyframes tp-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
@keyframes tp-twinkle{from{opacity:.25}to{opacity:1}}
@keyframes tp-drift{from{transform:translateX(-30px)}to{transform:translateX(30px)}}
@keyframes tp-ping{0%{transform:scale(1);opacity:.85}100%{transform:scale(3.2);opacity:0}}
@keyframes tp-pulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(2.4);opacity:0}}
@keyframes tp-kenburns{from{transform:scale(1)}to{transform:scale(1.08)}}

/* ---------- Responsive ---------- */
@media (max-width:1239px){
  #tp-home .tp-topics__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #tp-home .tp-topic__main{aspect-ratio:4/3}
  #tp-home .tp-langs__inner{grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:44px}
  #tp-home .tp-lang{padding:12px 14px}
  #tp-home .tp-lang__greet{font-size:17px}
  /* The side stories get narrow here: a smaller picture and headline, held to three lines */
  #tp-home .tp-story:not(.tp-story--lead)>a{grid-template-columns:minmax(0,34%) minmax(0,1fr);gap:16px}
  #tp-home .tp-story:not(.tp-story--lead) .tp-story__title{display:-webkit-box;overflow:hidden;font-size:19px;-webkit-line-clamp:3;-webkit-box-orient:vertical}
}
@media (max-width:1140px){
  /* Below about 1135px a 7/12 quake card stacks its map over the list and leaves the prayer card half empty */
  #tp-home .tp-now__grid>.tp-card--prayer,#tp-home .tp-now__grid>.tp-card--quake{grid-column:1/-1}
  /* Tool cards three to a row */
  #tp-home .tp-shelf__list{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1023px){
  #tp-home .tp-hero__shade,#tp-home[dir=rtl] .tp-hero__shade{background:linear-gradient(180deg,rgba(8,12,22,.52) 0%,rgba(8,12,22,.42) 34%,rgba(8,12,22,.52) 64%,rgba(8,12,22,.86) 100%)}
  #tp-home .tp-dest__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:clamp(220px,30vw,290px)}
  #tp-home .tp-dest__item:nth-child(1){grid-row:span 1}
  #tp-home .tp-dest__item:first-child .tp-place__name{font-size:clamp(28px,4vw,36px)}
  #tp-home .tp-topic__main{aspect-ratio:1}
  #tp-home .tp-reads__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  #tp-home .tp-langs__inner{grid-template-columns:minmax(0,1fr);gap:clamp(28px,5vw,44px)}
  #tp-home .tp-crest{width:min(76vw,340px)}
  #tp-home .tp-langs::before,#tp-home[dir=rtl] .tp-langs::before{-webkit-mask-image:radial-gradient(ellipse 70% 36% at 50% 16%,#000 0%,rgba(0,0,0,.4) 45%,transparent 80%);mask-image:radial-gradient(ellipse 70% 36% at 50% 16%,#000 0%,rgba(0,0,0,.4) 45%,transparent 80%)}
  #tp-home .tp-trust__inner{grid-template-columns:repeat(3,minmax(0,1fr))}
  #tp-home .tp-trust__head{grid-column:1/-1;max-width:640px}
  #tp-home .tp-now__head{grid-template-columns:minmax(0,1fr) auto}
  #tp-home .tp-now__intro{grid-column:1/-1}
  #tp-home .tp-now__when{order:2;text-align:end}
  #tp-home .tp-now__hijri{display:block}
  #tp-home .tp-now__hijri:not(:empty)::before{content:none}
  #tp-home .tp-city{order:1;max-width:360px}
}
@media (max-width:960px){
  #tp-home .tp-now__grid>.tp-card--prayer,#tp-home .tp-now__grid>.tp-card--quake,#tp-home .tp-now__grid>.tp-card--fx{grid-column:1/-1}
  #tp-home .tp-card--gold,#tp-home .tp-card--fuel{grid-column:span 6}
  #tp-home .tp-stories__grid{grid-template-columns:minmax(0,1fr)}
  #tp-home .tp-story--lead{grid-row:auto}
}
@media (max-width:800px){
  #tp-home .tp-trust__inner{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:640px){
  #tp-home .tp-hero{padding-top:calc(80px + 28px);padding-bottom:16px}
  #tp-home .tp-hero__inner{gap:32px}
  #tp-home .tp-eyebrow{margin-bottom:20px;font-size:11.5px;letter-spacing:.1em}
  #tp-home .tp-hero__lede{margin-top:18px}
  #tp-home .tp-search{height:58px;margin-top:24px;padding-inline-start:46px}
  #tp-home .tp-search__icon{inset-inline-start:19px;font-size:16px}
  #tp-home .tp-search__input{font-size:16px}
  #tp-home .tp-search__btn{padding-inline:18px;font-size:15px}
  #tp-home .tp-hero__foot{align-items:stretch}
  #tp-home .tp-stats{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  #tp-home .tp-stats li{padding:12px 16px}
  #tp-home .tp-stats li:nth-child(odd){border-inline-start:0}
  #tp-home .tp-stats li:nth-child(n+3){border-top:1px solid rgba(255,255,255,.14)}
  #tp-home .tp-hero__ctrl{width:100%}
  #tp-home .tp-hero__cap{flex:1 1 auto}

  #tp-home .tp-dest__grid{grid-auto-rows:auto;gap:10px}
  #tp-home .tp-place{aspect-ratio:4/5}
  #tp-home .tp-dest__item:nth-child(-n+2) .tp-place{aspect-ratio:16/11}
  #tp-home .tp-place__text{padding:14px}
  #tp-home .tp-dest__item:nth-child(-n+2) .tp-place__text{padding-inline-end:58px}
  #tp-home .tp-place__name{font-size:19px}
  #tp-home .tp-dest__item:first-child .tp-place__name{font-size:28px}
  #tp-home .tp-place__guide,#tp-home .tp-dest__item:first-child .tp-place__guide{font-size:12.5px}
  #tp-home .tp-place__map{top:10px;inset-inline-end:10px;width:76px;padding:4px 6px;border-radius:10px}
  #tp-home .tp-dest__item:nth-child(n+3) :is(.tp-place__map,.tp-place__go){display:none}
  #tp-home .tp-place .tp-badge{top:10px;inset-inline-start:10px}
  #tp-home .tp-place__go{bottom:14px;inset-inline-end:12px;width:34px;height:34px}

  #tp-home .tp-now__head{grid-template-columns:minmax(0,1fr);gap:18px}
  #tp-home .tp-now__when{order:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;text-align:start}
  #tp-home .tp-now__zone{flex-basis:100%}
  #tp-home .tp-clock{margin-top:0}
  #tp-home .tp-now__date{margin-top:0}
  #tp-home .tp-city{order:0;max-width:none}
  #tp-home .tp-now__grid{gap:14px}
  #tp-home .tp-card--gold,#tp-home .tp-card--fuel{grid-column:1/-1}
  #tp-home .tp-card{padding:18px 16px 14px;border-radius:18px}

  #tp-home .tp-topics__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #tp-home .tp-topic__main{aspect-ratio:3/4;padding:14px}
  #tp-home .tp-topic__icon{top:12px;inset-inline-start:12px;width:36px;height:36px;border-radius:11px;font-size:15px}
  #tp-home .tp-topic__count{margin-bottom:8px;font-size:11.5px}
  #tp-home .tp-topic__name{font-size:19px}
  #tp-home .tp-topic__desc{font-size:12.5px;-webkit-line-clamp:2}

  /* Most read becomes a row to swipe through */
  #tp-home .tp-reads__list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
    margin-inline:calc(-1*var(--gut));padding:6px var(--gut) 20px;scroll-padding-inline:var(--gut);scrollbar-width:none}
  #tp-home .tp-reads__list::-webkit-scrollbar{display:none}
  #tp-home .tp-read{scroll-snap-align:start}
  #tp-home.tp-anim .tp-read.tp-rise{opacity:1;transform:none}

  /* Each tool group becomes a row to swipe through, like Most read */
  #tp-home .tp-shelf__list,#tp-home .tp-shelf__group--de .tp-shelf__list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(72%,270px);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;margin-inline:calc(-1*var(--gut));padding:4px var(--gut) 16px;scroll-padding-inline:var(--gut);scrollbar-width:none}
  #tp-home .tp-shelf__list::-webkit-scrollbar{display:none}
  #tp-home .tp-shelf__list>li{scroll-snap-align:start}
  #tp-home.tp-anim .tp-shelf__list>.tp-rise{opacity:1;transform:none}
  #tp-home .tp-shelf__head{margin-bottom:12px}
  #tp-home .tp-shelf__group--de .tp-tool{flex-direction:column}
  #tp-home .tp-shelf__group--de .tp-tool__art{flex:none;aspect-ratio:5/3;min-height:0}
  #tp-home .tp-shelf__group--de .tp-tool__text{justify-content:flex-start;padding:14px 16px 17px}
  #tp-home .tp-shelf__group--de .tp-tool__name{font-size:17px}
  #tp-home .tp-shelf__group--de .tp-tool__desc{font-size:13px}

  #tp-home .tp-story:not(.tp-story--lead)>a{grid-template-columns:110px minmax(0,1fr);gap:14px}
  #tp-home .tp-story--lead .tp-story__text{padding:20px}
  #tp-home .tp-story__title{font-size:19px}

  #tp-home .tp-langs__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #tp-home .tp-lang{padding:12px 14px}
  #tp-home .tp-lang__greet{font-size:18px}

  #tp-home .tp-dev__actions{width:100%}
  #tp-home .tp-btn{flex:1 1 auto;justify-content:center}
}
@media (max-width:380px){
  #tp-home .tp-search__btn{padding-inline:14px}
}

@media (prefers-reduced-motion:reduce){
  #tp-home *,#tp-home *::before,#tp-home *::after{animation:none!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
}
@media (forced-colors:active){
  #tp-home .tp-card,#tp-home .tp-topic__main,#tp-home .tp-tool,#tp-home .tp-lang,#tp-home .tp-search,#tp-home .tp-place,#tp-home .tp-read__link,#tp-home .tp-stats,#tp-home .tp-hero__ctrl{border:1px solid CanvasText}
  #tp-home .tp-hero__dot::before{background:CanvasText}
  #tp-home .tp-hero__dot[aria-current=true]::before{background:Highlight}
}
