/* ==========================================================
   SECOND HELPINGS CAFE THEME STYLES
   ========================================================== */

/* ===== Variables ===== */
:root {
  --shc-blue: #385488; /*#2f446c;*/          /* Dark blue (brand / footer bottom / dark header bar) */
  --shc-light: #d9e0ef;         /* Light blue (footer top / header left) */
  --shc-white: #ffffff;
  --shc-accent: #d98743;        /* Accent orange (Order button) */
  --shc-accent: #CC5500;        /* Accent orange (Order button) */
  --shc-accent-700: #c77433;
  --page-bg: #ffffff;           /* Page background (for SVG cutouts) */
  --shc-graphite:  #606060;
}

/* ==========================================================
   GLOBAL RESETS & ACCESSIBILITY
   ========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.8;
  color: #222;
  background-color: #fff;
}

main { flex: 1 0 auto; }
footer { flex-shrink: 0; }

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--shc-blue);
  outline-offset: 2px;
}
.bg-primary {background-color: var(--shc-blue)!important;}
.bg-primary p {font-family: "HanleyRough-Sans"!important;font-size: 2.4em!important;color:#fff!important;text-align:center!important;}
.text-primary {color: var(--shc-blue)!important;}

/* Skip link (keyboard/screen-reader users) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--shc-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { top: 0; }

blockquote {
  position: relative;
  background: var(--shc-light);
  border-left: 6px solid var(--shc-blue);
  padding: 4rem 6rem;
  margin: 2rem 0;
  border-radius: 0.75rem;
  font-family: "Libre Baskerville";
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--shc-graphite);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

blockquote::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 8rem;
  color: var(--shc-blue);
  position: absolute;
  top: -10px;
  left: 2rem;
  opacity: 0.8;
}
blockquote footer {
  display: block;
  font-size: 1.5rem;
  color: var(--shc-graphite);
  margin-top: 0.5rem;
  text-align: right;
}

/* ==========================================================
   FONTS (Exact families you provided)
   ========================================================== */
/** Written by Ultimate Design **/

/* Hanley Signature (WOFF) */
@font-face {
  font-family: "HanleyRough-Signature";
  src:
    local("HanleyRough-Signature"),
    url("https://secondhelpingscafe.com/assets/HanleyRough-Signature.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Hanley Sans (WOFF) */
@font-face {
  font-family: "HanleyRough-Sans";
  src:
    local("HanleyRough-Sans"),
    url("https://secondhelpingscafe.com/assets/HanleyRough-Sans.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Libre Baskerville — normal 400 (added) */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librebaskerville/v14/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNcWx0cwQ.woff2") format("woff2");
}

/* Libre Baskerville — italic 400 (latin-ext) */
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librebaskerville/v14/kmKhZrc3Hgbbcjq75U4uslyuy4kn0qNcWx8QDO-WyrubOA.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Baskerville — italic 400 (latin) */
@font-face {
  font-family: "Libre Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librebaskerville/v14/kmKhZrc3Hgbbcjq75U4uslyuy4kn0qNcWxEQDO-Wyrs.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Libre Baskerville — bold 700 (latin-ext) */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librebaskerville/v14/kmKiZrc3Hgbbcjq75U4uslyuy4kn0qviTgY5KcC-wLOjAUw.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Libre Baskerville — bold 700 (latin) */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/librebaskerville/v14/kmKiZrc3Hgbbcjq75U4uslyuy4kn0qviTgY3KcC-wLOj.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Apply families */
.text-signature { font-family: "HanleyRough-Signature", cursive !important; }

h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  font-family: "HanleyRough-Sans", "Libre Baskerville", Georgia, "Times New Roman", Times, serif !important;
  font-weight: 400; /* adjust if you later add a bold Hanley weight */
  color: var(--shc-blue);
}
.text-dark {var(--shc-graphite)!important;}

/* ==========================================================
   HEADER STYLES
   ========================================================== */

/* --- Top Bar --- */
.topbar-wrap {
  position: relative;
  background: var(--shc-light);
  overflow: hidden;
  color: var(--shc-white);
  font-size: 0.9rem;
}

/* Dark diagonal area extending full right edge */
.topbar-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 35%; /* controls where the dark blue begins */
  background: var(--shc-blue);
  clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* Ensure bar content sits above the pseudo element */
.topbar {
  position: relative;
  z-index: 2;
}

/* Force white nav + no decoration */
.topbar,
.topbar a.item,
.topbar a.item:hover,
.topbar .item {
  color: #fff;
  font-weight: 400;
  text-decoration: none!important;
}
.topbar a:hover,
.topbar a:focus {
  color: var(--shc-accent);
  text-decoration: underline !important;
}
.topbar .item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

/* --- Main Navbar --- */
.site-header .navbar { background: #fff; }

/* Make the logo responsive but not massive */
.navbar-brand img {
  height: auto;
  width: auto;
  max-height: 72px;
  max-width: 100%;
}

/* Tighten things up on small screens */
@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 56px;    /* smaller logo on tablets/phones */
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    max-height: 48px;    /* even smaller on very narrow phones */
  }
}

.site-header .navbar-brand,
.site-header .navbar-brand:hover,
.site-header .navbar-brand:focus {
  color: #1f1f1f;
  text-decoration: none;
}

/* Mobile tweaks */
@media (max-width: 991.98px) {
  .primary-nav-center { justify-content: center !important; width: 100%; }
  /* Allow wrapping again so the dropdown can sit on its own line */
  .navbar,
  .navbar .container,
  .navbar .container-fluid {
    flex-wrap: wrap; /* restore Bootstrap's behavior */
  }

  /* Make sure the brand doesn't hog the whole row */
  .navbar-brand {
    flex: 0 1 auto;
    max-width: 70%;
  }

  /* Push the hamburger to the right */
  .navbar-toggler {
    margin-left: auto;
  }

  /* Ensure the collapsed menu takes a full row under the header */
  .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    margin-top: 0.5rem;
  }

  /* Slightly smaller logo on phones */
  .navbar-brand img {
    max-height: 52px;
  }
}

