/* Forge of Liberty - Valley Forge palette (iron & ember)
   Scaffold v0.1 - 2026-08-14. Refine after visual QA.
   2026-08-19: nav background corrected to grey (nav titles were invisible on black). */
:root {
  --forge-iron: #1f1f1f;
  --forge-iron-light: #2e2e2e;
  --forge-ember: #c84b0f;
  --forge-ember-bright: #e2721b;
  --forge-parchment: #f6efdf;
  --forge-gold: #b08d3e;
  --forge-nav: #555555;
}
/* Display type: serif */
h1, h2, h3, h4, .site-name, .block-title, .navbar-brand {
  font-family: Georgia, "Times New Roman", serif;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222222;
}
/* Grey nav (was iron black - made menu titles invisible) */
.navbar, .navbar-dark { background-color: var(--forge-nav) !important; }
.navbar-light .navbar-nav .nav-link {
  color: #fff !important;
}

/* Remove the white bar that wraps the grey menu bar (10/28).
   The navbar sits inside a full-width container-fluid.bg-faded wrapper
   that shows a white strip past the grey bar. Make it transparent so only
   the grey navbar shows. Target the specific navbar wrapper only.
   2026-11-09: the wrapper's 10px top padding showed a black band under the
   white logo row; give the wrapper the navbar grey so it blends (no black). */
.container-fluid.bg-faded.fh5co_padd_mediya.padding_786 {
  background-color: var(--forge-nav) !important;
  max-width: 1110px;
  margin: 0 auto;
}
/* Ember links */
a { color: var(--forge-ember); }
a:hover, a:focus { color: var(--forge-ember-bright); }
/* Headings */
h1, h2 { color: var(--forge-iron); }
/* Buttons */
.btn-primary {
  background-color: var(--forge-ember);
  border-color: var(--forge-ember);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--forge-ember-bright);
  border-color: var(--forge-ember-bright);
}
/* Footer iron */
footer, .footer, .site-footer {
  background-color: var(--forge-iron);
  color: #cfc8b8;
}
footer a, .site-footer a { color: var(--forge-gold); }
footer a:hover, .site-footer a:hover { color: #d4b96a; }
/* Parchment accents */
.node--view-mode-teaser, .views-row { background: #fffdf7; }

/* 2026-08-19 v2: black canvas + content column matching nav width */
html, body { background: #000 !important; }
#feature, .container-fluid.paddding {
  max-width: 1110px;
  margin: 0 auto;
  background: #fff;
}

/* 2026-08-19 v4: logo image sizing in the header (revert v3 strip alignment) */
.fh5co_padding_menu img,
.navbar-brand img {
  height: 65px;
  width: auto;
}


/* 2026-08-19 v6: top strip black; logo block container white */
.fh5co_header_bg {
  background: #222;
  color: #fff;
}
.site-branding, .fh5co_padding_menu {
  background: #fff;
}

/* =========================================================
   FORGE ARTICLE + PARAGRAPH COMPONENTS (v0.2 - 2026-10-28)
   Paragraph-based article body. Iron & ember, Valley Forge.
   ========================================================= */

/* Article wrapper */
.forge-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.forge-article__title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forge-iron);
  font-size: 2.2rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.forge-article__meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e0d0;
  padding-bottom: 0.75rem;
}
.forge-article__meta img {
  border-radius: 50%;
  margin-right: 0.4rem;
}
.forge-article__date {
  margin-left: 0.6rem;
  font-style: italic;
}
.forge-article__hero {
  margin-bottom: 1.75rem;
}
.forge-article__hero img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.forge-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2a2a2a;
}
.forge-article__tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e0d0;
  font-size: 0.85rem;
}
.forge-article__tags .field--name-field-tags .field__item {
  display: inline-block;
  margin-right: 0.5rem;
}
.forge-article__tags a {
  color: var(--forge-ember);
  text-decoration: none;
}
.forge-article__tags a:hover {
  color: var(--forge-ember-bright);
}

