/*
Theme Name: The West Bengal Times
Theme URI: https://thewestbengaltimes.in
Author: The West Bengal Times
Author URI: https://thewestbengaltimes.in
Description: A fast, SEO-first and AdSense-ready Bengali news & education blog theme built for thewestbengaltimes.in — শিক্ষা, পরীক্ষা, স্কলারশিপ, মাধ্যমিক, উচ্চমাধ্যমিক, চাকরি, ভর্তি ও খবর। Works with Rank Math for schema & sitemap.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thewestbengaltimes
Tags: blog, news, education, one-column, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --wbt-red: #b3121b;
  --wbt-red-dark: #8c0d14;
  --wbt-gold: #d9a441;
  --wbt-ink: #16181d;
  --wbt-ink-2: #3a3f4a;
  --wbt-muted: #6b7280;
  --wbt-line: #e6e2d8;
  --wbt-paper: #fbf9f4;
  --wbt-white: #ffffff;
  --wbt-soft: #f3efe6;
  --wbt-green: #1f7a4d;
  --wbt-blue: #1d4ed8;
  --wbt-font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wbt-font-head: "Noto Serif Bengali", "Hind Siliguri", Georgia, serif;
  --wbt-container: 1200px;
  --wbt-radius: 6px;
  --wbt-shadow: 0 1px 2px rgba(22, 24, 29, 0.06), 0 8px 24px -12px rgba(22, 24, 29, 0.18);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--wbt-font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--wbt-ink);
  background: var(--wbt-paper);
  word-break: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wbt-red); text-decoration: none; }
a:hover { color: var(--wbt-red-dark); text-decoration: underline; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--wbt-font-head);
  line-height: 1.3;
  margin: 0 0 .5em;
  color: var(--wbt-ink);
  font-weight: 700;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.4em; }
blockquote {
  margin: 1.5em 0; padding: 1em 1.25em;
  border-left: 4px solid var(--wbt-gold);
  background: var(--wbt-soft); font-style: italic;
}
table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95em; }
th, td { border: 1px solid var(--wbt-line); padding: .6em .8em; text-align: left; vertical-align: top; }
th { background: var(--wbt-soft); font-weight: 700; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
pre { background: var(--wbt-ink); color: #f5f5f5; padding: 1em; overflow: auto; border-radius: var(--wbt-radius); }
hr { border: 0; border-top: 1px solid var(--wbt-line); margin: 2em 0; }
button, input, select, textarea { font: inherit; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--wbt-ink); color: #fff; padding: .6em 1em; z-index: 9999; }
.skip-link:focus { left: 8px; top: 8px; }

.wbt-container { max-width: var(--wbt-container); margin: 0 auto; padding: 0 16px; }

/* ==========================================================================
   3. Top bar
   ========================================================================== */
