/* ===== Brand palette (single source of truth) ===== */
:root{
  --gold:#e8b34a;
  --gold-700:#c5983f;
  --accent: var(--gold-700);   /* define accent used for hover/active */
  --ink:#0e0e0e;
  --ink-2:#1b1b1b;
  --muted:#b7b7b7;
  --white:#fff;
}

/* Menu links default */
#masthead .main-navigation ul li > a{
  color: var(--gold) !important;
}

/* Hover + CURRENT item states */
#masthead .main-navigation ul li > a:hover,
#masthead .main-navigation ul li.current-menu-item > a,
#masthead .main-navigation ul li.current-menu-ancestor > a,
#masthead .main-navigation ul li.current_page_item > a,
#masthead .main-navigation ul li.current_page_parent > a,
#masthead .main-navigation ul li.current_page_ancestor > a{
  color: var(--accent) !important; /* now resolves to gold-700 */
}


/* Keep header behaviour: transparent on top of Home, white when sticky */
.home #masthead{
  position:absolute; top:0; left:0; right:0;
  background: transparent !important;
  box-shadow:none !important;
  z-index:9999;
}
.siteorigin-corp-sticky #masthead,
#masthead.is-sticky,
#masthead.stuck{
  background:#ffffff !important;            /* white bar on scroll */
  box-shadow:0 1px 10px rgba(0,0,0,.06);
}

/* ===== ALWAYS GOLD LINKS (both states) ===== */
#masthead .main-navigation ul li > a,
.siteorigin-corp-sticky #masthead .main-navigation ul li > a,
#masthead.is-sticky .main-navigation ul li > a,
#masthead.stuck .main-navigation ul li > a{
  color: var(--gold) !important;
}

/* Hover/active */
#masthead .main-navigation ul li > a:hover,
#masthead .main-navigation ul li.current-menu-item > a,
#masthead .main-navigation ul li.current_page_item > a{
  color: var(--accent) !important;
}

/* Icons (search/burger) follow link colour */
#masthead .search-toggle,
#masthead .menu-toggle{
  color: var(--gold) !important;
}

/* Safety: remove any earlier forced dark colours */
#masthead .main-navigation ul li > a[style*="color"]{ color: var(--gold) !important; }


:root{
  --gold:#e8b34a;
  --gold-700:#c5983f;
  --ink:#0e0e0e;
  --ink-2:#1b1b1b;
  --muted:#b7b7b7;
  --white:#fff;
}

/* Footer wrapper (apply this class to the footer row/section) */
.csp-footer-wrap{
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink-2) 100%);
  padding: 48px 0 28px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Columns */
.csp-footer{ padding: 8px 12px; }
.csp-footer__logo{ max-width: 190px; height:auto; margin-bottom:14px; filter: brightness(1.1);}
.csp-footer__tag{ color: var(--muted); margin-bottom:16px; }

.csp-footer__contact p{ margin:.35rem 0; }
.csp-footer__contact a{ color: var(--white); text-decoration: none; border-bottom:1px dotted transparent; }
.csp-footer__contact a:hover{ color: var(--gold); border-bottom-color: var(--gold); }

/* footer */

/* === CDSPP footer (scoped to the #cdspp-footer block) === */
#cdspp-footer{ color:#fff; font:400 16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; }
#cdspp-footer a{ color:#eaeaea; text-decoration:none; }
#cdspp-footer a:hover{ color:#e8b34a; }

/* 2 equal columns that won't collapse unless we allow it */
#cdspp-footer .row{ display:flex; gap:28px; align-items:flex-start; flex-wrap:nowrap; }
#cdspp-footer .col{ flex:1 1 50%; }

/* left */
#cdspp-footer .logo{ max-width:200px; height:auto; margin:0 0 14px; }
#cdspp-footer .tag{ color:#cfcfcf; margin:6px 0 16px; }
#cdspp-footer .mt{ margin-top:12px; }

/* right “card” */
#cdspp-footer .card{
  background:linear-gradient(180deg, rgba(232,179,74,.12), rgba(232,179,74,.06));
  border:1px solid rgba(232,179,74,.35);
  border-radius:12px;
  padding:22px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
