/*
Theme Name: FastNaija
Theme URI: https://helpblogger.ng
Author: Helpblogger
Author URI: https://helpblogger.ng
Description: FastNaija - High-performance African video/leak WordPress theme. Rich VideoObject schema, custom admin options panel, built-in SEO, locally bundled fonts, no Customizer dependency.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fastnaija
Tags: dark, custom-logo, custom-menu, featured-images, two-columns, right-sidebar
*/



/* =============================================================
   The CSS below was migrated out of header.php's inline <style>
   blocks so the theme ships one real stylesheet. Only rules with
   no FastNaija theme-option dependency live here; option-driven
   colors/fonts are generated by fastnaija_dynamic_css() in
   inc/template-functions.php and injected as an inline style
   right after this file via wp_add_inline_style().
   ============================================================= */

/* =============================================
   Archive Wrapper — shared by index, category,
   tag, archive
   ============================================= */
.fn-archive-wrap {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    box-sizing: border-box;
}

/* =============================================
   Page Header (category / tag / archive title)
   ============================================= */
.fn-page-header {
    margin-bottom: 32px;
    display: block;
    box-sizing: border-box;
}

.fn-archive-desc {
    font-size: 18px;
    color: inherit;
    margin: 9px 0 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    border: none;
}

/* =============================================
   Editorial Archive Layout
   Lead story + 1-2 side stories (page 1 only),
   followed by a two-column list-style grid.
   Shared by home, category, tag, archive, search.
   ============================================= */
.fn-thumb-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 15px;
    box-sizing: border-box;
}

.fn-thumb {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
    object-fit: cover;
    transition: transform .4s ease;
}

.fn-thumb-link:hover .fn-thumb {
    transform: scale(1.05);
}

.fn-entry-header,
.fn-lead-body,
.fn-side-body,
.fn-list-body {
    display: block;
    box-sizing: border-box;
}

.fn-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 7px;
}

.fn-meta-row .fn-meta {
    margin-bottom: 0;
}

.fn-date {
    font-size: 13px;
    opacity: .6;
}

/* ---- Lead row: hero story + side list ---- */
.fn-lead-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 36px;
    margin: 0 0 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(127,127,127,.18);
    box-sizing: border-box;
}

.fn-lead-row.fn-lead-row-solo {
    grid-template-columns: 1fr;
    max-width: 760px;
}

.fn-lead-card img.fn-thumb {
    width: 100%;
    height: 360px;
    margin: 0 0 18px;
}

.fn-lead-title {
    font-size: 30px !important;
}

.fn-excerpt {
    font-size: 16px;
    line-height: 1.65;
    opacity: .82;
    margin: 14px 0 0;
    box-sizing: border-box;
}

.fn-side-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.fn-side-card {
    display: flex;
    gap: 16px;
    align-items: center;
    box-sizing: border-box;
}

.fn-side-card .fn-thumb-link {
    flex: 0 0 120px;
    width: 120px;
}

.fn-side-card img.fn-thumb {
    width: 120px;
    height: 86px;
}

.fn-side-title {
    font-size: 16px !important;
    margin-top: 2px !important;
}

/* ---- Two-column editorial list grid ---- */
.fn-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 44px;
    box-sizing: border-box;
}

.fn-list-card {
    display: flex;
    gap: 22px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(127,127,127,.18);
    box-sizing: border-box;
}

.fn-list-card .fn-thumb-link {
    flex: 0 0 200px;
    width: 200px;
}

.fn-list-card img.fn-thumb {
    width: 200px;
    height: 144px;
}

.fn-list-title {
    font-size: 19px !important;
    margin-top: 4px !important;
}

.fn-no-posts {
    padding: 20px;
}

/* =============================================
   Pagination
   ============================================= */
.fn-archive-wrap nav[aria-label] {
    text-align: center;
    margin: 0 0 40px;
}

/* =============================================
   Mobile
   ============================================= */