.wbt-topbar {
  background: var(--wbt-ink); color: #d5d7dc; font-size: .82rem;
}
.wbt-topbar .wbt-container { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; }
.wbt-topbar a { color: #e8e9ec; }
.wbt-topbar-menu ul, .wbt-social ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.wbt-date { white-space: nowrap; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.wbt-header { background: var(--wbt-white); border-bottom: 1px solid var(--wbt-line); }
.wbt-masthead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 14px 0; }
.wbt-masthead-left { display: flex; align-items: center; }
.wbt-masthead-left .wbt-date { font-size: .82rem; color: var(--wbt-muted); background: var(--wbt-paper, transparent); }
.wbt-masthead-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.wbt-masthead-right .wbt-social-icons { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.wbt-masthead-right .wbt-social-icon { color: var(--wbt-ink); display: inline-flex; }
.wbt-masthead-right .wbt-social-icon:hover { color: var(--wbt-red); }
.wbt-masthead-right .wbt-social-icon svg { width: 18px; height: 18px; fill: currentColor; }
.wbt-brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.wbt-brand .custom-logo { max-height: 64px; width: auto; }
.wbt-site-title { font-family: var(--wbt-font-head); font-size: 2.1rem; font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -.01em; text-align: center; }
.wbt-site-title a { color: var(--wbt-ink); }
.wbt-site-title a:hover { text-decoration: none; color: var(--wbt-red); }
.wbt-site-title span { color: var(--wbt-red); }
.wbt-tagline { margin: 2px 0 0; font-size: .85rem; color: var(--wbt-muted); text-align: center; }
.wbt-header-ad { display: flex; justify-content: center; padding-bottom: 12px; }
.wbt-header-ad > * { max-width: 728px; width: 100%; }

.wbt-nav { background: var(--wbt-red); position: sticky; top: 0; z-index: 900; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.admin-bar .wbt-nav { top: 32px; }
.wbt-nav .wbt-container { display: flex; align-items: center; justify-content: space-between; }
.wbt-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.wbt-nav li { position: relative; }
.wbt-nav a { display: block; padding: 12px 14px; color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.wbt-nav a:hover, .wbt-nav .current-menu-item > a, .wbt-nav .current-menu-ancestor > a { background: var(--wbt-red-dark); text-decoration: none; }
.wbt-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; flex-direction: column; box-shadow: var(--wbt-shadow); border-top: 3px solid var(--wbt-gold); z-index: 950; }
.wbt-nav .sub-menu .sub-menu { left: 100%; top: -3px; }
.wbt-nav li:hover > .sub-menu, .wbt-nav li:focus-within > .sub-menu { display: flex; }
.wbt-nav .sub-menu a { color: var(--wbt-ink); font-weight: 500; padding: 10px 14px; border-bottom: 1px solid var(--wbt-line); }
.wbt-nav .sub-menu a:hover { background: var(--wbt-soft); color: var(--wbt-red); }
.wbt-nav .menu-item-has-children > a::after { content: " ▾"; font-size: .8em; }
.wbt-nav-tools { display: flex; align-items: center; gap: 6px; }
.wbt-nav-btn { background: transparent; border: 0; color: #fff; padding: 10px; cursor: pointer; display: none; line-height: 0; }
.wbt-search-toggle { display: inline-flex; }
.wbt-nav-search { display: none; background: var(--wbt-red-dark); padding: 10px 0; }
.wbt-nav-search.is-open { display: block; }

.wbt-search-form { display: flex; gap: 0; max-width: 640px; margin: 0 auto; }
.wbt-search-form input[type="search"] { flex: 1; padding: 10px 14px; border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius) 0 0 var(--wbt-radius); min-width: 0; }
.wbt-search-form button { padding: 10px 18px; border: 0; background: var(--wbt-ink); color: #fff; font-weight: 600; border-radius: 0 var(--wbt-radius) var(--wbt-radius) 0; cursor: pointer; }

/* Ticker */
.wbt-ticker { background: var(--wbt-white); border-bottom: 1px solid var(--wbt-line); font-size: .9rem; }
.wbt-ticker .wbt-container { display: flex; align-items: center; gap: 12px; overflow: hidden; height: 40px; }
.wbt-ticker-label { background: var(--wbt-red); color: #fff; font-weight: 700; padding: 3px 10px; border-radius: 3px; font-size: .8rem; flex-shrink: 0; }
.wbt-ticker-track { flex: 1; overflow: hidden; position: relative; white-space: nowrap; }
.wbt-ticker-track ul { list-style: none; margin: 0; padding: 0; display: inline-flex; gap: 40px; animation: wbt-ticker 45s linear infinite; }
.wbt-ticker-track:hover ul { animation-play-state: paused; }
.wbt-ticker-track a { color: var(--wbt-ink-2); }
@keyframes wbt-ticker { from { transform: translateX(100%); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .wbt-ticker-track ul { animation: none; } }

/* ==========================================================================
   5. Layout
   ========================================================================== */
.wbt-main { padding: 28px 0 40px; }
.wbt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 36px; }
.wbt-layout--full { grid-template-columns: minmax(0, 1fr); }
.wbt-sidebar { min-width: 0; }

/* Section heading */
.wbt-section { margin-bottom: 36px; }
.wbt-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--wbt-ink); margin-bottom: 18px; }
.wbt-section-title { font-size: 1.25rem; margin: 0; background: var(--wbt-ink); color: #fff; padding: 6px 14px; position: relative; }
.wbt-section-title::after { content: ""; position: absolute; right: -10px; top: 0; border: 17px solid transparent; border-left-color: var(--wbt-ink); border-right: 0; }
.wbt-section-title a { color: inherit; }
.wbt-section-title a:hover { text-decoration: none; color: var(--wbt-gold); }
.wbt-section-more { font-size: .85rem; font-weight: 600; color: var(--wbt-red); }

/* Cards */
.wbt-card { background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.wbt-card:hover { box-shadow: var(--wbt-shadow); transform: translateY(-2px); }
.wbt-card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--wbt-soft); }
.wbt-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.wbt-card:hover .wbt-card-thumb img { transform: scale(1.04); }
.wbt-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wbt-card-title { font-size: 1.08rem; margin: 0; line-height: 1.4; }
.wbt-card-title a { color: var(--wbt-ink); }
.wbt-card-title a:hover { color: var(--wbt-red); text-decoration: none; }
.wbt-card-excerpt { font-size: .92rem; color: var(--wbt-ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wbt-cat { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--wbt-red); padding: 2px 8px; border-radius: 3px; }
.wbt-cat:hover { background: var(--wbt-ink); color: #fff; text-decoration: none; }
.wbt-cat--overlay { position: absolute; left: 10px; top: 10px; z-index: 2; }
.wbt-meta { font-size: .8rem; color: var(--wbt-muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.wbt-meta a { color: var(--wbt-muted); }
.wbt-meta a:hover { color: var(--wbt-red); }
.wbt-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; fill: currentColor; }

.wbt-grid { display: grid; gap: 20px; }
.wbt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wbt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wbt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Hero */
.wbt-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 36px; }
.wbt-hero-main { position: relative; border-radius: var(--wbt-radius); overflow: hidden; min-height: 420px; background: var(--wbt-ink); display: flex; align-items: flex-end; }
.wbt-hero-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.wbt-hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%); }
.wbt-hero-main .wbt-hero-body { position: relative; z-index: 2; padding: 28px; color: #fff; }
.wbt-hero-main .wbt-hero-title { font-size: 1.85rem; margin: 10px 0 8px; line-height: 1.25; color: #fff; }
.wbt-hero-main .wbt-hero-title a { color: #fff; }
.wbt-hero-main .wbt-hero-title a:hover { color: var(--wbt-gold); text-decoration: none; }
.wbt-hero-main .wbt-meta, .wbt-hero-main .wbt-meta a { color: rgba(255,255,255,.8); }
.wbt-hero-main p { color: rgba(255,255,255,.9); margin: 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wbt-hero-side { display: grid; grid-template-rows: repeat(4, 1fr); gap: 12px; }
.wbt-hero-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); overflow: hidden; }
.wbt-hero-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.wbt-hero-item .wbt-hero-item-body { padding: 8px 10px 8px 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.wbt-hero-item h3 { font-size: .98rem; margin: 0; line-height: 1.35; }
.wbt-hero-item h3 a { color: var(--wbt-ink); }
.wbt-hero-item h3 a:hover { color: var(--wbt-red); text-decoration: none; }

/* Category block (home) */
.wbt-catblock { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.wbt-catblock-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wbt-catblock-list li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--wbt-line); align-items: center; }
.wbt-catblock-list li:last-child { border-bottom: 0; }
.wbt-catblock-list img { width: 96px; height: 68px; object-fit: cover; border-radius: 4px; }
.wbt-catblock-list h3 { font-size: .96rem; margin: 0 0 4px; line-height: 1.4; }
.wbt-catblock-list h3 a { color: var(--wbt-ink); }
.wbt-catblock-list h3 a:hover { color: var(--wbt-red); text-decoration: none; }
.wbt-catblock-list .wbt-meta { font-size: .75rem; }

/* Quick links strip */
.wbt-quicklinks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 36px; }
.wbt-quicklink { background: var(--wbt-white); border: 1px solid var(--wbt-line); border-top: 3px solid var(--wbt-red); border-radius: var(--wbt-radius); padding: 14px 12px; text-align: center; font-weight: 700; color: var(--wbt-ink); font-size: .95rem; transition: all .2s; }
.wbt-quicklink:hover { background: var(--wbt-red); color: #fff; text-decoration: none; border-color: var(--wbt-red); }
.wbt-quicklink small { display: block; font-weight: 400; font-size: .75rem; color: var(--wbt-muted); margin-top: 2px; }
.wbt-quicklink:hover small { color: rgba(255,255,255,.85); }

/* Post list (archive) */
.wbt-list { display: flex; flex-direction: column; gap: 20px; }
.wbt-list-item { display: grid; grid-template-columns: 280px 1fr; gap: 20px; background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); overflow: hidden; }
.wbt-list-item .wbt-card-thumb { aspect-ratio: 4/3; height: 100%; }
.wbt-list-item .wbt-card-body { padding: 16px 18px 16px 0; }
.wbt-list-item .wbt-card-title { font-size: 1.25rem; }

/* Archive header */
.wbt-archive-head { background: var(--wbt-white); border: 1px solid var(--wbt-line); border-left: 5px solid var(--wbt-red); padding: 18px 22px; margin-bottom: 24px; border-radius: var(--wbt-radius); }
.wbt-archive-head h1 { font-size: 1.6rem; margin: 0 0 4px; }
.wbt-archive-head p { margin: 0; color: var(--wbt-ink-2); font-size: .95rem; }

/* Breadcrumbs */
.wbt-breadcrumbs { font-size: .82rem; color: var(--wbt-muted); margin-bottom: 14px; }
.wbt-breadcrumbs a { color: var(--wbt-muted); }
.wbt-breadcrumbs a:hover { color: var(--wbt-red); }
.wbt-breadcrumbs .sep { margin: 0 6px; opacity: .6; }
.wbt-breadcrumbs .last { color: var(--wbt-ink); font-weight: 600; }

/* ==========================================================================
   6. Single post
   ========================================================================== */
.wbt-single { background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); padding: 28px 32px 32px; }
.wbt-entry-header { margin-bottom: 20px; }
.wbt-entry-title { font-size: 2.1rem; line-height: 1.28; margin: 10px 0 12px; }
.wbt-entry-sub { font-size: 1.05rem; color: var(--wbt-ink-2); margin-bottom: 14px; }
.wbt-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: .86rem; color: var(--wbt-muted); padding: 12px 0; border-top: 1px solid var(--wbt-line); border-bottom: 1px solid var(--wbt-line); }
.wbt-entry-meta .wbt-avatar { width: 32px; height: 32px; border-radius: 50%; }
.wbt-entry-meta .wbt-author { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--wbt-ink); }
.wbt-entry-meta .wbt-author a { color: var(--wbt-ink); }
.wbt-featured { margin: 20px 0; border-radius: var(--wbt-radius); overflow: hidden; }
.wbt-featured img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.wbt-featured figcaption { font-size: .8rem; color: var(--wbt-muted); padding: 6px 0 0; text-align: center; }

.wbt-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.wbt-share a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 30px; font-size: .82rem; font-weight: 600; color: #fff; }
.wbt-share a:hover { text-decoration: none; opacity: .9; }
.wbt-share .fb { background: #1877f2; }
.wbt-share .wa { background: #25d366; }
.wbt-share .tg { background: #229ed9; }
.wbt-share .x { background: #000; }
.wbt-share .cp { background: var(--wbt-ink-2); }
.wbt-share svg { width: 15px; height: 15px; fill: currentColor; }

.wbt-toc { background: var(--wbt-soft); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); padding: 14px 18px; margin: 0 0 24px; font-size: .95rem; }
.wbt-toc summary { font-weight: 700; cursor: pointer; font-family: var(--wbt-font-head); }
.wbt-toc ol { margin: 10px 0 0; padding-left: 1.3em; }
.wbt-toc li { margin: 4px 0; }
.wbt-toc a { color: var(--wbt-ink-2); }

.wbt-entry-content { font-size: 1.08rem; line-height: 1.85; }
.wbt-entry-content > * { max-width: 100%; }
.wbt-entry-content h2 { font-size: 1.55rem; margin: 1.6em 0 .6em; padding-bottom: .3em; border-bottom: 2px solid var(--wbt-line); position: relative; }
.wbt-entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--wbt-red); }
.wbt-entry-content h3 { font-size: 1.3rem; margin: 1.4em 0 .5em; }
.wbt-entry-content h4 { font-size: 1.12rem; margin: 1.2em 0 .5em; }
.wbt-entry-content img { border-radius: var(--wbt-radius); margin: 1.2em auto; }
.wbt-entry-content figure { margin: 1.5em 0; }
.wbt-entry-content figcaption { font-size: .82rem; color: var(--wbt-muted); text-align: center; }
.wbt-entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.wbt-entry-content ul, .wbt-entry-content ol { margin: 0 0 1.4em; }
.wbt-entry-content li { margin: .35em 0; }
.wbt-entry-content .wp-block-table { overflow-x: auto; }
.wbt-entry-content .wp-block-button__link { background: var(--wbt-red); color: #fff; text-decoration: none; border-radius: var(--wbt-radius); }
.wbt-entry-content .wp-block-quote { border-left-color: var(--wbt-red); }
.wbt-entry-content iframe { max-width: 100%; }
.wbt-entry-content .wbt-note { background: #fff8e6; border: 1px solid #f1d58a; border-left: 4px solid var(--wbt-gold); padding: 12px 16px; border-radius: 4px; margin: 1.5em 0; }
.wbt-entry-content .wbt-btn { display: inline-block; background: var(--wbt-red); color: #fff !important; padding: 10px 22px; border-radius: 4px; font-weight: 700; text-decoration: none !important; margin: 4px 6px 4px 0; }
.wbt-entry-content .wbt-btn:hover { background: var(--wbt-ink); }
.wbt-entry-content .wbt-btn--green { background: var(--wbt-green); }
.wbt-entry-content .wbt-btn--blue { background: var(--wbt-blue); }
.wbt-page-links { margin: 1.5em 0; font-weight: 600; }
.wbt-page-links a, .wbt-page-links > span { display: inline-block; padding: 4px 12px; border: 1px solid var(--wbt-line); border-radius: 4px; margin-right: 4px; }
.wbt-page-links > span:not(.wbt-page-links-title) { background: var(--wbt-red); color: #fff; border-color: var(--wbt-red); }

.wbt-tags { margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .85rem; }
.wbt-tags a { background: var(--wbt-soft); color: var(--wbt-ink-2); padding: 4px 12px; border-radius: 30px; border: 1px solid var(--wbt-line); }
.wbt-tags a:hover { background: var(--wbt-red); color: #fff; border-color: var(--wbt-red); text-decoration: none; }

.wbt-author-box { display: grid; grid-template-columns: 84px 1fr; gap: 18px; background: var(--wbt-soft); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); padding: 20px; margin: 30px 0; }
.wbt-author-box img { border-radius: 50%; width: 84px; height: 84px; }
.wbt-author-box h3 { margin: 0 0 4px; font-size: 1.1rem; }
.wbt-author-box p { margin: 0 0 6px; font-size: .92rem; color: var(--wbt-ink-2); }
.wbt-author-box .wbt-author-link { font-size: .85rem; font-weight: 600; }

.wbt-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0; }
.wbt-postnav a { display: block; background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); padding: 14px 16px; color: var(--wbt-ink); }
.wbt-postnav a:hover { text-decoration: none; border-color: var(--wbt-red); }
.wbt-postnav .label { display: block; font-size: .75rem; color: var(--wbt-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.wbt-postnav .title { font-weight: 700; font-family: var(--wbt-font-head); line-height: 1.35; }
.wbt-postnav .next { text-align: right; }

.wbt-related { margin-top: 36px; }

/* Comments */
.wbt-comments { margin-top: 36px; background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); padding: 24px 28px; }
.wbt-comments .comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.wbt-comments .comment { padding: 16px 0; border-bottom: 1px solid var(--wbt-line); }
.wbt-comments .comment .children { list-style: none; padding-left: 40px; }
.wbt-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.wbt-comments .comment-author img { border-radius: 50%; }
.wbt-comments .comment-metadata { font-size: .8rem; color: var(--wbt-muted); margin: 4px 0 8px; }
.wbt-comments .comment-content { font-size: .96rem; }
.wbt-comments .reply { font-size: .85rem; }
.comment-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--wbt-line); border-radius: 4px; background: var(--wbt-paper); }
.comment-form .form-submit input { background: var(--wbt-red); color: #fff; border: 0; padding: 10px 24px; border-radius: 4px; font-weight: 700; cursor: pointer; }
.comment-form .form-submit input:hover { background: var(--wbt-ink); }

/* ==========================================================================
   7. Ads
   ========================================================================== */
.wbt-ad { margin: 24px auto; text-align: center; clear: both; max-width: 100%; overflow: hidden; }
.wbt-ad--header { margin: 0; }
.wbt-ad--sidebar { margin: 0 0 24px; position: sticky; top: 70px; }
.wbt-ad--in-content { margin: 28px auto; }
.wbt-ad-label { display: block; font-size: .65rem; color: #9ca3af; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.wbt-ad ins.adsbygoogle { display: block; }
.wbt-ad-placeholder { background: repeating-linear-gradient(45deg, #f5f3ee, #f5f3ee 10px, #eeebe3 10px, #eeebe3 20px); border: 1px dashed #d4cfc2; color: #9a9384; font-size: .8rem; display: flex; align-items: center; justify-content: center; min-height: 90px; border-radius: 4px; }

/* ==========================================================================
   8. Sidebar widgets
   ========================================================================== */
.widget { background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); padding: 18px 20px; margin-bottom: 24px; font-size: .95rem; }
.widget-title { font-size: 1.05rem; margin: -18px -20px 16px; padding: 10px 20px; background: var(--wbt-ink); color: #fff; border-radius: var(--wbt-radius) var(--wbt-radius) 0 0; border-bottom: 3px solid var(--wbt-red); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 7px 0; border-bottom: 1px dashed var(--wbt-line); }
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--wbt-ink-2); }
.widget ul li a:hover { color: var(--wbt-red); }
.widget_categories li, .wp-block-categories li { display: flex; justify-content: space-between; }
.wbt-popular { list-style: none; margin: 0; padding: 0; counter-reset: pop; }
.wbt-popular li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--wbt-line); align-items: center; }
.wbt-popular li:last-child { border-bottom: 0; }
.wbt-popular img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; }
.wbt-popular h4 { font-size: .93rem; margin: 0 0 2px; line-height: 1.4; }
.wbt-popular h4 a { color: var(--wbt-ink); }
.wbt-popular h4 a:hover { color: var(--wbt-red); text-decoration: none; }
.wbt-popular .wbt-meta { font-size: .74rem; }
.wbt-popular--numbered li { grid-template-columns: 34px 1fr; }
.wbt-popular--numbered li::before { counter-increment: pop; content: counter(pop); font-family: var(--wbt-font-head); font-size: 1.6rem; font-weight: 800; color: var(--wbt-line); line-height: 1; }
.wbt-catgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wbt-catgrid a { display: flex; justify-content: space-between; align-items: center; background: var(--wbt-soft); padding: 8px 12px; border-radius: 4px; color: var(--wbt-ink); font-weight: 600; font-size: .86rem; }
.wbt-catgrid a span { background: var(--wbt-red); color: #fff; font-size: .7rem; padding: 1px 7px; border-radius: 20px; }
.wbt-catgrid a:hover { background: var(--wbt-ink); color: #fff; text-decoration: none; }
.wbt-newsletter { background: linear-gradient(135deg, var(--wbt-red), var(--wbt-red-dark)); color: #fff; border-radius: var(--wbt-radius); padding: 20px; text-align: center; margin-bottom: 24px; }
.wbt-newsletter h3 { color: #fff; margin-bottom: 6px; }
.wbt-newsletter p { font-size: .9rem; margin-bottom: 12px; opacity: .92; }
.wbt-newsletter a { display: inline-block; background: #fff; color: var(--wbt-red); font-weight: 700; padding: 8px 20px; border-radius: 30px; }
.wbt-newsletter a:hover { text-decoration: none; background: var(--wbt-gold); color: var(--wbt-ink); }

/* Pagination */
.wbt-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 32px 0 0; }
.wbt-pagination .page-numbers { display: inline-block; min-width: 40px; text-align: center; padding: 8px 12px; background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: 4px; color: var(--wbt-ink); font-weight: 600; }
.wbt-pagination .page-numbers.current, .wbt-pagination .page-numbers:hover { background: var(--wbt-red); color: #fff; border-color: var(--wbt-red); text-decoration: none; }
.wbt-pagination .dots { border: 0; background: transparent; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.wbt-footer { background: var(--wbt-ink); color: #c9ccd3; margin-top: 40px; font-size: .92rem; }
.wbt-footer a { color: #e6e7ea; }
.wbt-footer a:hover { color: var(--wbt-gold); }
.wbt-footer-widgets { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 44px 0 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.wbt-footer .widget { background: transparent; border: 0; padding: 0; margin: 0; }
.wbt-footer .widget-title { background: transparent; margin: 0 0 14px; padding: 0 0 8px; border-bottom: 2px solid var(--wbt-red); display: inline-block; color: #fff; border-radius: 0; }
.wbt-footer .widget ul li { border-bottom-color: rgba(255,255,255,.08); }
.wbt-footer .widget ul li a { color: #c9ccd3; }
.wbt-footer-about .wbt-site-title { font-size: 1.5rem; }
.wbt-footer-about .wbt-site-title a { color: #fff; }
.wbt-footer-about p { color: #aeb2bb; }
.wbt-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; font-size: .82rem; color: #9aa0ab; }
.wbt-footer-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.wbt-backtop { position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; background: var(--wbt-red); color: #fff; border: 0; cursor: pointer; box-shadow: var(--wbt-shadow); opacity: 0; visibility: hidden; transition: all .3s; z-index: 800; display: flex; align-items: center; justify-content: center; }
.wbt-backtop.is-visible { opacity: 1; visibility: visible; }

/* 404 / search */
.wbt-404 { text-align: center; padding: 60px 20px; background: var(--wbt-white); border: 1px solid var(--wbt-line); border-radius: var(--wbt-radius); }
.wbt-404 h1 { font-size: 5rem; color: var(--wbt-red); margin: 0; line-height: 1; }
.wbt-404 p { color: var(--wbt-ink-2); }

/* Page */
.wbt-page .wbt-entry-title { font-size: 1.9rem; }

/* Gutenberg alignment */
.alignwide { margin-left: -32px; margin-right: -32px; max-width: none; }
.alignfull { margin-left: -32px; margin-right: -32px; max-width: none; }
.alignleft { float: left; margin: .5em 1.5em 1em 0; }
.alignright { float: right; margin: .5em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .82rem; color: var(--wbt-muted); text-align: center; }
.sticky .wbt-card-title::before { content: "📌 "; }
.bypostauthor { }
.gallery-caption { font-size: .82rem; }

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .wbt-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .wbt-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .wbt-quicklinks { grid-template-columns: repeat(3, 1fr); }
  .wbt-footer-widgets { grid-template-columns: 1fr 1fr; }
  .wbt-header-ad { display: none; }
}
@media (max-width: 860px) {
  .wbt-layout { grid-template-columns: minmax(0, 1fr); }
  .wbt-hero { grid-template-columns: 1fr; }
  .wbt-hero-main { min-height: 320px; }
  .wbt-hero-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .wbt-catblock { grid-template-columns: 1fr; }
  .wbt-list-item { grid-template-columns: 1fr; }
  .wbt-list-item .wbt-card-body { padding: 14px 16px 16px; }
  .wbt-list-item .wbt-card-thumb { aspect-ratio: 16/9; height: auto; }
  .wbt-nav-btn { display: inline-flex; }
  .wbt-nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--wbt-red-dark); max-height: calc(100vh - 60px); overflow-y: auto; }
  .wbt-nav-menu.is-open { display: block; }
  .wbt-nav-menu ul { flex-direction: column; }
  .wbt-nav-menu li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .wbt-nav .sub-menu { display: block; position: static; box-shadow: none; border: 0; background: rgba(0,0,0,.15); }
  .wbt-nav .sub-menu a { color: #fff; padding-left: 28px; border: 0; }
  .wbt-nav .sub-menu a:hover { background: rgba(0,0,0,.2); color: #fff; }
  .wbt-topbar-menu { display: none; }
  .wbt-single { padding: 20px 16px 24px; }
  .wbt-entry-title { font-size: 1.6rem; }
  .wbt-entry-content { font-size: 1.02rem; }
  .alignwide, .alignfull { margin-left: -16px; margin-right: -16px; }
  .wbt-ad--sidebar { position: static; }
  .admin-bar .wbt-nav { top: 46px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wbt-grid--2, .wbt-grid--3, .wbt-grid--4 { grid-template-columns: 1fr; }
  .wbt-hero-side { grid-template-columns: 1fr; }
  .wbt-quicklinks { grid-template-columns: repeat(2, 1fr); }
  .wbt-footer-widgets { grid-template-columns: 1fr; }
  .wbt-site-title { font-size: 1.35rem; }
  .wbt-masthead { grid-template-columns: 1fr; text-align: center; row-gap: 8px; }
  .wbt-masthead-left, .wbt-masthead-right { justify-content: center; }
  .wbt-postnav { grid-template-columns: 1fr; }
  .wbt-author-box { grid-template-columns: 1fr; text-align: center; }
  .wbt-author-box img { margin: 0 auto; }
  .wbt-hero-main .wbt-hero-title { font-size: 1.35rem; }

}

/* Print */
@media print {
  .wbt-topbar, .wbt-nav, .wbt-ticker, .wbt-sidebar, .wbt-ad, .wbt-share, .wbt-footer, .wbt-backtop, .wbt-comments, .wbt-related, .wbt-postnav { display: none !important; }
  .wbt-layout { grid-template-columns: 1fr; }
  .wbt-single { border: 0; padding: 0; }
}


/* ==========================================================================
   11. v1.1 — Premium polish, bug fixes, dark mode, mobile menu, newsletter
   ========================================================================== */

/* --- Bugfix: inline SVG icons rendered at full size inside meta rows ------ */
.wbt-meta svg,
.wbt-entry-meta svg,
.wbt-topbar svg,
.widget svg,
.wbt-breadcrumbs svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex: 0 0 auto;
  vertical-align: -2px;
  display: inline-block;
}
.wbt-entry-meta > span,
.wbt-entry-meta > a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.wbt-entry-meta .wbt-author { max-width: 100%; overflow-wrap: anywhere; }
.wbt-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; color: var(--wbt-muted); }
.wbt-meta span { display: inline-flex; align-items: center; gap: 5px; }

/* --- Premium type & surface refinements ---------------------------------- */
:root {
  --wbt-shadow-lg: 0 18px 40px -22px rgba(22, 24, 29, .45);
  --wbt-surface: var(--wbt-white);
  --wbt-surface-2: var(--wbt-soft);
  --wbt-text: var(--wbt-ink);
  --wbt-text-2: var(--wbt-ink-2);
  --wbt-hairline: var(--wbt-line);
}
body { background-image: radial-gradient(1200px 400px at 50% -180px, rgba(179, 18, 27, .07), transparent 70%); background-repeat: no-repeat; }
.wbt-header { background: linear-gradient(180deg, var(--wbt-surface), var(--wbt-surface)); }
.wbt-card, .widget, .wbt-single, .wbt-archive-head, .wbt-postnav a { box-shadow: 0 1px 2px rgba(22,24,29,.04); }
.wbt-card:hover { box-shadow: var(--wbt-shadow-lg); }
.wbt-cat, .wbt-card-cat {
  display: inline-block; background: var(--wbt-red); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .02em; padding: 3px 10px; border-radius: 3px; text-transform: uppercase;
}
.wbt-cat:hover { background: var(--wbt-ink); color: #fff; text-decoration: none; }
.wbt-section-title { background: linear-gradient(135deg, var(--wbt-ink), #2b2f3a); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--wbt-gold) 70%, transparent);
  outline-offset: 2px;
}

/* --- Reading progress ----------------------------------------------------- */
.wbt-progress-wrap { position: fixed; inset: 0 0 auto 0; height: 3px; background: transparent; z-index: 1000; pointer-events: none; }
.wbt-progress { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--wbt-red), var(--wbt-gold)); transition: transform .1s linear; }

/* --- Dark mode toggle ----------------------------------------------------- */
.wbt-dark-toggle { display: inline-flex; align-items: center; justify-content: center; }
.wbt-dark-icon { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); display: block; }

/* --- Mobile drawer + nav fixes -------------------------------------------- */
.wbt-nav .wbt-container { position: relative; }
.wbt-menu-head { display: none; }
.wbt-submenu-toggle { display: none; }

/* --- Newsletter / subscription -------------------------------------------- */
.wbt-subscribe {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: center;
  background: linear-gradient(135deg, var(--wbt-red), var(--wbt-red-dark) 65%, #4a0508);
  border-radius: calc(var(--wbt-radius) * 2); padding: 28px 32px; margin: 32px 0 0;
  color: #fff; box-shadow: var(--wbt-shadow-lg); position: relative; overflow: hidden;
}
.wbt-subscribe::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.wbt-subscribe-title { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.wbt-subscribe p { margin: 0; color: rgba(255,255,255,.88); font-size: .93rem; }
.wbt-subscribe-row { display: flex; gap: 8px; position: relative; z-index: 1; }
.wbt-subscribe input[type="email"] {
  flex: 1; min-width: 0; padding: 13px 16px; border: 0; border-radius: 40px; background: #fff;
  color: var(--wbt-ink); font-size: .95rem;
}
.wbt-subscribe button {
  border: 0; border-radius: 40px; padding: 13px 26px; font-weight: 700; cursor: pointer;
  background: var(--wbt-gold); color: #23180a; transition: transform .15s, background .2s; white-space: nowrap;
}
.wbt-subscribe button:hover { background: #fff; transform: translateY(-1px); }
.wbt-subscribe-note { margin: 10px 0 0 !important; font-size: .76rem !important; color: rgba(255,255,255,.7) !important; }
.wbt-subscribe-msg { margin: 12px 0 0; grid-column: 1 / -1; background: rgba(255,255,255,.14); border-radius: 8px; padding: 10px 14px; font-size: .9rem; }
.wbt-subscribe-msg.is-err { background: rgba(0,0,0,.28); }
.wbt-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.wbt-subscribe--widget { grid-template-columns: 1fr; padding: 22px; margin: 0; text-align: center; }
.wbt-subscribe--widget .wbt-subscribe-title { font-size: 1.15rem; }
.wbt-subscribe--widget .wbt-subscribe-row { flex-direction: column; }
.wbt-footer .wbt-subscribe a { color: #fff; }
.wbt-subscribe-wrap { margin-bottom: 40px; }
.wbt-subscribe-wrap .wbt-subscribe { margin-top: 0; }

/* --- Footer contact us ---------------------------------------------------- */
.wbt-contact-list { list-style: none; margin: 0 0 16px; padding: 0; }
.wbt-contact-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.wbt-contact-list li:last-child { border-bottom: 0; }
.wbt-contact-list a { color: #c9ccd3; }
.wbt-contact-list a:hover { color: var(--wbt-gold); }
.wbt-contact-list address { font-style: normal; color: #aeb2bb; line-height: 1.6; }
.wbt-contact-ico { display: inline-flex; color: var(--wbt-gold); flex: 0 0 auto; margin-top: 3px; }
.wbt-social-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wbt-social-icons a {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .15s;
}
.wbt-social-icons a:hover { background: var(--wbt-red); color: #fff; transform: translateY(-2px); }
.wbt-social-icons svg { width: 16px; height: 16px; fill: currentColor; }
.wbt-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Dark theme ------------------------------------------------------------ */
html.wbt-dark {
  --wbt-ink: #e9eaee;
  --wbt-ink-2: #b9bec9;
  --wbt-muted: #8f97a5;
  --wbt-line: #2b3039;
  --wbt-paper: #0f1216;
  --wbt-white: #171b21;
  --wbt-soft: #1e232b;
}
html.wbt-dark body { background-image: radial-gradient(1200px 400px at 50% -180px, rgba(217,164,65,.10), transparent 70%); }
html.wbt-dark .wbt-header,
html.wbt-dark .wbt-ticker { background: #171b21; border-color: #2b3039; }
html.wbt-dark .wbt-topbar { background: #0b0e12; }
html.wbt-dark .wbt-footer { background: #0b0e12; }
html.wbt-dark .wbt-site-title a { color: #f2f3f5; }
html.wbt-dark .wbt-masthead-right .wbt-social-icon { color: #f2f3f5; }
html.wbt-dark .wbt-masthead-right .wbt-social-icon:hover { color: var(--wbt-red); }
html.wbt-dark .widget-title { background: #22262e; }
html.wbt-dark .wbt-section-title { background: linear-gradient(135deg, #22262e, #2c313b); }
html.wbt-dark .wbt-section-title::after { border-left-color: #2c313b; }
html.wbt-dark .wbt-section-head { border-bottom-color: #2b3039; }
html.wbt-dark pre { background: #0b0e12; }
html.wbt-dark .wbt-entry-content .wbt-note { background: #241f12; border-color: #4a3c17; }
html.wbt-dark .wbt-ad-placeholder { background: #1b1f26; border-color: #2b3039; color: #6c7482; }
html.wbt-dark img:not(.custom-logo) { filter: brightness(.94); }

/* --- Responsive: primary menu on mobile (rebuilt) --------------------------- */
@media (max-width: 860px) {
  .wbt-nav .wbt-container { justify-content: space-between; }
  .wbt-nav-btn { display: inline-flex; align-items: center; justify-content: center; }

  .wbt-nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: min(86vw, 340px);
    max-height: none;
    height: 100%;
    display: block;
    background: var(--wbt-red-dark);
    box-shadow: 0 0 40px rgba(0,0,0,.45);
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1200;
    visibility: hidden;
  }
  .wbt-nav-menu.is-open { transform: translateX(0); visibility: visible; }
  body.wbt-menu-open { overflow: hidden; }
  body.wbt-menu-open::after {
    content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1100;
  }

  .wbt-menu-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.15);
    color: #fff; font-weight: 700; font-family: var(--wbt-font-head); position: sticky; top: 0;
    background: var(--wbt-red-dark); z-index: 2;
  }
  .wbt-menu-close { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 4px; }

  .wbt-nav-menu ul { flex-direction: column; display: block; }
  .wbt-nav-menu li { position: relative; border-bottom: 1px solid rgba(255,255,255,.1); }
  .wbt-nav-menu > ul > li > a { font-size: 1rem; }
  .wbt-nav-menu a { padding: 14px 46px 14px 18px; white-space: normal; }
  .wbt-nav-menu .menu-item-has-children > a::after { content: ""; }

  .wbt-submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 4px; right: 4px; width: 42px; height: 42px;
    background: rgba(255,255,255,.1); border: 0; border-radius: 6px; color: #fff;
    font-size: 1.35rem; line-height: 1; cursor: pointer;
  }
  .wbt-nav-menu .sub-menu {
    display: none; position: static; background: rgba(0,0,0,.22); box-shadow: none; border: 0;
  }
  .wbt-nav-menu li.is-expanded > .sub-menu { display: block; }
  .wbt-nav-menu li:hover > .sub-menu,
  .wbt-nav-menu li:focus-within > .sub-menu { display: none; }
  .wbt-nav-menu li.is-expanded > .wbt-submenu-toggle span { transform: rotate(45deg); display: block; }
  .wbt-nav-menu .sub-menu a { padding-left: 32px; font-size: .93rem; }
  .wbt-nav-menu .sub-menu .sub-menu a { padding-left: 46px; }

  .wbt-subscribe { grid-template-columns: 1fr; padding: 22px 18px; text-align: center; }
  .wbt-subscribe-row { flex-direction: column; }
  .wbt-subscribe button { width: 100%; }
  .wbt-entry-meta { gap: 8px 14px; font-size: .82rem; }
  .wbt-entry-meta .wbt-avatar { width: 26px; height: 26px; }
}

@media (max-width: 560px) {
  .wbt-entry-meta { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .wbt-entry-meta > span, .wbt-entry-meta > a { justify-content: flex-start; }
}

@media print {
  .wbt-subscribe, .wbt-progress-wrap { display: none !important; }
}