#cdspp-footer h3{ margin:0 0 10px; font-weight:800; letter-spacing:.02em; }
#cdspp-footer .sub{ color:#cfcfcf; margin:0 0 14px; }

/* input */
#cdspp-footer input[type="email"]{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1.5px solid rgba(255,255,255,.28);
  color:#fff;
  padding:12px 14px;
  border-radius:8px;
  outline:0;
  transition:border-color .2s, background-color .2s, box-shadow .2s;
  margin:0 0 10px;
  box-sizing:border-box;
}
#cdspp-footer input[type="email"]::placeholder{ color:#cfcfcf; }
#cdspp-footer input[type="email"]:focus{
  border-color:#e8b34a;
  background:rgba(255,255,255,.12);
  box-shadow:0 0 0 3px rgba(232,179,74,.25);
}

/* transparent → gold button */
#cdspp-footer .btn{
  background:transparent;
  color:#fff;
  border:2px solid rgba(255,255,255,.95);
  padding:12px 18px;
  border-radius:8px;
  font-weight:700;
  display:inline-flex; align-items:center; justify-content:center;
  transition:background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .08s;
  cursor:pointer; text-decoration:none;
}
#cdspp-footer .btn:hover,
#cdspp-footer .btn:focus{
  background:#e8b34a;  /* brand gold */
  color:#111;
  border-color:#e8b34a;
  box-shadow:0 6px 18px rgba(232,179,74,.35);
}
#cdspp-footer .btn:active{ transform:translateY(1px); background:#c5983f; border-color:#c5983f; }

/* helper */
#cdspp-footer .legal{ display:block; margin-top:8px; color:#bcbcbc; font-size:.92rem; }
#cdspp-footer .vh{ position:absolute; left:-9999px; }

/* Optional: stack on small screens
@media (max-width: 820px){ #cdspp-footer .row{ flex-wrap:wrap } #cdspp-footer .col{ flex:1 1 100% } }
*/
/* Newsletter card heading in white */
#cdspp-footer .card h3 {
  color: #fff !important;
}

/* === Footer buttons: GOLD outline + text, fill GOLD on hover === */
#cdspp-footer .btn,
#cdspp-footer .wp-block-button__link,
#cdspp-footer .widget_sow-button .sow-button {
  background: transparent !important;
  color: #e8b34a !important;          /* gold text */
  border: 2px solid #e8b34a !important;/* gold outline */
  box-shadow: none !important;
}

#cdspp-footer .btn:hover,
#cdspp-footer .btn:focus,
#cdspp-footer .wp-block-button__link:hover,
#cdspp-footer .wp-block-button__link:focus,
#cdspp-footer .widget_sow-button .sow-button:hover,
#cdspp-footer .widget_sow-button .sow-button:focus {
  background: #e8b34a !important;     /* gold fill */
  color: #fff !important;              /* white text on hover */
  border-color: #e8b34a !important;
  box-shadow: 0 6px 18px rgba(232,179,74,.35) !important;
  outline: none !important;
}

#cdspp-footer .btn:active,
#cdspp-footer .wp-block-button__link:active,
#cdspp-footer .widget_sow-button .sow-button:active {
  transform: translateY(1px);
}
#cdspp-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 100%;
}

#cdspp-footer .footer-logo {
  max-width: 120px;
  height: auto;
  flex-shrink: 0;
}

#cdspp-footer .footer-tagline {
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
}

