/* ==========================================================================
   broadbandanalyst.co.uk - custom CSS
   Legacy pricing styles removed; remaining theme/editorial styles preserved.
   ========================================================================== */


/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

/* ===========================
   GeneratePress – Primary Nav Styling
   Tweak the colour variables below to suit
   =========================== */
:root{
  --nav-bg: #ffffff;              /* main menu background (navy) */
  --nav-text: #0b2a45;            /* main menu link colour */
  --nav-hover-text: #0b2a45;      /* link hover/focus colour */
  --nav-active-text: #0b2a45;     /* active/current link colour */

  --submenu-bg: #ffffff;          /* dropdown background */
  --submenu-text: #0b2a45;        /* dropdown link colour */
  --submenu-hover-bg: #f2f7ff;    /* dropdown hover background */
  --submenu-hover-text: #0b2a45;  /* dropdown hover text colour */

  --mobile-bg: var(--nav-bg);     /* slideout/mobile menu background */
  --mobile-text: var(--nav-text); /* slideout/mobile link colour */
  --focus-ring: #86b7fe;          /* keyboard focus outline */
}



/* ==========================================================================
   SITE-WIDE BASE
   ========================================================================== */

.widget-area .gbp-section__inner {border:1px solid #4b5563;

 border-radius: 10px;

}

.inside-article {border:1px solid #4b5563;

 border-radius: 5px;

}

.gb-text a {
  font-size: 18px !important;
  font-weight: 400 !important;

  font-family: Helvetica, Arial, sans-serif !important;
  line-height: 1.3 !important;
  text-decoration:none;
  color:#133f91;

}

.gb-text a:hover {text-decoration:underline;}

