/*
 * Wyatts SEO components (TheOnlineCo., Oct 2026)
 * Hand-written, no build step. Enqueued from app/wyatts-seo.php.
 * Kept outside dist/ because the deploy pipeline rebuilds dist/.
 */

/* ---------- Breadcrumbs (Yoast) ---------- */
.wy-breadcrumb {
  font-size: 15px;
  line-height: 1.4;
  color: inherit;
}
.wy-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wy-breadcrumb a:hover,
.wy-breadcrumb a:focus {
  text-decoration: none;
}
.wy-breadcrumb .breadcrumb_last {
  opacity: .8;
}
/* Yoast's default separator is », give it a little room */
.wy-breadcrumb > span > span {
  white-space: normal;
}

/* ---------- Byline ---------- */
.wy-byline {
  font-size: 15px;
  line-height: 1.5;
}
.wy-byline-item + .wy-byline-item {
  margin-top: 2px;
}
.wy-byline-label {
  font-weight: 600;
  margin-right: 4px;
}
.wy-byline a.wy-byline-name {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Team profile: single H1 layout ---------- */
.wy-profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "head"
    "media"
    "body";
}
.wy-profile-head { grid-area: head; }
.wy-profile-media { grid-area: media; }
.wy-profile-body { grid-area: body; }

@media (min-width: 768px) {
  .wy-profile {
    /* matches the old col-md-4 / col-md split with a 30px gutter */
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "media head"
      "media body";
    column-gap: 30px;
  }
  .wy-profile-media { align-self: start; }
}

/* ---------- Blog roll ---------- */
.block-silo-blog-roll .card {
  width: 100%;
}

/* ---------- Blog roll card (articles/card-roll) ---------- */
.wy-roll-card {
  width: 100%;
}
.wy-roll-sep {
  margin: 0 6px;
  opacity: .6;
}

/* Mega menu: pin the CTA band to the bottom of the card, including
   categories that have no link columns (only a header + CTA). */
@media (min-width: 992px) {
  .mm-submenu-inner > .mm-cta-wrap {
    margin-top: auto;
  }
}