.site-header .navbar-nav { gap: 0.9rem; }
.site-header .nav-link { color: #2b2b2b; text-decoration: none; }
.site-header .nav-link:hover,
.site-header .nav-link:focus,
.site-header .nav-link.active { color: var(--shc-blue); }

header .navbar,
.site-header .navbar {
  flex-wrap: nowrap;
  align-items: center;
}

.btn-primary {background: var(--shc-blue);}
.btn-primary:hover {background: var(--shc-graphite);}

/* ORDER button */
.order-btn {
  background: var(--shc-accent);
  color: #fff;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.55rem 1rem;
  font-weight: 600;
}
.order-btn:hover,
.order-btn:focus {
  background: var(--shc-accent-700);
  color: #fff;
}

/* Toggler */
.navbar-toggler { border-color: rgba(0, 0, 0, 0.15); }

/* ==========================================================
   FOOTER STYLES
   ========================================================== */

/* Wave divider at top of footer */
.footer-wave {
  position: relative;
  line-height: 0;
  background: var(--shc-light);
}
.footer-wave svg { display: block; width: 100%; height: auto; }
.footer-wave path { fill: var(--page-bg); }

/* Footer main section (light blue) */
.footer-top {
  background: var(--shc-light);
  color: #0b2f2a;
}
.footer-top a { color: #0b2f2a; text-decoration: none; font-size: 16pt;line-height:2.4;}
.footer-top a:hover,
.footer-top a:focus {   color: var(--shc-accent); text-decoration: underline; }

/* Footer bottom (dark blue) */
.footer-bottom {
  background: var(--shc-blue);
  color: #fff;
  border-top: 2px solid #fff;
}
.footer-bottom a { color: #fff;}
.footer-bottom a:hover,
.footer-bottom a:focus { color: var(--shc-accent); text-decoration: underline; }

/* Social icons inside footer */
.footer-top [fill="var(--bs-primary)"] { fill: var(--shc-blue); }

/* Focus ring in footer */
:where(.site-footer a, .site-footer button):focus-visible {
  outline: 2px solid var(--shc-blue);
  outline-offset: 2px;
}

.affiliates {text-align:center;margin-bottom:4vh;}
.affiliates .col-4 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10vh!important;
}
.affiliates .col-4 img {width:67%!important; height:auto!important;}
.affiliates img.wide {width:100%!important;}

/** Reviews from Google **/
#reviews img {
    width: 90px!important;
    height: 90px!important;
    margin: 15px
}

#reviews .col-md-6 {margin-bottom:4rem;}

#reviews strong {
    font-size: 150%!important;
    font-weight:900!important;
}

