/* =============================================================
   BLOG.CSS — Goehring Dental Blog
   Extends /assets/css/style.css. Uses its :root tokens.
============================================================= */

p:empty {
  display: none;
}

/* ── Reset GP interference ─────────────────────────────── */
body {
  padding-top: 0 !important;
}

.single-post div#primary .site-main,
.blog div#primary .site-main {
  max-width: 100%;
  margin: 0;
}

h2.blog__post-title,
.blog__post-info {
  display: none;
}

div#right-sidebar {
  display: none;
}

.site-content .content-area {
  width: 100% !important;
}

/* ── Scroll-reveal (mirrors homepage gd-reveal) ────────── */
.bl-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}

.bl-reveal.bl-visible {
  opacity: 1;
  transform: none;
}

.bl-stagger .bl-reveal:nth-child(1) {
  transition-delay: .05s;
}

.bl-stagger .bl-reveal:nth-child(2) {
  transition-delay: .15s;
}

.bl-stagger .bl-reveal:nth-child(3) {
  transition-delay: .25s;
}

.bl-stagger .bl-reveal:nth-child(4) {
  transition-delay: .35s;
}

.bl-stagger .bl-reveal:nth-child(5) {
  transition-delay: .45s;
}

.bl-stagger .bl-reveal:nth-child(6) {
  transition-delay: .55s;
}

.bl-stagger .bl-reveal:nth-child(7) {
  transition-delay: .65s;
}

.bl-stagger .bl-reveal:nth-child(8) {
  transition-delay: .75s;
}

.bl-stagger .bl-reveal:nth-child(9) {
  transition-delay: .85s;
}

/* =============================================================
   BLOG LISTING — home.php
============================================================= */

/* ── Hero ─────────────────────────────────────────────────── */
.bl-hero {
  background: #0b172a;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.bl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(191, 154, 91, .08) 0%, transparent 70%);
  pointer-events: none;
}

.bl-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bl-hero-eyebrow {
  font: 500 13px/1 'Jost', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #BF9A5B;
  margin-bottom: 18px;
  text-align: center;
}

.bl-hero-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  color: #F3EEE3;
  max-width: 660px;
  margin: auto;
  text-align: center;
  width: 100%;
  margin-bottom: 18px;
}

.bl-hero-h1 em {
  font-style: italic;
  color: #E7C989;
}

.bl-hero-sub {
  font: 300 16px/1.7 'Jost', sans-serif;
  color: rgba(243, 238, 227, .68);
  max-width: 520px;
  text-align: center;
  margin: auto;
  width: 100%;
  margin-bottom: 32px;
}

.bl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 400 13px/1 'Jost', sans-serif;
  letter-spacing: .8px;
  color: rgba(243, 238, 227, .45);
  margin-bottom: 28px;
  justify-content: center;
}

.bl-breadcrumb a {
  color: rgba(243, 238, 227, .45);
  text-decoration: none;
  transition: color .15s;
}

.bl-breadcrumb a:hover {
  color: #E7C989;
}

.bl-breadcrumb-sep {
  color: rgba(191, 154, 91, .45);
}

.bl-breadcrumb-current {
  color: #BF9A5B;
}

/* ── Blog grid section ─────────────────────────────────── */
.bl-grid-section {
  background: #FBF9F4;
  padding: 80px 0 100px;
}

.bl-grid-head {
  margin-bottom: 52px;
}

.bl-grid-eyebrow {
  font: 500 11px/1 'Jost', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #BF9A5B;
  margin-bottom: 14px;
}

.bl-grid-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: #142C2B;
  line-height: 1.2;
  margin: 0;
}

.bl-grid-h2 em {
  font-style: italic;
  color: #B57F2E;
}

/* ── Cards grid ────────────────────────────────────────── */
.bl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Single card ───────────────────────────────────────── */
.bl-card {
  background: #fff;
  border: 1px solid #E4DED2;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}

.bl-card:hover {
  box-shadow: 0 8px 32px rgba(20, 44, 43, .10);
  transform: translateY(-4px);
}

.bl-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #E4DED2;
  flex-shrink: 0;
}

.bl-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.bl-card:hover .bl-card__img-wrap img {
  transform: scale(1.05);
}

.bl-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bl-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.bl-card__cat {
  font: 500 10px/1 'Jost', sans-serif;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #BF9A5B;
}

