
:root {
  --bg: #0f141b;
  --bg-soft: #161d26;
  --panel: #1b2430;
  --panel-2: #202b38;
  --line: rgba(255,255,255,.08);
  --text: #e6edf4;
  --muted: #a7b3c2;
  --accent: #f4b400;
  --accent-2: #ffd24d;
  --shadow: 0 20px 50px rgba(0,0,0,.28);
  --radius: 24px;
  --container: 1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter',system-ui,sans-serif;background:linear-gradient(180deg,#0d1219 0%,#121922 100%);color:var(--text);line-height:1.65}
a{color:inherit;text-decoration:none}img{max-width:100%;display:block}
.container{width:min(var(--container),calc(100% - 32px));margin:0 auto}
.section{padding:64px 0}.section-sm{padding-top:34px}
p{margin:0 0 14px;color:#c8d2dd}
h1,h2,h3{line-height:1.12;margin:0 0 10px;color:#fff}
.eyebrow,.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(244,180,0,.12);border:1px solid rgba(244,180,0,.2);color:#ffd76f;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border-radius:14px;font-weight:700;border:1px solid transparent;transition:.2s ease}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#0f141b;box-shadow:0 12px 28px rgba(244,180,0,.22)}
.btn-secondary{background:rgba(255,255,255,.04);border-color:var(--line);color:#fff}.btn:hover{transform:translateY(-1px)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(11,15,20,.82);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;padding:14px 0}
.site-brand{display:flex;align-items:center;gap:14px}.brand-icon{width:48px;height:48px}.brand-text strong{display:block;font-size:16px}.brand-text em{display:block;font-style:normal;font-size:13px;color:var(--muted)}
.main-nav .menu{display:flex;justify-content:center;gap:18px;list-style:none;margin:0;padding:0}.main-nav a{display:block;padding:10px 12px;border-radius:10px;color:#d8e0e9;font-weight:600}.main-nav a:hover,.main-nav .current-menu-item a{background:rgba(255,255,255,.06);color:#fff}
.search-form{display:flex;gap:8px;align-items:center}.search-field{width:220px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:#fff;padding:12px 14px;border-radius:12px;outline:none}.search-submit{border:0;background:rgba(255,255,255,.08);color:#fff;padding:12px 14px;border-radius:12px;font-weight:700;cursor:pointer}
.mobile-toggle{display:none;background:none;border:0;padding:0;cursor:pointer}.mobile-toggle span{display:block;width:26px;height:2px;background:#fff;margin:5px 0}
.hero{padding:56px 0 38px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 15%,rgba(244,176,0,.15),transparent 28%),radial-gradient(circle at 85% 10%,rgba(85,140,255,.08),transparent 32%)}
.hero-layout{position:relative;display:grid;grid-template-columns:1.4fr .9fr;gap:28px;align-items:start}.hero-main,.hero-card{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid var(--line);box-shadow:var(--shadow)}
.hero-main{padding:34px;border-radius:32px}.hero-main h1{font-size:clamp(36px,5vw,62px);max-width:13ch;margin-top:14px;margin-bottom:16px}.hero-text{font-size:18px;max-width:760px;color:#d4dde8}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:28px 0 26px}.hero-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.stat,.stat-card{padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.05)}.stat strong,.stat-card strong{display:block;font-size:15px;color:#fff;margin-bottom:6px}.stat span,.stat-card span{font-size:14px;color:var(--muted)}
.hero-side{display:grid;gap:20px}.hero-card{padding:24px;border-radius:28px}.hero-card h2,.hero-card h3{font-size:28px;margin-top:12px}.hero-card p{font-size:15px}
.category-list,.sidebar-list,.mini-post-list,.footer-menu,.footer-cats,.hero-list{list-style:none;padding:0;margin:0}.category-list li+li,.sidebar-list li+li,.mini-post-list li+li{margin-top:10px}
.category-list a,.sidebar-list a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px solid var(--line);color:#dde5ed}.category-list a:hover,.sidebar-list a:hover{background:rgba(255,255,255,.06)}.category-list em,.sidebar-list em{font-style:normal;color:#ffd975;background:rgba(244,176,0,.12);padding:4px 8px;border-radius:999px}
.features,.link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.feature,.link-box,.sidebar-card,.card,.calc-box,.single-thumb,.archive-head,.single-post{background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015));border:1px solid var(--line);box-shadow:var(--shadow)}
.feature{padding:24px;border-radius:24px}.feature h3{font-size:21px}
.calc-box{padding:28px;border-radius:28px;background:linear-gradient(135deg,rgba(20,26,34,.96),rgba(22,32,45,.96))}.calc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:22px}.calc-field label{display:block;margin-bottom:8px;font-weight:600}.calc-field input,.calc-field select{width:100%;padding:14px 16px;border-radius:14px;border:1px solid var(--line);background:#0f151d;color:#fff;outline:none}.calc-result{padding:20px;border-radius:20px;background:linear-gradient(135deg,rgba(244,176,0,.12),rgba(255,255,255,.03));border:1px solid rgba(244,176,0,.16)}
.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cards-grid-small{grid-template-columns:repeat(2,minmax(0,1fr))}.card{border-radius:24px;overflow:hidden}.post-card-thumb{display:block;aspect-ratio:16/10;background:#10161f}.post-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.card:hover .post-card-thumb img{transform:scale(1.04)}.card-content{padding:20px 20px 22px}.post-meta{display:flex;gap:8px;flex-wrap:wrap;color:#97a4b4;font-size:13px;margin-bottom:12px}.card h3{font-size:23px;margin-bottom:12px}.card p{font-size:15px;min-height:72px}.card h3 a:hover,.read-more{color:#ffd975}.read-more{display:inline-flex;align-items:center;gap:8px;margin-top:10px;font-weight:700}
.content-layout,.content-with-sidebar{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.content-main,.content-area{min-width:0;overflow:visible}.content-sidebar,.sidebar{display:grid;gap:18px;position:sticky;top:92px;align-self:start}.sidebar-card{padding:22px;border-radius:22px}.widget-title,.sidebar-card h3{font-size:20px;margin-bottom:14px}.mini-post-list a{color:#dbe4ed}.mini-post-list a:hover{color:#ffd975}
.archive-head,.single-post{padding:28px;border-radius:28px}.single-header{margin-bottom:18px}.single-header h1{font-size:clamp(34px,4vw,52px)}.single-lead{font-size:18px;color:#d5dee8}.single-thumb{overflow:hidden;border-radius:28px;margin:18px 0 24px}.single-thumb img{width:100%;height:auto}.post-content,.entry-content{font-size:18px;color:#d7e0e9}.tag-links a{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.06);margin:6px 8px 0 0}
.related-posts .card h3 a{color:#fff}.related-posts .card h3 a:hover{color:#ffd975}
.link-box{display:flex;flex-direction:column;justify-content:center;min-height:122px;padding:22px;border-radius:22px}.link-box strong{font-size:22px;color:#fff}.link-box span{color:var(--muted)}
.site-footer{padding:44px 0 18px;border-top:1px solid var(--line);background:rgba(10,14,20,.72)}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:30px}.footer-brand{display:flex;gap:16px;align-items:flex-start}.footer-brand img{width:52px;height:52px}.footer-brand p{max-width:420px}.footer-menu li,.footer-cats li{margin:10px 0}.footer-menu a,.footer-cats a{color:#dce4ed}.footer-menu a:hover,.footer-cats a:hover{color:#ffd975}.footer-bottom{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.pagination,.nav-links{margin-top:26px;display:flex;gap:10px;flex-wrap:wrap}.page-numbers{padding:10px 14px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid var(--line)}.page-numbers.current{background:rgba(244,176,0,.16);color:#ffd975}
.screen-reader-text{position:absolute;left:-9999px}

/* ===== FINAL ARTICLE SYSTEM ===== */
.single-post .post-content .ab,
.single-post .entry-content .ab,
.post-content .ab,
.entry-content .ab{max-width:100% !important;width:100% !important;margin:0 auto !important;padding:0 !important;background:transparent !important;color:#1f2937 !important;font-family:"Inter","Segoe UI",Arial,sans-serif !important;line-height:1.82 !important;position:relative !important;z-index:2 !important;overflow:visible !important}
.single-post .post-content .ab *,
.single-post .entry-content .ab *,
.post-content .ab *,
.entry-content .ab *{box-sizing:border-box !important;opacity:1 !important;filter:none !important;text-shadow:none !important}
.single-post .post-content .ab p,
.single-post .entry-content .ab p,
.post-content .ab p,
.entry-content .ab p{margin:0 0 1rem !important;color:#374151 !important;font-size:1rem !important;line-height:1.82 !important}
.single-post .post-content .ab strong,
.single-post .entry-content .ab strong,
.post-content .ab strong,
.entry-content .ab strong{color:#111827 !important;font-weight:700 !important}
.single-post .post-content .ab ul,
.single-post .post-content .ab ol,
.single-post .entry-content .ab ul,
.single-post .entry-content .ab ol,
.post-content .ab ul,
.post-content .ab ol,
.entry-content .ab ul,
.entry-content .ab ol{margin:0 0 1rem 1.25rem !important;padding:0 !important}
.single-post .post-content .ab li,
.single-post .entry-content .ab li,
.post-content .ab li,
.entry-content .ab li{margin-bottom:.5rem !important;color:#374151 !important}
.single-post .post-content .ab h2,
.single-post .entry-content .ab h2,
.post-content .ab h2,
.entry-content .ab h2{margin:2.25rem 0 1rem !important;padding:0 0 .55rem 0 !important;font-size:1.58rem !important;line-height:1.2 !important;color:#111827 !important;border:0 !important;background:transparent !important;position:relative !important;letter-spacing:-.02em !important}
.single-post .post-content .ab h2::after,
.single-post .entry-content .ab h2::after,
.post-content .ab h2::after,
.entry-content .ab h2::after{content:"" !important;display:block !important;width:76px !important;height:4px !important;margin-top:.6rem !important;border-radius:999px !important;background:linear-gradient(90deg,#f4b400 0%,#ffd451 100%) !important}
.single-post .post-content .ab h3,
.single-post .entry-content .ab h3,
.post-content .ab h3,
.entry-content .ab h3{margin:1.35rem 0 .6rem !important;padding:0 !important;font-size:1.12rem !important;line-height:1.3 !important;color:#111827 !important;border:0 !important;background:transparent !important}
.single-post .post-content .ab .hdr,
.single-post .entry-content .ab .hdr,
.post-content .ab .hdr,
.entry-content .ab .hdr{position:relative !important;overflow:hidden !important;margin:1.5rem 0 2rem !important;padding:2.2rem 2rem !important;border-radius:24px !important;background:radial-gradient(circle at top right,rgba(255,255,255,.18) 0%,transparent 30%),linear-gradient(135deg,#111827 0%,#1f2937 55%,#f4b400 150%) !important;border:1px solid rgba(255,255,255,.08) !important;box-shadow:0 24px 54px rgba(15,23,42,.16) !important;text-align:left !important;color:#fff !important}
.single-post .post-content .ab .hdr::before,
.single-post .entry-content .ab .hdr::before,
.post-content .ab .hdr::before,
.entry-content .ab .hdr::before{content:"" !important;position:absolute !important;right:-40px !important;top:-40px !important;width:180px !important;height:180px !important;border-radius:50% !important;background:radial-gradient(circle,rgba(255,255,255,.18) 0%,transparent 70%) !important;pointer-events:none !important}
.single-post .post-content .ab .hdr h1,
.single-post .entry-content .ab .hdr h1,
.post-content .ab .hdr h1,
.entry-content .ab .hdr h1{margin:0 0 .85rem !important;padding:0 !important;max-width:760px !important;font-size:clamp(1.9rem,4vw,2.7rem) !important;font-weight:800 !important;line-height:1.05 !important;color:#fff !important;text-align:left !important;border:0 !important;background:transparent !important;letter-spacing:-.03em !important}
.single-post .post-content .ab .hdr p,
.single-post .entry-content .ab .hdr p,
.post-content .ab .hdr p,
.entry-content .ab .hdr p{margin:0 !important;max-width:760px !important;color:rgba(255,255,255,.88) !important;font-size:1.04rem !important;line-height:1.72 !important;text-align:left !important}
.single-post .post-content .ab table,
.single-post .entry-content .ab table,
.post-content .ab table,
.entry-content .ab table{width:100% !important;max-width:100% !important;margin:1.75rem 0 !important;border-collapse:separate !important;border-spacing:0 !important;display:block !important;overflow-x:auto !important;overflow-y:hidden !important;-webkit-overflow-scrolling:touch !important;border-radius:18px !important;background:#fff !important;border:1px solid rgba(15,23,42,.08) !important;box-shadow:0 16px 38px rgba(15,23,42,.08) !important}
.single-post .post-content .ab table caption,
.single-post .entry-content .ab table caption,
.post-content .ab table caption,
.entry-content .ab table caption{caption-side:top !important;text-align:left !important;padding:0 0 .8rem 0 !important;color:#475569 !important;font-size:.96rem !important;font-weight:600 !important;white-space:normal !important}
.single-post .post-content .ab th,
.single-post .entry-content .ab th,
.post-content .ab th,
.entry-content .ab th{padding:14px 16px !important;background:linear-gradient(135deg,#f4b400 0%,#ffd24d 100%) !important;color:#111827 !important;font-size:.96rem !important;font-weight:800 !important;text-align:left !important;vertical-align:middle !important;border-right:1px solid rgba(15,23,42,.08) !important;border-bottom:1px solid rgba(15,23,42,.08) !important;white-space:nowrap !important}
.single-post .post-content .ab td,
.single-post .entry-content .ab td,
.post-content .ab td,
.entry-content .ab td{padding:14px 16px !important;background:#fff !important;color:#374151 !important;font-size:.97rem !important;vertical-align:top !important;border-right:1px solid rgba(15,23,42,.08) !important;border-bottom:1px solid rgba(15,23,42,.08) !important;white-space:normal !important}
.single-post .post-content .ab th:last-child,
.single-post .post-content .ab td:last-child,
.single-post .entry-content .ab th:last-child,
.single-post .entry-content .ab td:last-child,
.post-content .ab th:last-child,
.post-content .ab td:last-child,
.entry-content .ab th:last-child,
.entry-content .ab td:last-child{border-right:0 !important}
.single-post .post-content .ab tr:last-child td,
.single-post .entry-content .ab tr:last-child td,
.post-content .ab tr:last-child td,
.entry-content .ab tr:last-child td{border-bottom:0 !important}
.single-post .post-content .ab tbody tr:nth-child(even) td,
.single-post .entry-content .ab tbody tr:nth-child(even) td,
.post-content .ab tbody tr:nth-child(even) td,
.entry-content .ab tbody tr:nth-child(even) td{background:#fffaf0 !important}
.single-post .post-content .ab tbody tr:hover td,
.single-post .entry-content .ab tbody tr:hover td,
.post-content .ab tbody tr:hover td,
.entry-content .ab tbody tr:hover td{background:#fff4cf !important;transition:background .2s ease !important}
.single-post .post-content .ab .fq,
.single-post .entry-content .ab .fq,
.post-content .ab .fq,
.entry-content .ab .fq{margin:1.15rem 0 !important;padding:1.35rem !important;border-radius:20px !important;background:linear-gradient(180deg,#fffdf7 0%,#fff7df 100%) !important;border:1px solid rgba(244,180,0,.22) !important;box-shadow:0 14px 34px rgba(244,180,0,.10) !important}
.single-post .post-content .ab .fq > h2:first-child,
.single-post .post-content .ab .fq > h3:first-child,
.single-post .entry-content .ab .fq > h2:first-child,
.single-post .entry-content .ab .fq > h3:first-child,
.post-content .ab .fq > h2:first-child,
.post-content .ab .fq > h3:first-child,
.entry-content .ab .fq > h2:first-child,
.entry-content .ab .fq > h3:first-child{margin:0 0 1rem !important;padding:.8rem 1rem !important;border-radius:14px !important;background:linear-gradient(135deg,#111827 0%,#374151 100%) !important;color:#fff !important;font-size:1.02rem !important;line-height:1.2 !important;border:0 !important}
.single-post .post-content .ab .fq h3,
.single-post .entry-content .ab .fq h3,
.post-content .ab .fq h3,
.entry-content .ab .fq h3{margin:1rem 0 .45rem !important;padding:0 0 0 1.1rem !important;color:#111827 !important;font-size:1.06rem !important;font-weight:700 !important;border:0 !important;position:relative !important}
.single-post .post-content .ab .fq h3::before,
.single-post .entry-content .ab .fq h3::before,
.post-content .ab .fq h3::before,
.entry-content .ab .fq h3::before{content:"•" !important;position:absolute !important;left:0 !important;top:0 !important;color:#d89a00 !important;font-size:1.2rem !important;line-height:1 !important}
.single-post .post-content .ab .fq p,
.single-post .entry-content .ab .fq p,
.post-content .ab .fq p,
.entry-content .ab .fq p{margin:0 0 1rem !important;color:#4b5563 !important}
.single-post .post-content .ab .fq:last-child,
.single-post .entry-content .ab .fq:last-child,
.post-content .ab .fq:last-child,
.entry-content .ab .fq:last-child{margin-bottom:0 !important}
.single-post .post-content .ab .src,
.single-post .entry-content .ab .src,
.post-content .ab .src,
.entry-content .ab .src{margin-top:2rem !important;padding:1rem 1.1rem !important;background:#f8fafc !important;border-radius:12px !important;border:1px solid rgba(15,23,42,.08) !important;font-size:.95rem !important;color:#475569 !important}
.single-post .post-content .ab a,
.single-post .entry-content .ab a,
.post-content .ab a,
.entry-content .ab a{color:#9a6700 !important;text-decoration:underline !important;text-underline-offset:2px !important}
.single-post .post-content .ab a:hover,
.single-post .entry-content .ab a:hover,
.post-content .ab a:hover,
.entry-content .ab a:hover{color:#111827 !important}

@media (max-width:1100px){.hero-layout,.content-layout,.content-with-sidebar,.footer-grid{grid-template-columns:1fr}.content-sidebar,.sidebar{position:static;top:auto}.features,.cards-grid,.link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.calc-grid{grid-template-columns:1fr}.header-inner{grid-template-columns:auto auto}.header-search{grid-column:1/-1}.search-field{width:100%}}
@media (max-width:860px){.mobile-toggle{display:block;justify-self:end}.main-nav{display:none;grid-column:1/-1}.main-nav.is-open{display:block}.main-nav .menu{flex-direction:column;align-items:stretch;padding-top:8px}.hero-main h1{max-width:none}.hero-stats{grid-template-columns:1fr}.cards-grid,.features,.link-grid,.cards-grid-small{grid-template-columns:1fr}.section{padding:56px 0}.hero-main,.hero-card,.archive-head,.single-post,.calc-box{padding:22px}.header-inner{grid-template-columns:auto auto;gap:16px}.brand-text em{display:none}}
@media (max-width:767px){.single-post .post-content .ab .hdr,.single-post .entry-content .ab .hdr,.post-content .ab .hdr,.entry-content .ab .hdr{padding:1.5rem 1.2rem !important;border-radius:18px !important}.single-post .post-content .ab .hdr h1,.single-post .entry-content .ab .hdr h1,.post-content .ab .hdr h1,.entry-content .ab .hdr h1{font-size:1.7rem !important}.single-post .post-content .ab h2,.single-post .entry-content .ab h2,.post-content .ab h2,.entry-content .ab h2{font-size:1.35rem !important}.single-post .post-content .ab th,.single-post .post-content .ab td,.single-post .entry-content .ab th,.single-post .entry-content .ab td,.post-content .ab th,.post-content .ab td,.entry-content .ab th,.entry-content .ab td{padding:12px 13px !important}.single-post .post-content .ab .fq,.single-post .entry-content .ab .fq,.post-content .ab .fq,.entry-content .ab .fq{padding:1.05rem !important;border-radius:16px !important}}


/* ===== SIDEBAR CONTRAST FIX ===== */
.content-sidebar .sidebar-card,
.sidebar .sidebar-card {
  background: linear-gradient(180deg,#f7f8fa 0%,#eef2f6 100%) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 18px 38px rgba(15,23,42,.10) !important;
}
.content-sidebar .sidebar-card h3,
.sidebar .sidebar-card h3,
.content-sidebar .widget-title,
.sidebar .widget-title {
  color: #111827 !important;
}
.content-sidebar .sidebar-card p,
.sidebar .sidebar-card p,
.content-sidebar .sidebar-card li,
.sidebar .sidebar-card li {
  color: #475569 !important;
}
.content-sidebar .sidebar-card a,
.sidebar .sidebar-card a {
  color: #1f2937 !important;
}
.content-sidebar .sidebar-card a:hover,
.sidebar .sidebar-card a:hover {
  color: #a16207 !important;
}
.content-sidebar .sidebar-list a,
.sidebar .sidebar-list a,
.content-sidebar .mini-post-list a,
.sidebar .mini-post-list a,
.content-sidebar .sidebar-category-list a,
.sidebar .sidebar-category-list a {
  color: #1f2937 !important;
}
.content-sidebar .sidebar-list a:hover,
.sidebar .sidebar-list a:hover,
.content-sidebar .mini-post-list a:hover,
.sidebar .mini-post-list a:hover,
.content-sidebar .sidebar-category-list a:hover,
.sidebar .sidebar-category-list a:hover {
  color: #a16207 !important;
}
.content-sidebar .sidebar-list em,
.sidebar .sidebar-list em,
.content-sidebar .sidebar-category-list em,
.sidebar .sidebar-category-list em {
  color: #8a5a00 !important;
  background: rgba(244,180,0,.18) !important;
}
.content-sidebar .mini-post-list li,
.sidebar .mini-post-list li {
  border-bottom: 1px solid rgba(15,23,42,.08);
  padding-bottom: 10px;
}
.content-sidebar .mini-post-list li:last-child,
.sidebar .mini-post-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}


/* ===== RELATED POSTS FIX ===== */
.related-posts{margin-top:28px !important}.related-grid{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:20px !important}.related-card{background:#f3f6fa !important;border:1px solid rgba(15,23,42,.08) !important;border-radius:24px !important;overflow:hidden !important;box-shadow:0 14px 34px rgba(15,23,42,.08) !important}.related-thumb{display:block !important;aspect-ratio:16/9 !important;overflow:hidden !important;background:#dbe4ee !important}.related-thumb img{width:100% !important;height:100% !important;object-fit:cover !important;display:block !important}.related-content{padding:18px 20px 20px !important;background:#f3f6fa !important}.related-meta{display:flex !important;flex-wrap:wrap !important;gap:8px !important;margin-bottom:10px !important;color:#7b8796 !important;font-size:.92rem !important}.related-title{margin:0 0 10px !important;font-size:1.35rem !important;line-height:1.2 !important;font-weight:800 !important}.related-title a{color:#e0ab00 !important;text-decoration:none !important}.related-title a:hover{color:#111827 !important}.related-content p{margin:0 !important;color:#4b5563 !important;line-height:1.7 !important;font-size:1rem !important}@media (max-width:900px){.related-grid{grid-template-columns:1fr !important}}


/* ===== FINAL PATCH: SIDEBAR + RELATED ===== */
.content-sidebar .sidebar-card,
.sidebar .sidebar-card {
  background: linear-gradient(180deg,#f7f8fa 0%,#eef2f6 100%) !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 18px 38px rgba(15,23,42,.10) !important;
}
.content-sidebar .sidebar-card h3,
.sidebar .sidebar-card h3,
.content-sidebar .widget-title,
.sidebar .widget-title { color:#111827 !important; }
.content-sidebar .sidebar-card p,
.sidebar .sidebar-card p,
.content-sidebar .sidebar-card li,
.sidebar .sidebar-card li,
.content-sidebar .sidebar-card span,
.sidebar .sidebar-card span { color:#475569 !important; }
.content-sidebar .sidebar-card a,
.sidebar .sidebar-card a { color:#1f2937 !important; }
.content-sidebar .sidebar-card a:hover,
.sidebar .sidebar-card a:hover { color:#a16207 !important; }
.content-sidebar .sidebar-category-list a,
.sidebar .sidebar-category-list a,
.content-sidebar .mini-post-list a,
.sidebar .mini-post-list a {
  display:block !important;
  color:#1f2937 !important;
}
.content-sidebar .sidebar-category-list em,
.sidebar .sidebar-category-list em {
  color:#8a5a00 !important;
  background:rgba(244,180,0,.18) !important;
}
.content-sidebar .mini-post-list li,
.sidebar .mini-post-list li {
  margin:0 !important;
  padding:10px 0 !important;
  border-bottom:1px solid rgba(15,23,42,.08) !important;
}
.content-sidebar .mini-post-list li:last-child,
.sidebar .mini-post-list li:last-child { border-bottom:0 !important; }

.related-posts { margin-top:28px !important; }
.related-grid {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:20px !important;
}
.related-card {
  min-width:0 !important;
  background:#f3f6fa !important;
  border:1px solid rgba(15,23,42,.08) !important;
  border-radius:24px !important;
  overflow:hidden !important;
  box-shadow:0 14px 34px rgba(15,23,42,.08) !important;
}
.related-thumb {
  display:block !important;
  width:100% !important;
  aspect-ratio:16/9 !important;
  overflow:hidden !important;
  background:#dbe4ee !important;
}
.related-thumb img {
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.related-content {
  padding:18px 20px 20px !important;
  background:#f3f6fa !important;
}
.related-meta {
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin-bottom:10px !important;
  color:#7b8796 !important;
  font-size:.92rem !important;
}
.related-title {
  margin:0 0 10px !important;
  font-size:1.35rem !important;
  line-height:1.2 !important;
  font-weight:800 !important;
}
.related-title a {
  color:#e0ab00 !important;
  text-decoration:none !important;
}
.related-title a:hover { color:#111827 !important; }
.related-content p {
  margin:0 !important;
  color:#4b5563 !important;
  line-height:1.7 !important;
  font-size:1rem !important;
  min-height:0 !important;
}
@media (max-width:900px){ .related-grid{ grid-template-columns:1fr !important; } }


/* ===== SINGLE THUMB RESPONSIVE PATCH ===== */
.single-main{padding-top:0}
.single-article{min-width:0}
.single-thumb.single-thumb-hero{
  margin:14px 0 22px !important;
  border-radius:30px !important;
  overflow:hidden !important;
  background:#e5e7eb !important;
  box-shadow:0 18px 40px rgba(15,23,42,.10) !important;
  aspect-ratio:16 / 9;
}
.single-thumb.single-thumb-hero img,
.single-thumb.single-thumb-hero .single-thumb-image{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center center !important;
}
@media (min-width: 1200px){
  .content-with-sidebar{grid-template-columns:minmax(0,1fr) 290px;gap:24px}
  .single-thumb.single-thumb-hero{
    width:min(100%, 980px);
    max-width:calc(100vw - 380px);
  }
}
@media (max-width: 1024px){
  .single-thumb.single-thumb-hero{border-radius:24px !important;aspect-ratio:16 / 10}
}
@media (max-width: 767px){
  .container{width:min(var(--container),calc(100% - 20px));}
  .single-main .content-with-sidebar{gap:18px}
  .single-thumb.single-thumb-hero{
    margin:10px 0 18px !important;
    border-radius:18px !important;
    aspect-ratio:4 / 3;
    max-height:56vh;
  }
  .single-thumb.single-thumb-hero img,
  .single-thumb.single-thumb-hero .single-thumb-image{height:100% !important}
}


/* ===== PAGES DESIGN ===== */
.page-main{padding:34px 0 72px;background:linear-gradient(180deg,#eef2f6 0%,#f7f9fb 100%)}
.page-shell{max-width:1080px}
.page-article{color:#1f2937}
.page-hero{position:relative;overflow:hidden;border-radius:34px;padding:34px;background:linear-gradient(135deg,#0f172a 0%,#1f2937 55%,#7c5a00 100%);border:1px solid rgba(255,255,255,.08);box-shadow:0 22px 54px rgba(15,23,42,.18);margin-bottom:28px}
.page-hero.no-cover{padding-bottom:42px}
.page-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 16%,rgba(255,210,77,.18),transparent 26%),radial-gradient(circle at 88% 10%,rgba(255,255,255,.09),transparent 24%);pointer-events:none}
.page-hero-inner{position:relative;z-index:2;max-width:760px}
.page-breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:14px;font-size:.92rem;color:rgba(255,255,255,.72)}
.page-breadcrumbs a{color:#fff}
.page-title{margin:0 0 14px;font-size:clamp(2rem,4vw,3.7rem);line-height:1.05;color:#fff;max-width:14ch}
.page-lead{font-size:1.08rem;line-height:1.75;color:rgba(255,255,255,.82);max-width:62ch}
.page-cover-wrap{position:relative;z-index:2;margin:24px 0 0;border-radius:26px;overflow:hidden;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);box-shadow:0 20px 44px rgba(0,0,0,.18)}
.page-cover-image{display:block;width:100%;aspect-ratio:16/7;object-fit:cover}
.page-content-wrap{background:linear-gradient(180deg,#ffffff 0%,#f9fbfc 100%);border:1px solid rgba(15,23,42,.08);border-radius:30px;padding:34px;box-shadow:0 18px 46px rgba(15,23,42,.10)}
.page-content,.page-content p,.page-content li{color:#334155}
.page-content{font-size:1.08rem;line-height:1.82}
.page-content > *:first-child{margin-top:0}
.page-content h2,.page-content h3,.page-content h4{color:#0f172a;line-height:1.15}
.page-content h2{font-size:clamp(1.6rem,2vw,2.2rem);margin:2.3rem 0 1rem;padding-bottom:.7rem;border-bottom:1px solid rgba(15,23,42,.08)}
.page-content h3{font-size:1.3rem;margin:1.6rem 0 .75rem}
.page-content p{margin:0 0 1rem}
.page-content a{color:#9a6700;text-decoration:underline;text-underline-offset:3px}
.page-content a:hover{color:#111827}
.page-content ul,.page-content ol{margin:0 0 1.2rem 1.25rem;padding:0}
.page-content blockquote{margin:1.7rem 0;padding:1.1rem 1.25rem 1.1rem 1.35rem;border-left:4px solid #f4b400;background:#fff9e8;border-radius:0 16px 16px 0;color:#475569}
.page-content img{border-radius:22px;height:auto}
.page-content figure{margin:1.5rem 0}
.page-content table{width:100%;border-collapse:separate;border-spacing:0;margin:1.5rem 0;display:block;overflow-x:auto;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;box-shadow:0 10px 24px rgba(15,23,42,.06)}
.page-content table tbody,.page-content table thead,.page-content table tr{background:transparent}
.page-content th,.page-content td{padding:14px 16px;border-bottom:1px solid rgba(15,23,42,.08);text-align:left;white-space:nowrap}
.page-content th{background:linear-gradient(135deg,#f4b400 0%,#ffd24d 100%);color:#111827;font-weight:800}
.page-content tr:last-child td{border-bottom:0}
.page-content .wp-block-cover,.page-content .wp-block-group,.page-content .wp-block-media-text,.page-content .wp-block-columns{margin:1.5rem 0}
@media (max-width: 900px){
  .page-main{padding:22px 0 56px}
  .page-hero{padding:24px;border-radius:26px}
  .page-content-wrap{padding:24px;border-radius:24px}
  .page-cover-image{aspect-ratio:4/3}
}
@media (max-width: 640px){
  .page-shell{width:min(100%,calc(100% - 18px))}
  .page-hero{padding:20px;border-radius:22px}
  .page-title{font-size:clamp(1.65rem,8vw,2.3rem)}
  .page-lead{font-size:.98rem}
  .page-content-wrap{padding:18px 16px;border-radius:20px}
  .page-content{font-size:1rem;line-height:1.75}
  .page-content h2{font-size:1.35rem;margin:1.8rem 0 .8rem}
  .page-content table{border-radius:14px}
  .page-content th,.page-content td{padding:11px 12px;font-size:.95rem}
}
