/*
Theme Name: 4444bet বাংলা গাইড — Terracotta ZV6dUdtX
Theme URI: https://4444bet.beer/
Author: 4444bet বাংলা গাইড
Description: স্বতন্ত্র বাংলা ব্র্যান্ড গাইডের জন্য অর্গানিক সম্পাদকীয় থিম।
Version: 1.0.1
Text Domain: guide-terracotta-zv6dudtx
*/

:root {
  --paper:#f7f0e5;
  --surface:#fffdf8;
  --soft:#efe1d2;
  --forest:#314a43;
  --terracotta:#b95f45;
  --sage:#5f806f;
  --ochre:#d6a143;
  --ink:#302a26;
  --muted:#6b625c;
  --line:#d4c3b3;
  --info:#e8f0ea;
  --focus:#285a49;
  --wide:1180px;
  --reading:760px;
  --shadow:0 16px 38px rgba(80,50,35,.10);
  --radius:14px;
  --organic:32px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans Bengali","Nirmala UI","Vrinda","FreeSans",system-ui,sans-serif;font-size:18px;line-height:1.76;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto}
a{color:#7e3d2c;text-decoration-thickness:.09em;text-underline-offset:.18em}
a:hover{color:#58291d}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px;border-radius:6px}
.skip-link{position:fixed;left:16px;top:-100px;z-index:9999;background:var(--surface);color:var(--ink);padding:12px 18px;border:2px solid var(--focus);font-weight:700}
.skip-link:focus{top:16px}
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,253,248,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.header-inner{width:min(var(--wide),calc(100% - 40px));min-height:76px;margin:auto;display:flex;align-items:center;gap:24px}
.site-brand{display:flex;align-items:center;flex:0 0 auto}
.custom-logo-link{display:flex;align-items:center;min-height:48px}
.custom-logo{width:auto;height:52px;max-width:270px;object-fit:contain}
.brand-fallback{font-weight:800;font-size:1.05rem;text-decoration:none;color:var(--forest)}
.menu-toggle{display:none;margin-left:auto;min-width:48px;min-height:48px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--forest);font:inherit;font-weight:700;padding:8px 14px}
.primary-navigation{margin-left:auto}
.primary-navigation ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:4px}
.primary-navigation a{display:flex;align-items:center;min-height:48px;padding:9px 10px;border-radius:10px;color:var(--forest);font-size:.79rem;font-weight:700;text-decoration:none;white-space:nowrap}
.primary-navigation a:hover,.primary-navigation .current-menu-item>a{background:var(--soft);color:#6f321f}
.site-main{overflow:clip}
.content-shell{width:min(var(--wide),calc(100% - 40px));margin:0 auto;padding:58px 0 96px}
.article-body{max-width:var(--reading);margin-inline:auto}
.front-page .article-body{max-width:none}
.article-body>h1,.article-body>section>h1{font-size:clamp(2.15rem,5.2vw,4.25rem);line-height:1.08;letter-spacing:-.025em;color:var(--forest);margin:0 0 24px;max-width:1040px}
.article-body h2{font-size:clamp(1.7rem,3.2vw,2.75rem);line-height:1.2;letter-spacing:-.018em;color:var(--forest);margin:0 0 20px}
.article-body h3{font-size:clamp(1.24rem,2vw,1.6rem);line-height:1.3;color:var(--forest);margin:32px 0 14px}
.article-body p{margin:0 0 1.2em}
.article-body>p:first-of-type,.article-body>section:first-child>p:first-of-type{font-size:clamp(1.08rem,1.8vw,1.3rem);line-height:1.65;color:#3c3934}
.front-page .article-body>section{position:relative;width:min(var(--wide),100%);margin:0 auto;padding:clamp(48px,7vw,94px) clamp(18px,4vw,56px);border-radius:var(--organic)}
.front-page .article-body>section:nth-of-type(odd){background:var(--surface)}
.front-page .article-body>section:nth-of-type(even){background:var(--soft)}
.front-page .article-body>section+section{margin-top:28px}
.front-page .article-body>section:nth-of-type(3n)::before{content:"";position:absolute;right:-90px;top:-48px;width:190px;height:190px;border-radius:52% 48% 65% 35%;background:rgba(185,95,69,.10);pointer-events:none}
.front-page .article-body>section>p,.front-page .article-body>section>h2,.front-page .article-body>section>h3,.front-page .article-body>section>ul,.front-page .article-body>section>.source-note{max-width:var(--reading);margin-left:auto;margin-right:auto}
#identity{background:linear-gradient(135deg,#fffdf8 0 64%,#efe1d2 64%)!important;overflow:hidden}
#identity::after{content:"";position:absolute;width:310px;height:310px;right:-120px;top:-110px;border-radius:56% 44% 39% 61%;background:rgba(95,128,111,.18);pointer-events:none}
figure.editorial-image{max-width:1040px;margin:42px auto 18px;position:relative}
figure.editorial-image img{width:100%;border-radius:36px 14px 36px 14px;box-shadow:var(--shadow);background:#e9ddcf;aspect-ratio:3/2;object-fit:cover}
figure.editorial-image.portrait{max-width:720px}
figure.editorial-image.portrait img{aspect-ratio:4/5}
figure.editorial-image figcaption{max-width:760px;margin:10px auto 0;color:var(--muted);font-size:.84rem;line-height:1.55}
.article-body table{width:100%;border-collapse:separate;border-spacing:0;margin:30px 0 36px;background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 7px 22px rgba(80,50,35,.07)}
.article-body th,.article-body td{text-align:left;vertical-align:top;padding:15px 16px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.article-body th{background:var(--forest);color:#fff;font-size:.9rem;line-height:1.45}
.article-body tr:last-child td{border-bottom:0}
.article-body th:last-child,.article-body td:last-child{border-right:0}
.article-body tbody tr:nth-child(even) td{background:#faf4eb}
.table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:4px}
.source-note{margin:34px 0;padding:24px 26px;border-left:5px solid var(--sage);border-radius:0 16px 16px 0;background:var(--info)}
.source-note h3{margin-top:0}
.source-note ul{margin:0;padding-left:1.2em}
.source-note li+li{margin-top:8px}
.faq-list{max-width:850px!important}
.faq-list details{background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:14px 0;box-shadow:0 5px 18px rgba(80,50,35,.06)}
.faq-list summary{cursor:pointer;min-height:52px;display:flex;align-items:center;padding:15px 48px 15px 18px;font-weight:750;color:var(--forest);position:relative}
.faq-list summary::after{content:"+";position:absolute;right:18px;font-size:1.4rem;color:var(--terracotta)}
.faq-list details[open] summary::after{content:"−"}
.faq-list details p{padding:0 18px 18px;margin:0;color:#453e39}
.page:not(.home) .article-body{background:var(--surface);padding:clamp(28px,5vw,64px);border-radius:var(--organic);box-shadow:var(--shadow)}
.page:not(.home) .article-body h2{padding-top:22px;border-top:1px solid var(--line);margin-top:50px}
.site-footer{background:var(--forest);color:#f7f0e5;padding:64px 0 30px}
.footer-inner{width:min(var(--wide),calc(100% - 40px));margin:auto;display:grid;grid-template-columns:1.15fr .85fr;gap:54px}
.footer-title{font-size:1.25rem;font-weight:800;margin:0 0 12px}
.footer-statement{max-width:650px;margin:0 0 14px;color:#e6eee9}
.footer-email{color:#fff}
.trust-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;list-style:none;margin:0;padding:0}
.trust-links a{display:flex;min-height:44px;align-items:center;color:#fff;text-decoration-color:#a8c3b4}
.footer-bottom{width:min(var(--wide),calc(100% - 40px));margin:40px auto 0;padding-top:20px;border-top:1px solid rgba(255,255,255,.22);font-size:.82rem;color:#d6e1da}

@media(max-width:1090px){
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .primary-navigation{display:none;position:absolute;left:20px;right:20px;top:76px;margin:0;background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:12px}
  .primary-navigation.is-open{display:block}
  .primary-navigation ul{display:grid;gap:2px}
  .primary-navigation a{font-size:.96rem;padding-inline:14px}
}
@media(max-width:760px){
  body{font-size:16px;line-height:1.7}
  .header-inner,.content-shell,.footer-inner,.footer-bottom{width:min(100% - 32px,var(--wide))}
  .custom-logo{height:45px;max-width:220px}
  .content-shell{padding:34px 0 64px}
  .front-page .article-body>section{padding:42px 18px;border-radius:24px}
  .front-page .article-body>section+section{margin-top:18px}
  figure.editorial-image{margin:30px auto 12px}
  figure.editorial-image img{border-radius:24px 10px 24px 10px;aspect-ratio:5/4}
  .page:not(.home) .article-body{padding:28px 18px;border-radius:22px}
  .table-scroll{overflow-x:auto;margin-inline:-4px;padding:0 4px}
  .article-body table{min-width:680px;font-size:.88rem}
  .article-body th,.article-body td{padding:12px}
  .footer-inner{grid-template-columns:1fr;gap:32px}
}
@media(max-width:390px){
  .header-inner,.content-shell,.footer-inner,.footer-bottom{width:calc(100% - 32px)}
  .custom-logo{max-width:195px;height:42px}
  .article-body>h1,.article-body>section>h1{font-size:2.08rem}
  .trust-links{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}