.site-main {border: 1px #f9f9f9 solid;}

.page .featured-image {display:none}

.single .dynamic-content-template {background:#fff;}

.single h1 {margin-top:30px}

.gbp-button--secondary {color:#fff;}

@media (max-width: 768px) {
  .entry-content {
    margin-left: -30px !important;
    margin-right: -30px !important;
    padding-left: 10px;  /* adjust as needed */
    padding-right: 10px; /* adjust as needed */
  }
}

#primary {padding-left:5px}

/* Remove native bullets and control layout yourself */
.wp-block-list.has-base-background-color.has-background{
  margin-left:10px;
  padding-left:10px;
  padding-right:10px;
  /* inner padding for the coloured background */
  list-style:none;            /* no native bullets */
}

.wp-block-list.has-base-background-color.has-background li{
  position:relative;
  margin:0;
  padding-left:1.25em;        /* gutter so wrapped lines align under first letter */
}

.wp-block-list.has-base-background-color.has-background li::before{
  content:"•";
  position:absolute;
  left:0;
  top:0.2em;                  /* nudge vertically if needed */
  font-size:1.1em;
  line-height:1;
  color:currentColor;         /* inherits text colour */
}

/* Reduce list indentation site-wide */
ol,
ul {
  /* was: margin: 0 0 1.5em 3em; */
  margin: 0 0 1.5em 1.6em;
}

/* Tighter indent for nested lists */
li > ol,
li > ul {
  /* was: margin-left: 1.5em; */
  margin-left: 1em;
}

.wp-block-columns > .wp-block-column[style*="flex-basis:29.33%"] {
  background: #f7f9fc;   /* subtle light tint */
  padding: 1rem;
  border-radius: 8px;
  border:1px #dddfe2 solid;
  overflow: hidden;       /* keeps radius clean if inner blocks bleed */
}


/* ==========================================================================
   PRIMARY NAVIGATION
   ========================================================================== */

/* Base background for primary nav (normal + sticky clone) */
.main-navigation,
.navigation-clone {
  background: var(--nav-bg) !important;
  box-shadow: none;
}

/* Optional: subtle shadow when sticky */
.main-navigation.is_stuck,
.navigation-clone.is_stuck {
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

/* Top-level links */
.main-navigation .main-nav > ul > li > a,
.main-navigation .menu-bar-items > * > a {
  color: var(--nav-text) !important;
  background: transparent !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: 0 !important;
  transition: color .2s ease, background-color .2s ease;
}

/* Hover/focus state for top-level links */
.main-navigation .main-nav > ul > li:hover > a,
.main-navigation .main-nav > ul > li:focus-within > a,
.main-navigation .main-nav > ul > li > a:focus-visible {
  color: var(--nav-hover-text) !important;
  background: transparent !important;
  outline: none;
}

/* Active/current menu item – colour only (no underline/no background) */
.main-navigation .main-nav > ul > li[class*="current"] > a,
.main-navigation .main-nav > ul > li.current-menu-item > a,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a,
.main-navigation .main-nav > ul > li.current_page_parent > a {
  color: var(--nav-active-text) !important;
  background: transparent !important;
  text-decoration: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* Clear any Superfish underline/border effects */
.main-navigation .main-nav > ul > li > a:before,
.main-navigation .main-nav > ul > li > a:after {
  display: none !important;
  content: none !important;
}

/* Dropdown (submenu) panel */
.main-navigation .main-nav ul ul {
  background: var(--submenu-bg) !important;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 6px 0;
}

/* Submenu links */
.main-navigation .main-nav ul ul li > a {
  color: var(--submenu-text) !important;
  background: transparent !important;
  text-decoration: none !important;
  padding: 10px 14px;
  line-height: 1.4;
  white-space: nowrap;
}

/* Submenu hover/focus */
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li:focus-within > a,
.main-navigation .main-nav ul ul li > a:focus-visible {
  background: var(--submenu-hover-bg) !important;
  color: var(--submenu-hover-text) !important;
  outline: none;
}

/* Ensure the dropdown caret/arrow uses link colour */
.main-navigation .gp-icon svg {
  fill: currentColor !important;
}

/* Improve keyboard accessibility */
.main-navigation a:focus-visible,
#site-navigation .menu-toggle:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Mobile menu toggle button */
#site-navigation .menu-toggle,
#site-navigation .mobile-menu {
  color: var(--nav-text) !important;
  background: transparent !important;
  border: 0;
}

/* Slideout (GeneratePress mobile) menu colours */
#generate-slideout-menu,
.slideout-navigation .inside-navigation,
.slideout-menu .main-nav {
  background: var(--mobile-bg) !important;
}

#generate-slideout-menu a,
.slideout-menu .main-nav a {
  color: var(--mobile-text) !important;
  background: transparent !important;
  text-decoration: none !important;
}

#generate-slideout-menu .sub-menu,
.slideout-menu .main-nav .sub-menu {
  background: var(--mobile-bg) !important; /* keep consistent, or set to var(--submenu-bg) if you prefer */
}

/* Fix potential “submenu text not visible” issues from theme/plug-in specificity */
nav#site-navigation .main-nav ul ul li > a,
nav#site-navigation .sub-menu a {
  color: var(--submenu-text) !important;
}

/* Keep the logo/title readable on dark navs (optional) */
.main-navigation .site-logo a,
.main-navigation .main-title a {
  color: var(--nav-text) !important;
}

/* Optional: tighter spacing on desktop for tall logos */
@media (min-width: 769px){
  .main-navigation .inside-navigation { padding-top: 6px; padding-bottom: 6px; }
}

/* Multi-column layout for the "Reviews" dropdown */
#menu-item-74829 > .sub-menu {
  /* keep GeneratePress positioning */
  right: 0;                 /* respects your .sub-menu-right layout */
  left: auto;
  display: grid !important; /* override Superfish block layout */
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  grid-auto-rows: auto;
  gap: 0;                   /* keep list-like spacing; change to 6px if you want gaps */
  width: 600px;             /* 3 × 200-ish; adjust to taste */
  padding: 6px 0;
}

/* Make each submenu item behave like a grid cell rather than full-width rows */
#menu-item-74829 > .sub-menu > li {
  width: auto !important;
  float: none !important;   /* kill legacy float from Superfish */
}

/* Ensure nested flyout submenus (if any) still position correctly */
#menu-item-74829 > .sub-menu > li .sub-menu {
  left: 100%;
  right: auto;
  top: 0;
}

