/* Custom CSS — loaded after styles.css on every page. Edit freely. */

/* Mobile navigation: uses the native <details class="wb-mobile-menu"> element
   in the header (no JavaScript required). Legacy JS-injected .wb-nav-toggle
   styles have been removed along with custom.js. */
.wb-nav-toggle { display: none !important; }

/* Style the native details-based mobile menu so it looks like a hamburger button
   that opens a dropdown of nav links. Only visible below the desktop breakpoint;
   the mobile-nav-normalize block in each page already handles the show/hide. */
@media (max-width: 1023px) {
  header { position: relative; }
  details.wb-mobile-menu > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: auto;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 0;
    color: var(--on-surface-variant, #45474c);
  }
  details.wb-mobile-menu > summary::-webkit-details-marker { display: none; }
  details.wb-mobile-menu > summary::before {
    content: "";
    display: block;
    width: 20px;
    height: 14px;
    background:
      linear-gradient(currentColor, currentColor) top/100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) center/100% 2px no-repeat,
      linear-gradient(currentColor, currentColor) bottom/100% 2px no-repeat;
  }
  details.wb-mobile-menu[open] > div {
    display: flex !important;
  }
}

.page .page-body {display: block;}
.stack-heading{font-size: 22px!important;}
.category-breadcrumb .current{font-size: 14px!important;text-transform: uppercase;}

/* Whole-card clickable wrapper (added when card content is wrapped in <a>) */
.masonry-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.masonry-card-link:hover { color: inherit; }
.masonry-card-link .listing-readmore { display: inline-block; }
.masonry-card:hover .listing-readmore { color: var(--secondary); }

/* When .read-more is used as a whole-card wrapper anchor (contains card body),
   make it transparent to layout (display:contents) so the article's flex/grid
   layout is preserved as if the anchor weren't there. Also neutralize the inline
   read-more text styling so nothing cascades to children. */
article > a.read-more {
  display: contents;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  text-decoration: none;
  margin-top: 0 !important;
}
article > a.read-more:hover { color: inherit !important; }
/* Make the whole card clickable/hoverable */
article:has(> a.read-more) { cursor: pointer; }

/* Read More label inside the wrapping anchor — matches original .read-more look */
.read-more-text {
  display: inline-block;
  font-family: "Oswald", var(--font-heading), sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffb742 !important;
  margin-top: auto;
}
article:hover .read-more-text { color: #ffb742 !important; }

/* card-thumb: image + title are now wrapped in <a class="card-title">.
   Keep the original two-column (img left, title right) flex layout by making
   the wrapping anchor transparent to the layout (display:contents). */
.card-thumb > a.card-title {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.card-thumb .card-thumb-title {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}
.card-thumb:hover .card-thumb-title { color: #ffb742; }
.card-thumb { cursor: pointer; }