/* Footer social icons (scoped to your footer block) */
#cdspp-footer .csp-footer-socials{
  display:flex; gap:12px; margin:16px 0 0;
}
#cdspp-footer .csp-footer-socials .soc{
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  border:2px solid #e8b34a;           /* gold outline */
  color:#e8b34a;                       /* gold icon */
  border-radius:8px;
  text-decoration:none;
  transition:background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .08s;
}
#cdspp-footer .csp-footer-socials .soc:hover,
#cdspp-footer .csp-footer-socials .soc:focus{
  background:#e8b34a;                  /* gold fill */
  color:#ffffff;                       /* white icon */
  border-color:#e8b34a;
  box-shadow:0 6px 18px rgba(232,179,74,.35);
  outline:none;
}
#cdspp-footer .csp-footer-socials svg{ display:block; }
/* Socials layout + box style (matches your gold buttons) */
#cdspp-footer .csp-footer-socials{ display:flex; gap:12px; margin:12px 0 0; }
#cdspp-footer .csp-footer-socials .soc{
  width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  border:2px solid #e8b34a;           /* gold outline */
  color:#e8b34a;                       /* icon colour */
  border-radius:8px;
  text-decoration:none;
  transition:background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .08s;
}
#cdspp-footer .csp-footer-socials .soc:hover,
#cdspp-footer .csp-footer-socials .soc:focus{
  background:#e8b34a;                  /* gold fill */
  color:#fff;                          /* white icon */
  border-color:#e8b34a;
  box-shadow:0 6px 18px rgba(232,179,74,.35);
  outline:none;
}

/* Draw the icons with CSS masks (no inline SVG needed) */
#cdspp-footer .csp-footer-socials .soc::before{
  content:"";
  width:20px; height:20px;
  display:block;
  background: currentColor;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-size: contain;
          mask-repeat: no-repeat;
          mask-position: center;
}

/* Facebook mask */
#cdspp-footer .csp-footer-socials .soc-fb::before{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 12.06C22 6.49 17.52 2 11.94 2S2 6.49 2 12.06c0 5.01 3.66 9.17 8.44 9.94v-7.03H8.4v-2.91h2.04V9.78c0-2.02 1.2-3.14 3.04-3.14.88 0 1.8.16 1.8.16v1.98h-1.01c-1 0-1.31.63-1.31 1.28v1.54h2.23l-.36 2.91h-1.87V22c4.78-.77 8.44-4.93 8.44-9.94Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 12.06C22 6.49 17.52 2 11.94 2S2 6.49 2 12.06c0 5.01 3.66 9.17 8.44 9.94v-7.03H8.4v-2.91h2.04V9.78c0-2.02 1.2-3.14 3.04-3.14.88 0 1.8.16 1.8.16v1.98h-1.01c-1 0-1.31.63-1.31 1.28v1.54h2.23l-.36 2.91h-1.87V22c4.78-.77 8.44-4.93 8.44-9.94Z'/%3E%3C/svg%3E");
}

/* Instagram mask */
#cdspp-footer .csp-footer-socials .soc-ig::before{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5A5.5 5.5 0 1 1 6.5 13 5.51 5.51 0 0 1 12 7.5Zm0 2A3.5 3.5 0 1 0 15.5 13 3.5 3.5 0 0 0 12 9.5Zm5.75-3.25a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25Z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H7Zm5 3.5A5.5 5.5 0 1 1 6.5 13 5.51 5.51 0 0 1 12 7.5Zm0 2A3.5 3.5 0 1 0 15.5 13 3.5 3.5 0 0 0 12 9.5Zm5.75-3.25a1.25 1.25 0 1 1-1.25 1.25 1.25 1.25 0 0 1 1.25-1.25Z'/%3E%3C/svg%3E");
}
/* YouTube mask */
#cdspp-footer .csp-footer-socials .soc-yt::before,
#cdspp-footer .csp-footer-socials .soc-youtube::before{
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.6 3.5 12 3.5 12 3.5s-7.6 0-9.4.6A3 3 0 0 0 .5 6.2 31.7 31.7 0 0 0 0 12a31.7 31.7 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.8.6 9.4.6 9.4.6s7.6 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.7 31.7 0 0 0 24 12a31.7 31.7 0 0 0-.5-5.8zM9.8 15.5V8.5l6.2 3.5-6.2 3.5z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.6 3.5 12 3.5 12 3.5s-7.6 0-9.4.6A3 3 0 0 0 .5 6.2 31.7 31.7 0 0 0 0 12a31.7 31.7 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.8.6 9.4.6 9.4.6s7.6 0 9.4-.6a3 3 0 0 0 2.1-2.1A31.7 31.7 0 0 0 24 12a31.7 31.7 0 0 0-.5-5.8zM9.8 15.5V8.5l6.2 3.5-6.2 3.5z'/%3E%3C/svg%3E");

  /* (optional but recommended for consistency) */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Visually hidden helper */