/* Responsive steps */
@media (max-width: 1024px){
  #menu-item-74829 > .sub-menu {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    width: 400px;
  }
}

@media (max-width: 768px){
  /* On mobile, let it stack normally (slideout menu) */
  #menu-item-74829 > .sub-menu {
    display: block !important;
    width: auto;
  }
}


/* ==========================================================================
   ENTRY HEADER + BREADCRUMB
   ========================================================================== */

.rank-math-breadcrumb {font-size:16px; background-color: #eef1f7;}

.entry-title {margin-top:20px;margin-bottom:-20px;text-align:center}

.entry-header {

     margin-bottom:-40px;
  padding-top: 0.3em;
    padding-bottom: 2.5em;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    box-sizing: border-box;
}

.entry-header .entry-title {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}

nav.rank-math-breadcrumb {
     background-color: #eef1f7;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    box-sizing: border-box;
}

nav.rank-math-breadcrumb p {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
}


/* ==========================================================================
   POST META BAR
   ========================================================================== */

.ba-postmeta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
  margin: 10px 0 18px;
  padding: 10px 12px;
  border: 2px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
}

.ba-postmeta__item{
  display:flex;
  gap:6px;
  align-items:baseline;
  white-space:nowrap;
}

.ba-postmeta__label{
  font-size: 13px;
  opacity: .65;
  font-weight: 600;
}

.ba-postmeta__value{
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.ba-postmeta a.ba-postmeta__value{
  border-bottom: 0px solid rgba(0,0,0,.18);
}

.ba-postmeta a.ba-postmeta__value:hover{
  border-bottom-color: rgba(0,0,0,.45);
}


/* ==========================================================================
   ACCORDION
   ========================================================================== */

.ba-accordion-wrap{
  max-width:1000px;
  margin:30px auto;
  font-family:Arial,sans-serif;

  line-height:1.6;
}

.ba-accordion{
  margin:0;
  padding:0;
}

.ba-accordion details{
  border:1px solid #d4d9e3;
  border-radius:8px;
  margin-bottom:10px;
  background:#fff;
  overflow:hidden;
}

.ba-accordion summary{
  list-style:none;
  cursor:pointer;
  padding:14px 16px;
  background:#f4f6fb;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.ba-accordion summary::-webkit-details-marker{
  display:none;
}

.ba-accordion-title-main{
  font-size:1.5rem;
  font-weight:600;
  margin:0;
}

.ba-accordion-title{
  font-size:1.2rem;
  font-weight:600;
  margin:0;
}

.ba-accordion details[open] summary{
  border-bottom:1px solid #d4d9e3;
}

.ba-accordion summary::after{
  content:"+";
  font-weight:700;
  font-size:1.1rem;
  margin-left:12px;
  color:#333;
}

.ba-accordion details[open] summary::after{
  content:"–";
}

.ba-accordion-body{
  padding:14px 16px 16px;
}

.ba-accordion-body p{
  margin:0 0 12px;
}


/* ==========================================================================
   USP BOX
   ========================================================================== */

/* Hero USP box on homepage */
.ba-usp-box{
  background:#f4f6fb;              /* light panel, tweak if needed */
  border:1px solid #d4d9e3;
  border-radius:6px;
  padding:12px 16px;               /* tighter padding */
  margin:10px 0 18px;
  font-size:1.1rem;               /* slightly smaller than theme body */
  line-height:1.5;
}

.ba-usp-list{
  list-style:none;
  margin:0;
  padding:0;
}

.ba-usp-list li{
  position:relative;
  padding-left:20px;
  margin:3px 0;
}

/* custom bullet dot in your navy colour */
.ba-usp-list li::before{
  content:"•";
  position:absolute;
  left:0;
  top:0;
  line-height:1.4;
  font-size:1.1em;
  color:#0b285a; /* adjust to your exact header/nav blue if different */
}


/* ==========================================================================
   RELATED POSTS
   ========================================================================== */

.ba-rel {
  /* local tokens */
  --ba-rp-bg: #EAF1FB;           /* panel background (soft blue) */
  --ba-rp-card: #FFFFFF;         /* card bg */
  --ba-rp-border: #D7E3F2;       /* card border */
  --ba-rp-text: #0B224A;         /* body/link text (footer navy) */
  --ba-rp-text-dim: #4B5563;     /* dim text if needed */
  --ba-rp-hover-bg: #F3F6FF;     /* simple hover background */
  --ba-rp-hover-text: #0B224A;   /* hover text color */
  --ba-rp-radius: 14px;
  --ba-rp-pad: 16px;
  --ba-rp-gap: 12px;

  ;
  border: 0px solid var(--ba-rp-border);
  border-radius: var(--ba-rp-radius);
  padding: 0px;                 /* outer padding */

  color: var(--ba-rp-text);
  box-sizing: border-box;
}

.ba-rel {margin-bottom:20px;}

/* optional heading inside the block */
.ba-rel .ba-rel-heading {
  margin: 4px 8px 10px 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ba-rp-text);
}