.bl-card__date {
  font: 400 11px/1 'Jost', sans-serif;
  color: #8E938E;
}

.bl-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #D2CAB8;
  flex-shrink: 0;
}

.bl-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  color: #142C2B;
  margin: 0 0 12px;
  transition: color .2s;
}

.bl-card:hover .bl-card__title {
  color: #B57F2E;
}

.bl-card__excerpt {
  font: 300 14px/1.65 'Jost', sans-serif;
  color: #3F5450;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.bl-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: 500 11px/1 'Jost', sans-serif;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #B57F2E;
  text-decoration: none;
  transition: gap .2s ease;
  margin-top: auto;
}

.bl-card__link:hover {
  gap: 12px;
}

/* ── No-thumbnail placeholder ──────────────────────────── */
.bl-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E4DED2;
}

.bl-card__img-placeholder svg {
  opacity: .35;
}

/* ── Pagination ────────────────────────────────────────── */
.bl-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.bl-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  font: 500 12px/1 'Jost', sans-serif;
  color: #142C2B;
  border: 1px solid #E4DED2;
  border-radius: 2px;
  text-decoration: none;
  background: #fff;
  transition: background .18s, color .18s, border-color .18s;
}

.bl-pagination .page-numbers:hover,
.bl-pagination .page-numbers.current {
  background: #0b172a;
  border-color: #0b172a;
  color: #F3EEE3;
}

/* ── No posts ──────────────────────────────────────────── */
.bl-no-posts {
  text-align: center;
  padding: 80px 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  color: #3F5450;
}

/* ── CTA Band ──────────────────────────────────────────── */
.bl-cta {
  background: #0b172a;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.bl-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 0% 50%, rgba(191, 154, 91, .06) 0%, transparent 70%);
  pointer-events: none;
}

.bl-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.bl-cta-eyebrow {
  font: 500 11px/1 'Jost', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #BF9A5B;
  margin-bottom: 14px;
}

.bl-cta-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  color: #F3EEE3;
  line-height: 1.2;
  margin: 0;
}

.bl-cta-h2 em {
  font-style: italic;
  color: #E7C989;
}

/* =============================================================
   SINGLE POST — single.php
============================================================= */

/* ── Post hero ─────────────────────────────────────────── */
.sp-hero {
  background: #0b172a;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.sp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 50%, rgba(191, 154, 91, .07) 0%, transparent 70%);
  pointer-events: none;
}

.sp-hero-inner {
  position: relative;
  z-index: 1;
}

.sp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font: 400 13px/1 'Jost', sans-serif;
  letter-spacing: .8px;
  color: rgba(243, 238, 227);
  margin-bottom: 22px;
}

.sp-breadcrumb a {
  color: rgba(243, 238, 227, .45);
  text-decoration: none;
  transition: color .15s;
}

.sp-breadcrumb a:hover {
  color: #E7C989;
}

.sp-breadcrumb-sep {
  color: rgba(191, 154, 91, .4);
}

.sp-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.sp-hero-cat {
  font: 500 10px/1 'Jost', sans-serif;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #BF9A5B;
}

.sp-hero-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(191, 154, 91, .5);
  flex-shrink: 0;
}

.sp-hero-date {
  font: 400 13px/1 'Jost', sans-serif;
  color: rgba(243, 238, 227, .5);
}

.sp-hero-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: #F3EEE3;
  margin: 0;
  max-width: 820px;
}

/* ── Featured image ────────────────────────────────────── */
.sp-featured-img {
  background: #E4DED2;
  max-height: 520px;
  overflow: hidden;
}

.sp-featured-img img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* ── Content area ──────────────────────────────────────── */
.sp-content-section {
  background: #FBF9F4;
  padding: 72px 0 96px;
}

.sp-content-wrap {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Back link */
.sp-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1 'Jost', sans-serif;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #B57F2E;
  text-decoration: none;
  margin-bottom: 10px;
  transition: gap .2s;
}

.sp-back:hover {
  gap: 13px;
}

/* Article typography */
.sp-article h1,
.sp-article h2,
.sp-article h3,
.sp-article h4,
.sp-article h5,
.sp-article h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #142C2B;
  line-height: 1.25;
  margin: 1.6em 0 .55em;
}

.sp-article h1 {
  font-size: 40px;
}

.sp-article h2 {
  font-size: 30px;
  border-bottom: 1px solid #E4DED2;
  padding-bottom: 10px;
}