@media (max-width: 768px) {

    .fn-archive-wrap {
        padding: 24px 24px 0;
    }

    .fn-page-header {
        margin-bottom: 20px;
    }

    .fn-page-title {
        font-size: 26px;
    }

    .fn-archive-desc {
        font-size: 15px;
        margin-top: 7px;
    }

    .fn-lead-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .fn-lead-card img.fn-thumb {
        height: 220px;
        margin-bottom: 14px;
    }

    .fn-lead-title {
        font-size: 23px !important;
    }

    .fn-side-list {
        gap: 16px;
    }

    .fn-date {
        display: none !important;
    }

    .fn-side-card .fn-thumb-link {
        flex: 0 0 96px;
        width: 96px;
        height: 70px;
    }

    .fn-side-card img.fn-thumb {
        width: 96px;
        height: 70px;
    }

    .fn-side-body {
        max-height: 70px;
        overflow: hidden;
    }

    .fn-side-title {
        font-size: 15px !important;
        line-height: 1.25 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden !important;
    }

    .fn-edit-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fn-list-card {
        padding-bottom: 20px;
    }

    .fn-list-card .fn-thumb-link {
        flex: 0 0 112px;
        width: 112px;
        height: 84px;
    }

    .fn-list-card img.fn-thumb {
        width: 112px;
        height: 84px;
    }

    .fn-list-body {
        max-height: 84px;
        overflow: hidden;
    }

    .fn-list-title {
        font-size: 17px !important;
        line-height: 1.25 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden !important;
    }

    .fn-excerpt {
        font-size: 15px;
    }

    .fn-archive-wrap nav[aria-label] {
        margin-bottom: 24px;
    }
}

/* sticky vs static controlled by .fn-sticky class */
.site-header.fn-sticky {
  position: sticky;
  top: 0;
}

.header-main {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  height: 60px;
  box-sizing: border-box;
}

/* ---- Logo ---- */
/* Matches NaijaTape .style-10 / .style-11 */
.site-branding {
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.site-title {
  display: inline-block;
  margin: 4px 0;
  padding: 0;
  font-size: 28px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  text-transform: none;
  line-height: 1.6;
  box-sizing: border-box;
  clear: both;
}

/* ---- Nav group: pushed right with margin-left:auto ---- */
/* Matches NaijaTape .style-20 */
.fn-nav-group {
  display: flex;
  margin-left: auto;
  width: auto;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

/* Top-level items — matches .style-23 / .style-24 / .style-26 */
.fn-menu > li {
  position: relative;
  margin: 0;
  box-sizing: border-box;
}

/* Chevron inline — matches .style-27 */
.fn-chevron {
  position: relative;
  display: inline-block;
  left: 8px;
  top: 1.6px;
  width: 13px;
  height: 13px;
  fill: #fff;
  transition: fill 0.15s;
  box-sizing: border-box;
  overflow: hidden;
  vertical-align: middle;
}

/* ---- Desktop flyout sub-menu ---- */
/* Matches NaijaTape .style-33 */
.fn-menu .sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99999;
  background-color: #111;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: #fff;
  list-style: none;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  min-width: 16rem;
}

.fn-menu > li.menu-item-has-children:hover > .sub-menu,
.fn-menu > li.menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

/* Sub-menu links — matches .style-35 */
.fn-menu .sub-menu li {
  position: relative;
  margin: 0;
  box-sizing: border-box;
}

.fn-menu .sub-menu li a {
  display: block;
  padding: 14px;
  width: 16rem;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  box-sizing: border-box;
}

.fn-menu .sub-menu li:last-child a {
  border-bottom: none;
}

.fn-menu .sub-menu li a:hover {
  background: rgba(255,255,255,0.08);
  color: #ef5350;
}

/* ---- Search icon buttons ---- */
/* Matches NaijaTape .style-6 / .style-109 */
.fn-search-toggle {
  padding: 0;
  background: transparent;
  border: none;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  line-height: 1.6;
}

.fn-search-toggle svg {
  vertical-align: top;
  transition: fill 0.2s;
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ---- Mobile search icon (left) — hidden on desktop ---- */
.fn-search-icon-mobile {
  display: none;
  box-sizing: border-box;
}

/* ---- Mobile burger wrap (right) — hidden on desktop ---- */
.fn-burger-wrap {
  display: none;
  box-sizing: border-box;
}

.fn-burger {
  display: none;
  padding: 0;
  border: none;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  transition: 0.2s;
  align-items: center;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  line-height: 1.6;
}

.fn-burger svg {
  width: 32px;
  height: 32px;
  vertical-align: top;
  fill: #fff;
  transition: fill 0.2s;
}

/* ---- Telegram / channel bar ---- */
/* Matches NaijaTape .style-113 / .style-114 */
.fn-channel-bar {
  display: flex;
  box-shadow: 0 2px 4px rgba(0,0,0,.5);
  box-sizing: border-box;
}

.fn-channel-bar-inner a {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  box-sizing: border-box;
  letter-spacing: 0.03em;
}

.fn-channel-bar-inner a:hover { opacity: 0.85; }

/* ---- Search bar — hidden by default ---- */
/* Matches NaijaTape .style-120 / .style-121 */
.fn-search-bar {
  max-width: 600px;
  margin: auto;
  padding: 20px;
  box-sizing: border-box;
}

.fn-search-form {
  display: flex;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fn-search-label {
  flex-grow: 1;
  box-sizing: border-box;
}

/* Matches .style-124 */
.fn-search-field {
  height: 100%;
  border-radius: 10px 0 0 10px;
  display: inline-block;
  box-sizing: border-box;
  margin: 0;
  padding: 11.2px;
  min-width: 100px;
  width: 100%;
  appearance: none;
  line-height: 1;
  border: 1px solid #ddd;
  color: #666;
  font-size: 16px;
  font-family: Montserrat, sans-serif;
  background: #fff;
}

.fn-search-submit:hover { background: #333; }

.fn-search-submit svg {
  vertical-align: top;
  transition: fill 0.2s;
  width: 32px;
  height: 32px;
  fill: #fff;
  stroke: #fff;
}

/* ---- Header ad slot ---- */
.fn-header-ad {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 40px;
  text-align: center;
  box-sizing: border-box;
  overflow: visible;
  clear: both;
}

@media (max-width: 768px) {
  .fn-header-ad {
    padding: 8px 14px;
  }
}

/* ---- Universal ad container safety ----
   Applies to every ad slot the theme outputs (header, sidebar,
   in-content, footer) plus the raw AdSense <ins> tag and any
   third-party ad <iframe>. Ensures ads are never clipped by
   ancestor overflow rules, never overflow horizontally, and
   reserve no fixed height that would distort responsive units. */
.fn-header-ad,
.fn-sidebar-ad,
.fn-in-content-ad,
.fn-footer-ad {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
  text-align: center;
  margin: 0 0 24px;
}

.fn-header-ad *,
.fn-sidebar-ad *,
.fn-in-content-ad *,
.fn-footer-ad * {
  max-width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.fn-header-ad ins.adsbygoogle,
.fn-sidebar-ad ins.adsbygoogle,
.fn-in-content-ad ins.adsbygoogle,
.fn-footer-ad ins.adsbygoogle {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.fn-mobile-panel.is-open {
  transform: translateY(0);
}

/* Close button row — top right, matches screenshot */
.fn-mobile-panel-close-wrap {
  display: flex;
  justify-content: flex-end;
  padding: 14px 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-sizing: border-box;
}

.fn-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.4);
  color: #fff;
  cursor: pointer;
  padding: 6px;
  box-sizing: border-box;
}

.fn-panel-close svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* Dim overlay — not needed for full-screen but keep for consistency */
.fn-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99998;
}
.fn-overlay.is-visible { display: block; }

/* Mobile menu list */
.fn-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: Montserrat, sans-serif;
}

.fn-mobile-list > li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.fn-mobile-list > li > a {
  display: block;
  padding: 14px 52px 14px 14px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.2s;
  background: transparent;
}

/* Sub-menu expand toggle */
.fn-sub-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  padding: 17.5px 21px;
  box-sizing: border-box;
}

.fn-sub-toggle svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: fill 0.2s, transform 0.25s ease;
}