/* Text paragraph */
.forge-text {
  margin-bottom: 1.5rem;
}
.forge-text__body p {
  margin-bottom: 1.25rem;
}
.forge-text__body p:last-child {
  margin-bottom: 0;
}
.forge-text__body a {
  color: var(--forge-ember);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.forge-text__body a:hover {
  color: var(--forge-ember-bright);
}

/* Image paragraph */
.forge-image {
  margin: 2rem 0;
}
.forge-image__figure {
  margin: 0;
}
.forge-image__media img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.forge-image__caption {
  font-size: 0.85rem;
  color: #777;
  text-align: center;
  margin-top: 0.6rem;
  font-style: italic;
}

/* Quote paragraph - ember left border, parchment bg */
.forge-quote {
  margin: 2rem 0;
}
.forge-quote__blockquote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--forge-parchment);
  border-left: 4px solid var(--forge-ember);
  border-radius: 0 4px 4px 0;
  font-family: Georgia, "Times New Roman", serif;
}
.forge-quote__text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--forge-iron);
}
.forge-quote__text p {
  margin-bottom: 0.5rem;
}
.forge-quote__text p:last-child {
  margin-bottom: 0;
}
.forge-quote__attribution {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--forge-ember);
  text-align: right;
}
.forge-quote__attribution cite {
  font-style: normal;
  font-weight: 600;
}

/* Video paragraph - responsive 16:9 */
.forge-video {
  margin: 2rem 0;
}
.forge-video__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.forge-video__wrapper iframe,
.forge-video__wrapper video,
.forge-video__wrapper .field--name-field-video-url {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .forge-article {
    padding: 1.25rem 1rem;
  }
  .forge-article__title {
    font-size: 1.7rem;
  }
  .forge-quote__text {
    font-size: 1.1rem;
  }
}

/* =========================================================
   FEATURED SECTION PADDING (2026-11-09)
   Give the featured lead (video) and featured side (2x2 grid) columns
   breathing room: white space around and between the blocks.
   ========================================================= */
#feature .feature-news,
#feature .feature-right {
  padding: 1.25rem;
}
#feature .feature-news {
  padding-right: 0.625rem; /* half-gap toward the right column */
  padding-left: 1.75rem;   /* extra breathing room on the left edge (2026-11-09) */
}
#feature .feature-right {
  padding-left: 0.625rem; /* half-gap toward the left column */
}
@media (max-width: 768px) {
  #feature .feature-news,
  #feature .feature-right {
    padding: 1rem;
  }
}

/* =========================================================
   FEATURED LEAD CENTER (v0.5 - 2026-10-28)
   Center the big article image within the left block of the
   homepage featured section (remove white space, center up-down
   and left-right).
   ========================================================= */
/* Stretch the column chain so vertical centering has height to work with */
.col-md-6.feature-news,
.col-md-6.feature-news .region,
.col-md-6.feature-news .region .views-element-container,
.col-md-6.feature-news .region .views-element-container .view {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#block-forge-sub-featured-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  flex: 1;
}
#block-forge-sub-featured-lead .view-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
}
#block-forge-sub-featured-lead .views-field-field-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
#block-forge-sub-featured-lead .views-field-title {
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}
#block-forge-sub-featured-lead .views-field-title a {
  color: var(--forge-iron);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}
#block-forge-sub-featured-lead .views-field-title a:hover {
  color: var(--forge-ember);
}
/* Featured lead video (2026-11-09): constrain the "I Was Set Up" player
   to the block width so it doesn't bleed into neighbouring blocks. */
#block-forge-sub-featured-lead .views-field-field-media-video-file {
  width: 100%;
  max-width: 100%;
}
#block-forge-sub-featured-lead .views-field-field-media-video-file video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Featured lead video hero (2026-11-09): title (H1) + video + description. */
#block-forge-sub-featured-lead .forge-featured-lead {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#block-forge-sub-featured-lead .forge-featured-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  color: var(--forge-iron);
  margin: 0 0 1rem 0;
  padding: 0 0.5rem;
}
#block-forge-sub-featured-lead .forge-featured-lead__video {
  width: 100%;
  max-width: 100%;
}
#block-forge-sub-featured-lead .forge-featured-lead__video video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
#block-forge-sub-featured-lead .forge-featured-desc {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--forge-iron);
  margin: 1rem 0 0 0;
  padding: 0 0.5rem;
}