#cdspp-footer .vh{ position:absolute; left:-9999px; }

/* Inline row: socials (left) + button (right) */
#cdspp-footer .footer-cta-row{
  display:flex;
  align-items:center;
  gap:16px;              /* space between icons and button */
  margin-top:14px;
}

/* keep your existing social styles; just ensure no extra margin */
#cdspp-footer .csp-footer-socials{ margin:0; }

/* Mobile: stack icons above button */
@media (max-width: 560px){
  #cdspp-footer .footer-cta-row{ flex-wrap:wrap; gap:10px 14px; }
}
/* Bigger socials */
#cdspp-footer .csp-footer-socials .soc{
  width: 52px;               /* was 44px */
  height: 52px;              /* was 44px */
  border-radius: 10px;       /* a touch rounder */
}
#cdspp-footer .csp-footer-socials .soc::before{
  width: 24px;               /* was 20px */
  height: 24px;
}

/* Slightly larger CTA button */
#cdspp-footer .footer-cta-row .btn{
  font-size: 1.02rem;        /* up a notch */
  padding: 14px 22px;        /* was 12px 18px */
  border-width: 2px;
  border-radius: 10px;
}

/* Keep spacing balanced between icons and button */
#cdspp-footer .footer-cta-row{ gap: 18px; }

/* Hide site title (and tagline) in the header, keep logo visible */
header .site-title,
.site-branding .site-title,
.site-title a,
header .site-description,
.site-branding .site-description,
.navbar-brand .site-title,
.navbar-brand .site-title a {
  display: none !important;
}

/* Ensure logo still shows if present */
header .custom-logo-link,
header .site-logo,
header .logo {
  display: inline-flex;
  align-items: center;
}
/* ===== Mobile fixes for the footer ===== */
@media (max-width: 820px){
  /* Stack columns */
  #cdspp-footer .row{ flex-wrap: wrap; }
  #cdspp-footer .col{ flex: 1 1 100%; box-sizing: border-box; }

  /* Logo + text grid */
  #cdspp-footer .footer-brand{
    display: grid;
    grid-template-columns: 64px 1fr;     /* smaller logo on mobile */
    column-gap: 12px;
    align-items: start;
  }
  #cdspp-footer .footer-logo{ width: 64px; height: auto; }

  /* Headings & copy sizing */
  #cdspp-footer h3{ font-size: 1.35rem; line-height: 1.2; }
  #cdspp-footer .sub{ font-size: .95rem; }

  /* Newsletter card stays inside viewport */
  #cdspp-footer .card{
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Form input: avoid iOS zoom + better spacing */
  #cdspp-footer input[type="email"]{
    font-size: 16px;        /* prevents iOS zoom on focus */
    margin-bottom: 12px;
  }

  /* Socials + button row wraps cleanly */
  #cdspp-footer .footer-cta-row{ flex-wrap: wrap; gap: 10px 14px; }
  #cdspp-footer .csp-footer-socials{ margin: 0; }
  #cdspp-footer .csp-footer-socials .soc{ width: 42px; height: 42px; border-radius: 8px; }

  /* Buttons: keep touch-friendly */
  #cdspp-footer .btn{ padding: 12px 16px; }
}

/* Optional: very small phones */
@media (max-width: 374px){
  #cdspp-footer .footer-brand{ grid-template-columns: 56px 1fr; }
  #cdspp-footer .footer-logo{ width: 56px; }
  #cdspp-footer h3{ font-size: 1.2rem; }
}
/* Hide breadcrumbs only on Pages */
.page .breadcrumbs {
  display: none !important;
}
/* When sent, hide the input row + privacy; show the status nicely */
.newsletter-form.sent .row,
.newsletter-form.sent .privacy { display:none !important; }
.newsletter-form .status { min-height:1.2em; font-size:.95rem; }
.newsletter-form .status.ok { font-weight:600; }
/* Footer newsletter: make privacy text white */
.newsletter-form.footer-newsletter .privacy,
.newsletter-form.footer-newsletter .privacy a {
  color: #fff !important;
  opacity: 1;          /* override any muted/opacity styles */
}