.fn-sub-open > .fn-sub-toggle svg {
  transform: rotate(180deg);
}

/* Mobile sub-menu */
.fn-mobile-list .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(255,255,255,0.04);
  font-family: Montserrat, sans-serif;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.fn-mobile-list .sub-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.fn-mobile-list .sub-menu li a {
  display: block;
  padding: 14px;
  width: 100%;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  transition: 0.2s;
  background: transparent;
  box-sizing: border-box;
}

/* ---- Floating share bar (desktop: fixed column on the left edge) ---- */
.fn-share-bar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  width: 56px;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.fn-share-count[aria-hidden="true"] {
  display: none;
}

.fn-share-btn {
  width: 56px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition: filter 0.15s ease;
}

.fn-share-btn:hover {
  filter: brightness(1.12);
}

.fn-share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.fn-share-fb { background: #3b5998; }
.fn-share-tw { background: #000000; }
.fn-share-tg { background: #0088cc; }
.fn-share-wa { background: #25d366; }

/* =============================================
   RESPONSIVE
   Matches NaijaTape mobile breakpoint
   ============================================= */
@media (max-width: 768px) {

  /* header-main padding tighter on mobile */
  .header-main {
    padding: 0 14px;
    height: 60px;
  }

  /* Show mobile search icon left */
  .fn-search-icon-mobile {
    display: block;
    flex-shrink: 0;
  }

  /* Show burger wrap */
  .fn-burger-wrap {
    display: flex;
    flex-shrink: 0;
    align-items: center;
  }

  .fn-burger {
    display: flex;
  }

  /* Hide desktop nav group entirely */
  .fn-nav-group {
    display: none;
  }

  /* Center logo on mobile between search and burger */
  .site-branding {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
  }

  .site-branding a {
    display: inline-flex;
    align-items: center;
  }

  /* Site title smaller on mobile */
  .site-title {
    font-size: 20px;
  }

  /* Search bar full width on mobile */
  .fn-search-bar {
    max-width: 100%;
    padding: 14px;
  }

  /* Share bar becomes a sticky bottom toolbar on mobile, instead of hiding */
  .fn-share-bar {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    width: 100%;
    flex-direction: row;
    border-radius: 0;
  }

  .fn-share-count {
    width: 64px;
    height: 52px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.08);
  }

  .fn-share-btn {
    flex: 1 1 0;
    width: auto;
    height: 52px;
  }

  /* Keep the sticky bar from covering the tail end of content/footer */
  body.fn-has-share-bar {
    padding-bottom: 52px;
  }
}

.site-footer .site-info {
  padding: 28px 0;
  box-sizing: border-box;
  text-align: center;
}

.site-footer .credit-link a {
  color: #fff;
  text-decoration: none;
}

/* footer ad slot */
.fn-footer-ad {
  text-align: center;
  padding: 12px 0;
  box-sizing: border-box;
  overflow: visible;
  clear: both;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 0 21px;
  }
}

/* =============================================
   Global Responsive Media — nothing overflows
   Ad iframes are excluded from height:auto since
   AdSense/Auto Ads sets precise pixel heights that
   must not be overridden, or ad units collapse.
   ============================================= */
img, video, embed, object, canvas, svg,
iframe:not(.adsbygoogle):not([id^="google_ads_iframe"]):not([id^="aswift_"]) {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

/* Ad iframes — width-capped only, height left to Google's sizing logic */
iframe.adsbygoogle,
iframe[id^="google_ads_iframe"],
iframe[id^="aswift_"] {
  max-width: 100%;
  box-sizing: border-box;
}

video {
  display: block;
}

iframe {
  border: 0;
}

/* WordPress default video wrapper */
.wp-video,
.wp-block-video video,
.wp-block-embed__wrapper iframe {
  max-width: 100% !important;
  width: 100% !important;
}

.wp-block-video video {
  height: auto !important;
}

/* mejs-container: let mejs manage its own height — don't force auto */
.mejs-container {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* =============================================
   Typography — p, blockquote, lists, headings
   ============================================= */

/* Paragraph */
.entry-content p {
  margin: 0 0 1.2em;
  line-height: 1.8;
  font-size: 17px;
}

.entry-content h1 { font-size: 32px; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 24px; }
.entry-content h4 { font-size: 20px; }
.entry-content h5 { font-size: 18px; }
.entry-content h6 { font-size: 16px; }

.entry-content blockquote p {
  margin: 0;
}

/* Unordered list */
.entry-content ul {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
  list-style: disc;
}

.entry-content ul li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

/* Ordered list */
.entry-content ol {
  margin: 0 0 1.2em 1.4em;
  padding: 0;
  list-style: decimal;
}

.entry-content ol li {
  margin-bottom: 0.4em;
  line-height: 1.7;
}

/* Nested lists */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin: 0.3em 0 0.3em 1.4em;
}

/* Horizontal rule */
.entry-content hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 2em 0;
}

/* Pre / code */
.entry-content pre {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 1.2em;
  white-space: pre-wrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.entry-content code {
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 14px;
}

.entry-content pre code {
  background: none;
  border: none;
  padding: 0;
}

/* Table */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.2em;
  font-size: 15px;
  overflow-x: auto;
  display: block;
  box-sizing: border-box;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}

.entry-content tr:nth-child(even) td {
  background: rgba(0,0,0,0.03);
}

/* Figure / caption */
.entry-content figure {
  margin: 1em 0;
  max-width: 100%;
}

.entry-content figcaption {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 4px;
}

/* Strong / em */
.entry-content strong { font-weight: 700; }
.entry-content em     { font-style: italic; }

/* Address */
.entry-content address {
  font-style: italic;
  margin: 0 0 1.2em;
}

/* Definition list */
.entry-content dl { margin: 0 0 1.2em; }
.entry-content dt { font-weight: 700; margin-top: 0.5em; }
.entry-content dd { margin: 0 0 0.5em 1.4em; }

/* WordPress alignment classes */
.entry-content .aligncenter {
  display: block;
  margin: 1em auto;
}

.entry-content .alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
  max-width: 50%;
}

.entry-content .alignright {
  float: right;
  margin: 0 0 1em 1.5em;
  max-width: 50%;
}

.entry-content .alignnone {
  max-width: 100%;
  height: auto;
}

/* WordPress caption shortcode */
.entry-content .wp-caption {
  max-width: 100%;
  box-sizing: border-box;
}

.entry-content .wp-caption-text {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 4px;
}

/* Clearfix after floated images */
.entry-content::after,
.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* =============================================
   Mobile typography & media
   ============================================= */
@media (max-width: 768px) {

  .entry-content p  { font-size: 16px; }
  .entry-content h1 { font-size: 26px; }
  .entry-content h2 { font-size: 22px; }
  .entry-content h3 { font-size: 20px; }
  .entry-content h4 { font-size: 18px; }
  .entry-content h5 { font-size: 16px; }
  .entry-content h6 { font-size: 15px; }

  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    display: block;
    margin: 1em auto;
    max-width: 100%;
  }

  .entry-content table {
    font-size: 13px;
  }

  .entry-content pre {
    font-size: 12px;
  }
}