/* =========================================================
   FEATURED SIDE 2x2 GRID (v0.4 - 2026-10-28)
   The right block of the homepage featured section: 4 articles
   in a 2x2 grid, filling the space (was 3 stacked with white space).
   ========================================================= */
.forge-featured-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.forge-featured-side__item {
  background: #fff;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.forge-featured-side__item .views-field-field-image img {
  width: 100%;
  height: auto;
  display: block;
}
.forge-featured-side__item .views-field-title {
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.3;
}
.forge-featured-side__item .views-field-title a {
  color: var(--forge-iron);
  text-decoration: none;
}
.forge-featured-side__item .views-field-title a:hover {
  color: var(--forge-ember);
}

/* Responsive: single column on small screens */
@media (max-width: 768px) {
  .forge-featured-side {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MENU FIX (v0.3 - 2026-10-28)
   The yg_news style.css forces .dropdown-menu to display:block,
   which makes submenus render as a visible vertical list.
   Restore proper Bootstrap dropdown behavior: hide by default,
   show on hover of the parent .dropdown item.
   ========================================================= */

/* Hide dropdown submenus by default */
.navbar-nav .dropdown-menu {
  display: none;
}

/* Dropdown links: dark text on the white dropdown panel (fixes white-on-white) */
.navbar-nav .dropdown-menu .nav-link,
.navbar-nav .dropdown-menu a {
  color: #333333 !important;
  background-color: #ffffff;
  padding: 0.5rem 1rem;
  display: block;
}

/* Grey background for non-hovered dropdown links (David's suggestion) */
.navbar-nav .dropdown-menu .nav-link,
.navbar-nav .dropdown-menu a {
  background-color: #f2f2f2;
}

/* Hover: keep readable — dark text on a slightly darker grey */
.navbar-nav .dropdown-menu .nav-link:hover,
.navbar-nav .dropdown-menu a:hover,
.navbar-nav .dropdown-menu .nav-link:focus,
.navbar-nav .dropdown-menu a:focus {
  color: #ffffff !important;
  background-color: var(--forge-gold);
}

/* Show dropdown on hover of the parent item (desktop) */
.navbar-nav .dropdown:hover > .dropdown-menu,
.navbar-nav .dropdown.show > .dropdown-menu,
.navbar-nav .dropdown.open > .dropdown-menu {
  display: block;
}

/* Ensure the parent toggle stays clickable */
.navbar-nav .dropdown-toggle {
  cursor: pointer;
}

/* Horizontal navbar: keep items in a row on desktop */
@media (min-width: 768px) {
  .navbar-nav {
    flex-direction: row;
  }
  .navbar-nav .nav-item {
    float: none;
  }
}

/* =========================================================
   NEWS SECTION / ALL NEWS GRID (v0.6 - 2026-11-04)
   The full-width "All News Section" below the featured block.
   Responsive grid of article cards (image + title), iron & ember.
   ========================================================= */
.forge-news-section {
  max-width: 1110px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.forge-news-section__header {
  border-bottom: 2px solid var(--forge-ember);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}
.forge-news-section__title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forge-iron);
  font-size: 1.6rem;
  margin: 0;
}
.forge-news-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.forge-news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease;
}
.forge-news-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.forge-news-card .views-field-field-image img {
  width: 100%;
  height: auto;
  display: block;
}
.forge-news-card .views-field-title {
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  line-height: 1.35;
}
.forge-news-card .views-field-title a {
  color: var(--forge-iron);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
}
.forge-news-card .views-field-title a:hover {
  color: var(--forge-ember);
}
.forge-news-card .views-field-created {
  padding: 0 1rem 0.75rem;
  font-size: 0.8rem;
  color: #777;
  font-style: italic;
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 992px) {
  .forge-news-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .forge-news-section__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   THEMED NEWS STRIPS (v0.7 - 2026-11-04)
   The 4 curated tag strips (AI, Surveillance, Lawfare, Jan 6).
   Each strip: a title header + a horizontal 1x4 row of cards.
   ========================================================= */
.forge-strip {
  max-width: 1110px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.forge-strip__title {
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--forge-ember);
  display: inline-block;
}
.forge-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.forge-strip__card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s ease;
}
.forge-strip__card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.forge-strip__card .views-field-field-image img {
  width: 100%;
  height: auto;
  display: block;
}
.forge-strip__card .views-field-title {
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.35;
}
.forge-strip__card .views-field-title a {
  color: var(--forge-iron);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
}
.forge-strip__card .views-field-title a:hover {
  color: var(--forge-ember);
}

