/* ===== GLOBAL STYLES ===== */
body {
  margin: 0;
  background: #ffffff; /* white background */
  color: #046475; /* teal text */
  font-family: 'Raleway', Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

/* ===== FONT IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');

/* SUPERBOYS custom font */
@font-face {
  font-family: 'SuperBoys';
  src: url('../fonts/Super Boys.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ===== HEADINGS ===== */

/* Regular H1–H3 use Raleway by default */
h1, h2, h3 {
  font-family: 'Raleway', Arial, sans-serif !important;
  font-weight: 700;
  color: #046475;
}

/* SuperBoys for special headings */
.superboys {
  font-family: 'SuperBoys', cursive !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #dd128f !important; /* bright pink */
  font-size: 36px !important;
  font-weight: bold;
  line-height: 1.2;
}

/* Bigger main headings (H3) */
#content h3.superboys,
.center-body h3.superboys {
  font-size: 64px !important;
  text-align: center;
  margin: 40px 0 20px 0;
}

/* Responsive sizing */
@media screen and (max-width: 768px) {
  .superboys {
    font-size: 28px !important;
  }
  #content h3.superboys,
  .center-body h3.superboys {
    font-size: 42px !important;
  }
}

/* ===== FORCE PAGE HEADINGS TO LOOK LIKE SUPERBOYS ===== */

/* Make the first main heading in the post body use SuperBoys look */
.post-body h2,
.post-body h2.toc-link,
.post-body h2[id*="what-we-accept"],
.post-body h2[id*="page-accepted"] {
  font-family: 'SuperBoys', cursive !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #dd128f !important;    /* bright Kidsale pink */
  font-size: 36px !important;
  font-weight: bold;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Make big “section headline” versions even larger using h3 */
.post-body h3 {
  font-family: 'SuperBoys', cursive !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #dd128f !important;
  font-size: 64px !important;
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  margin: 40px 20px 20px;
  display: block;
}

/* Mobile: shrink both so they don’t blow off the screen */
@media screen and (max-width: 768px) {
  .post-body h2,
  .post-body h2.toc-link,
  .post-body h2[id*="what-we-accept"],
  .post-body h2[id*="page-accepted"] {
    font-size: 28px !important;
  }

  .post-body h3 {
    font-size: 42px !important;
    margin: 30px 15px 15px;
  }
}

/* ===== SUPERB BIG HEADINGS (H3) ===== */
.post-body h3 {
  font-family: 'SuperBoys', cursive !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #dd128f !important;   /* Bright KIDSALE pink */
  font-size: 80px !important;  /* Extra large for hero headings */
  font-weight: bold;
  line-height: 1.1;
  text-align: center;
  margin: 50px 20px 30px;
  display: block;
}

/* Mobile scaling so it still looks great on phones */
@media screen and (max-width: 768px) {
  .post-body h3 {
    font-size: 52px !important;
    margin: 35px 15px 20px;
  }
}
/* ===== SITE CLEANUP / HIDE AUTO-GENERATED STUFF ===== */

/* 1. Breadcrumb appearance ("Home » Page Title") */
.breadcrumb {
  color: #046475 !important;
  font-size: 16px;
}
.breadcrumb a {
  color: #046475 !important;      /* teal */
  text-decoration: none !important;
  font-weight: 600;
}
.breadcrumb a:hover {
  color: #dd128f !important;      /* pink on hover */
  text-decoration: underline;
}

/* 2. Remove the tiny "next / related / tagging" link section HTMLy puts at the very bottom */

/* Known wrapper classes/IDs some HTMLy themes use */
.page-links,
.page-list,
.related-pages,
.related-posts,
.tag-links,
.page-meta,
.post-meta,
.post-links,
.page-footer-links,
.post-footer-links,
.footer-links,
#related,
#page-links {
  display: none !important;
}

/* Hide very small bottom-of-page link lists (like a single-word link on its own line)
   We ONLY target standalone <p> or <ul> that contain basically just links, not real paragraphs. */
.bottom-link-block,
.bottom-links,
.page-bottom-links,
.post-bottom-links {
  display: none !important;
}

/* If theme outputs a "tagging / next / prev" paragraph with ONLY a link in it,
   mark that paragraph as ignorable by collapsing it. */
.center-body > p:last-child:has(a:only-child),
#content > p:last-child:has(a:only-child),
#main-content > p:last-child:has(a:only-child),
.page-body > p:last-child:has(a:only-child),
.post-body > p:last-child:has(a:only-child) {
  display: none !important;
}

/* Same idea for a list of links at the very bottom */
.center-body > ul:last-child:has(li:only-child a:only-child),
#content > ul:last-child:has(li:only-child a:only-child),
#main-content > ul:last-child:has(li:only-child a:only-child),
.page-body > ul:last-child:has(li:only-child a:only-child),
.post-body > ul:last-child:has(li:only-child a:only-child) {
  display: none !important;
}

/* === Breadcrumb Styling === */
.breadcrumb a {
  color: #dd128f !important;      /* teal color for breadcrumb links */
  text-decoration: none !important;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: #dd128f !important;      /* pink hover color */
  text-decoration: underline;
}

.breadcrumb {
  color: #046475 !important;      /* teal color for the "»" and text */
  font-size: 16px;
}
  /* Hide hamburger menu button on desktop/tablet */
  .nav-toggle{
    display: none !important;
}



/* === Navigation Bar Styling (Cleaned Up) === */
nav.top-nav {                 /* make the bar itself full width */
  width: 100%;
  background: #b1effa;
}

.top-nav > ul {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;          /* no wrapping on desktop */
  margin: 0;
  padding: 0;
}

.top-nav > ul > li {
  list-style: none;
  position: relative;
  margin: 0 20px;
}

.top-nav > ul > li > a {
  display: block;
  padding: 16px 22px;
  font-size: 22px !important;
  text-decoration: none;
  color: #046475;
  font-weight: bold;
}

.top-nav > ul > li > a:hover {
  color: #dd128f;
}

/* dropdown (desktop) */
.top-nav li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #b1effa;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 200px;           /* keep this for desktop */
  z-index: 999;
}
.top-nav li:hover > ul { display: block; }

.top-nav li ul li a {
  display: block;
  padding: 8px 12px;
  color: #046475;
  text-decoration: none;
}
.top-nav li ul a:hover { background: #dd128f; color: #fff; 

}

/* ===== MAIN CONTENT WRAPPER ===== */
#page-wrap,
#content {
  max-width: 1200px !important; /* match navigation bar visually */
  width: 90% !important;        /* keeps it responsive */
  margin: 40px auto !important; /* centers and adds breathing room */
  box-sizing: border-box;
  text-align: left !important;  /* aligns paragraph text naturally */
}

/* ===== IMAGE STYLING ===== */
#content img,
.featured-image img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1400px;         /* keeps images slightly wider than nav */
    width: 100%;               /* responsive scaling */
    height: auto;              /* keeps proportions */
}