#reviews .rating-stars {
    color: orange
}

#reviews .rating-stars {
    font-size: 200%
}

#reviews .number {
    font-size: 140%;
    display: block
}

#reviews .number:before {
    content: 'Rated '
}

#reviews .number:after {
    content: ' / 5 on Google'
}
  
#reviews p:before {
    font-family: FontAwesome!important;
    content: "\f10d";
    padding: .8rem;
    color:#0f6043;
    font-size:150%;
}

#reviews p:after {
    font-family: FontAwesome!important;
    content: "\f10e";
    padding: .8rem;
    color: #0f6043;
    font-size:150%;  
}

/** Include the FontAwesome items we want to use **/
@font-face {
  font-family: 'FontAwesome';
  src: url('/assets/fontawesome-webfont.eot?v=3.2.1');
  src: url('/assets/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('/assets/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('/assets/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('/assets/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* FONT AWESOME CORE
 * -------------------------- */
[class^="icon-"],
[class*=" icon-"] {
  font-family: FontAwesome!important;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  *margin-right: .3em;
}
[class^="icon-"]:before,
[class*=" icon-"]:before,
[class^="icon-"]:after,
[class*=" icon-"]:after {
  text-decoration: inherit;
  display: inline-block;
  speak: none;
}

/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
   readers do not read off random characters that represent icons */

.icon-time:before {
  content: "\f017";
}
.icon-food:before {
  content: "\f0f5";
}
.icon-map-marker:before {
  content: "\f041";
}
.icon-phone:before {
  content: "\f095";
}
.icon-circle-arrow-right:after {
  padding:0;
  padding-left:0.5em;
  content: "\f0a9";
}
.icon-arrow-right:after {
  font-size:70%;
  padding:0;
  padding-left:0.5em;
  content: "\f061";
}

/* ========= Multi-depth Nav (Bootstrap 5 + WordPress) ========= */
/* base */
.navbar .navbar-nav > li { position: relative; }
.navbar .navbar-nav a.nav-link,
.navbar .navbar-nav > li > a { padding: .625rem .9rem; }

/* caret for items with children */
.navbar .navbar-nav .menu-item-has-children > a::after {
  content: "▾";
  margin-left: .35rem;
  font-size: .8em;
  line-height: 1;
  transition: transform .2s ease;
}

/* top-level dropdown menu shell */
.navbar .navbar-nav .sub-menu,
.navbar .navbar-nav .dropdown-menu {
  --menu-bg: #fff;
  --menu-border: rgba(0,0,0,.08);
  --menu-shadow: 0 8px 24px rgba(0,0,0,.12);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  padding: 0;
  margin: 0;
  border: 1px solid var(--menu-border);
  background: var(--menu-bg);
  border-radius: .25rem;
  box-shadow: var(--menu-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 1000;
  list-style: none;
}

/* submenu items */
.navbar .navbar-nav .sub-menu li > a,
.navbar .navbar-nav .dropdown-menu li > a,
.navbar .navbar-nav .sub-menu .menu-item > a {
  display: block;
  padding: .75rem 1rem;
  border-radius: .25rem;
  color: var(--shc-blue);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}
.navbar .navbar-nav .sub-menu li > a:hover,
.navbar .navbar-nav .dropdown-menu li > a:hover,
.navbar .navbar-nav .sub-menu li > a:focus {
  background: var(--shc-light, #d9e0ef);
  outline: none;
}

/* open on hover + keyboard focus */
.navbar .navbar-nav li.menu-item-has-children:hover > .sub-menu,
.navbar .navbar-nav li.menu-item-has-children:focus-within > .sub-menu,
.navbar .navbar-nav li.dropdown:hover > .dropdown-menu,
.navbar .navbar-nav li.dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* rotate caret on open */
.navbar .navbar-nav li.menu-item-has-children:hover > a::after,
.navbar .navbar-nav li.menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}

/* ========= Third-level (submenu of a submenu) ========= */
.navbar .navbar-nav .sub-menu .menu-item-has-children { position: relative; }
.navbar .navbar-nav .sub-menu .menu-item-has-children > a::after {
  content: "▸";
  margin-left: .45rem;
  font-size: .8em;
}
.navbar .navbar-nav .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + .25rem);
  border-radius: .75rem;
}
.navbar .navbar-nav .sub-menu .menu-item-has-children:hover > .sub-menu,
.navbar .navbar-nav .sub-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* keep mega within viewport on right edge (auto-flip) */
@media (min-width: 992px) {
  .navbar .navbar-nav > li:last-child .sub-menu,
  .navbar .navbar-nav > li:nth-last-child(2) .sub-menu {
    right: 0; left: auto;
  }
  .navbar .navbar-nav > li:last-child .sub-menu .sub-menu,
  .navbar .navbar-nav > li:nth-last-child(2) .sub-menu .sub-menu {
    right: calc(100% + .25rem); left: auto;
  }
}

/* ========= Mobile behavior (collapsed navbar) ========= */
/* show submenus as stacked lists on mobile; no hover layering */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse .navbar-nav .sub-menu,
  .navbar .navbar-collapse .navbar-nav .dropdown-menu {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  .navbar .navbar-collapse .navbar-nav .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding-right: .5rem;
  }
  .navbar .navbar-collapse .navbar-nav .menu-item-has-children > a::after {
    content: "▾";
  }

  /* indent nested levels for readability */
  .navbar .navbar-collapse .navbar-nav .sub-menu .menu-item > a { padding-left: 1.25rem; }
  .navbar .navbar-collapse .navbar-nav .sub-menu .sub-menu .menu-item > a { padding-left: 2rem; }
}

/* ========= Focus & a11y ========= */
.navbar .navbar-nav a:focus-visible {
  outline: 3px solid var(--shc-blue);
  outline-offset: 2px;
  border-radius: .5rem;
}

/* ========= Styling harmonized with brand ========= */
.navbar .navbar-nav .sub-menu,
.navbar .navbar-nav .dropdown-menu {
  border-color: color-mix(in oklab, var(--shc-blue, #2f446c) 12%, white);
}
.navbar .navbar-nav .sub-menu li > a:hover,
.navbar .navbar-nav .dropdown-menu li > a:hover {
  color: var(--shc-blue, #2f446c);
  background: color-mix(in oklab, var(--shc-light, #d9e0ef) 80%, white);
}

/* Optional: bolder top-level link on hover for hinting */
.navbar .navbar-nav > li > a:hover { color: var(--shc-accent, #d98743); }

.navbar .navbar-nav .active > a,
.navbar .navbar-nav a[aria-current="page"] {
  color: var(--shc-accent, #d98743);
  font-weight: 600;
}

/* Caret color & spacing for dropdown toggles */
.navbar .dropdown-toggle::after {
  margin-left: .35rem;
  vertical-align: .15em;
  border-top-color: currentColor; /* uses the link color */
}

/* Show menu immediately on hover when CSS-only fallback is desired */
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block; /* helpful fallback if JS is deferred */
  }
}

/* 1) Open dropdown on hover and keyboard focus */
.navbar .dropdown .dropdown-menu {
  display: block;             /* we'll control visibility ourselves */
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  margin-top: .5rem;          /* match Bootstrap spacing */
}
.navbar .dropdown:hover > .dropdown-menu,
.navbar .dropdown:focus-within > .dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Keep pointer intent sane when moving into menu */
.navbar .dropdown > .nav-link { position: relative; }

/* 2) Caret indicator on parent items */
.navbar .dropdown > .nav-link::after {
  content: "";
  display: inline-block;
  margin-left: .4rem;
  border: .3em solid transparent;
  border-top-color: currentColor; /* uses current text color */
  transform: translateY(.2em);
}

/* Optional: submenu styling that fits your palette */
.navbar .dropdown-menu {
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  background: #fff;
  min-width: 12rem;
}
.navbar .dropdown-item {
  padding: .5rem .9rem;
}
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: var(--shc-light, #d9e0ef);
  color: var(--shc-blue, #2f446c);
}

/* Accessibility: visible focus rings */
.navbar a:focus {
  outline: 3px solid var(--shc-blue);
  outline-offset: 2px;
}

/* (No-JS mobile note)
   If you truly want zero JS AND a hamburger, the hamburger can't toggle.
   Optionally keep the nav always open on small screens: */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    display: block !important;   /* always visible */
  }
}

/* ==========================================================
   RESPONSIVE UTILITIES
   ========================================================== */
@media screen and (max-width: 480px) {
  h1 { font-size: 1.75rem; }
}

/* ==========================================================
   SECTION FORMATTING
   ========================================================== */
#menu h3 {font-family: "HanleyRough-Signature"!important; font-size: 5em!important; text-align: center;}
#menu li {
  list-style-type: none; /* Removes bullet points or other list markers */
  padding: 0;           /* Removes default left padding (indentation) */
  margin: 0;            /* Removes default left margin (indentation) */
  font-size: 1.5rem;
  color: var(--shc-blue);
  padding-top: 0.5em;
  text-align: center;
}
#menu li p { font-family: "Libre Baskerville"!important;font-style: italic;color: #000;}


/* print-friendly */
@media print{
  #menu .menu-grid{ grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
  #menu .menu-heading{ color: #000; }
  #menu .menu-item{ color: #000; }
  #menu .menu-logo{ max-width: 280px; }
}

/* ========================================================================
   FIXED CSS - Second Helpings Café Mobile Menu
   This version won't break desktop hover or mobile clicks
   ======================================================================== */

/* ========================================================================
   MOBILE MENU - Hide by default, show when toggled
   ======================================================================== */

/* Mobile: Hide menu by default, show when Bootstrap adds .show */
@media (max-width: 991.98px) {
  #primaryNav:not(.show) {
    display: none !important;
  }
  #primaryNav.show {
    display: block !important;
  }
}

/* Desktop: Always show menu */
@media (min-width: 992px) {
  #primaryNav {
    display: flex !important;
  }
}

/* ========================================================================
   DROPDOWN MENUS - Different behavior for mobile vs desktop
   ======================================================================== */

/* MOBILE ONLY: Dropdowns controlled by .show class */
@media (max-width: 991.98px) {
  
  /* Hide by default */
  .navbar-nav .dropdown-menu {
    display: none !important;
    position: static !important;
    border: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    background-color: transparent;
    box-shadow: none;
  }
  
  /* Show when has .show class */
  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }
  
  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 0.5rem 0;
  }
}

