@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Comfortaa:wght@400;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

/* ── Main Blog Hero ── */
.fg-blog {
  position: relative;
  width: 100%;
  overflow: visible;
}

.fg-blog__hero {
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  min-height: clamp(330px, 19.5vw, 375px);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  /* clear the fixed overlay header; equal top/bottom keeps the
     text on the band's centre line */
  padding-top: max(clamp(18px, 2.5vw, 40px), calc(var(--fgh-bar-h, 148px) + 16px));
  padding-bottom: max(clamp(34px, 3.4vw, 52px), calc(var(--fgh-bar-h, 148px) + 16px));
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  background-image: url('../../uploads/2026/07/HEADER-BG.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 20;
}

.fg-blog__hero-pattern {
  display: none !important;
}

.fg-blog__hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Exact hero typography used by the other FueGenix sections */
.fg-blog__hero .fg-blog__eyebrow {
  display: block !important;
  margin: 0 0 clamp(4px, 0.45vw, 7px) !important;
  padding: 0 !important;
  font-family: 'Newsreader', serif !important;
  font-style: italic !important;
  font-size: clamp(18px, 2.0833vw, 30px) !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: -0.03em !important;
  color: rgba(0, 0, 0, 0.44) !important;
  text-align: center !important;
}

.fg-blog__hero .fg-blog__hero-title {
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif !important;
  font-style: normal !important;
  font-size: clamp(32px, 3.8194vw, 55px) !important;
  font-weight: 300 !important;
  font-synthesis: none !important;
  -webkit-font-smoothing: antialiased;
  line-height: clamp(40px, 4.0278vw, 58px) !important;
  letter-spacing: -0.03em !important;
  color: rgba(0, 0, 0, 1) !important;
  text-align: center !important;
}

/* ── Blog divider: exactly one asset per breakpoint ── */
.fg-blog__bottom-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: 99999999;
  overflow-x: clip;
  overflow-y: visible;
  line-height: 0;
  font-size: 0;
}

.fg-blog__bottom-line,
.fg-blog__bottom-mobile {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  max-width: none;
  pointer-events: none;
  z-index: 999999999;
  transform-origin: left center;
}

/* DESKTOP ONLY */
@media (min-width: 769px) {
  .fg-blog__bottom-line {
    display: block !important;
    transform: translateY(25%);
  }

  .fg-blog__bottom-mobile {
    display: none !important;
  }
}

/* MOBILE ONLY */
@media (max-width: 768px) {
  .fg-blog__hero {
    min-height: 250px;
    /* keep the header clearance - a padding shorthand here would reset it */
    padding-top: max(24px, calc(var(--fgh-bar-h, 148px) + 16px));
    padding-bottom: max(36px, calc(var(--fgh-bar-h, 148px) + 16px));
    padding-left: 20px;
    padding-right: 20px;
  }

  .fg-blog__hero .fg-blog__eyebrow {
    font-size: 22px !important;
    line-height: 1 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 6px !important;
  }

  .fg-blog__hero .fg-blog__hero-title {
    font-size: 31px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
  }

  .fg-blog__bottom-line {
    display: none !important;
  }

  .fg-blog__bottom-mobile {
    display: block !important;
    transform: translateY(29%);
  }
}

/* ── Body / grid ── */
.fg-blog__body {
  position: relative;
  z-index: 1;

  background: #e1e2e6;
  padding: clamp(48px, 6vw, 100px) clamp(20px, 4vw, 60px) clamp(56px, 7vw, 110px);
}

.fg-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 40px);
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .fg-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .fg-blog__grid {
    grid-template-columns: 1fr;
  }
}

.fg-blog__empty {
  text-align: center;
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  color: rgba(9, 18, 29, 0.55);
  padding: 40px 0;
}

.fg-blog__card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fg-blog__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fg-blog__card-inner {
  background: #f0f1f4;
  border-radius: 25px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.fg-blog__card:hover .fg-blog__card-inner {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px -12px rgba(9, 18, 29, 0.28);
}

.fg-blog__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  flex-shrink: 0;
  display: block;
  background: #d8dade;
}

.fg-blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fg-blog__card:hover .fg-blog__img {
  transform: scale(1.06);
}

@media (hover: none) {
  .fg-blog__card:hover .fg-blog__card-inner {
    transform: none;
    box-shadow: none;
  }

  .fg-blog__card:hover .fg-blog__img {
    transform: none;
  }
}