/* Responsive: 2 across on tablet, 1 on mobile */
@media (max-width: 992px) {
  .forge-strip__row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .forge-strip__row {
    grid-template-columns: 1fr;
  }
}

/* Strip block titles (the <h2> rendered by the block label) —
   style them like the forge-strip__title (Georgia serif, ember underline).
   WHITE text (11/04): the news_section sits on the black body background,
   so titles are white for contrast.
   11/04 fix: constrain to the same 1110px max-width as the cards so the
   title aligns with the cards' left edge (was full-page-width left-justified). */
.region-news-section .block-views h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--forge-ember);
  display: block;
  max-width: 1110px;
  padding-left: 1rem;
}
/* =========================================================
   Business Tag Rows (homepage business_news region) - 11/06
   One latest article per tag, stacked vertically. Each row:
   image left (~1/3), title over summary right (~2/3).
   ========================================================= */
.forge-business-row {
  max-width: 1110px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.forge-business-row__title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forge-iron);
  font-size: 1.5rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--forge-ember);
  display: inline-block;
}
.forge-business-row__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #fff;
  border-radius: 4px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.25rem;
}
/* Image left ~1/3 */
.forge-business-row__item .views-field-field-image {
  flex: 0 0 33.333%;
  max-width: 33.333%;
}
.forge-business-row__item .views-field-field-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}
/* Text right ~2/3 */
.forge-business-row__item .views-field-title,
.forge-business-row__item .views-field-body {
  flex: 1 1 auto;
}
.forge-business-row__item .views-field-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.forge-business-row__item .views-field-title a {
  color: var(--forge-iron);
  text-decoration: none;
}
.forge-business-row__item .views-field-title a:hover {
  color: var(--forge-ember);
}
.forge-business-row__item .views-field-body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

/* Responsive: stack image above text on mobile */
@media (max-width: 600px) {
  .forge-business-row__item {
    flex-direction: column;
  }
  .forge-business-row__item .views-field-field-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}
/* =========================================================
   Sidebar Curated Topics (11/06) - forge_sub_topics_curated
   A shortlist of topic links styled to match the theme.
   ========================================================= */
.forge-topics-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.forge-topics-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.forge-topics-list li:last-child {
  border-bottom: none;
}
.forge-topics-list a {
  color: var(--forge-iron);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}
.forge-topics-list a:hover {
  color: var(--forge-ember);
}

/* =========================================================
   Sidebar Most Popular (11/06) - forge_sub_most_popular
   Numbered list of most-viewed article titles.
   ========================================================= */
.region-sidebar-second .view-most-popular .view-content {
  counter-reset: forge-popular;
}
.region-sidebar-second .view-most-popular .views-row {
  counter-increment: forge-popular;
  padding: 0.4rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.region-sidebar-second .view-most-popular .views-row:last-child {
  border-bottom: none;
}
.region-sidebar-second .view-most-popular .views-row::before {
  content: counter(forge-popular) ".";
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forge-ember);
  font-weight: bold;
  margin-right: 0.5rem;
}
.region-sidebar-second .view-most-popular .views-field-title a {
  color: var(--forge-iron);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
}
.region-sidebar-second .view-most-popular .views-field-title a:hover {
  color: var(--forge-ember);
}

/* Sidebar block titles */
.region-sidebar-second .block h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forge-iron);
  font-size: 1.25rem;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--forge-ember);
}

/* 2026-11-07: top trending strip constrained to the content column.
   The grey header band was full-bleed; now it is exactly as wide as the
   1110px content column, leaving black gutters at each end to match the
   rest of the page. Body is already #000, so the ends read as black. */