/* DESKTOP ONLY: Normal Bootstrap hover behavior */
@media (min-width: 992px) {
  
  /* Let Bootstrap handle dropdown visibility on desktop */
  .navbar-nav .dropdown-menu {
    position: absolute !important;
    /* Don't force display with !important on desktop */
  }
  
  /* Show on hover - NO !important here */
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* ========================================================================
   TOP BAR - Make utility links visible on all screens
   ======================================================================== */

.topbar nav[aria-label="Utility navigation"] {
  display: flex !important;
  flex-wrap: wrap;
}

.navbar-nav .nav-link:focus,
.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-item:focus,
.navbar-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Second Helpings – Generic Contact Form Styles */
main#main .wpcf7-form {
  max-width: 720px;
  margin: 0 auto 1rem;
  padding: 0.5rem 2rem;
  background: var(--shc-light, #d9e0ef);
  border-radius: 1.25rem;
}

main#main .wpcf7-form p {
  margin-bottom: 0.2rem;
}

main#main .wpcf7-form label {
  display: block;
  margin-bottom: 0rem;
  font-weight: 600;
  color: var(--shc-blue, #2f446c);
}

main#main .wpcf7-form .wpcf7-form-control.wpcf7-text,
main#main .wpcf7-form .wpcf7-form-control.wpcf7-email,
main#main .wpcf7-form .wpcf7-form-control.wpcf7-tel,
main#main .wpcf7-form .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(47, 68, 108, 0.3);
  background: var(--shc-white, #ffffff);
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

main#main .wpcf7-form .wpcf7-form-control::placeholder {
  color: rgba(51, 51, 51, 0.6);
}

