/*
Theme Name: 88fa Midnight Atlas GyYCinqY
Theme URI: https://88fa.beer/
Author: 88fa বাংলা গাইড
Description: Fresh independent Bengali brand-review theme for run GyYCinqY.
Version: 1.0.0
Text Domain: atlas-88fa-gyycinqy
*/

:root {
  --bg: #071321;
  --bg-2: #0d1d31;
  --panel: #13263d;
  --panel-hi: #183554;
  --text: #f5f8fc;
  --muted: #b9c8d8;
  --cyan: #5bd5ef;
  --violet: #9b8cff;
  --coral: #ff8c75;
  --line: #31506d;
  --focus: #a2efff;
  --max: 1220px;
  --reading: 800px;
  --radius: 18px;
  --shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: radial-gradient(circle at 88% 4%, rgba(91, 213, 239, .11), transparent 28rem), var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", "SolaimanLipi", "FreeSans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.74;
  overflow-wrap: anywhere;
}
a { color: var(--cyan); text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: #b5f4ff; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
.site-shell { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 19, 33, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.custom-logo-link { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; }
.custom-logo { width: 224px; height: auto; max-height: 58px; object-fit: contain; }
.site-name-fallback { color: var(--text); font-size: 1.15rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; min-width: 48px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 11px; border-radius: 9px; color: var(--text); font-size: .85rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--panel-hi); color: var(--cyan); }
.site-main { min-height: 70vh; }
.content-wrap { width: min(var(--max), calc(100% - 64px)); margin-inline: auto; padding: clamp(48px, 7vw, 96px) 0 clamp(76px, 9vw, 124px); }
.entry-content { width: min(100%, var(--reading)); margin-inline: auto; }
.entry-content > h1 { font-size: clamp(2.35rem, 5.3vw, 4.25rem); line-height: 1.08; letter-spacing: -.025em; max-width: 1080px; margin: 0 0 24px; }
.entry-content > h1 + p, .entry-content > h1 + p + p { font-size: clamp(1.08rem, 1.5vw, 1.26rem); color: #dbe6f1; }
.entry-content h2 { margin: clamp(64px, 8vw, 100px) 0 20px; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.18; letter-spacing: -.015em; }
.entry-content h3 { margin: 42px 0 14px; font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.3; }
.entry-content p { margin: 0 0 22px; }
.entry-content ul, .entry-content ol { margin: 0 0 28px; padding-left: 1.5em; }
.entry-content li { margin: 0 0 10px; }
.entry-content strong { color: #fff; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 64px 0; }
.editorial-figure { width: min(1120px, calc(100vw - 64px)); margin: clamp(38px, 6vw, 70px) 50%; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel); box-shadow: var(--shadow); }
.editorial-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.editorial-figure.hero-image img { aspect-ratio: 16 / 9; }
.editorial-figure figcaption { padding: 14px 18px 17px; color: var(--muted); font-size: .9rem; }
.table-wrap { width: min(1120px, calc(100vw - 64px)); margin: 34px 50%; transform: translateX(-50%); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--bg-2); }
th, td { padding: 16px 18px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--panel-hi); color: #fff; }
tr:nth-child(even) td { background: rgba(255, 255, 255, .025); }
.callout, blockquote { margin: 34px 0; padding: 24px 26px; border-left: 5px solid var(--violet); border-radius: 0 var(--radius) var(--radius) 0; background: var(--panel); color: #e9f1f8; }
.faq { width: min(980px, calc(100vw - 64px)); margin: 86px 50% 0; transform: translateX(-50%); }
.faq h2 { margin-top: 0; }
.faq-item { margin: 0 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.faq-item summary { min-height: 56px; padding: 18px 56px 18px 20px; cursor: pointer; font-weight: 800; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 15px; color: var(--cyan); font-size: 1.35rem; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 20px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }
.site-footer { border-top: 1px solid var(--line); background: #050d17; }
.footer-inner { padding: 48px 0; }
.footer-statement { margin: 0 0 20px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 18px; padding: 0; list-style: none; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-meta { margin: 0; color: var(--muted); font-size: .9rem; }

@media (min-width: 1024px) {
  body.home .entry-content { width: min(100%, 1000px); }
  body.home .entry-content > h1 { width: 78%; }
  body.home .entry-content > h1 + p, body.home .entry-content > h1 + p + p { width: 78%; }
  .entry-content > h2:nth-of-type(3n+1) { max-width: 88%; }
  .entry-content > h2:nth-of-type(3n+2) { margin-left: 8%; }
}

@media (max-width: 1100px) {
  .site-shell, .content-wrap { width: min(100% - 48px, var(--max)); }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; margin: 0; padding: 14px 24px 22px; background: #071321; border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .main-nav ul { align-items: stretch; flex-direction: column; }
  .main-nav a { width: 100%; font-size: 1rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-shell, .content-wrap { width: min(100% - 32px, var(--max)); }
  .header-inner { min-height: 70px; }
  .custom-logo { width: 178px; max-height: 48px; }
  .main-nav { top: 70px; padding-inline: 16px; }
  .content-wrap { padding-top: 42px; padding-bottom: 76px; }
  .entry-content > h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .entry-content h2 { margin-top: 58px; }
  .editorial-figure, .table-wrap, .faq { width: calc(100vw - 32px); }
  .editorial-figure img, .editorial-figure.hero-image img { aspect-ratio: 5 / 4; object-position: center; }
  th, td { padding: 13px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