/* =============================================
   Comments — slim, sleek, modern, threaded
   ============================================= */

.comments-area {
  margin: 0 0 40px;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

/* Comment list reset */
.comment-list,
.comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list {
  max-width: 100%;
  overflow: hidden;
}

/* Single comment */
.comment-list .comment,
.comment-list .pingback,
.comment-list .trackback {
  position: relative;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.comment-list .comment:last-child {
  border-bottom: none;
}

/* Comment body */
.comment-body {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
}

/* Avatar */
.comment-body .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

/* Comment content area */
.comment-content-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
}

/* Comment meta row */
.comment-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 4px;
  box-sizing: border-box;
}

.comment-metadata {
  font-size: 12px;
  color: #999;
}

.comment-metadata a {
  color: #999;
  text-decoration: none;
}

/* Awaiting moderation badge */
.comment-awaiting-moderation {
  display: inline-block;
  font-size: 11px;
  background: #fff3cd;
  color: #856404;
  border-radius: 20px;
  padding: 1px 8px;
  margin-left: 4px;
}

.comment-content p {
  margin: 0 0 0.6em;
}

.comment-content p:last-child {
  margin: 0;
}

/* Reply link */
.reply {
  margin-top: 6px;
}

.comment-reply-link:hover {
  opacity: 0.75;
}

