@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --acc: #b81226;
  --acc-h: #8f0d1c;
  --acc-light: #fef2f2;
  --bg: #f5f4f0;
  --bg-card: #ffffff;
  --bg-nav: #ffffff;
  --text: #111111;
  --text-2: #444444;
  --text-3: #888888;
  --border: #e5e5e5;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.13);
  --r: 12px;
  --r-lg: 16px;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Inter', 'Segoe UI', sans-serif;
  --nav-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--text); line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--acc); }
img { display: block; max-width: 100%; height: auto; }
.np-container { width: min(1200px, 94%); margin: 0 auto; }

/* ── Topbar ── */
.topbar { background: #111; color: #888; font-size: 11px; padding: 5px 0; }
.topbar .np-container { display: flex; align-items: center; justify-content: space-between; }
.topbar-social { display: flex; gap: 8px; }
.topbar-social a { color: #666; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all .18s; font-size: 13px; }
.topbar-social a:hover { color: #fff; background: var(--acc); }

/* ── Header / Branding ── */
.site-header { background: var(--bg-nav); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.branding-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }

/* Logo */
.logo-wrap { display: flex; flex-direction: column; }
.logo-mark { display: flex; align-items: flex-end; line-height: 1; }
.logo-N { font-family: var(--font-h); font-size: 40px; font-weight: 900; color: var(--acc); line-height: 1; }
.logo-rest { font-family: var(--font-h); font-size: 26px; font-weight: 700; color: var(--text); line-height: 1; padding-bottom: 3px; }
.logo-sub { font-size: 10px; color: var(--text-3); letter-spacing: 2.5px; text-transform: uppercase; margin-top: 2px; }

.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); transition: all .18s; font-size: 16px; }
.hdr-icon-btn:hover { background: var(--acc); color: #fff; border-color: var(--acc); }
.dark-toggle { display: flex; align-items: center; gap: 6px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 600; cursor: pointer; background: var(--bg-card); color: var(--text); font-family: var(--font-b); transition: all .2s; }
.dark-toggle:hover { background: var(--text); color: #fff; }

/* ── Breaking News ── */
.breaking-wrap { display: flex; align-items: center; background: var(--acc); }
.breaking-label { background: rgba(0,0,0,.25); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; flex-shrink: 0; white-space: nowrap; }
.breaking-text { color: #fff; font-size: 12px; font-weight: 500; padding: 7px 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breaking-text a { color: rgba(255,255,255,.85); text-decoration: underline; }

/* ── Navigation ── */
.nav-bar { background: var(--bg-nav); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav-menu li { position: relative; }
.nav-menu li > a { display: flex; align-items: center; gap: 4px; padding: 8px 13px; font-size: 13px; font-weight: 600; color: var(--text-2); border-bottom: 3px solid transparent; height: var(--nav-h); transition: all .18s; white-space: nowrap; }
.nav-menu li > a:hover, .nav-menu li.current-menu-item > a, .nav-menu li.current_page_item > a { color: var(--acc); border-bottom-color: var(--acc); }

/* Submenu arrow */
.nav-menu li.menu-item-has-children > a::after { content: '▾'; font-size: 9px; margin-left: 3px; opacity: .6; }

/* Sub-menu dropdown */
.nav-menu li .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 6px; box-shadow: var(--shadow-lg); z-index: 200; flex-direction: column; gap: 2px; }
.nav-menu li:hover .sub-menu, .nav-menu li:focus-within .sub-menu { display: flex; }
.nav-menu li .sub-menu a { display: block; padding: 9px 13px; font-size: 13px; font-weight: 500; color: var(--text-2); border-bottom: none; height: auto; border-radius: 7px; transition: all .16s; }
.nav-menu li .sub-menu a:hover { background: var(--acc-light); color: var(--acc); padding-left: 17px; border-bottom-color: transparent; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; border-radius: 8px; transition: background .18s; }
.nav-hamburger:hover { background: var(--acc-light); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .28s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav { display: none; flex-direction: column; background: var(--bg-card); border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }
.mobile-nav-item > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; font-size: 15px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); transition: color .18s; }
.mobile-nav-item > a:hover { color: var(--acc); }
.mobile-nav-item > a .arrow { font-size: 11px; color: var(--text-3); transition: transform .22s; }
.mobile-nav-item.sub-open > a .arrow { transform: rotate(90deg); color: var(--acc); }
.mobile-sub { display: none; flex-direction: column; background: #fafafa; }
.mobile-sub.open { display: flex; }
.mobile-sub a { padding: 11px 28px; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--border); transition: color .18s; }
.mobile-sub a:hover { color: var(--acc); }

/* ── Category Filter Strip ── */
.cat-strip { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 0 0; }
.cat-pill { padding: 7px 16px; border-radius: 999px; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-2); transition: all .18s; }
.cat-pill:hover, .cat-pill.active { background: var(--acc); color: #fff; border-color: var(--acc); }

/* ── Section Heading ── */
.section-heading { display: flex; align-items: center; gap: 12px; margin: 24px 0 16px; font-family: var(--font-h); font-size: 20px; font-weight: 700; color: var(--text); }
.section-heading .bar { width: 4px; height: 24px; background: var(--acc); border-radius: 0; flex-shrink: 0; }
.section-heading .line { flex: 1; height: 1px; background: var(--border); }

/* ── Featured Card ── */
.featured-card { background: var(--bg-card); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 24px; border: 1px solid var(--border); cursor: pointer; transition: transform .22s, box-shadow .22s; }
.featured-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.featured-card .feat-img-wrap { position: relative; overflow: hidden; }
.featured-card .feat-img-wrap img, .featured-card .feat-img-placeholder { width: 100%; height: 380px; object-fit: cover; display: block; transition: transform .5s; }
.featured-card:hover .feat-img-placeholder { transform: scale(1.03); }
.feat-img-placeholder { background: #1a0a10; display: flex; align-items: flex-end; justify-content: stretch; }
.feat-overlay { position: absolute; bottom: 0; left: 0; right: 0; height: 65%; background: linear-gradient(to top, rgba(0,0,0,.88), transparent); }
.feat-over-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 24px; }
.feat-badge { display: inline-block; background: var(--acc); color: #fff; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }
.feat-cat-date { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feat-cat { background: rgba(184,18,38,.85); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.feat-date { color: rgba(255,255,255,.7); font-size: 11px; }
.feat-title-over { font-family: var(--font-h); font-size: 26px; font-weight: 700; color: #fff; line-height: 1.3; }
.feat-body { padding: 16px 20px 20px; }
.feat-excerpt { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 14px; }
.read-more { display: inline-flex; align-items: center; gap: 7px; background: var(--acc); color: #fff; padding: 9px 18px; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .18s; }
.read-more:hover { color: #fff; background: var(--acc-h); transform: translateX(2px); }

/* ── News Grid (2 cols, no sidebar) ── */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.news-card { background: var(--bg-card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: transform .22s, box-shadow .22s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-card .nc-img { overflow: hidden; }
.news-card .nc-img img { width: 100%; height: 160px; object-fit: cover; transition: transform .4s; display: block; }
.news-card:hover .nc-img img { transform: scale(1.06); }
.nc-img-ph { height: 160px; display: flex; align-items: center; justify-content: center; }
.news-card .nc-body { padding: 14px 16px 16px; }
.nc-meta { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.nc-cat { background: var(--acc-light); color: var(--acc); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .3px; }
.nc-date { color: var(--text-3); font-size: 11px; }
.nc-title { font-family: var(--font-h); font-size: 16px; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.nc-title a { color: var(--text); }
.nc-title a:hover { color: var(--acc); }
.nc-excerpt { font-size: 13px; color: var(--text-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Pagination ── */
.pagination-wrap { margin: 28px 0; }
.pagination-wrap .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination-wrap .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 8px; padding: 0 12px; background: var(--bg-card); color: var(--text); font-weight: 700; font-size: 14px; transition: all .18s; }
.pagination-wrap .page-numbers:hover { border-color: var(--acc); color: var(--acc); transform: translateY(-2px); }
.pagination-wrap .page-numbers.current { background: var(--acc); color: #fff; border-color: var(--acc); }
.pagination-wrap .page-numbers.dots { border: none; background: none; }

/* ── Ad Block ── */
.ad-block { text-align: center; padding: 20px; color: #9a1020; border: 1.5px dashed #f1c7cf; border-radius: var(--r); background: #fff8f9; font-size: 13px; font-weight: 600; margin: 20px 0; }

/* ── Footer ── */
.site-footer { background: #111; color: #aaa; padding: 36px 0 16px; margin-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 28px; border-bottom: 1px solid #222; margin-bottom: 20px; }
.footer-logo-mark { display: flex; align-items: flex-end; gap: 0; line-height: 1; }
.ftr-N { font-family: var(--font-h); font-size: 32px; font-weight: 900; color: var(--acc); line-height: 1; }
.ftr-rest { font-family: var(--font-h); font-size: 22px; font-weight: 700; color: #fff; line-height: 1; padding-bottom: 3px; }
.footer-desc { color: #666; font-size: 13px; line-height: 1.65; margin-top: 8px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #fff; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links li a { color: #666; font-size: 13px; transition: color .18s; }
.footer-links li a:hover { color: var(--acc); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #444; }
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: #fff; }

/* ── Single Post ── */
.single-article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 40px; margin-bottom: 24px; }
.single-article h1 { font-family: var(--font-h); font-size: 40px; line-height: 1.2; margin-bottom: 18px; }
.single-thumb img { width: 100%; border-radius: var(--r); margin-bottom: 24px; }

/* ── Site Main ── */
.site-main { padding: 0 0 48px; }

/* ── Dark Mode ── */
body.dark-mode {
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-nav: #141414;
  --text: #f0f0f0;
  --text-2: #cccccc;
  --text-3: #777777;
  --border: #252525;
  --acc-light: #2a1515;
}
body.dark-mode .topbar { background: #050505; }
body.dark-mode .logo-rest { color: #f0f0f0; }
body.dark-mode .nav-menu li .sub-menu { background: #1e1e1e; }
body.dark-mode .nav-menu li .sub-menu a:hover { background: #2a1515; }
body.dark-mode .mobile-sub { background: #111; }
body.dark-mode .site-footer { background: #050505; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .logo-N { font-size: 32px; }
  .logo-rest { font-size: 20px; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .feat-title-over { font-size: 20px; }
  .feat-img-placeholder { height: 260px; }
  .featured-card .feat-img-wrap img { height: 260px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .single-article { padding: 20px; }
  .single-article h1 { font-size: 28px; }
  .cat-strip { padding-top: 12px; }
}

@media (max-width: 480px) {
  .logo-N { font-size: 28px; }
  .logo-rest { font-size: 18px; }
  .dark-toggle span { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feat-over-content { padding: 14px 16px; }
  .feat-title-over { font-size: 17px; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.news-card { animation: fadeUp .4s ease both; }
.news-card:nth-child(1){animation-delay:.05s} .news-card:nth-child(2){animation-delay:.1s}
.news-card:nth-child(3){animation-delay:.15s} .news-card:nth-child(4){animation-delay:.2s}
.news-card:nth-child(5){animation-delay:.25s} .news-card:nth-child(6){animation-delay:.3s}

/* ════════════════════════════════════════════
   SINGLE POST — Full Width, No Scroll Issue
════════════════════════════════════════════ */

.single-wrap {
    max-width: 780px;
    margin: 28px auto 48px;
    padding: 0;
    width: 100%;
}

.single-article {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 36px 40px;
    margin-bottom: 20px;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.single-date,
.single-author {
    font-size: 13px;
    color: var(--text-3);
}

.single-title {
    font-family: var(--font-h);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 20px;
}

.single-thumb {
    margin-bottom: 24px;
    border-radius: var(--r);
    overflow: hidden;
}

.single-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

/* Entry content — prevent horizontal overflow */
.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-2);
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.entry-content p  { margin-bottom: 1.2em; }
.entry-content h2 { font-family: var(--font-h); font-size: 24px; font-weight: 700; margin: 1.6em 0 .6em; color: var(--text); }
.entry-content h3 { font-family: var(--font-h); font-size: 20px; font-weight: 700; margin: 1.4em 0 .5em; color: var(--text); }
.entry-content ul,
.entry-content ol  { margin: 0 0 1.2em 1.4em; }
.entry-content li  { margin-bottom: .4em; }
.entry-content a   { color: var(--acc); text-decoration: underline; }
.entry-content blockquote {
    border-left: 4px solid var(--acc);
    margin: 1.5em 0;
    padding: 12px 20px;
    background: var(--acc-light);
    border-radius: 0 var(--r) var(--r) 0;
    color: var(--text-2);
    font-style: italic;
}

/* Images inside content — never overflow */
.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content table {
    max-width: 100%;
    height: auto;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}

.entry-content table td,
.entry-content table th {
    border: 1px solid var(--border);
    padding: 8px 12px;
}

.entry-content pre,
.entry-content code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: #f4f4f4;
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 13px;
}

.entry-content pre {
    padding: 14px 16px;
    display: block;
    margin-bottom: 1.2em;
}

/* ── Custom HTML support ──────────────────────────────
   The theme's global reset (`*{margin:0;padding:0}`) zeroes
   out default spacing on every element. That's fine for the
   theme's own components (which are styled explicitly), but
   it also strips spacing/appearance from any raw HTML a user
   pastes into a post or page — divs, tables, forms, buttons,
   iframes wrapped in divs, etc. — making that content look
   squashed or broken. These rules restore sane defaults *only*
   inside .entry-content, without touching the rest of the site. */
.entry-content div,
.entry-content section,
.entry-content article,
.entry-content figure { margin-bottom: 1.2em; }
.entry-content figure:last-child,
.entry-content div:last-child { margin-bottom: 0; }
.entry-content figcaption { font-size: 13px; color: var(--text-3); margin-top: .4em; }
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }
.entry-content iframe { border: 0; width: 100%; }

.entry-content form { margin-bottom: 1.2em; }
.entry-content label { display: inline-block; margin-bottom: .3em; }
.entry-content input,
.entry-content select,
.entry-content textarea {
    font-family: var(--font-b);
    font-size: 14px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: .8em;
    max-width: 100%;
}
.entry-content button,
.entry-content input[type="submit"],
.entry-content input[type="button"],
.entry-content .btn {
    display: inline-block;
    font-family: var(--font-b);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    background: var(--acc);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}
.entry-content button:hover,
.entry-content input[type="submit"]:hover,
.entry-content .btn:hover { background: var(--acc-h); color: #fff; }

/* Any pasted HTML that relies on its own <style> block should
   still win — this reset only fills in defaults, it doesn't use
   !important, so more specific rules from the pasted snippet
   (classes, ids, inline styles) override it as normal. */

/* Single footer */
.single-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.entry-tags { font-size: 13px; color: var(--text-3); }
.entry-tags a { color: var(--acc); text-decoration: underline; margin-right: 4px; }
.tags-label { font-weight: 600; color: var(--text-2); }

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border);
    border-radius: 7px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    transition: all .18s;
}

.back-btn:hover { background: var(--acc); color: #fff; border-color: var(--acc); }

/* Post navigation */
.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.post-nav-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all .18s;
    cursor: pointer;
}

.post-nav-item:hover { border-color: var(--acc); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.post-nav-item.next { text-align: right; }

.nav-label { font-size: 11px; font-weight: 700; color: var(--acc); text-transform: uppercase; letter-spacing: .5px; }

.nav-title {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Single Responsive ── */
@media (max-width: 860px) {
    .single-wrap { margin: 16px auto 36px; }
    .single-article { padding: 22px 20px; }
    .single-title { font-size: 26px; }
}

@media (max-width: 600px) {
    .single-article { padding: 16px 14px; border-radius: var(--r); }
    .single-title { font-size: 22px; }
    .entry-content { font-size: 15px; }
    .post-nav { grid-template-columns: 1fr; }
    .post-nav-item.next { text-align: left; }
    .single-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .single-title { font-size: 20px; }
    .entry-content h2 { font-size: 19px; }
    .entry-content h3 { font-size: 17px; }
}

/* ════════════════════════════════════════════
   SOCIAL SHARE BUTTONS
════════════════════════════════════════════ */

/* ── Desktop: left-side floating vertical bar ── */
.share-float {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.share-float.visible {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    pointer-events: all;
}
.share-float-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-3);
    margin-bottom: 2px;
}
.share-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.share-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.share-btn span {
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
}
.share-btn span::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #111;
}
.share-btn:hover { transform: scale(1.12); box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.share-btn:hover span { opacity: 1; }
.share-btn.fb   { background: #1877f2; }
.share-btn.tw   { background: #000; }
.share-btn.wa   { background: #25d366; }
.share-btn.tg   { background: #229ed9; }
.share-btn.li   { background: #0a66c2; }
.share-btn.copy-btn {
    background: #fff;
    color: #444;
    border: 1.5px solid var(--border);
}
.share-btn.copy-btn svg { stroke: #444; fill: none; }
.share-btn.copy-btn:hover { background: var(--acc); border-color: var(--acc); color: #fff; }
.share-btn.copy-btn:hover svg { stroke: #fff; }

/* ── Mobile: bottom sticky bar — FIXED PROPERLY ── */
.share-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    border-top: 1.5px solid #e5e5e5;
    padding: 10px 14px 12px;
    display: none;              /* hidden by default; shown only on mobile */
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 9999;              /* very high so nothing covers it */
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
    transform: translateY(100%);
    transition: transform .3s ease;
}
.share-mobile-bar.visible {
    transform: translateY(0);
}
.share-mobile-label {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    white-space: nowrap;
}
.smb-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .18s, box-shadow .18s;
    -webkit-tap-highlight-color: transparent;
}
.smb-btn svg { width: 17px; height: 17px; }
.smb-btn:hover, .smb-btn:active { transform: scale(1.1); box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.smb-btn.fb   { background: #1877f2; }
.smb-btn.tw   { background: #000; }
.smb-btn.wa   { background: #25d366; }
.smb-btn.tg   { background: #229ed9; }
.smb-btn.li   { background: #0a66c2; }
.smb-btn.cp {
    background: #f5f4f0;
    border: 1.5px solid #e5e5e5;
    color: #333;
}
.smb-btn.cp svg { stroke: #333; fill: none; }
.smb-btn.cp:hover { background: var(--acc); border-color: var(--acc); }
.smb-btn.cp:hover svg { stroke: #fff; }

/* ── Responsive visibility ── */
@media (max-width: 900px) {
    .share-float { display: none !important; }
    .share-mobile-bar { display: flex; }
    /* push page content above fixed bar */
    body.single .site-footer { padding-bottom: 70px; }
    .single-wrap { padding-bottom: 72px; }
}
@media (min-width: 901px) {
    .share-mobile-bar { display: none !important; }
}

/* ── Dark mode ── */
body.dark-mode .share-mobile-bar {
    background: #1a1a1a;
    border-color: #2a2a2a;
    box-shadow: 0 -4px 20px rgba(0,0,0,.5);
}
body.dark-mode .smb-btn.cp {
    background: #222;
    border-color: #333;
}
body.dark-mode .smb-btn.cp svg { stroke: #ccc; }
body.dark-mode .share-btn.copy-btn {
    background: #1e1e1e;
    border-color: #333;
    color: #ccc;
}
body.dark-mode .share-btn.copy-btn svg { stroke: #ccc; }