main#main .wpcf7-form .wpcf7-form-control:focus,
main#main .wpcf7-form .wpcf7-form-control:focus-visible {
  outline: 3px solid var(--shc-blue);
  outline-offset: 2px;
  border-color: var(--shc-blue);
  box-shadow: 0 0 0 3px rgba(217, 135, 67, 0.25);
}

main#main .wpcf7-form .wpcf7-textarea {
  min-height: 140px;
  resize: vertical;
}

main#main .wpcf7-form .wpcf7-submit {
  display: inline-block;
  padding: 0.7rem 2.5rem;
  border-radius: 999px;
  border: none;
  background: var(--shc-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease-in-out, transform 0.1s ease-in-out,
              box-shadow 0.1s ease-in-out;
}

main#main .wpcf7-form .wpcf7-submit:hover {
  background: var(--shc-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

main#main .wpcf7-form .wpcf7-submit:focus-visible {
  outline: 3px solid var(--shc-blue);
  outline-offset: 3px;
}

main#main .wpcf7-form .container.w-50 {
  max-width: 100%;
  width: 100%;
  padding: 0;
}

/* Validation + messages */
main#main .wpcf7-form .wpcf7-not-valid {
  border-color: #d93025;
}

main#main .wpcf7-form .wpcf7-not-valid-tip {
  font-size: 0.875rem;
  color: #d93025;
  margin-top: 0.25rem;
}