/* Threaded children indent */
.comment-list .children {
  margin-left: 24px;
  border-left: 2px solid #f0f0f0;
  padding-left: 12px;
  box-sizing: border-box;
  overflow: hidden;
}

@media (max-width: 480px) {
  .comment-list .children {
    margin-left: 12px;
    padding-left: 8px;
  }
}

/* Pingbacks */
.pingback .comment-body {
  font-size: 13px;
  color: #999;
}

/* ---- Comment form ---- */
#respond {
  margin-top: 32px;
  box-sizing: border-box;
}

.comment-form {
  box-sizing: border-box;
}

.comment-form .comment-notes {
  font-size: 13px;
  color: #888;
  margin-bottom: 16px;
}

/* Form fields grid: name + email side by side */
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  margin-bottom: 14px;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .comment-form-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .comment-form-fields-row .comment-form-author,
  .comment-form-fields-row .comment-form-email {
    margin-bottom: 0;
  }
}

.comment-form .comment-form-comment {
  margin-bottom: 14px;
}

.comment-form textarea#comment {
  height: 110px;
  resize: vertical;
}

.comment-form .form-submit {
  margin: 0;
}

.comment-form .submit:hover,
#respond .submit:hover {
  opacity: 0.85;
}

/* Cancel reply link */
#cancel-comment-reply-link {
  font-size: 12px;
  color: #999;
  text-decoration: none;
  margin-left: 10px;
}

/* Comment navigation */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 13px;
  color: #999;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}

/* =============================================
   404 Page
   ============================================= */
.fn-404-wrap {
  text-align: center;
  padding: 80px 20px;
  box-sizing: border-box;
}

.fn-404-desc {
  font-size: 15px;
  color: #888;
  margin-bottom: 28px;
}

.fn-404-btn:hover { opacity: 0.85; }