/* ===== LOGO FIX ===== */
.logo-nav-wrapper {
  max-width: 1000px !important;   /* allow container to expand */
  width: 100% !important;
  margin: 0 auto;
  text-align: center;
}

.site-logo {
  display: block;
  max-width: 1000px !important;   /* allow image itself to expand */
  width: 100% !important;
  height: auto !important;        /* keep proportions */
  margin: 0 auto;
}

/* ===== CENTER BODY CONTENT ===== */
.page-body,
.center-body,
.content-inner,
.content-wrapper,
.post {
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  Position: static !important;
  clear: both !important;
  Box-sizing: border-box;
}

/* Keep paragraphs aligned left inside centered blocks */
.page-body p,
.center-body p,
.content-inner p,
.content-wrapper p,
.post p {
  text-align: left !important;
}

/* ===== REMOVE OLD SIDEBAR LAYOUTS ===== */
.leftbar,
#leftbar,
.sidebar,
aside {
  display: none !important;
}

/* FORCE LOGO IMAGE SIZE */
.logo-nav-wrapper img.site-logo {
  display: block;
  margin: 0 auto;
  width: 100% !important;         /* make it expand fully */
  max-width: 1400px !important;   /* set the limit */
  height: auto !important;        /* keep proportions */
}/* === FONT USAGE RULES === */

/* Default body text */
body {
  font-family: 'Raleway', sans-serif;
  Color: #046475 !important; /*teal body text*/
  Font-size: 20px !important; /* increase or adjust this value*/
  Line-height: 1.6; /* adds comfortable spacing */
}

/* Logo text "KIDSALE" (if you ever want to render as text) */
.site-logo-text {
  font-family: 'Superboys', cursive;
}

/* Top-level nav items (About Us, Consignors, Volunteers) */
.top-nav > ul > li > a {
  font-family: 'Raleway', sans-serif;
  font-size: 20px !important;
  font-weight: 700; /* bold */
}

/* Dropdown menu items */
.top-nav li ul a {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 400; /* regular */
}/* ==== Button Styling ==== */
.btn {
  display: inline-block;
  padding: 18px 36px;
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-align: center;
}

/* Light Blue Button */
.btn--blue {
  background: #b1effa;
  color: #046475;
  border: 3px solid #046475;
}

/* Hover Effect */
.btn--blue:hover {
  background: #046475;
  color: #ffffff;
  border-color: #046475;
}
.text-center {
  Text-align: center;
  margin: 30px 0;
}

/* ===================  MOBILE (Hamburger Menu)  =================== */
@media screen and (max-width: 768px) {

  /* Logo and layout adjustments */
  .site-logo {
    max-width: 65% !important;
    height: auto !important;
    display: block;
    margin: 0 auto !important;
  }

  #page-wrap,
  #content {
    max-width: 100% !important;
    width: 94% !important;
    margin: 20px auto !important;
    padding: 10px !important;
  }

  /* Show hamburger button */
  .nav-toggle {
    display: block !important;
    background: #b1effa;
    color: #046475;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 18px;
    padding: 10px 14px;
    margin: 12px auto;
    text-align: center;
    cursor: pointer;
  }

  /* Hide menu by default until toggled open */
  nav.top-nav ul {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  /* When toggled open, show the menu */
  nav.top-nav.is-open ul {
    display: flex;
  }

  /* Each menu item */
  nav.top-nav ul li {
    list-style: none;
  }

  nav.top-nav ul li a {
    display: block;
    background: #b1effa;
    color: #046475;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    padding: 12px;
    transition: background 0.3s ease;
  }

  nav.top-nav ul li a:hover {
    background: #dd128f;
    color: #ffffff;
  }

  /* --- Mobile submenus open on tap --- */
nav.top-nav ul ul {
  position: static !important;
  display: none !important;        /* hidden until parent .open */
  background: #e9f9ff !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  border-radius: 6px;
}

nav.top-nav li.open > ul {
  display: block !important;       /* show when parent has .open */
}

nav.top-nav ul ul a {
  display: block !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  background: #e9f9ff !important;
  color: #046475 !important;
  border-radius: 6px;
}

/* Add a caret to parent links that have submenus */
nav.top-nav a.has-caret {
  position: relative;
  padding-right: 28px;             /* room for caret */
}
nav.top-nav a.has-caret::after {
  content: "▾";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  line-height: 1;
  color: #046475;
}
nav.top-nav li.open > a.has-caret::after {
  content: "▴";
}