main#main .wpcf7-form .wpcf7-response-output {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
}

main#main .wpcf7-form.sent .wpcf7-response-output {
  border: 1px solid #137333;
  background: #e6f4ea;
  color: #137333;
}

main#main .wpcf7-form.failed .wpcf7-response-output,
main#main .wpcf7-form.invalid .wpcf7-response-output {
  border: 1px solid #d93025;
  background: #fce8e6;
  color: #b31412;
}

/** Cards for images with hover descriptions **/
.shc-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.shc-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.shc-card-link:focus {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

.shc-card-link:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
}

.shc-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.shc-card-link:hover img,
.shc-card-link:focus img {
    transform: scale(1.1);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(62, 82, 131, 0.95);
    color: white;
    padding: 1.4rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 18pt;
    text-align: center;
}

.shc-card-link:hover .image-caption,
.shc-card-link:focus .image-caption {
    transform: translateY(0);
}

/* Respect reduced motion preferences - WCAG 2.3.3 */
@media (prefers-reduced-motion: reduce) {
    .shc-card img,
    .image-caption {
        transition: none;
    }
    .shc-card-link:hover img,
    .shc-card-link:focus img {
        transform: none;
    }
}

/* Ensure sufficient touch target size - WCAG 2.5.8 */
.shc-card-link {
    min-height: 44px;
    min-width: 44px;
}

/** Check List Bullets **/
.custom-check-list {
    list-style: none;
    padding-left: 0;
}

.custom-check-list li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.75rem;
}

.custom-check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.125em;
    width: 1.25em;
    height: 1.25em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233e5283'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Make inline links blue/bold but do NOT mess with .btn text */
p a:not(.btn) {
  color: var(--shc-blue);
  font-weight: bold;
}

/* Generic button hover: keep Bootstrap/brand colors, just remove underlines */
.btn:hover,
.btn:focus {
  text-decoration: none;
}

/* CTA buttons: full-width in their columns */
.cta .btn {
  width: 100%;
  padding: 1rem;
}

/* FAQ Details Styling */
details {
  transition: all 0.3s ease;
}

details summary {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0.375rem;
  margin: -0.75rem;
  padding: 0.75rem;
}

details[open] summary {
  background-color: var(--shc-blue);
  color: white;
  margin-bottom: 0.75rem;
}

/* Make the disclosure arrow white when open */
details[open] summary::marker,
details[open] summary::-webkit-details-marker {
  color: white;
}

/* Keep answer area readable */
details[open] > div {
  padding-top: 0.75rem;
}