/* (nice to have) underline on hover for the link */
.newsletter-form.footer-newsletter .privacy a:hover {
  text-decoration: underline;
}

/* Optional: match checkbox colour to your brand */
.newsletter-form.footer-newsletter input[type="checkbox"] {
  accent-color: #d4a651; /* tweak to your gold */
}
/* Margin above email field on footer */
.newsletter-form { 
  margin-top: 14px;  /* adjust to taste */
}
/* Control SiteOrigin Feature "Icon image" size */
.sow-features .sow-feature .sow-icon-image{
  /* choose your size */
  font-size: 80px !important;     /* SO uses this to scale the icon */
  width: 80px;                     /* keeps the box square */
  height: 80px;
  display: inline-block;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto .75rem;           /* space below icon */
}
/* Base list style for the new class inside this panel */
.panel-why-mts .why-choose-mts{
  /* this is your UL */
  list-style: disc;
  list-style-position: outside;
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}
.panel-why-mts .why-choose-mts li{
  margin: 0 0 .5rem;
}

/* Mobile only: center the H heading, keep everything else left */
@media (max-width: 767px){
  .panel-why-mts .panel-header h2,
  .panel-why-mts .panel-header h3{
    text-align: center;
    line-height: 1.2;
    margin: 0 0 12px;
  }
  .panel-why-mts p,
  .panel-why-mts .why-choose-mts,
  .panel-why-mts .why-choose-mts li{
    text-align: left;
  }
}
/* Optional: remove any spacing it left behind */
.page .site-main { padding-top: 0; }

/* Add space between the two footer paragraphs (left column) */
#cdspp-footer .footer-copy p.footer-tagline + p.footer-tagline {
  margin-top: 16px !important; /* adjust to taste: 12–24px */
}
/* Mobile footer layout + alignment */
@media (max-width: 768px){
  #cdspp-footer .row{ display:block; }
  #cdspp-footer .col{ width:100%; }

  /* Left block */
  #cdspp-footer .footer-logo{
    display:block; margin:0 auto 14px; /* centered logo */
  }
  #cdspp-footer .footer-copy{ text-align:left; }  /* keep paragraphs left */
  #cdspp-footer .footer-cta-row{
    display:flex; flex-direction:column; gap:16px; align-items:center;
    margin-top:12px;
  }
  #cdspp-footer .csp-footer-socials{ display:flex; gap:16px; }
  #cdspp-footer .footer-cta-row .btn{ width:100%; max-width:320px; }

  /* Right newsletter card */
  #cdspp-footer .col.right .card{ margin-top:24px; }
  #cdspp-footer .footer-newsletter .row{ display:block; }
  #cdspp-footer .footer-newsletter input[type="email"]{
    width:100%; margin:0 0 12px;
  }
  #cdspp-footer .footer-newsletter .btn{ width:100%; }
  #cdspp-footer .footer-newsletter .accept{
    display:flex; align-items:center; gap:8px; margin-top:6px;
  }
  #cdspp-footer .footer-newsletter .legal{
    display:block; text-align:center; margin-top:12px;
  }

  /* Site credits strip (if you have one) */
  #site-info, .footer-credits{ text-align:center; }
}