/* 404 search form */
.fn-404-search {
  margin-top: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.fn-404-search .search-form {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-sizing: border-box;
}

.fn-404-search .search-submit:hover { opacity: 0.85; }

/* =============================================
   Content None / No Results
   ============================================= */
.no-results {
  padding: 60px 0;
  text-align: center;
  box-sizing: border-box;
}

.no-results .page-content {
  font-size: 15px;
  color: #888;
  max-width: 500px;
  margin: 0 auto;
}

.no-results .page-content p {
  margin-bottom: 20px;
}

/* Search form inside no-results */
.no-results .search-form {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
  box-sizing: border-box;
}

.no-results .search-submit:hover { opacity: 0.85; }

@media (max-width: 768px) {
  .fn-404-number { font-size: 72px; }
  .fn-404-title  { font-size: 20px; }
  .comment-list .children {
    margin-left: 24px;
    padding-left: 10px;
  }
}

/* =============================================
   Embedded Media — Videos, Audio, Embeds
   ============================================= */

/* WordPress video shortcode — from [video] in post content */
.entry-content .wp-video {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 12;
  margin: 1.5em auto;
  display: block;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
}

/* mejs wraps the video — force every layer to fill the 16/12 box we just
   reserved on .wp-video, with !important so it beats mejs's own JS-set
   inline width/height (otherwise mejs collapses the container and the
   controls bar gets squeezed out of view). */
.entry-content .wp-video .mejs-container,
.entry-content .wp-video .mejs-inner,
.entry-content .wp-video .mejs-mediaelement {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

/* The actual <video> inside mejs — fits inside the box, letterboxed, no crop */
.entry-content .wp-video video {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Meta-URL video — untouched, still its own native <video controls>, still 16/9 */
.entry-content .fn-meta-video,
.fn-video-wrap video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

/* ---- Meta video wrapper (from _fn_video_url) ---- */
/* Uses a native <video> — no mejs, no inline height issues */
.fn-video-wrap {
  width: 100%;
  max-width: 100%;
  margin: 1.5em auto;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-sizing: border-box;
  display: block;
}

.fn-video-wrap video.fn-meta-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background: #000;
  border-radius: 6px;
}

/* Iframe embeds (non-mp4 video URLs) */
.fn-iframe-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
  border-radius: 6px;
}

.fn-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Thumbnail-only wrapper (no video URL set) */
.fn-video-wrap.fn-thumb-only {
  background: transparent;
  border-radius: 0;
}

.fn-video-wrap.fn-thumb-only img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
  border-radius: 6px;
}

/* Video iframe (YouTube, Vimeo, etc.) */
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"],
.entry-content iframe[src*="dailymotion"],
.entry-content iframe[src*="vine"],
.entry-content iframe[src*="twitch"],
.entry-content .wp-block-embed iframe {
  width: 100%;
  max-width: 720px;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 1.5em auto;
  border-radius: 6px;
  border: none;
}

/* Generic iframe */
.entry-content iframe:not([src*="facebook"]):not([src*="twitter"]):not([src*="instagram"]):not([src*="disqus"]):not([src*="gravatar"]) {
  max-width: 100%;
  margin: 1.5em auto;
  display: block;
  border-radius: 6px;
  border: 1px solid #eee;
}

/* Audio shortcode */
.entry-content .wp-audio-shortcode {
  max-width: 100%;
  margin: 1.5em auto;
  display: block;
}

.entry-content audio {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 1.5em auto;
  border-radius: 4px;
}

/* Embed container (generic) */
.entry-content .wp-block-embed,
.entry-content .wp-embed {
  margin: 1.5em auto;
  max-width: 100%;
  box-sizing: border-box;
}

.entry-content .wp-block-embed > div,
.entry-content .wp-embed > div {
  max-width: 100%;
}

/* Video wrapper — for float/center videos */
.entry-content .video-container,
.entry-content .video-wrapper {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 1.5em auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
}

.entry-content .video-container iframe,
.entry-content .video-container video,
.entry-content .video-wrapper iframe,
.entry-content .video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
}

/* Play icon overlay for videos — similar to NaijaTape */
.entry-content .fn-video-thumb,
.entry-content .video-thumbnail {
  position: relative;
  display: block;
  max-width: 100%;
  width: 100%;
  max-width: 720px;
  margin: 1.5em auto;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.entry-content .fn-video-thumb img,
.entry-content .video-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.entry-content .fn-video-thumb::after,
.entry-content .video-thumbnail::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-content .fn-video-thumb::before,
.entry-content .video-thumbnail::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  transform: translate(calc(-50% + 4px), -50%);
  z-index: 1;
}

/* Unordered list of videos */
.entry-content .videos-list {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr));
  gap: 12px;
}

.entry-content .videos-list li {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  aspect-ratio: 16 / 9;
}

.entry-content .videos-list a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.entry-content .videos-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Twitter/X embeds */
.entry-content .twitter-tweet,
.entry-content .twitter-tweet-rendered {
  margin: 1.5em auto;
  max-width: 550px;
}

