/* ============================================================
   DENTAL SEO SERIES — BLOG STYLES
   Notion-inspired: minimal, constrained width, strong typography
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Strip browser default <mark> background so rough-notation is the only highlight */
mark { background: none; color: inherit; }

html { font-size: 18px; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 2.0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { padding-left: 1.5rem; }

/* --- Site Nav --------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e5e5;
}

.header-black{
margin-bottom: 20px;
}
.site-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav__logo {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
}

.site-nav__logo span {
  color: #EF5542;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.site-nav__links a:hover { color: #1a1a1a; }

.site-nav__links a.active { color: #1a1a1a; font-weight: 600; }

/* --- Post Header: centered above the article column -------- */
.post-header {
  max-width: 1400px;
  margin: 50px auto;
  /* Mirrors the 3-column body grid: skip left gutter (230px + 60px gap + 20px padding)
     and right side (20px padding + 60px gap + 230px sidebar) = 310px each side.
     Result: title sits directly above the centered article column. */
  padding: 64px 310px 48px 310px;
  text-align: left;
}

.post-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EF5542;
  margin-bottom: 20px;
}

.post-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 20px;
}

.post-subtitle {
  font-size: 1.15rem;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 24px;
}

.post-meta {
  font-size: 0.78rem;
  color: #999;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-meta__dot {
  width: 3px;
  height: 3px;
  background: #ccc;
  border-radius: 50%;
  display: inline-block;
}

/* Divider under header */
.post-header-divider {
  max-width: 1400px;
  margin: 0 auto 0;
  padding: 0 20px;
}

.post-header-divider hr {
  border: none;
  border-top: 1px solid #e5e5e5;
}

/* --- Body Layout: 3-column symmetric grid -----------------
   Col 1: empty left gutter (= sidebar width) → visually balances the sidebar
   Col 2: article content (centered)
   Col 3: sticky sidebar
   --------------------------------------------------------- */
.post-body-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 20px 96px;
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  column-gap: 60px;
  align-items: start;
}

/* --- Article Content (center column) ---------------------- */
.post-content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  max-width: 680px;
  width: 100%;
  justify-self: center;
}

/* --- Sidebar (right column) ------------------------------- */
.post-sidebar {
  grid-column: 3;
  grid-row: 1;
  position: sticky;
  top: 80px;
  align-self: start;
}

.post-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: #111;
  margin: 2.5rem 0 0.75rem;
  padding-top: 0.5rem;
}

.post-content h2:first-child { margin-top: 0; }

.post-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 2rem 0 0.5rem;
  letter-spacing: -0.01em;
}

.post-content p {
  margin-bottom: 1.2rem;
  color: #333;
}

.post-content p:last-child { margin-bottom: 0; }

.post-content ul,
.post-content ol {
  margin: 0.5rem 0 1.2rem;
  padding-left: 2.25rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  color: #333;
  padding-left: 0.25rem;
}