/* list reset + grid */
.ba-rel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--ba-rp-gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* each item becomes a “card” via the anchor */
.ba-rel li a {
  display: block;
  background: var(--ba-rp-card);
  border: 1px solid var(--ba-rp-border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ba-rp-text);
  text-decoration: none;
  line-height: 1.35;
  font-weight: 500;              /* readable, not heavy */
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  box-sizing: border-box;
}

/* simple hover only: subtle bg + consistent text color */
.ba-rel li a:hover {
  background: var(--ba-rp-hover-bg);
  color: var(--ba-rp-hover-text);
  border-color: var(--ba-rp-border);
}

/* keyboard accessibility */
.ba-rel li a:focus-visible {
  outline: 2px solid var(--ba-rp-text);
  outline-offset: 3px;
}

/* kill any theme-added pseudo icons / question marks */
.ba-rel li a::before,
.ba-rel li a::after {
  content: none !important;
}

/* responsive tweaks */
@media (max-width: 640px) {
  .ba-rel { padding: 12px; }
  .ba-rel li a { padding: 12px 14px; }
  .ba-rel ul { grid-template-columns: 1fr; }
}

/* Optional: tighter spacing when used mid-article */
.ba-rel.ba-rel--inline { margin: 16px 0; padding: 12px; }


/* ==========================================================================
   SELECTED LINKS
   ========================================================================== */

.selected-links .selected-item {
    margin-bottom: 12px;
    line-height: 1.4;
}

.selected-links a {
    display: inline-block;
    font-size: 1rem;
    text-decoration: none;
    color: #000;
}

.selected-links a:hover {
    text-decoration: underline;
}

.selected-links .modified-date {
    font-size: 0.85rem;
    color: #666;
    display: inline-block;
    margin-top: 2px;
}


/* ==========================================================================
   LOOP CARDS + THUMBNAILS
   ========================================================================== */

/* ===== Desktop/Tablet (?769px): 200x200 image left, text right
   Only apply when WordPress marks the post as having a thumbnail ===== */
@media (min-width: 900px) {
  .page-id-978 .entry-content .gb-loop-item.has-post-thumbnail {
    display: grid !important;
    grid-template-columns: 200px 1fr !important;
    gap: 20px !important;
    align-items: center !important;
  }
}

/* Constrain any thumbnail form (direct img, link-wrapped, or figure-wrapped) */
  .page-id-978 .entry-content .gb-loop-item.has-post-thumbnail > img,
  .page-id-978 .entry-content .gb-loop-item.has-post-thumbnail > a:first-child img,
  .entry-content .gb-loop-item.has-post-thumbnail > figure:first-child img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 6px;
    flex: 0 0 auto !important;
  }