/* Instagram embeds */
.entry-content .instagram-media {
  margin: 1.5em auto !important;
  max-width: 100%;
}

/* Facebook embeds */
.entry-content .fb-post,
.entry-content .fb-video {
  margin: 1.5em auto;
  max-width: 100%;
}

/* Mobile video responsiveness */
@media (max-width: 768px) {
  .entry-content .wp-video,
  .entry-content .wp-video-shortcode,
  .entry-content iframe[src*="youtube"],
  .entry-content iframe[src*="youtu.be"],
  .entry-content iframe[src*="vimeo"],
  .entry-content .fn-video-thumb,
  .entry-content .video-thumbnail,
  .entry-content .wp-block-embed {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}/* =============================================
   Single Post & Page Layout
   ============================================= */

/* Outer content wrapper — max-width 1280px centered */
.fn-content-wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding-top: 40px;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  display: block;
  overflow-x: hidden;
}

/* Two-col float layout: main 70% | sidebar 30% */
.fn-content-wrap::after {
  content: '';
  display: table;
  clear: both;
}

/* ---- Primary / Main column ---- */
#primary.content-single {
  float: left;
  width: 70%;
  padding-right: 64px;
  box-sizing: border-box;
  display: block;
  min-width: 0;
}

/* ---- Sidebar column ---- */
#secondary.widget-area {
  float: right;
  width: 30%;
  box-sizing: border-box;
  display: block;
  min-width: 0;
}

/* ---- Article ---- */
.fn-content-wrap article {
  margin: 0 0 40px;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}

/* ---- Entry header ---- */
.entry-header {
  display: block;
  margin-bottom: 8px;
  box-sizing: border-box;
}

/* ---- Post Meta row: Author avatar / Date / Time / Read time ---- */
/* Sits inside .entry-meta, directly under the title + category. */
.fn-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  box-sizing: border-box;
}

.fn-post-meta > span.meta-author {
  opacity: 1;
}

.fn-post-meta .fn-meta-ico {
  flex-shrink: 0;
  opacity: .85;
}

.meta-author-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.meta-author-avatar {
  display: block;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.meta-author-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .fn-post-meta {
    gap: 12px;
  }

  .fn-post-meta > span {
    font-size: 13px;
  }

  .meta-author-avatar {
    width: 26px;
    height: 26px;
  }
}

/* ---- Entry content ---- */
.entry-content {
  font-size: 17px;
  box-sizing: border-box;
  line-height: 1.7;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.entry-content a:hover {
  text-decoration: underline;
}

/* Video wrapper — meta URL embed and [video] shortcode */
.wp-video {
  width: 100%;
  max-width: 100%;
  margin: 1.5em auto;
  box-sizing: border-box;
}

.wp-video video,
.wp-video iframe {
  max-width: 100%;
  display: block;
}

/* Featured image — constrained, never overflow */
.fn-content-wrap .wp-post-image,
.fn-content-wrap img.attachment-fn-wide {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Related posts (crp grid) ---- */
.crp_related,
.crp_related_widget {
  clear: both;
  margin: 10px auto;
  box-sizing: border-box;
}

.crp_related ul,
.crp-thumbs-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));
  gap: 10px;
  justify-items: center;
  box-sizing: border-box;
}

.crp_related li,
.crp-thumbs-grid li {
  overflow: hidden;
  position: relative;
  text-align: center;
  border: 1px solid #ddd;
  padding: 0;
  box-shadow: rgba(0,0,0,0.4) 0 1px 2px 0;
  border-radius: 7px;
  list-style-type: none;
  box-sizing: border-box;
}

.crp_link figure {
  margin: 0;
  width: 100%;
  height: 119px;
  overflow: hidden;
  display: block;
}

.crp_link figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  max-width: 100%;
}

.crp_title {
  position: absolute;
  display: block;
  bottom: 0;
  padding: 3px;
  font-size: 13px;
  text-shadow: #000 1px 1px 2px;
  background-color: rgba(0,0,0,0.8);
  border-radius: 0 0 7px 7px;
  width: 100%;
  line-height: 1.4;
  color: #fff;
  box-sizing: border-box;
}

.crp_clear { clear: both; }

/* ---- Entry tags ---- */
.entry-tags {
  margin: 0 0 32px;
  box-sizing: border-box;
}

