/* HomeFront Review — theme overrides and editorial utilities.
   Loaded after the mirror stylesheets (css/assets-styles-style.css etc.).
   Only fills the gaps the mirror homepage never needed: text logo, single
   article layout, breadcrumbs, legal pages, forms, search results, gallery. */

/* ---------------------------------------------------------- text logo */
.c-logo__text {
  display: inline-block;
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, "Times New Roman", serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: .01em;
  color: inherit;
  white-space: nowrap;
}
.c-nav-header__logo .c-logo__text,
.c-search-box__logo .c-logo__text { font-size: 1.2rem; }
.c-footer .c-logo__text,
.c-site-logo .c-logo__text { font-size: 1.6rem; }
@media (max-width: 480px) { .c-logo__text { font-size: 1.2rem; } }

/* ---------------------------------------------------------- breadcrumbs */
.c-breadcrumbs {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
  margin: 0 0 .9rem;
  overflow-wrap: anywhere;
}
.c-breadcrumbs a { color: var(--wp--preset--color--primary, #b50322); text-decoration: none; }
.c-breadcrumbs a:hover { text-decoration: underline; }
.c-breadcrumbs .sep { margin: 0 .35rem; opacity: .6; }
.c-breadcrumbs .crumb-last { color: var(--wp--preset--color--neutral-black, #111); }

/* ---------------------------------------------------------- single article */
.c-single-article { max-width: 48rem; }
.c-single-article__title {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  margin: .35rem 0 .9rem;
  color: var(--wp--preset--color--neutral-black, #111);
  overflow-wrap: anywhere;
}
.c-single-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: center;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
  margin-bottom: 1.1rem;
}
.c-single-article__meta a { color: inherit; text-decoration: none; }
.c-single-article__meta a:hover { text-decoration: underline; }
.c-single-article__excerpt {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--wp--preset--color--neutral-black, #222);
  margin: 0 0 1.6rem;
}
.c-single-article__hero { margin: 0 0 1.8rem; }
.c-single-article__hero img { width: 100%; height: auto; display: block; border-radius: 6px; }

.c-single-article__body { font-size: 1.0625rem; line-height: 1.78; }
.c-single-article__body p { margin: 0 0 1.15rem; }
.c-single-article__body h2 {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.18;
  margin: 2.3rem 0 .9rem;
}
.c-single-article__body h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.c-single-article__body a { color: var(--wp--preset--color--primary, #b50322); }
.c-single-article__body ul, .c-single-article__body ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.c-single-article__body li { margin-bottom: .4rem; }
.c-single-article__body figure { margin: 1.9rem 0; }
.c-single-article__body img,
.c-single-article__gallery img,
.c-article-card__thumbnail img { width: 100%; height: auto; display: block; border-radius: 6px; }
.c-single-article__body figcaption,
.c-single-article__gallery figcaption {
  font-size: .82rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
  margin-top: .5rem;
}

/* pull quote + key facts inside the article body */
.c-single-article__body .pull-quote {
  border-left: 4px solid var(--wp--preset--color--primary, #b50322);
  margin: 2rem 0;
  padding: .35rem 0 .35rem 1.3rem;
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--wp--preset--color--neutral-black, #111);
}
.c-single-article__body .key-facts {
  background: var(--wp--preset--color--yellow-04, #fffef3);
  border: 1px solid rgba(17, 17, 17, .14);
  border-radius: 8px;
  padding: 1.2rem 1.4rem;
  margin: 2rem 0;
}
.c-single-article__body .key-facts h3 {
  margin: 0 0 .6rem;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.c-single-article__body .key-facts ul { margin: 0; padding-left: 1.25rem; }

/* extra photo gallery for the remaining article images */
.c-single-article__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 2rem 0;
}
.c-single-article__gallery figure { margin: 0; }

.c-single-article__tags {
  border-top: 1px solid rgba(17, 17, 17, .14);
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  font-size: .9rem;
}
.c-single-article__tags-label { text-transform: uppercase; letter-spacing: .05em; color: var(--wp--preset--color--neutral-gray, #6b6b6b); }
.c-single-article__tags a { color: var(--wp--preset--color--primary, #b50322); }

/* ---------------------------------------------------------- legal pages */
.c-page-title {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  margin: .35rem 0 1.1rem;
  color: var(--wp--preset--color--neutral-black, #111);
}
.c-section--default-page .wp-block-post-content { max-width: 52rem; font-size: 1.0625rem; line-height: 1.78; }
.c-section--default-page .wp-block-post-content h2 {
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.5rem;
  margin: 2rem 0 .7rem;
}
.c-section--default-page .wp-block-post-content a { color: var(--wp--preset--color--primary, #b50322); }
.c-section--default-page .wp-block-post-content .lede { font-size: 1.2rem; line-height: 1.6; }
.c-section--default-page .wp-block-post-content ul { padding-left: 1.3rem; line-height: 1.9; }
.c-page-tagline {
  margin-top: 2.2rem;
  font-size: .85rem;
  font-style: italic;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
}

/* ---------------------------------------------------------- forms */
.c-form-signup { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin: 0; }
.c-form-signup .hs-form-field { flex: 1 1 220px; min-width: 0; }
.c-form-signup .hs-label {
  display: block;
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .3rem;
}
.c-form-signup .hs-input {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, .25);
  border-radius: 4px;
  padding: .65rem .8rem;
  font: inherit;
  color: #111;
  background: #fff;
}
.c-form-signup .hs-button {
  border: 0;
  border-radius: 4px;
  padding: .7rem 1.3rem;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  background: var(--wp--preset--color--primary, #b50322);
  color: #fff;
}
.c-form-signup .hs-button:hover { background: var(--wp--preset--color--primary-dark, #8f0219); }
.c-form-signup .form-ok { flex: 1 1 100%; margin: .2rem 0 0; }
.form-ok { color: #166534; font-weight: 600; }

.contact-form { margin: 1.4rem 0 2rem; }
.contact-form label { display: block; font-weight: 600; margin: .9rem 0; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  border: 1px solid rgba(17, 17, 17, .25);
  border-radius: 4px;
  padding: .6rem .8rem;
  font: inherit;
}
.contact-form button {
  margin-top: .8rem;
  border: 0;
  border-radius: 4px;
  padding: .7rem 1.5rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--wp--preset--color--primary, #b50322);
  color: #fff;
}

/* ---------------------------------------------------------- search results */
.c-search-quicklinks { width: 100%; max-width: 42rem; margin: 1rem auto 0; }
.c-search-quicklinks a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 4px;
  color: var(--wp--preset--color--neutral-black, #111);
  text-decoration: none;
}
.c-search-quicklinks a:hover,
.c-search-quicklinks a:focus { background: rgba(17, 17, 17, .06); color: var(--wp--preset--color--primary, #b50322); }
.c-search-quicklinks .no-hit { color: var(--wp--preset--color--neutral-gray, #6b6b6b); padding: .5rem .7rem; }

/* ---------------------------------------------------------- sticky header reveal */
.site-header { transition: transform .35s ease, background-color .25s ease-in-out; will-change: transform; }
html.refact-section-header-hidden .site-header { transform: translateY(-100%); }

/* ---------------------------------------------------------- accessibility helpers */
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  clip: auto;
  background: #fff;
  color: #111;
  padding: 10px 16px;
  z-index: 100000;
}

/* ---------------------------------------------------------- footer contact */
.c-footer-contact {
  max-width: 505px;
  margin-top: .25rem;
}
.c-footer-contact .wp-block-heading {
  color: var(--wp--preset--color--neutral-white, #fff);
  font-family: var(--wp--preset--font-family--noe-standard, Georgia, serif);
  font-size: 1.05rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .5rem;
}
.c-footer-contact p {
  color: var(--wp--preset--color--neutral-silver-01, #d8d8d8);
  font-family: var(--wp--preset--font-family--pt-serif, Georgia, serif);
  font-size: .9375rem;
  line-height: 1.5;
  margin: 0 0 .4rem;
}
.c-footer-contact a {
  color: var(--wp--preset--color--primary-01, #e83655);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.c-footer-contact a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 781px) {
  .c-single-article__gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .c-single-article__gallery { grid-template-columns: 1fr; }
  .c-form-signup .hs-button { width: 100%; }
}

/* Contact page links */
.contact-link{color:var(--wp--preset--color--primary,#E2042A);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere;transition:color .18s ease,text-decoration-thickness .18s ease}
.contact-link:hover{color:var(--wp--preset--color--primary-dark,#B50322);text-decoration-thickness:2px}

/* ---------------------------------------------------------- 2026 layout cleanup
   Desktop header, full-width archives and card grids. Added after the mirror
   stylesheets so it wins without !important except where the mirror uses it. */

/* Full category nav on desktop, no duplicate drawer button or wrapped labels */
@media (min-width: 62em) {
  .c-header__wrapper {
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo cta";
  }
  .c-header__wrapper .c-header__hamburgers { display: none; }
  .c-header__cta .s-nav { flex-wrap: nowrap; gap: 1.15rem; }
  .c-header__cta .s-nav .wp-block-navigation-item__content {
    font-size: .8125rem;
    white-space: nowrap;
    letter-spacing: .015em;
  }
}
@media (min-width: 62em) and (max-width: 1400px) {
  .c-header__cta .s-nav { gap: .9rem; }
  .c-header__cta .s-nav .wp-block-navigation-item > .wp-block-navigation-item__content {
    font-size: .75rem !important;
  }
}

/* Rows should size to their content, not stretch to the tallest sidebar */
.c-content__main { align-items: start; }
.c-content__main.is-full-width { grid-template-columns: 1fr; gap: 0; }
.c-content__main.is-full-width .c-article__lists::after { display: none; }

/* Cards inside multi-column grids stack image above text instead of squeezing
   a 300px thumbnail and the title into the same narrow column. */
.c-homeposts-block__list.has-two-col .c-article-card,
.c-homeposts-block__list.has-three-col .c-article-card { grid-template-columns: 1fr; }
.c-homeposts-block__list.has-two-col .c-article-card__thumbnail img { aspect-ratio: 16 / 10; }
.c-section--archive .c-homeposts-block__list { row-gap: 2.5rem; }

/* Archive heading reads like the article pages instead of a centred banner */
.o-section.is-archive-posts .c-archive__info {
  align-items: flex-start;
  max-width: none;
  margin: 0 0 1rem;
}
.o-section.is-archive-posts .c-archive__title {
  text-align: left;
  text-transform: none;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}
.o-section.is-archive-posts .c-archive-description { max-width: 48rem; }

/* Most Popular panel in the homepage hero */
.c-hero__popular-col { align-self: start; }
.c-hero__popular-col .c-most-popular__section { width: 100%; }
.c-hero__popular-col .c-popular-article__list { gap: 1rem; }
.c-hero__popular-col .c-popular-article__list .c-article-card:not(:last-child) { padding-bottom: 1rem; }
.c-hero__popular-col .c-popular-article__list .c-article-card__title { font-size: 1.05rem; }

/* Footer after the newsletter band was removed */
.c-footer__content { justify-content: flex-start; }
.c-footer__info { max-width: 640px; }

/* Contact form note */
.contact-form .form-note {
  margin: .75rem 0 0;
  font-size: .85rem;
  color: var(--wp--preset--color--neutral-gray, #6b6b6b);
}