.fh5co_header_bg {
  max-width: 1110px;
  margin: 0 auto;
}

/* 2026-11-07: white logo block nudged right to line up with the content
   column edge (was flush with the row edge, 15px left of the content). */
.col-12.col-md-3.fh5co_padding_menu {
  margin-left: 15px;
}

/* 2026-11-09: shrink the logo row height and make the whole row white so
   the logo block blends with its background (no black bar under the logo).
   Base theme sets .header-res { height: 100px } and the logo is 45px tall
   with 20px top/bottom padding (85px), leaving ~15px of black below.
   Constrain the white to the 1110px content column (container-fluid is
   full-width by default). */
.container-fluid.header-res {
  height: 85px;
  background-color: #fff;
  max-width: 1110px;
  margin: 0 auto;
}
.container-fluid.header-res .container,
.container-fluid.header-res .row {
  background-color: #fff;
}
.container-fluid.header-res .fh5co_padding_menu {
  background-color: #fff;
}

/* 2026-11-07: top utility bar (mission line + social links) replacing the
   placeholder trending ticker in the top_trending region. */
.forge-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.7rem 0;
}
.forge-topbar__mission {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--forge-parchment);
}
.forge-topbar__links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.forge-topbar__links li { margin: 0; padding: 0; }
.forge-topbar__links a {
  color: #cfc8b8;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.forge-topbar__links a:hover,
.forge-topbar__links a:focus { color: var(--forge-gold); }
/* neutralise block_content / field wrappers inside the strip */
.region-top-trending .block,
.region-top-trending .field--name-body,
.region-top-trending .field--name-body p { margin: 0; padding: 0; }
.region-top-trending .field--name-body p:empty { display: none; }
@media (max-width: 767px) {
  .forge-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0;
  }
  .forge-topbar__links { flex-wrap: wrap; gap: 0.9rem; }
}

/* 2026-11-07: the top_trending region sits inside a Bootstrap .row, whose
   flex item shrinks to content width. Force it full width so the mission
   line and the social links actually sit at opposite ends. */
.region-top-trending {
  flex: 0 0 100%;
  max-width: 100%;
}

/* 2026-11-07: mission line matches the ember underline colour used on
   the section titles. */
.forge-topbar__mission {
  color: var(--forge-ember);
}

/* =========================================================
   FOOTER (2026-11-07)
   ========================================================= */
.fh5co_footer_bg {
  background: var(--forge-iron);
  color: #bdb6a6;
}
.fh5co_footer_bg a { color: #cfc8b8; }
.fh5co_footer_bg a:hover, .fh5co_footer_bg a:focus { color: var(--forge-gold); }

/* wordmark strip */
.forge-footer-wordmark__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forge-parchment);
  margin: 0;
  line-height: 1.2;
}
.forge-footer-wordmark__tag {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--forge-ember);
  margin: 0.4rem 0 0;
}

/* about column */
.footer_sub_about p { font-size: 0.92rem; line-height: 1.7; margin: 0 0 0.9rem; }
.forge-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.forge-footer-social a { color: #9d9788; text-decoration: none; }
.forge-footer-social a:hover { color: var(--forge-gold); }

/* column headings */
.forge-footer-heading,
.region-footer-most-viewed-post h2,
.region-footer-last-modified-post h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forge-parchment);
  margin: 0 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #3a3a3a;
}

/* topics menu */
.footer_menu { list-style: none; margin: 0; padding: 0; }
.footer_menu li { margin: 0 0 0.55rem; padding: 0; }
.footer_menu a { text-decoration: none; font-size: 0.9rem; }