/* ---- Comments ---- */
.comments-area {
  margin: 0 0 40px;
  box-sizing: border-box;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

/* Sidebar widget spacing */
#secondary aside,
.widget {
  margin: 0 0 40px;
  overflow-wrap: break-word;
  box-sizing: border-box;
  display: block;
}

/* Sidebar ad slot — sits above widgets, never clipped */
.fn-sidebar-ad {
  margin: 0 0 32px;
}

/* Tag cloud widget */
.tagcloud {
  font-size: 0.875rem;
  box-sizing: border-box;
}

/* Hot video widget — single large video thumb with play icon overlay */
.fn-hot-video-single {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-sizing: border-box;
  text-decoration: none;
}

.fn-hot-video-single img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.fn-hot-video-single .fn-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.fn-hot-video-single .fn-play-icon svg {
  width: 32px;
  height: 32px;
  fill: #fff;
  margin-left: 4px;
}

/* =============================================
   Global link reset
   ============================================= */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

/* =============================================
   Single/Page mobile responsive
   ============================================= */
/* Tablet — tighten layout so sidebar doesn't get squeezed */
@media (max-width: 1024px) and (min-width: 769px) {
  .fn-content-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  #primary.content-single {
    padding-right: 32px;
  }
}

@media (max-width: 768px) {

  .fn-content-wrap {
    padding: 24px 24px 0;
  }

  /* Stack columns */
  #primary.content-single {
    float: none;
    width: 100%;
    padding-right: 0;
  }

  #secondary.widget-area {
    float: none;
    width: 100%;
    padding: 32px 0 0;
    border-top: 2px solid #eee;
  }

  .entry-title {
    font-size: 25px;
  }

  .wp-video {
    width: 100%;
  }

  .fn-content-wrap article {
    margin-bottom: 24px;
  }

  #secondary aside,
  .widget {
    margin-bottom: 24px;
  }
}
/* =============================================
   Author Box — beneath single-post content
   Avatar left, name + bio right. hbp_after_author_bio
   action (template-tags.php) fires inside .fn-author-box-body,
   directly below the bio, for companion plugins.
   ============================================= */
.fn-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 32px 0;
  padding: 24px;
  background: rgba(0,0,0,0.025);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  box-sizing: border-box;
}

.fn-author-box-avatar {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
}

.fn-author-box-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.fn-author-box-body {
  flex: 1;
  min-width: 0;
}

.fn-author-box-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .55;
  margin-bottom: 4px;
}

.fn-author-box-name {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
}

.fn-author-box-name:hover {
  text-decoration: underline;
}

.fn-author-box-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .fn-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .fn-author-box-name {
    margin-bottom: 6px;
  }
}

/* =============================================
   Profile Icon — header (mobile & desktop)
   ============================================= */
.fn-profile-icon-mobile,
.fn-profile-icon-desktop {
  display: flex;
  align-items: center;
}

.fn-profile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  text-decoration: none;
  padding: 8px;
  transition: opacity 0.2s;
  line-height: 1;
}

.fn-profile-link:hover {
  opacity: 0.75;
}

/* Mobile: show mobile icon, hide desktop */
.fn-profile-icon-mobile  { display: flex; }
.fn-profile-icon-desktop { display: none; }

/* Desktop: hide mobile icon, show desktop */
@media (min-width: 769px) {
  .fn-profile-icon-mobile  { display: none; }
  .fn-profile-icon-desktop { display: flex; }
}

/* =============================================
   Breadcrumb — single posts & pages
   Horizontal trail, wraps to next line cleanly.
   Title item never breaks mid-word; whole word
   wraps to a new line if needed.
   Schema: BreadcrumbList via microdata + JSON-LD.
   ============================================= */
.fn-breadcrumb {
  margin: 0 0 14px;
  padding: 0;
  box-sizing: border-box;
}

.fn-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  line-height: 1.5;
}

.fn-breadcrumb-item {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* Current (last) item — the post/page title —
   can be long, so allow it to wrap word-by-word
   but never break in the middle of a word.        */
.fn-breadcrumb-current {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  flex-shrink: 1;
  min-width: 0;
}

.fn-breadcrumb-item a {
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.fn-breadcrumb-item a:hover {
  opacity: 1;
  text-decoration: underline;
}

.fn-breadcrumb-current span {
  opacity: 0.5;
  font-weight: 600;
}

.fn-breadcrumb-sep {
  display: inline-block;
  margin: 0 6px;
  opacity: 0.4;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

/* Suppress any WP-core-injected submenu toggle buttons in the
   desktop nav that would cause a double-chevron alongside our
   custom fn-chevron SVG in FN_Nav_Walker. */
.fn-menu .sub-menu-toggle,
.fn-menu button.sub-menu-toggle,
.fn-menu .wp-block-navigation__submenu-icon {
  display: none !important;
}
