
:root{
  --bg:#f6f2ea;
  --bg-alt:#efe6d7;
  --panel:#ffffff;
  --panel-2:#faf8f3;
  --text:#152129;
  --muted:#556575;
  --line:#ddd4c5;
  --brand:#244a41;
  --brand-dark:#18312b;
  --accent:#b88a55;
  --shadow:0 14px 34px rgba(18,31,28,.09);
  --shadow-soft:0 8px 22px rgba(18,31,28,.07);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:linear-gradient(180deg,var(--bg),#fcfbf8 28%,var(--bg));color:var(--text);line-height:1.72}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1240px;margin:0 auto;padding:0 22px}
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;background:rgba(248,245,239,.96);backdrop-filter:blur(14px);border-bottom:1px solid rgba(36,74,65,.10);transition:transform .28s ease,box-shadow .2s ease}
.site-header.nav-hidden{transform:translateY(-110%)}
body.has-fixed-header main{padding-top:92px}
.nav-shell{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 22px}
.brand{display:flex;align-items:center;gap:12px;color:var(--text);text-decoration:none}
.brand strong{display:block;font-size:1.05rem}
.brand small{display:block;color:var(--muted);font-size:.78rem}
.brand-mark{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,var(--brand),var(--brand-dark));display:grid;place-items:center;color:#fff;font-weight:800;font-size:1.2rem;box-shadow:var(--shadow-soft)}
.main-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.main-nav a{padding:10px 14px;border-radius:999px;color:var(--text);font-size:.95rem;transition:background .18s,color .18s,box-shadow .18s}
.main-nav a:hover,.main-nav a:focus-visible{background:#ffffff;color:var(--brand-dark);box-shadow:0 6px 18px rgba(0,0,0,.05)}
.nav-toggle{display:none;border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:999px;font-weight:700;color:var(--text)}
.page-section{padding:34px 0}
.hero-panel,.category-hero,.article-hero{position:relative;overflow:hidden;border-radius:var(--radius-xl);padding:44px;color:#fff;box-shadow:var(--shadow)}
.hero-panel{min-height:520px;display:grid;grid-template-columns:1.15fr .85fr;align-items:end;gap:24px}
.hero-media,.category-hero-media,.article-hero-media{position:absolute;inset:0;background-size:cover;background-position:center center;z-index:0;transform:scale(1.02)}
.hero-panel::before,.category-hero::before,.article-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,25,22,.82),rgba(14,25,22,.64) 36%,rgba(14,25,22,.42) 60%,rgba(14,25,22,.35));z-index:0}
.hero-panel > *, .category-hero > *, .article-hero > *{position:relative;z-index:1}
.hero-content{max-width:720px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(18,28,25,.46);border:1px solid rgba(255,255,255,.22);font-size:.86rem;letter-spacing:.02em;text-transform:uppercase;margin-bottom:18px;color:#fff}
.hero-panel h1,.article-hero h1,.category-hero h1{font-size:clamp(2.2rem,4.6vw,4.6rem);line-height:1.04;margin:0 0 16px;font-weight:800;max-width:850px;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.18)}
.hero-panel p,.article-hero p,.category-hero p{font-size:1.08rem;max-width:760px;color:rgba(255,255,255,.96);margin:0 0 18px;text-shadow:0 1px 6px rgba(0,0,0,.2)}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:24px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:999px;font-weight:800;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease,background .2s ease,color .2s ease}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:#1f4038;color:#fff;box-shadow:0 10px 24px rgba(0,0,0,.22)}
.btn-primary:hover{background:#18352e;color:#fff}
.btn-secondary{background:rgba(18,28,25,.44);border-color:rgba(255,255,255,.26);color:#fff}
.btn-secondary:hover{background:rgba(18,28,25,.66);color:#fff}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-self:end}
.stat-card{background:rgba(17,28,24,.46);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.18);border-radius:24px;padding:18px}
.stat-card strong{display:block;font-size:1.7rem;line-height:1.1;margin-bottom:4px;color:#fff}
.stat-card span{font-size:.92rem;color:rgba(255,255,255,.9)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:18px}
.section-head h2{font-size:2rem;line-height:1.1;margin:0}
.section-head p{margin:0;color:var(--muted);max-width:700px}
.category-grid,.article-grid,.article-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.category-card,.story-card,.info-card,.sidebar-card,.article-card{background:var(--panel);border:1px solid rgba(36,74,65,.08);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}
.category-card:hover,.story-card:hover,.article-card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(18,31,28,.12)}
.category-card,.story-card,.article-card{transition:transform .18s ease,box-shadow .18s ease}
.card-media{aspect-ratio:1/1;background:#ddd;overflow:hidden}
.home-grid .card-media{aspect-ratio:16/10}
.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.card-link:hover img,.card-media-link:hover img{transform:scale(1.03)}
.card-body{padding:22px}
.card-kicker{display:inline-block;padding:7px 11px;border-radius:999px;background:#f1ece2;color:#52615c;font-size:.82rem;margin-bottom:14px}
.card-body h3{margin:0 0 10px;font-size:1.35rem;line-height:1.24}
.card-body h3 a{color:var(--text)}
.card-body p{margin:0;color:var(--muted)}
.card-footer{padding:0 22px 22px}
.link-arrow{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--brand)}
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.info-card{padding:24px;background:linear-gradient(180deg,#fff,#f8f5ef)}
.info-card h3{margin:0 0 12px;font-size:1.16rem}
.info-card p{margin:0;color:var(--muted)}
.adslot{min-height:110px;border:2px dashed #c4cec8;border-radius:20px;background:linear-gradient(180deg,#f9f8f4,#f2eee5);color:#4b5a57;display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;font-size:.94rem}
.adslot strong{color:var(--brand-dark)}
.adslot.small{min-height:90px}
.category-hero,.article-hero{min-height:360px;display:flex;align-items:end}
.category-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.meta-pill{display:inline-flex;align-items:center;padding:10px 14px;border-radius:999px;background:rgba(18,28,25,.44);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:.92rem}
.article-layout{display:grid;grid-template-columns:minmax(0, 2fr) minmax(280px, .92fr);gap:28px;align-items:start}
.article-shell{background:#fff;border:1px solid rgba(36,74,65,.08);border-radius:var(--radius-xl);box-shadow:var(--shadow);padding:34px}
.article-shell h2{font-size:1.7rem;line-height:1.15;margin:32px 0 14px}
.article-shell p{margin:0 0 16px}
.lead{font-size:1.14rem;color:#31433e}
.quick-box{display:grid;gap:10px;padding:22px;border-radius:24px;background:linear-gradient(135deg,#eef5f1,#f9f6ef);border:1px solid #dde7e2;margin:22px 0}
.quick-box strong{color:var(--brand)}
.checklist{margin:0;padding-left:22px}
.checklist li{margin:8px 0}
.warn{padding:18px 20px;border-radius:18px;background:#fff7ea;border:1px solid #ecd3a2;color:#6a5330}
.taglist{display:flex;flex-wrap:wrap;gap:10px}
.tag{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#eef1ec;color:#44524c;font-size:.9rem}
.sidebar-stack{display:grid;gap:18px;position:sticky;top:108px}
.sidebar-card{padding:22px}
.sidebar-card h3{margin:0 0 10px;font-size:1.2rem}
.sidebar-card p{margin:0 0 12px;color:var(--muted)}
.category-mini{display:flex;gap:14px;align-items:center;padding:14px;border-radius:18px;background:#faf8f3;border:1px solid var(--line)}
.category-mini img{width:92px;height:72px;object-fit:cover;border-radius:14px}
.story-card .card-body h3,.article-card .card-body h3{font-size:1.18rem}
.story-card .card-footer,.article-card .card-footer{padding:0 22px 22px}
.article-list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.muted{color:var(--muted)}
.site-footer{margin-top:40px;padding:34px 0 46px;border-top:1px solid rgba(36,74,65,.08)}
.footer-inner{display:grid;grid-template-columns:1.4fr 1fr auto;gap:20px;align-items:start}
.footer-inner p{margin:8px 0 0;color:var(--muted)}
.footer-links{display:flex;flex-direction:column;gap:10px}
.footer-copy{white-space:nowrap;color:var(--muted)}
.simple-page{padding:34px 0 50px}
.simple-page .article-shell{max-width:900px;margin:0 auto}
.anchor-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}
.anchor-links a{padding:10px 14px;border-radius:999px;background:rgba(18,28,25,.42);border:1px solid rgba(255,255,255,.24);color:#fff;font-weight:700}
.anchor-links a:hover{background:rgba(18,28,25,.7)}
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:55;width:54px;height:54px;border:none;border-radius:50%;background:var(--brand);color:#fff;box-shadow:0 14px 26px rgba(0,0,0,.18);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.3rem;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{background:var(--brand-dark)}
@media (max-width: 1080px){
  .hero-panel,.article-layout,.footer-inner{grid-template-columns:1fr}
  .hero-stats,.category-grid,.features,.article-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-list-grid{grid-template-columns:1fr}
  .sidebar-stack{position:static}
}
@media (max-width: 820px){
  .main-nav{display:none;position:absolute;left:16px;right:16px;top:74px;background:rgba(255,255,255,.99);padding:16px;border-radius:24px;box-shadow:var(--shadow);border:1px solid var(--line)}
  .main-nav.open{display:flex;flex-direction:column;align-items:stretch}
  .main-nav a{padding:12px 14px;background:#f8f5ef;border-radius:14px}
  .nav-toggle{display:inline-flex}
  .hero-panel,.category-hero,.article-hero{padding:28px;min-height:unset}
  .hero-panel h1,.article-hero h1,.category-hero h1{font-size:2.4rem}
  .hero-stats,.category-grid,.article-grid,.features,.article-links{grid-template-columns:1fr}
  .section-head{display:block}
  .wrap{padding:0 16px}
  .nav-shell{padding:12px 16px}
  .article-shell{padding:24px}
  .back-to-top{right:16px;bottom:16px}
}

/* Article headline images */
.article-thumb img{
  width:220px;
  height:220px;
  object-fit:cover;
}
.article-hero-media{
  background-position:center center;
}

/* Hide old placeholder ad boxes */
.adslot{display:none!important;}


/* YapAiKi article images, share buttons and likes */
.article-thumb img{width:220px;height:220px;object-fit:cover;border-radius:28px;border:1px solid #ddd4c5;box-shadow:0 10px 26px rgba(18,31,28,.12);background:#fff}
.article-image-link{display:inline-block}
.share-like-box{margin-top:34px;padding:24px;border-radius:24px;background:linear-gradient(135deg,#f8f5ef,#ffffff);border:1px solid rgba(36,74,65,.12);box-shadow:0 10px 26px rgba(18,31,28,.07)}
.share-like-box h2{margin:0 0 8px;font-size:1.45rem}
.share-intro{color:var(--muted);margin:0 0 16px}
.share-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.share-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;border:1px solid rgba(36,74,65,.16);background:#fff;color:#18312b;font-weight:800;cursor:pointer;font-size:.92rem}
.share-btn:hover{background:#244a41;color:#fff;text-decoration:none}
.share-btn.story{background:#f2dfa7}
.like-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;border-top:1px solid rgba(36,74,65,.10);padding-top:16px;margin-top:16px}
.like-button{border:none;border-radius:999px;background:#244a41;color:#fff;font-weight:800;padding:12px 18px;cursor:pointer}
.like-button.liked{background:#b88a55}
.like-note{font-size:.88rem;color:var(--muted)}
.card-media a{display:block;width:100%;height:100%}
.card-media img{width:100%;height:100%;object-fit:cover}
@media(max-width:720px){.share-btn{width:100%}.article-thumb img{width:180px;height:180px}}


/* ===== YapAiKi layout cleanup ===== */
:root{
  --radius-xl: 0px !important;
  --radius-lg: 0px !important;
  --radius-md: 0px !important;
  --radius-sm: 0px !important;
}
*{
  border-radius: 0 !important;
}
.hero-card,
.story-card,
.article-card,
.article-thumb img,
.share-like-box,
.share-btn,
.like-button,
.menu-panel,
.header,
.nav-shell,
.card-media img,
.category-tile,
figure,
img{
  border-radius: 0 !important;
}
.home-hero,
.hero-section,
.hero-card,
.hero-copy,
.hero-cta,
.hero-panel{
  display: none !important;
}
.category-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;
}
.category-tile{
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
.category-tile a{
  display:block;
  color:inherit;
  text-decoration:none;
}
.category-tile img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}
.category-tile .cat-caption{
  padding:12px 14px;
  font-weight:800;
  font-size:1rem;
  background:#fff;
  color:#18312b;
}


/* YapAiKi cleanup: no visible prompt/placeholder text, real ad containers */
.yapaiki-ad-wrap{
  display:block;
  width:100%;
  min-height:90px;
  margin:26px 0;
  background:transparent;
  border:none;
  padding:0;
}
.yapaiki-ad-wrap ins.adsbygoogle{
  min-height:90px;
}
.ad-sidebar-card{
  background:transparent !important;
  box-shadow:none !important;
  border:none !important;
  padding:0 !important;
}
.site-footer p{
  max-width:480px;
}


/* YapAiKi legal pages and cookie consent */
.legal-card{
  background:#fff;
  border:1px solid rgba(36,74,65,.12);
  padding:34px;
  max-width:980px;
  margin:0 auto;
  line-height:1.75;
}
.legal-card h1{margin-top:0}
.legal-card h2{margin-top:30px}
.legal-card p{color:#34424c}
.legal-note{
  margin-top:28px;
  padding:14px 16px;
  background:#fff8df;
  border-left:4px solid #b88a55;
}
.legal-placeholder{
  background:#fff3cd;
  padding:2px 6px;
  font-weight:700;
}
.footer-button-link{
  background:none;
  border:none;
  padding:0;
  color:var(--brand);
  font:inherit;
  cursor:pointer;
  text-align:left;
}
.footer-button-link:hover{text-decoration:underline}
.cookie-banner{
  position:fixed;
  inset:auto 16px 16px 16px;
  z-index:9999;
  display:flex;
  justify-content:center;
}
.cookie-box{
  width:min(760px,100%);
  background:#ffffff;
  color:#152129;
  border:1px solid rgba(36,74,65,.18);
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  padding:22px;
}
.cookie-box h2{margin:0 0 8px}
.cookie-box p{margin:0 0 14px;color:#556575}
.cookie-options{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:12px 0 16px;
}
.cookie-options label{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
}
.cookie-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.cookie-actions button{
  border:1px solid rgba(36,74,65,.18);
  background:#244a41;
  color:#fff;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
}
.cookie-actions .cookie-reject,
.cookie-actions .cookie-save{
  background:#fff;
  color:#244a41;
}
.cookie-small{font-size:.9rem;margin-top:12px!important}
@media(max-width:640px){
  .legal-card{padding:22px}
  .cookie-actions button{width:100%}
}


/* ===== YapAiKi production cleanup ===== */

/* Bilder direkt sichtbar, keine schwarzen Prompt-/Hero-Overlays */
.hero-panel,
.category-hero,
.article-hero{
  display:block !important;
  padding:0 !important;
  overflow:hidden !important;
  color:#152129 !important;
  background:#ffffff !important;
  box-shadow:none !important;
  border:1px solid rgba(36,74,65,.10) !important;
}
.hero-panel::before,
.category-hero::before,
.article-hero::before{
  display:none !important;
  content:none !important;
}
.hero-media,
.category-hero-media,
.article-hero-media{
  position:relative !important;
  inset:auto !important;
  z-index:auto !important;
  display:block !important;
  width:100% !important;
  aspect-ratio:1/1 !important;
  min-height:0 !important;
  height:auto !important;
  background-size:cover !important;
  background-position:center center !important;
  transform:none !important;
}
.hero-panel > div:not(.hero-media),
.category-hero > div:not(.category-hero-media),
.article-hero > div:not(.article-hero-media){
  position:relative !important;
  z-index:auto !important;
  padding:24px !important;
  background:#fff !important;
  color:#152129 !important;
}
.category-hero h1,
.article-hero h1,
.hero-panel h1{
  color:#152129 !important;
  text-shadow:none !important;
}
.category-hero p,
.article-hero p,
.hero-panel p{
  color:#556575 !important;
  text-shadow:none !important;
}
.eyebrow,
.meta-pill,
.anchor-links a{
  background:#f6f2ea !important;
  color:#244a41 !important;
  border:1px solid rgba(36,74,65,.12) !important;
}
.article-card,
.story-card,
.info-card,
.sidebar-card,
.quick-box,
.warn,
.legal-card,
.category-tile{
  box-shadow:none !important;
}
.card-media{
  aspect-ratio:1/1 !important;
}
.card-media img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
.article-thumb img{
  width:100% !important;
  max-width:420px !important;
  height:auto !important;
  aspect-ratio:1/1 !important;
  object-fit:cover !important;
}
.site-footer{
  background:#f6f2ea !important;
}
.footer-button-link{
  background:none;
  border:0;
  padding:0;
  color:var(--brand);
  font:inherit;
  cursor:pointer;
  text-align:left;
}
.footer-button-link:hover{text-decoration:underline}

/* Cookie Banner */
.cookie-banner{
  position:fixed;
  inset:auto 16px 16px 16px;
  z-index:9999;
  display:flex;
  justify-content:center;
}
.cookie-box{
  width:min(760px,100%);
  background:#fff;
  color:#152129;
  border:1px solid rgba(36,74,65,.18);
  box-shadow:0 18px 50px rgba(0,0,0,.22);
  padding:22px;
}
.cookie-box h2{margin:0 0 8px}
.cookie-box p{margin:0 0 14px;color:#556575}
.cookie-options{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0 16px}
.cookie-options label{display:flex;gap:8px;align-items:center;font-weight:700}
.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}
.cookie-actions button{
  border:1px solid rgba(36,74,65,.18);
  background:#244a41;
  color:#fff;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
}
.cookie-actions .cookie-reject,
.cookie-actions .cookie-save{background:#fff;color:#244a41}
.legal-card{
  background:#fff;
  border:1px solid rgba(36,74,65,.12);
  padding:34px;
  max-width:980px;
  margin:0 auto;
  line-height:1.75;
}
.legal-card h1{margin-top:0}
.legal-card h2{margin-top:30px}
.legal-card p{color:#34424c}
@media(max-width:720px){
  .hero-panel > div:not(.hero-media),
  .category-hero > div:not(.category-hero-media),
  .article-hero > div:not(.article-hero-media){padding:20px !important}
  .legal-card{padding:22px}
  .cookie-actions button{width:100%}
}


/* ===== Clean Top 10 Homepage ===== */
.top-home{
  padding:44px 0 60px;
}
.top-home-head{
  max-width:880px;
  margin:0 auto 28px;
  text-align:center;
}
.top-home-head h1{
  font-size:clamp(2.2rem,5vw,4.4rem);
  line-height:1.05;
  margin:14px 0;
}
.top-home-head p{
  color:#556575;
  font-size:1.08rem;
}
.top-list{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  max-width:1080px;
  margin:0 auto;
}
.top-card{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:22px;
  background:#fff;
  border:1px solid rgba(36,74,65,.12);
  padding:16px;
}
.top-card-media{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  overflow:hidden;
}
.top-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.top-card-body h2{
  margin:6px 0 8px;
  font-size:1.45rem;
  line-height:1.2;
}
.top-card-body p{
  color:#556575;
  margin:0 0 12px;
}
.top-card-meta{
  display:inline-block;
  font-weight:800;
  color:#244a41;
  background:#f6f2ea;
  padding:6px 10px;
  border:1px solid rgba(36,74,65,.10);
}
.top-card-stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:10px 0 12px;
  color:#556575;
  font-size:.92rem;
}
@media(max-width:720px){
  .top-card{
    grid-template-columns:1fr;
  }
  .top-card-media{
    max-width:none;
  }
}


/* ===== YapAiKi image lightbox fix ===== */
.yapaiki-lightbox{
  position:fixed;
  inset:0;
  z-index:100000;
  background:rgba(0,0,0,.86);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}
.yapaiki-lightbox[hidden]{
  display:none!important;
}
.yapaiki-lightbox img{
  max-width:92vw;
  max-height:86vh;
  object-fit:contain;
  background:#fff;
}
.yapaiki-lightbox-close{
  position:fixed;
  top:16px;
  right:18px;
  width:46px;
  height:46px;
  border:0;
  background:#fff;
  color:#111;
  font-size:30px;
  line-height:46px;
  text-align:center;
  cursor:pointer;
  z-index:100001;
  font-weight:900;
}
.yapaiki-lightbox-hint{
  position:fixed;
  left:16px;
  bottom:14px;
  color:#fff;
  font-size:14px;
  opacity:.86;
}
body.yapaiki-lightbox-open{
  overflow:hidden;
}


/* ===== YapAiKi UI cleanup 2026-10-06 ===== */
/* cleaner header and homepage */
.site-header{
  background:rgba(250,247,241,.96);
  border-bottom:1px solid rgba(36,74,65,.10);
}
.nav-shell{
  max-width:1240px;
  margin:0 auto;
  gap:28px;
}
.brand{
  flex:0 0 auto;
  padding:8px 0;
}
.brand strong{
  font-size:1.15rem;
  letter-spacing:-0.01em;
}
.brand small{
  font-size:.84rem;
}
.brand-mark{
  width:50px;
  height:50px;
  border-radius:16px !important;
}
.main-nav{
  flex:1 1 auto;
  justify-content:flex-end;
  gap:8px 10px;
}
.main-nav a{
  padding:8px 10px;
  background:transparent;
  border-radius:12px !important;
  font-weight:500;
  font-size:.98rem;
  color:#23312e;
}
.main-nav a:hover,.main-nav a:focus-visible{
  background:#ffffff;
  color:var(--brand-dark);
  box-shadow:0 8px 18px rgba(0,0,0,.05);
}
.nav-toggle{
  border-radius:14px !important;
}

.top-home{
  padding:42px 0 58px;
}
.top-home-head{
  max-width:900px;
  margin:0 auto 26px;
  text-align:center;
}
.top-home-head h1{
  display:inline-block;
  margin:0;
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.06;
  color:#152129;
  background:transparent;
}
.top-list{
  gap:22px;
  max-width:1080px;
}
.top-card{
  grid-template-columns:240px 1fr;
  gap:24px;
  padding:18px;
  border:1px solid rgba(36,74,65,.10);
  background:#fff;
  box-shadow:0 12px 28px rgba(18,31,28,.06);
  border-radius:20px !important;
  align-items:start;
}
.top-card-media{
  border-radius:18px !important;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(18,31,28,.08);
}
.top-card-media img{
  aspect-ratio:1/1;
}
.top-card-body{
  padding-top:2px;
}
.top-card-body h2{
  margin:0 0 10px;
  font-size:clamp(1.5rem,2.2vw,2rem);
  line-height:1.15;
}
.top-card-body h2 a{
  color:#143029;
}
.top-card-body p{
  margin:0 0 14px;
  color:#5b6975;
  font-size:1.02rem;
}
.top-card-meta{display:none !important;}
.top-card-stats{
  margin:10px 0 14px;
  gap:14px;
  font-size:.95rem;
}
.top-card-stats span{
  display:inline-flex;
  align-items:center;
  padding:5px 0;
  color:#64727d;
}
.like-note{display:none !important;}
.share-like-box{
  border-radius:20px !important;
}
.share-btn,
.like-button,
.article-thumb img,
.category-tile,
.category-tile img,
.card-media img,
.card-media,
.article-shell,
.category-card,.story-card,.article-card,.info-card,.sidebar-card,
.quick-box,.warn,.nav-toggle,
.top-home-head,
.top-home-head h1{
  border-radius:18px;
}

@media (max-width: 980px){
  .nav-shell{gap:18px;}
  .main-nav a{font-size:.94rem;padding:8px 9px;}
  .top-card{grid-template-columns:220px 1fr;}
}
@media (max-width: 820px){
  .main-nav{
    justify-content:flex-start;
  }
  .main-nav a{
    background:#f8f5ef;
    border-radius:14px !important;
  }
}
@media (max-width: 720px){
  .brand strong{font-size:1.02rem;}
  .brand small{font-size:.78rem;}
  .top-home{padding:28px 0 44px;}
  .top-home-head{margin-bottom:20px;}
  .top-card{
    grid-template-columns:1fr;
    padding:16px;
    border-radius:18px !important;
  }
  .top-card-media{
    max-width:none;
    border-radius:16px !important;
  }
  .top-card-body h2{
    font-size:1.45rem;
  }
}


/* ===== Floating next article card ===== */
body.has-next-article-card .back-to-top{
  display:none!important;
}
.floating-next-article{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:70;
  width:min(360px, calc(100vw - 32px));
  display:grid;
  grid-template-columns:74px 1fr;
  gap:12px;
  align-items:center;
  background:#ffffff;
  border:1px solid rgba(36,74,65,.16);
  box-shadow:0 18px 44px rgba(18,31,28,.20);
  padding:10px;
  color:#152129;
  text-decoration:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease, box-shadow .18s ease;
  border-radius:18px!important;
}
.floating-next-article.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.floating-next-article:hover{
  text-decoration:none;
  box-shadow:0 22px 54px rgba(18,31,28,.26);
}
.floating-next-img{
  width:74px;
  height:74px;
  overflow:hidden;
  background:#f6f2ea;
  border-radius:14px!important;
}
.floating-next-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:14px!important;
}
.floating-next-text{
  min-width:0;
}
.floating-next-text small{
  display:block;
  font-size:.78rem;
  color:#244a41;
  font-weight:800;
  margin-bottom:2px;
}
.floating-next-text strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.95rem;
  line-height:1.25;
  color:#152129;
}
@media(max-width:720px){
  .floating-next-article{
    left:12px;
    right:12px;
    bottom:14px;
    width:auto;
    grid-template-columns:64px 1fr;
    padding:9px;
  }
  .floating-next-img{
    width:64px;
    height:64px;
  }
}


/* ===== Floating previous / next article cards ===== */
body.has-article-nav-cards .back-to-top,
body.has-article-nav-cards .floating-next-article{
  display:none!important;
}
.floating-article-nav{
  position:fixed;
  bottom:22px;
  z-index:70;
  width:min(340px, calc(50vw - 30px));
  display:grid;
  grid-template-columns:72px 1fr;
  gap:12px;
  align-items:center;
  background:#ffffff;
  border:1px solid rgba(36,74,65,.16);
  box-shadow:0 18px 44px rgba(18,31,28,.20);
  padding:10px;
  color:#152129;
  text-decoration:none;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease, box-shadow .18s ease;
  border-radius:18px!important;
}
.floating-article-nav.show{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.floating-article-nav:hover{
  text-decoration:none;
  box-shadow:0 22px 54px rgba(18,31,28,.26);
}
.floating-article-prev{
  left:22px;
}
.floating-article-next{
  right:22px;
}
.floating-nav-img{
  width:72px;
  height:72px;
  overflow:hidden;
  background:#f6f2ea;
  border-radius:14px!important;
}
.floating-nav-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:14px!important;
}
.floating-nav-text{
  min-width:0;
}
.floating-nav-text small{
  display:block;
  font-size:.78rem;
  color:#244a41;
  font-weight:800;
  margin-bottom:2px;
}
.floating-nav-text strong{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  font-size:.94rem;
  line-height:1.25;
  color:#152129;
}
@media(max-width:900px){
  .floating-article-nav{
    width:calc(50vw - 20px);
    grid-template-columns:58px 1fr;
    padding:8px;
    gap:9px;
  }
  .floating-nav-img{
    width:58px;
    height:58px;
  }
  .floating-nav-text strong{
    font-size:.86rem;
  }
}
@media(max-width:640px){
  .floating-article-nav{
    width:auto;
    max-width:none;
    left:12px;
    right:12px;
    grid-template-columns:54px 1fr;
  }
  .floating-article-prev{
    bottom:86px;
  }
  .floating-article-next{
    bottom:14px;
  }
  .floating-nav-img{
    width:54px;
    height:54px;
  }
}


/* ===== Mobile prev/next cards side by side ===== */
@media(max-width:640px){
  .floating-article-nav{
    width:calc(50% - 18px)!important;
    max-width:none!important;
    min-height:92px;
    grid-template-columns:46px 1fr!important;
    gap:8px!important;
    padding:8px!important;
    bottom:14px!important;
    align-items:center;
  }
  .floating-article-prev{
    left:12px!important;
    right:auto!important;
  }
  .floating-article-next{
    right:12px!important;
    left:auto!important;
  }
  .floating-nav-img{
    width:46px!important;
    height:64px!important;
  }
  .floating-nav-text small{
    font-size:.72rem!important;
    margin-bottom:3px!important;
  }
  .floating-nav-text strong{
    -webkit-line-clamp:3!important;
    font-size:.78rem!important;
    line-height:1.18!important;
  }
}

@media(max-width:390px){
  .floating-article-nav{
    width:calc(50% - 14px)!important;
    grid-template-columns:40px 1fr!important;
    gap:7px!important;
    padding:7px!important;
  }
  .floating-article-prev{
    left:10px!important;
  }
  .floating-article-next{
    right:10px!important;
  }
  .floating-nav-img{
    width:40px!important;
    height:58px!important;
  }
  .floating-nav-text strong{
    font-size:.74rem!important;
    line-height:1.16!important;
  }
}


/* ===== Prev/next cards hide before related/footer and sit higher ===== */
.floating-article-nav{
  bottom:70px!important;
}
@media(max-width:640px){
  .floating-article-nav{
    bottom:72px!important;
  }
  .floating-article-prev{
    left:12px!important;
    right:auto!important;
    bottom:72px!important;
  }
  .floating-article-next{
    right:12px!important;
    left:auto!important;
    bottom:72px!important;
  }
}
@media(max-width:390px){
  .floating-article-nav{
    bottom:68px!important;
  }
  .floating-article-prev{
    bottom:68px!important;
  }
  .floating-article-next{
    bottom:68px!important;
  }
}


/* ===== Hide broken views/likes display ===== */
.top-card-stats,
.view-stat,
.like-stat,
.like-row,
.like-button,
.like-note,
[data-views-for],
[data-likes-for]{
  display:none!important;
}


/* ===== Header logo icon ===== */
.brand-mark{
  overflow:hidden;
  background:#244a41!important;
  display:grid;
  place-items:center;
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