/* most popular / latest lists */
.region-footer-most-viewed-post ul,
.region-footer-last-modified-post ul {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: forgecount;
}
.region-footer-most-viewed-post li,
.region-footer-last-modified-post li {
  counter-increment: forgecount;
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.region-footer-most-viewed-post li::before,
.region-footer-last-modified-post li::before {
  content: counter(forgecount);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--forge-ember);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.region-footer-most-viewed-post a,
.region-footer-last-modified-post a { color: #e6e0d2; text-decoration: none; }
.region-footer-most-viewed-post a:hover,
.region-footer-last-modified-post a:hover { color: var(--forge-gold); }
.region-footer-most-viewed-post .views-row,
.region-footer-last-modified-post .views-row { background: transparent; }
/* broken theme decoration image (file 404s on our install) */
.footer_position_absolute { display: none; }

/* subscribe CTA */
.forge-footer-cta { text-align: center; }
.forge-footer-cta__title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--forge-parchment);
  font-size: 1.35rem;
  margin: 0 0 0.4rem;
}
.forge-footer-cta__text { color: #bdb6a6; margin: 0 0 1rem; font-size: 0.92rem; }
.forge-footer-cta__btn {
  display: inline-block;
  background: var(--forge-ember);
  color: #fff !important;
  text-decoration: none;
  padding: 0.7rem 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
}
.forge-footer-cta__btn:hover { background: var(--forge-ember-bright); }

/* bottom bar */
.fh5co_footer_right_reserved {
  background: #141414;
  color: #8f8a7d;
  font-size: 0.8rem;
  border-top: 1px solid #2b2b2b;
}
.fh5co_footer_right_reserved .Reserved { color: #8f8a7d; }
.fh5co_footer_right_reserved .block { margin: 0; }
.fh5co_footer_right_reserved ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}
.fh5co_footer_right_reserved ul a {
  color: #8f8a7d;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.fh5co_footer_right_reserved ul a:hover { color: var(--forge-gold); }
@media (max-width: 767px) {
  .fh5co_footer_right_reserved ul { justify-content: flex-start; margin-top: 0.5rem; }
  .forge-footer-wordmark__name { font-size: 1.25rem; letter-spacing: 0.18em; }
}

/* 2026-11-07 footer fixes: the footer views use the "fields" row style, so
   list items are .views-field divs, not li. Topic menu renders a nav ul
   inside the template's ul.footer_menu. */
.region-footer-most-viewed-post .view-content,
.region-footer-last-modified-post .view-content { counter-reset: forgecount; }
.region-footer-most-viewed-post .views-field-title,
.region-footer-last-modified-post .views-field-title {
  counter-increment: forgecount;
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
.region-footer-most-viewed-post .views-field-title::before,
.region-footer-last-modified-post .views-field-title::before {
  content: counter(forgecount);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--forge-ember);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
.region-footer-most-viewed-post .views-field-title a,
.region-footer-last-modified-post .views-field-title a { color: #e6e0d2; text-decoration: none; }
.region-footer-most-viewed-post .views-field-title a:hover,
.region-footer-last-modified-post .views-field-title a:hover { color: var(--forge-gold); }
.region-footer-most-viewed-post .views-element-container,
.region-footer-last-modified-post .views-element-container { margin-bottom: 0; }

ul.footer_menu { list-style: none; margin: 0; padding: 0; }
ul.footer_menu ul.nav {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.footer_menu li.nav-item {
  display: block;
  margin: 0 0 0.55rem;
  padding: 0;
}
ul.footer_menu .nav-link {
  display: inline;
  padding: 0;
  font-size: 0.9rem;
  text-decoration: none;
  color: #cfc8b8;
}
ul.footer_menu .nav-link:hover { color: var(--forge-gold); }

/* 2026-11-07: the theme hides .animate-box (opacity:0) until a scroll
   animation fires. Never let the footer depend on that JS. */
.fh5co_footer_bg .animate-box { opacity: 1 !important; transform: none !important; }

/* 2026-11-07: the subscribe block sits directly in a Bootstrap .row with no
   column class, so as a flex item it would shrink to content width. */
.region-footer-subscribe {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
}

/* 2026-11-07: keep the theme's diagonal footer cut (David: a straight edge
   made the footer read as just another block). Fixed px depth instead of the
   theme's 17% so tall/stacked footers don't eat the content, plus enough top
   padding that the wordmark clears the slope. */
.fh5co_footer_bg {
  -webkit-clip-path: polygon(0 84px, 100% 0, 100% 100%, 0% 100%) !important;
  clip-path: polygon(0 84px, 100% 0, 100% 100%, 0% 100%) !important;
  padding-top: 3.5rem;
}
/* the theme gives the wordmark row py-5; the footer padding already covers it */
.fh5co_footer_bg .col-12.spdp_right.py-5 {
  padding-top: 0 !important;
  padding-bottom: 1.5rem !important;
}
.fh5co_footer_right_reserved nav { text-align: right; }
.fh5co_footer_right_reserved .footer_last_part_menu {
  display: inline-block;
  margin-left: 1.6rem;
  color: #8f8a7d;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.fh5co_footer_right_reserved .footer_last_part_menu:hover { color: var(--forge-gold); }
@media (max-width: 767px) {
  .fh5co_footer_right_reserved nav { text-align: left; }
  .fh5co_footer_right_reserved .footer_last_part_menu { margin-left: 0; margin-right: 1.6rem; }
}

/* 2026-11-07: footer logo image (replaces the typeset wordmark block) */
.forge-footer-logo { margin: 0 0 0.5rem; text-align: right; }
.forge-footer-logo img {
  display: inline-block;
  width: 300px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .forge-footer-logo { text-align: left; }
  .forge-footer-logo img { width: 240px; }
}

/* Forge: hidden helper field (topics index term id) */
.forge-hidden-field { display: none; }

/* Forge: Topics index (/topics) */
.view-topics-index .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.4rem 1.75rem;
}
.forge-topic-link a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(128, 128, 128, 0.45);
  text-underline-offset: 2px;
}
.forge-topic-link a:hover,
.forge-topic-link a:focus {
  text-decoration-color: currentColor;
}
.forge-topic-desc {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-top: 0.15rem;
}
@media (max-width: 640px) {
  .view-topics-index .view-content {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .forge-topic-link a {
    display: block;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(128, 128, 128, 0.18);
  }
}

/* Forge: hide empty page title heading (views page with no resolved title) */
h1.title:empty { display: none; }
.forge-topics-title {
  margin-bottom: 1.25rem;
}

/* Forge: responsive 16:9 embeds in article/page body text (2026-11-16).
   Overrides the base theme's global `iframe { height: 350px }` and the
   hardcoded width/height attributes pasted in from YouTube. */
.text-formatted iframe,
.forge-article__html iframe,
.field--name-body iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border: 0;
  margin: 1rem 0;
}

/* Forge article: media field (video from the media library). */
.forge-article__media {
  margin: 1.35rem 0;
}
.forge-article__media video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Generic blockquote in article bodies (CKEditor quote button).
   Matches the quote paragraph: ember left border, parchment bg.
   Excludes Twitter embeds (twitter-tweet) which must keep their own look. */
.forge-article__html blockquote:not(.twitter-tweet):not(.twitter-tweet-rendered),
.forge-article__body blockquote:not(.twitter-tweet):not(.twitter-tweet-rendered),
.field--name-body blockquote:not(.twitter-tweet):not(.twitter-tweet-rendered),
.text-formatted blockquote:not(.twitter-tweet):not(.twitter-tweet-rendered) {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: var(--forge-parchment);
  border-left: 4px solid var(--forge-ember);
  border-radius: 0 4px 4px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--forge-iron);
}
.forge-article__html blockquote:not(.twitter-tweet) p,
.forge-article__body blockquote:not(.twitter-tweet) p {
  margin-bottom: 0.5rem;
}
.forge-article__html blockquote:not(.twitter-tweet) p:last-child,
.forge-article__body blockquote:not(.twitter-tweet) p:last-child {
  margin-bottom: 0;
}

/* Forge Dispatch email subscribe CTA (footer about block) */
.forge-footer-subscribe { margin: 14px 0 10px 0; }
.forge-footer-subscribe a { color:#c8892a; font-family: Georgia, serif; font-size: 14px; letter-spacing: .5px; text-decoration: none; border-bottom: 1px solid rgba(200,137,42,.4); padding-bottom: 2px; }
.forge-footer-subscribe a:hover { color:#e0a447; border-color:#e0a447; }