.post-content strong { font-weight: 700; color: #000; }

/* Inline links within article body */
.post-content a {
  color: #EF5542;
  text-decoration: none;
  border-bottom: 1px solid #f9b8b0;
  transition: border-color 0.15s;
}

.post-content a:hover {
  border-bottom-color: #EF5542;
}

/* Linked h2 headings — inherit heading style, coral on hover */
.post-content h2 a {
  color: inherit;
  border-bottom: none;
}

.post-content h2 a:hover {
  color: #EF5542;
}

.post-content em { font-style: italic; }

/* Indented content block */
.post-content .indented-section {
  padding-left: 2rem;
  border-left: 2px solid #e8e8e8;
  margin: 1.5rem 0;
}

/* Indented list without bullet markers */
.post-content ul.no-bullet {
  list-style: none;
  padding-left: 2rem;
}

.post-content ul.no-bullet li {
  padding-left: 0;
}

/* Pull Quotes — editorial emphasis */
.pull-quote {
  margin: 3rem -1rem;
  padding: 2rem 2rem 2rem 2.25rem;
  border-left: 4px solid #EF5542;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 2.25rem;
  font-size: 5rem;
  line-height: 1;
  color: #EF5542;
  opacity: 0.12;
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}

.pull-quote p {
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.65;
  color: #111;
  margin: 0;
}

/* Browser Window Mockup — Map Pack illustration */
.browser-mockup {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #e0e0e0;
  margin: 2.5rem 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
}

.browser-mockup__bar {
  background: #f1f3f4;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.browser-mockup__dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.browser-mockup__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.browser-mockup__dot--red    { background: #ff5f57; }
.browser-mockup__dot--yellow { background: #febc2e; }
.browser-mockup__dot--green  { background: #28c840; }

.browser-mockup__url {
  flex: 1;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 11.5px;
  color: #444;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-mockup__body {
  background: #fff;
  padding: 18px 20px 20px;
}

.mappack-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dadce0;
  border-radius: 24px;
  padding: 8px 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.mappack-search__query {
  flex: 1;
  font-size: 13px;
  color: #202124;
}

.mappack-search__icon {
  color: #4285f4;
  font-size: 15px;
}

.mappack-sponsored {
  font-size: 11px;
  color: #70757a;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.mappack {
  display: flex;
  border: 1px solid #dadce0;
  border-radius: 8px;
  overflow: hidden;
}

.mappack__listings {
  flex: 1;
  min-width: 0;
}

.mappack__listing {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  cursor: default;
}

.mappack__listing:last-child { border-bottom: none; }

.mappack__num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8eaed;
  color: #3c4043;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.mappack__listing--first .mappack__num {
  background: #1a73e8;
  color: #fff;
}

.mappack__name {
  font-size: 13px;
  font-weight: 600;
  color: #1a73e8;
  margin-bottom: 2px;
  line-height: 1.3;
}

.mappack__stars {
  color: #fbbc04;
  font-size: 12px;
  letter-spacing: -0.5px;
}

.mappack__meta {
  font-size: 11.5px;
  color: #70757a;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 3px;
}

.mappack__rating { color: #3c4043; font-weight: 600; }

.mappack__sep { color: #ccc; }

.mappack__open  { color: #188038; font-weight: 500; }
.mappack__closed { color: #d93025; font-weight: 500; }

.mappack__actions {
  display: flex;
  gap: 6px;
  margin-top: 5px;
}

.mappack__action {
  font-size: 11.5px;
  color: #1a73e8;
  font-weight: 500;
  border: 1px solid #dadce0;
  border-radius: 4px;
  padding: 2px 8px;
}

.mappack__more {
  padding: 10px 14px;
  font-size: 12px;
  color: #1a73e8;
  font-weight: 500;
  border-top: 1px solid #f0f0f0;
  cursor: default;
}

.mappack__map {
  flex: 1;
  min-width: 0;
  border-left: 1px solid #e8eaed;
  position: relative;
  overflow: hidden;
  background: #f2efe9;
}

.mappack__map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.browser-mockup__caption {
  font-size: 0.72rem;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.01em;
}

/* Callout boxes — real-world examples */
.callout {
  background: #fafafa;
  border-left: 3px solid #EF5542;
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 2rem 0;
}

.callout__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EF5542;
  margin-bottom: 8px;
}

.callout p {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 0.6rem;
}

.callout p:last-child { margin-bottom: 0; }

/* Final thought section */
.final-thought {
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
  margin-top: 3rem;
}

.final-thought h2 {
  font-size: 1.25rem !important;
  color: #111 !important;
  font-weight: 600 !important;
}

/* Next post CTA */
.post-nav {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.post-nav__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 6px;
}

.post-nav__link {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}

.post-nav__link:hover { color: #EF5542; }

.post-nav__link svg {
  flex-shrink: 0;
  transition: transform 0.15s;
}

.post-nav__link:hover svg { transform: translateX(3px); }

/* --- About the Author (bottom of post, aligned to article col) --- */
.post-author {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 310px 72px;
}

.post-author__inner {
  border-top: 1px solid #e5e5e5;
  padding-top: 48px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.author-content {
  flex: 1;
  min-width: 0;
}

.author-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 14px;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #fef2f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 2px;
  line-height: 1.3;
}

.author-role {
  font-size: 0.75rem;
  color: #999;
  font-weight: 400;
  margin-bottom: 12px;
  line-height: 1.3;
}

.author-role strong {
  color: #EF5542;
  font-weight: 600;
}

.author-bio {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.65;
  margin-bottom: 16px;
}

.author-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #aaa;
  text-decoration: none;
  transition: color 0.15s;
}

.author-link:hover { color: #EF5542; }

.author-link svg { flex-shrink: 0; }

/* --- Sticky Sidebar --------------------------------------- */
.post-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.series-nav {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
}

.series-nav__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
}

.series-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.series-nav__item a,
.series-nav__item span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 400;
  color: #666;
  transition: background 0.12s, color 0.12s;
  cursor: pointer;
}

.series-nav__item a:hover {
  background: #f0f0f0;
  color: #1a1a1a;
}

.series-nav__item.is-current span {
  background: #fff3f2;
  color: #EF5542;
  font-weight: 600;
  cursor: default;
}

.series-nav__num {
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ccc;
  min-width: 18px;
  padding-top: 1px;
  font-variant-numeric: tabular-nums;
}

.series-nav__item.is-current .series-nav__num {
  color: #EF5542;
}

/* --- Mobile Sidebar Accordion ----------------------------- */
.mobile-series-toggle {
  display: none;
  width: 100%;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mobile-series-toggle svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.mobile-series-toggle.is-open svg { transform: rotate(180deg); }

.mobile-series-drawer {
  display: none;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 40px;
}

.mobile-series-drawer .series-nav__list { gap: 0; }

/* --- Series Landing Page (index.html) --------------------- */
.series-hero {
  max-width: 720px;
  margin: 50px auto;
  padding: 72px 32px 56px;
}

.series-hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EF5542;
  margin-bottom: 16px;
}

.series-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #111;
  margin-bottom: 20px;
}

.series-hero__desc {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  max-width: 580px;
}

.series-divider {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  border-top: 1px solid #e5e5e5;
}

.series-posts {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 32px 96px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.post-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
}

.post-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}

.post-card__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EF5542;
}

.post-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.post-card__desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

.post-card__meta {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.post-card--start {
  grid-column: 1 / -1;
  background: #fff8f7;
  border-color: #f5c5bf;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}

.post-card--start .post-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.post-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #EF5542;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: 20px;
}

.post-card--bonus {
  grid-column: 1 / -1;
  background: #fafafa;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}

.post-card--bonus .post-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; }

/* --- Footer ----------------------------------------------- */
.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 32px;
  text-align: center;
}

.site-footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
}

.site-footer__brand span { color: #EF5542; }

.site-footer__copy {
  font-size: 0.78rem;
  color: #bbb;
}

.site-footer__link {
  font-size: 0.78rem;
  color: #999;
  transition: color 0.15s;
}
.site-footer__link:hover { color: #EF5542; }

/* --- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .post-body-wrap {
    grid-template-columns: 1fr; /* collapse to single column */
    column-gap: 0;
    gap: 0;
    padding: 24px 20px 64px;
  }

  /* Sidebar: first in visual order, static (not sticky) */
  .post-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: static;
    margin-bottom: 8px;
  }

  /* Content: below sidebar */
  .post-content {
    grid-column: 1;
    grid-row: 2;
  }

  .post-sidebar > .series-nav { display: none; } /* hide desktop sticky nav on mobile */

  .post-author { padding: 0 20px 64px; }

  .mobile-series-toggle { display: flex; }

  .mobile-series-drawer.is-open { display: block; }

  .post-header { padding: 40px 20px 32px; }

  .series-posts {
    grid-template-columns: 1fr;
    padding: 40px 20px 64px;
  }

  .post-card--bonus { flex-direction: column; }

  .series-hero { padding: 48px 20px 40px; }

  .site-nav__inner { padding: 0 20px; }
}

@media (max-width: 600px) {
  html { font-size: 17px; }

  .post-title { font-size: 1.85rem; }

  .post-nav { flex-direction: column; align-items: flex-start; }
}