/* Push first paragraph down ONLY on tablets/desktop */
@media (min-width: 769px){
  #cdspp-footer .left .footer-copy p:first-child{
    margin-top: 8px;
  }
}
/* MOBILE: logo above the text, centred (left footer column) */
@media (max-width: 768px){
  /* cancel the grid layout defined at 820px and centre the logo row */
  #cdspp-footer .footer-brand{
    display: block !important;     /* overrides the grid rule */
    text-align: center;            /* centres the logo container */
  }

  #cdspp-footer .footer-logo{
    display: block;
    width: 88px;                   /* adjust to taste */
    max-width: 88px;
    margin: 0 auto 14px;           /* centre + space below logo */
    height: auto;
  }

  /* keep paragraphs left aligned and nicely readable */
  #cdspp-footer .footer-copy{
    text-align: left;
    max-width: 36rem;              /* optional: limit line length */
    margin: 0 auto;                /* centres the text block itself */
  }

  /* socials + button still stack neatly */
  #cdspp-footer .footer-cta-row{
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;       /* centre the row under the text */
  }
  #cdspp-footer .footer-cta-row .btn{
    width: 100%;
    max-width: 320px;
  }
}
/* Mobile: center the copy under the logo */
@media (max-width: 768px){
  #cdspp-footer .footer-copy{
    text-align: center !important;   /* was left */
    max-width: 36rem;
    margin: 0 auto;                  /* center the block itself */
  }
  #cdspp-footer .footer-copy p{      /* just in case */
    margin-left: auto;
    margin-right: auto;
  }
  /* keep socials + button centered too */
  #cdspp-footer .footer-cta-row{ justify-content: center; }
}
.u-caps { text-transform: uppercase !important; letter-spacing:.5px; font-weight:800; }
/* Desktop/tablet – keep your original spacing */
.page-id-711 .panel-grid + .panel-grid{
  margin-top:-100px !important;
}

/* Mobile overrides: SiteOrigin adds spacing to inner wrappers */
@media (max-width: 782px){
  .page-id-711 .panel-grid + .panel-grid,
  .page-id-711 .panel-grid + .panel-grid > .panel-row-style,
  .page-id-711 .panel-grid + .panel-grid .panel-grid-cell{
    margin-top:-40px !important;   /* use -40px to avoid overlap on phones */
    padding-top:0 !important;
  }

  /* Hero widget extra padding on phones */
  .page-id-711 .so-widget-sow-hero .sow-hero-wrapper,
  .page-id-711 .so-widget-sow-hero .sow-slider-base .sow-slide{
    padding-top:0 !important;
  }
}

/* Optional: never pull up the first row */
.page-id-711 .panel-grid:first-of-type{
  margin-top:0 !important;
}
/* Single blog posts: force white background */
.single-post .entry-content,
.single-post article.post,
.single-post .hentry,
.single-post .site-main,
.single-post #primary,
.single-post .site-content {
  background-color: #ffffff !important;
  background-image: none !important; /* in case a pattern/gradient is applied */
  box-shadow: none;                   /* if the grey is a shadow */
}
/* Hide THEME breadcrumbs only (inside the header area) */
.single-post .entry-header .breadcrumbs,
.single-post .entry-header .siteorigin-breadcrumbs,
.page .entry-header .breadcrumbs,
.page .entry-header .siteorigin-breadcrumbs { display:none !important; }

/* Show AIOSEO breadcrumbs anywhere else (shortcode or block) */
.single-post .aioseo-breadcrumbs,
.page .aioseo-breadcrumbs { display:block !important; }

/* Hide on Posts index (News) only */
.blog .aioseo-breadcrumbs,
.blog [class*="aioseo-breadcrumb"] { display:none !important; }
/* AIOSEO Author Box: remove 'See Full Bio' link and arrow */
/* Hide the 'See Full Bio' link in AIOSEO Author Bio (compact layout) */
.aioseo-author-bio-compact .author-bio-link,
.aioseo-author-bio-compact a[aria-label="See Full Bio"] {
  display: none !important;
}
/* Make the post wrapper a vertical flex container */
.single-post .corp-content-wrapper {
  display: flex;
  flex-direction: column;
}

/* Show the shortcode breadcrumbs first inside the wrapper
   (i.e., directly under the featured image), then the H1, then content */
.single-post .corp-content-wrapper .aioseo-breadcrumbs { 
  order: 1;
  margin: 10px 0 14px;
  display: block !important;     /* in case previous rules hid it */
}
.single-post .corp-content-wrapper .entry-header { order: 2; }
.single-post .corp-content-wrapper .entry-content { order: 3; }