.sp-article h3 {
  font-size: 24px;
}

.sp-article h4 {
  font-size: 20px;
}

.sp-article h5 {
  font-size: 17px;
}

.sp-article h6 {
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sp-article p {
  font: 400 16px/1.82 'Jost', sans-serif;
  color: #3F5450;
  margin: 0 0 1.4em;
}

.sp-article ul,
.sp-article ol {
  font: 300 16px/1.75 'Jost', sans-serif;
  color: #3F5450;
  margin: 0 0 1.4em 1.5em;
}

.sp-article li {
  margin-bottom: .45em;
}

.sp-article a {
  color: #B57F2E;
  text-decoration: underline;
  text-decoration-color: rgba(181, 127, 46, .35);
  transition: color .15s;
}

.sp-article a:hover {
  color: #8a5f1e;
}

.sp-article blockquote {
  border-left: 3px solid #BF9A5B;
  margin: 2em 0;
  padding: 18px 28px;
  background: rgba(191, 154, 91, .06);
}

.sp-article blockquote p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-style: italic;
  color: #142C2B;
  line-height: 1.5;
  margin: 0;
}

.sp-article img {
  max-width: 100%;
  border-radius: 3px;
  /*   margin: 1.8em 0; */
}

/* .sp-article figure { margin: 1.8em 0; } */
.sp-article figcaption {
  font: 400 13px/1.5 'Jost', sans-serif;
  color: #8E938E;
  margin-top: 8px;
  text-align: center;
}

.sp-article strong {
  font-weight: 600;
  color: #142C2B;
}

.sp-article hr {
  border: none;
  border-top: 1px solid #E4DED2;
  margin: 2.5em 0;
}

.sp-article table {
  width: 100%;
  border-collapse: collapse;
  font: 300 14px/1.6 'Jost', sans-serif;
  margin: 1.6em 0;
}

.sp-article th {
  font-weight: 600;
  background: #0b172a;
  color: #F3EEE3;
  padding: 10px 16px;
  text-align: left;
}

.sp-article td {
  padding: 10px 16px;
  border-bottom: 1px solid #E4DED2;
  color: #3F5450;
}

.sp-article tr:nth-child(even) td {
  background: rgba(228, 222, 210, .25);
}

/* ── Post nav ──────────────────────────────────────────── */
.sp-post-nav {
  display: flex;
  align-items: stretch;
  gap: 1px;
  border-top: 1px solid #E4DED2;
  margin-top: 72px;
  background: #E4DED2;
}

.sp-post-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  background: #FBF9F4;
  text-decoration: none;
  transition: background .18s;
}

.sp-post-nav-link:hover {
  background: #fff;
}

.sp-post-nav-link--next {
  align-items: flex-end;
  text-align: right;
}

.sp-post-nav-label {
  font: 500 10px/1 'Jost', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #BF9A5B;
}

.sp-post-nav-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  color: #142C2B;
  line-height: 1.3;
}

/* ── Single post CTA band ──────────────────────────────── */
.sp-cta {
  background: #0b172a;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.sp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(191, 154, 91, .06) 0%, transparent 70%);
  pointer-events: none;
}

.sp-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.sp-cta-eyebrow {
  font: 500 11px/1 'Jost', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #BF9A5B;
  margin-bottom: 14px;
}

.sp-cta-h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: #F3EEE3;
  line-height: 1.25;
  margin: 0;
}

.sp-cta-h2 em {
  font-style: italic;
  color: #E7C989;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1024px) {
  .bl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bl-cta-inner,
  .sp-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .bl-hero {
    padding: 56px 0 50px;
  }

  .sp-hero {
    padding: 52px 0 44px;
  }

  .sp-content-wrap {
    padding: 0 24px;
  }

  .sp-post-nav {
    flex-direction: column;
  }

  .sp-post-nav-link--next {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .bl-grid {
    grid-template-columns: 1fr;
  }

  .bl-grid-section {
    padding: 56px 0 72px;
  }
}

.sp-article.entry-content .blog-item-inner-wrapper .sqs-image-shape-container-element {
  padding: 0 !important;
}

.sp-article.entry-content .blog-item-inner-wrapper ul li p {
  margin-bottom: 0;
}

/*------------------*/
.wp-singular footer.gd-footer .gd-footer-col a {
  color: #fff;
}