.page-id-10 .entry-content .gb-loop-item.has-post-thumbnail > img,
  .page-id-10 .entry-content .gb-loop-item.has-post-thumbnail > a:first-child img,
  .entry-content .gb-loop-item.has-post-thumbnail > figure:first-child img {
    width: 100% !important;
    height: 350px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    max-width: none !important;
    margin: 0 !important;

    border-radius: 6px;
    flex: 0 0 auto !important;
  }

/* Make sure the text column behaves nicely */
 .blog, .entry-content .gb-loop-item.has-post-thumbnail > .gbp-card {
    min-width: 0 !important;
  }

/* ---------------------------------------------------------------------------
   INERT BLOCK - commented out to preserve current rendering.

   In the original file a stray '}' sat immediately above this block. Per the
   CSS syntax spec a '}' at top level starts a new qualified rule, so the
   parser consumed '} @media (max-width: 901px)' as the SELECTOR and the braces
   below as its body. That selector is invalid, so every browser discarded the
   whole block. These rules have never applied to the site.

   Deleting the stray brace would switch them on and change the loop/archive
   image layout at 901px and below. Left commented so nothing moves today. Uncomment
   deliberately, on staging, if this is the layout you originally wanted.

   Note before you do: '.blog' is a WordPress body class, and the comma makes
   it a separate selector. Switching this on would apply height:220px !important
   to the body element on the blog index. You almost certainly meant
   '.blog .entry-content .gb-loop-item' (a descendant), not '.blog, ...'.

   
   @media (max-width: 901px) {
     .blog, .entry-content .gb-loop-item {
       display: block !important;
     }
    .blog, .entry-content .gb-loop-item > img,
     .entry-content .gb-loop-item > a:first-child img,
     .entry-content .gb-loop-item > figure:first-child img {
       width: 100% !important;
       height: 220px !important;
       object-fit: cover !important;
       object-position: center center !important;
       max-width: 100% !important;
       margin: 0 0 15px 0 !important;
       border-radius: 0;
     }
   }
   --------------------------------------------------------------------------- */

.page-id-978 .entry-content .gb-loop-item.has-post-thumbnail > img,
  .page-id-978 .entry-content .gb-loop-item.has-post-thumbnail > a:first-child img,
  .entry-content .gb-loop-item.has-post-thumbnail > figure:first-child img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 6px;
    flex: 0 0 auto !important;
  }

/* ===== Optional inner spacing tidy ===== */
.entry-content .gb-loop-item .gbp-card h2,
.entry-content .gb-loop-item .gbp-card p {
  margin-top: 0.2em;
  margin-bottom: 0.5em;
}


/* ==========================================================================
   PAGINATION
   ========================================================================== */

/* ===== Pagination text: white ===== */
.gb-pagination a,
.gb-pagination .page-numbers,
.navigation.pagination .nav-links a,
.navigation.post-navigation a,
.nav-links .page-numbers,
.page-numbers a,
.page-numbers.current,
.page-links a,
.page-links .post-page-numbers {
  color: #ffffff !important;
  text-decoration: none;
}

.gb-pagination a:hover,
.navigation.pagination .nav-links a:hover,
.navigation.post-navigation a:hover,
.nav-links .page-numbers:hover,
.page-numbers a:hover {
  color: #ffffff !important;
}

.gb-pagination a *,
.navigation.pagination .nav-links a *,
.navigation.post-navigation a * {
  color: inherit !important;
}

/* General controls and mobile typography: retained to avoid unrelated layout changes. */
input[type="range"] {
    width: 100%;
    cursor: pointer;
    margin-top: 5px;
}
@media screen and (max-width: 900px) {
    body { margin: 10px; }
    h1, h2 { font-size: 1.3em; }
}

/* Editorial table styling: original desktop appearance retained at all widths.
   Obsolete pricing-card rules for mobile have been removed. */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.95em;
    color: #222;
    background-color: #fafafa;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    table-layout: fixed;
    word-wrap: break-word;
}