/* Ensure the theme’s header breadcrumbs stay hidden */
.single-post .entry-header .aioseo-breadcrumbs,
.single-post .entry-header .breadcrumbs,
.single-post .entry-header .siteorigin-breadcrumbs {
  display: none !important;
}
/* Breadcrumb link + hover colours (only in post content area) */
.corp-content-wrapper .aioseo-breadcrumbs a { 
  color: #2b6cb0;           /* your brand link colour */
}
.corp-content-wrapper .aioseo-breadcrumbs a:hover { 
  color: #000;              /* hover colour */
  text-decoration: underline;
}
/* Optional: separator tone */
.corp-content-wrapper .aioseo-breadcrumbs .aioseo-breadcrumbs__separator {
  color: #9aa0a6;
}
/* Remove the thin grey seam only on subpages */
body:not(.home) .entry-content .panel-layout > .panel-grid.panel-no-style {
  margin-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
body:not(.home) .entry-content .panel-layout > .panel-grid.panel-no-style::before,
body:not(.home) .entry-content .panel-layout > .panel-grid.panel-no-style::after {
  display: none !important;
}
/* Widgets inside those rows (e.g., Features) */
body:not(.home) .entry-content .panel-grid.panel-no-style .so-panel,
body:not(.home) .entry-content .panel-grid.panel-no-style .so-widget-sow-features {
  margin: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
/* Keep styled/dark rows intact */
body:not(.home) .entry-content .panel-grid.panel-has-style { border:0 !important; box-shadow:none !important; 
}
/* SO Tabs control*/
.so-widget-sow-tabs-default-641532c12ad4-974 .sow-tabs .sow-tabs-tab-container
 {
    background-color: #efefef;
    display: flex
;
    padding: 0px 0px 0px 0px;
    flex-wrap: wrap;
}
.so-widget-sow-tabs-default-5dcd11036256-974 .sow-tabs .sow-tabs-tab-container {
  background-color: #efefef;         /* your theme light grey */
  display: flex;
  flex-wrap: wrap;
  padding: 0 !important;
}

/* Tab label styling */
.so-widget-sow-tabs-default-641532c12ad4-974 .sow-tabs .sow-tabs-tab-container .sow-tabs-tab .sow-tabs-title {
  font-family: inherit !important;   /* use theme font */
  font-size: 14px !important;        /* smaller text */
  font-weight: 600;                  /* semi-bold */
  color: #ba7f0b !important;         /* neutral grey for inactive tabs */
  padding: 6px 12px !important;      /* reduce height */
  border: none;
  background: transparent;
  text-decoration: none;
  line-height: 1.3;
}
/* Tab label styling */
.so-widget-sow-tabs-default-5dcd11036256-974 .sow-tabs .sow-tabs-tab-container .sow-tabs-tab .sow-tabs-title {
  font-family: inherit !important;   /* use theme font */
  font-size: 14px !important;        /* smaller text */
  font-weight: 600;                  /* semi-bold */
  color: #ba7f0b !important;         /* neutral grey for inactive tabs */
  padding: 6px 12px !important;      /* reduce height */
  border: none;
  background: transparent;
  text-decoration: none;
  line-height: 1.3;
}
/* Tab panel font */
.so-widget-sow-tabs-default-641532c12ad4-974 .sow-tabs .sow-tabs-panel-container .sow-tabs-panel .sow-tabs-panel-content {
    font-size: 14px;
}
.so-widget-sow-tabs-default-5dcd11036256-974 .sow-tabs .sow-tabs-panel-container .sow-tabs-panel .sow-tabs-panel-content {
    font-size: 14px;
}
/* Desktop: show Tabs, hide Accordion */
.feat-tabs{display:block;}
.feat-accordion{display:none;}

/* Tablet & Mobile: hide Tabs, show Accordion */
@media (max-width:1024px){
  .feat-tabs{display:none !important;}
  .feat-accordion{display:block !important;}
}
/* Add a blank line (vertical space) between list items */
.so-panel ul li {
  margin-bottom: 12px;   /* adjust spacing as you like: 10–18px works well */
}
/* Force dashicon head icon larger in Corp theme menu */
.menu-item .dashicons-admin-users {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle !important;
    line-height: 20px !important;
}

.menu-item a .dashicons-admin-users {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

.menu-item .mi.dashicons.dashicons-admin-users {
    font-size: 28px !important;
}
/* Breadcrumb styling under featured image */
#aioseo-breadcrumbs.breadcrumbs{
  margin: 10px 0 18px;
  font-size: 13px;
  color: #8a8f98;
}

#aioseo-breadcrumbs a { color: #6b7280; text-decoration: none; }
#aioseo-breadcrumbs a:hover { text-decoration: underline; }
#aioseo-breadcrumbs .aioseo-breadcrumb-separator { margin: 0 6px; }

/* Mobile: keep on one line but scrollable if long */
@media (max-width: 768px){
  #aioseo-breadcrumbs.breadcrumbs{
    font-size: 12px;
    white-space: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}
/* === Custom Author Box (keeps your existing look) === */
.single-post .post-author-box{
  background:#f9fafb;
  border-left:4px solid #0073e6;
  padding:20px;
  margin-top:40px;
  border-radius:8px;
}
.single-post .post-author-box strong{
  display:block;
  margin-bottom:6px;
  font-size:16px;
}

/* === AIOSEO Compact Author Bio – unify styles === */
.single-post .aioseo-author-bio-compact{
  /* match your custom box look */
  background:#f9fafb;
  border-left:4px solid #0073e6;
  border:1px solid #e5e7eb;          /* override plugin’s black border */
  border-radius:8px;
  padding:14px 16px;
  gap:20px;
}

.single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-header{
  font-size:16px;
}

.single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-main{
  font-size:15px;                     /* was ~18px */
  line-height:1.6;
  margin-top:6px;
}

/* Image sizing + rounding on desktop */
.single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-image{
  width:140px;                        /* tweak to taste */
  height:auto;
  border-radius:8px;
  object-fit:cover;
}

/* Topic chips / links inside the bio */
.single-post .aioseo-author-bio-compact [class*="chip"],
.single-post .aioseo-author-bio-compact [class*="tag"],
.single-post .aioseo-author-bio-compact .aioseo-author-bio-link,
.single-post .aioseo-author-bio-compact .aioseo-author-bio-topic{
  font-size:12px;
  line-height:1.4;
  padding:6px 10px;
  border-radius:6px;
}

/* === Mobile: stack to 1 column with image on top === */
@media (max-width: 768px){
  .single-post .aioseo-author-bio-compact{
    display:flex;                      /* ensure flex present */
    flex-direction:column;             /* stack vertically */
    gap:12px;
  }
  .single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-left,
  .single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-right{
    width:100%;
  }
  .single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-image{
    width:100%;                        /* full width image on mobile */
    height:auto;
    border-radius:8px;
  }
  .single-post .aioseo-author-bio-compact .aioseo-author-bio-compact-main{
    font-size:14px;
    line-height:1.55;
  }
}
/* Author socials — keep icons aligned and on one row */
.single-post .aioseo-author-bio-compact .author-socials{
  display:flex;
  align-items:center;           /* vertical centring */
  gap:10px;
  margin-top:10px;
}

/* Normalise each icon link box */
.single-post .aioseo-author-bio-compact .author-socials a{
  display:inline-flex;          /* so the img can center inside */
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  line-height:0;                /* kill baseline shift */
  background:transparent;
  padding:0;
  border:0;
  text-decoration:none;
}

/* Make the SVG/IMG fill its box without shifting */
.single-post .aioseo-author-bio-compact .author-socials a img{
  display:block;
  width:100%;
  height:100%;
}

/* Optional: subtle hover cue */
.single-post .aioseo-author-bio-compact .author-socials a:hover{
  opacity:0.8;
  transform:translateY(-1px);
  transition:transform .15s ease, opacity .15s ease;
}

/* Mobile: keep spacing tight */
@media (max-width:768px){
  .single-post .aioseo-author-bio-compact .author-socials{
    gap:8px;
    margin-top:8px;
  }
}
.AutoDispatch_custom_page_title{ font-size: clamp(22px, 2.2vw + 0.2rem, 30px); }