.fg-blog__card-body {
  padding: clamp(20px, 2vw, 32px) clamp(20px, 2.2vw, 36px) clamp(24px, 2.4vw, 38px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.fg-blog__cat {
  display: inline-block;
  font-family: 'Comfortaa', cursive;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d3b574;
  margin: 0 0 10px;
}

.fg-blog__card-title {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(18px, 1.5vw, 26px);
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: rgba(9, 18, 29, 0.9);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 10px;
}

.fg-blog__card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.fg-blog__card:hover .fg-blog__card-title a {
  color: #09121d;
}

.fg-blog__excerpt {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  color: rgba(9, 18, 29, 0.65);
  line-height: 1.6;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fg-blog__more {
  margin-top: auto;
  font-family: 'Comfortaa', cursive;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #09121d;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  border-bottom: 1px solid rgba(9, 18, 29, 0.25);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
}

.fg-blog__more:hover {
  color: #d3b574;
  border-color: #d3b574;
  gap: 10px;
}

.fg-blog__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: clamp(40px, 4vw, 64px) auto 0;
  font-family: 'Comfortaa', cursive;
  font-size: 13px;
}

.fg-blog__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  background: #f0f1f4;
  color: #09121d;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.fg-blog__pagination .page-numbers.current {
  background: #09121d;
  color: #fff;
}

.fg-blog__pagination a.page-numbers:hover {
  background: #d3b574;
  color: #fff;
}


/* ── Single post ── */
.fg-post {
  background: #e1e2e6;
  padding: clamp(40px, 5vw, 90px) clamp(20px, 4vw, 60px) 0;
}

.fg-post__inner {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: clamp(48px, 6vw, 90px);
}

.fg-post__cat {
  font-family: 'Comfortaa', cursive;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d3b574;
  display: block;
  margin-bottom: 12px;
}

.fg-post__title {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: #09121d;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.fg-post__meta {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  color: rgba(9,18,29,0.55);
  margin-bottom: 28px;
}

.fg-post__featured {
  width: 100%;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 36px;
}

.fg-post__featured img {
  width: 100%;
  height: auto;
  display: block;
}

.fg-post__content {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  line-height: 1.75;
  color: rgba(9,18,29,0.85);
}

.fg-post__content strong {
  font-family: 'Neue Haas Grotesk Display Pro 55 Roman', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

.fg-post__content h2,
.fg-post__content h3 {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: #09121d;
  letter-spacing: -0.01em;
}

/* Rhythm. Headings carry a large space ABOVE and a small one below, so each
   one groups with the section it introduces rather than floating between two. */
.fg-post__content h2 {
  scroll-margin-top: 100px;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.25;
  margin: 2.4em 0 0.6em;
}

.fg-post__content h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.3;
  margin: 2em 0 0.5em;
}

.fg-post__content p {
  margin: 0 0 1.4em;
}

.fg-post__content ul,
.fg-post__content ol {
  margin: 1.2em 0 1.6em;
  padding-left: 1.4em;
}

.fg-post__content li {
  margin-bottom: 0.6em;
}

.fg-post__content blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid #d3b574;
  font-style: italic;
  color: rgba(9,18,29,0.72);
}

.fg-post__content img {
  margin: 1.8em 0;
}

.fg-post__content > *:first-child {
  margin-top: 0;
}

.fg-post__content > *:last-child {
  margin-bottom: 0;
}

.fg-post__content a {
  color: #d3b574;
}

.fg-post__content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.fg-post__back {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Comfortaa', cursive;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #09121d;
  text-decoration: none;
  border-bottom: 1px solid rgba(9,18,29,0.25);
  padding-bottom: 3px;
}

.fg-post__back:hover {
  color: #d3b574;
  border-color: #d3b574;
}


/* Breadcrumb */
.fg-post__crumb {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  color: rgba(9,18,29,0.5);
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.fg-post__crumb a {
  color: rgba(9,18,29,0.6);
  text-decoration: none;
}

.fg-post__crumb a:hover {
  color: #d3b574;
}

.fg-post__crumb-current {
  color: rgba(9,18,29,0.4);
}

.fg-post__meta-sep {
  margin: 0 8px;
  opacity: 0.5;
}


/* Share */
.fg-post__share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(9,18,29,0.12);
}

.fg-post__share-label {
  font-family: 'Comfortaa', cursive;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #09121d;
}

.fg-post__share-links {
  display: flex;
  gap: 10px;
}

.fg-post__share-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #09121d;
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease;
}

.fg-post__share-links a:hover {
  background: #d3b574;
  transform: translateY(-2px);
}


/* Table of contents */
.fg-post__toc {
  background: #f0f1f4;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 0 0 36px;
}

.fg-post__toc-title {
  font-family: 'Comfortaa', cursive;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d3b574;
  margin: 0 0 12px;
}

.fg-post__toc-list {
  margin: 0;
  padding-left: 20px;
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
  line-height: 1.9;
}

.fg-post__toc-list a {
  color: rgba(9,18,29,0.75);
  text-decoration: none;
}

.fg-post__toc-list a:hover {
  color: #d3b574;
}


/* Related */
.fg-post__related {
  background: #d9dbdf;
  padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 60px) clamp(48px, 6vw, 90px);
}

.fg-post__related-inner {
  max-width: 1240px;
  margin: 0 auto;
}

.fg-post__related-title {
  font-family: 'Neue Haas Grotesk Display Pro 45 Light', 'Neue Haas Grotesk Display Pro', 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 300;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: #09121d;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(24px, 3vw, 40px);
  text-align: center;
}


@media (prefers-reduced-motion: reduce) {
  .fg-blog__card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Blog content images: fill the content column, click to enlarge (2026-09-08) ── */
.fg-post__content figure.wp-block-image {
  margin: 1.8em 0;
}

.fg-post__content figure.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* two-up gallery: 50 / 50 across the full content width */
.fg-post__content .wp-block-gallery.has-nested-images {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 1.8em 0;
}

.fg-post__content .wp-block-gallery.has-nested-images.columns-2 > figure.wp-block-image {
  width: calc(50% - 8px);
  max-width: calc(50% - 8px);
  flex: 0 0 calc(50% - 8px);
  margin: 0;
}

.fg-post__content .wp-block-gallery.has-nested-images > figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 640px) {
  .fg-post__content .wp-block-gallery.has-nested-images.columns-2 > figure.wp-block-image {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* click-to-enlarge affordance (WordPress core lightbox) */
.fg-post__content .wp-lightbox-container img {
  cursor: zoom-in;
}

.fg-post__content .wp-lightbox-container button.lightbox-trigger {
  opacity: 0;
  transition: opacity .2s ease;
}

.fg-post__content .wp-lightbox-container:hover button.lightbox-trigger {
  opacity: 1;
}

.fg-post__content figure.wp-block-image figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(9,18,29,0.62);
  text-align: center;
}