th, td {
    padding: 6px 6px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
  border-right:0px
}

th {background: #0a4594;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #2c3e50;
   padding: 14px 6px;
  font-size:15px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Rounded corners on header */
th:first-child  { border-top-left-radius: 8px; }

th:last-child   { border-top-right-radius: 8px; }

thead {
    display: table-header-group;
}

tbody tr:nth-child(even) {
    background-color: #f7fafe;
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Row hover effect */
tbody tr:hover {
    background-color: #eaebec ;
    transition: background-color 0.3s ease;
}

/* Rounded corners on last row */
tbody tr:last-child td:first-child { border-bottom-left-radius: 8px; }

tbody tr:last-child td:last-child  { border-bottom-right-radius: 8px; }

td br {
    display: inline;
}

/* ==========================================================================
   SINGLE POST TITLE
   ========================================================================== */

/* Full-width single post title (GeneratePress) – flush under the site header */
.single.single-post .inside-article > .entry-header{
  position: relative;
       width: 100vw;            /* edge-to-edge */
  max-width: none;
  left: 50%;
  margin: 0 calc(50% - 50vw) 0 !important;  /* no gap above, full-bleed */
  padding: 0;                   /* keep tight to header */
  z-index: 2;
}

.single.single-post .inside-article > .entry-header .entry-title{
  display: block;
  margin: 0 !important;         /* remove default H1 margins */
  padding: 12px 18px;           /* set to 0 if you want *hard* flush */
  line-height: 1.15;
  word-break: break-word;
  hyphens: auto;
}

/* SINGLE POST TITLE — full-width INSIDE the primary column, flush under the site header */

/* 1) Stop the full-bleed header on single posts */
.single.single-post .inside-article > .entry-header{
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;          /* fill the primary column, not the viewport */
  max-width: 100% !important;
  margin: 0 !important;            /* kill negative/extra margins */
  padding: 0 !important;           /* remove extra top space */
  box-sizing: border-box;
}

/* 2) Reset global H1/title margins so it sits tight to the header */
.single.single-post .entry-header .entry-title{
  display: block;
  width: 100%;
  margin: 0 !important;            /* overrides `.single h1` and `.entry-title` earlier */
  padding: 0 0 8px 0;               /* small space below (adjust if needed) */
  line-height: 1.15;
}

/* 3) Neat spacing for the meta row under the title */
.single.single-post .entry-header .entry-meta{ margin-top: 6px; }


/* ==========================================================================
   ARCHIVE + SEARCH HEADERS
   ========================================================================== */

/* AUTHOR ARCHIVE (and other lists) – fix meta/date line and stop full-bleed leak */

/* Keep entry headers inside the card/column (undo the global .entry-header full-bleed) */
.archive .inside-article > .entry-header,
.blog    .inside-article > .entry-header,
.search  .inside-article > .entry-header {
  position: static !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;   /* normal spacing above content */
  padding: 0 !important;
  box-sizing: border-box;
}

/* Title in archives: no negative margins/centering from your global rule */
.archive .inside-article > .entry-header .entry-title,
.blog    .inside-article > .entry-header .entry-title,
.search  .inside-article > .entry-header .entry-title {
  margin: 0 0 6px !important;
  text-align: left !important;
  padding: 0 !important;
}

/* Date/author row sits directly under the title */
.archive .inside-article > .entry-header .entry-meta,
.blog    .inside-article > .entry-header .entry-meta,
.search  .inside-article > .entry-header .entry-meta {
  margin: 0 !important;
  display: block !important;
}

/* Optional: tidy the author archive page heading block */
.archive.author .page-header .page-title {
  margin: 0 !important;
}


.ba-video-embed {
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  margin: 28px auto;
  overflow: hidden;
  background: #0b1728;
  border: 1px solid rgba(20, 54, 86, 0.22);
  border-radius: 12px;
}

.ba-video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}