/* Doctor Fix Blog — Design 2.0, 2026-09-10 */
:root {
  --blog-v2-ink: #071426;
  --blog-v2-navy: #0b1d35;
  --blog-v2-navy-soft: #12345f;
  --blog-v2-cyan: #22d3ee;
  --blog-v2-blue: #0ea5e9;
  --blog-v2-text: #10233d;
  --blog-v2-muted: #52657d;
  --blog-v2-line: rgba(14, 165, 233, .14);
  --blog-v2-surface: #ffffff;
  --blog-v2-surface-soft: #f4faff;
  --blog-v2-shadow: 0 24px 64px rgba(7, 20, 38, .12);
}

.page-blog,
.page-blog-article {
  background:
    radial-gradient(circle at 8% 12%, rgba(34, 211, 238, .08), transparent 28rem),
    #f2f8fd;
  color: var(--blog-v2-text);
}

.page-blog .page-breadcrumbs,
.page-blog-article .page-breadcrumbs {
  padding: 26px 0 12px;
}

.page-blog .breadcrumbs-nav,
.page-blog-article .breadcrumbs-nav {
  font-size: 14px;
}

.blog-v2-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.blog-v2-eyebrow,
.blog-v2-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 14px;
  padding: 8px 13px;
  border: 1px solid rgba(125, 211, 252, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  color: #8be9fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.blog-v2-eyebrow::before,
.blog-v2-category::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blog-v2-cyan);
  box-shadow: 0 0 0 5px rgba(34, 211, 238, .12);
}

.blog-v2-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--blog-v2-blue), var(--blog-v2-cyan));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(14, 165, 233, .24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-v2-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(14, 165, 233, .3);
}

/* Blog index */
.blog-v2-index-hero {
  padding: 18px 0 34px;
}

.blog-v2-index-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: 34px;
  align-items: center;
  min-height: 540px;
  padding: 42px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .13);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 8%, rgba(34, 211, 238, .18), transparent 32%),
    linear-gradient(135deg, #061224 0%, #0b1d35 54%, #12345f 100%);
  box-shadow: 0 34px 78px rgba(7, 20, 38, .24);
}

.blog-v2-index-hero__copy {
  position: relative;
  z-index: 2;
}

.blog-v2-index-hero h1 {
  max-width: 11ch;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.55rem, 5vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}

.blog-v2-index-hero__lead {
  max-width: 55ch;
  margin-bottom: 24px;
  color: #c9d9ed;
  font-size: 1.08rem;
  line-height: 1.72;
}

.blog-v2-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.blog-v2-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(125, 211, 252, .14);
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
  color: #e4f2ff;
  font-size: 14px;
  font-weight: 700;
}

.blog-v2-trust li::before {
  content: "✓";
  color: var(--blog-v2-cyan);
  font-weight: 900;
}

.blog-v2-feature {
  position: relative;
  display: block;
  min-height: 455px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 27px;
  background: #09182d;
  box-shadow: 0 30px 64px rgba(0, 0, 0, .28);
}

.blog-v2-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  transition: transform .45s ease;
}

.blog-v2-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 20, .04) 14%, rgba(3, 10, 20, .88) 100%);
}

.blog-v2-feature:hover img {
  transform: scale(1.025);
}

.blog-v2-feature__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px;
  color: #fff;
}

.blog-v2-feature__meta {
  display: block;
  margin-bottom: 10px;
  color: #8be9fb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.blog-v2-feature strong {
  display: block;
  max-width: 17ch;
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.blog-v2-feature p {
  max-width: 48ch;
  margin: 0;
  color: #dbeafe;
  line-height: 1.6;
}

.blog-v2-index-list {
  padding: 52px 0 74px;
}

.blog-v2-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.blog-v2-section-head h2 {
  margin: 0 0 7px;
  color: var(--blog-v2-ink);
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: left;
}

.blog-v2-section-head p {
  max-width: 58ch;
  margin: 0;
  color: var(--blog-v2-muted);
}

.blog-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blog-v2-card {
  overflow: hidden;
  border: 1px solid var(--blog-v2-line);
  border-radius: 27px;
  background: var(--blog-v2-surface);
  box-shadow: 0 18px 46px rgba(7, 20, 38, .075);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.blog-v2-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .32);
  box-shadow: var(--blog-v2-shadow);
}

.blog-v2-card__image-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--blog-v2-navy);
}

.blog-v2-card__image-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(7, 20, 38, .32));
}

.blog-v2-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transition: transform .4s ease;
}

.blog-v2-card:hover .blog-v2-card__image-link img {
  transform: scale(1.035);
}

.blog-v2-card__body {
  padding: 24px 25px 26px;
}

.blog-v2-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 13px;
  color: #6a7d93;
  font-size: 13px;
  font-weight: 700;
}

.blog-v2-card__category {
  color: #0284c7;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-v2-card h2 {
  margin: 0 0 11px;
  color: var(--blog-v2-ink);
  font-size: clamp(1.38rem, 2.5vw, 1.75rem);
  line-height: 1.18;
  text-align: left;
}

.blog-v2-card h2 a:hover {
  color: #0284c7;
}

.blog-v2-card__excerpt {
  min-height: 82px;
  margin-bottom: 20px;
  color: var(--blog-v2-muted);
  line-height: 1.65;
}

.blog-v2-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0284c7;
  font-weight: 800;
}

.blog-v2-card__link::after {
  content: "→";
  transition: transform .2s ease;
}

.blog-v2-card__link:hover::after {
  transform: translateX(4px);
}

/* Article */
.blog-v2-article-hero {
  padding: 18px 0 36px;
}

.blog-v2-article-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  min-height: 490px;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, .13);
  border-radius: 32px;
  background: linear-gradient(135deg, #061224 0%, #0b1d35 64%, #12345f 100%);
  box-shadow: 0 34px 78px rgba(7, 20, 38, .22);
}

.blog-v2-article-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.blog-v2-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-bottom: 22px;
  color: #bdd0e6;
  font-size: 14px;
  font-weight: 700;
}

.blog-v2-back:hover {
  color: #fff;
}

.blog-v2-article-hero h1 {
  max-width: 13ch;
  margin-bottom: 17px;
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 4.15rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.blog-v2-article-hero__lead {
  max-width: 54ch;
  margin-bottom: 22px;
  color: #c9d9ed;
  font-size: 1.05rem;
  line-height: 1.7;
}

.blog-v2-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
}

.blog-v2-article-meta span {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(125, 211, 252, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .07);
  color: #e1effc;
  font-size: 13px;
  font-weight: 700;
}

.blog-v2-article-hero__media {
  position: relative;
  min-height: 490px;
  overflow: hidden;
}

.blog-v2-article-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 36, .42), transparent 34%);
  pointer-events: none;
}

.blog-v2-article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}

.blog-v2-article-section {
  padding: 42px 0 66px;
}

.blog-v2-article-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 790px);
  justify-content: center;
  gap: 30px;
  align-items: start;
}

.blog-v2-toc {
  position: sticky;
  top: 104px;
  padding: 20px;
  border: 1px solid var(--blog-v2-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 38px rgba(7, 20, 38, .06);
  backdrop-filter: blur(10px);
}

.blog-v2-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blog-v2-ink);
  font-size: 14px;
}

.blog-v2-toc ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-v2-toc a {
  display: block;
  color: #5a6f87;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
}

.blog-v2-toc a:hover {
  color: #0284c7;
}

.blog-v2-content {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--blog-v2-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--blog-v2-shadow);
}

.blog-v2-content > :first-child {
  margin-top: 0;
}

.blog-v2-content h2 {
  scroll-margin-top: 110px;
  margin: 42px 0 16px;
  color: var(--blog-v2-ink);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.18;
  text-align: left;
}

.blog-v2-content h3 {
  margin: 27px 0 12px;
  color: var(--blog-v2-ink);
  font-size: 1.28rem;
}

.blog-v2-content p,
.blog-v2-content li {
  color: #31475f;
  font-size: 1.03rem;
  line-height: 1.76;
}

.blog-v2-content p {
  margin-bottom: 17px;
}

.blog-v2-content p a {
  color: #0284c7;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-v2-content p a:hover {
  color: #0369a1;
}

.blog-v2-content ul,
.blog-v2-content ol {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 1.25rem;
}

.blog-v2-content li::marker {
  color: #0ea5e9;
  font-weight: 900;
}

.blog-v2-summary,
.blog-v2-note,
.blog-v2-alert {
  margin: 0 0 28px;
  padding: 22px 23px;
  border-radius: 21px;
}

.blog-v2-summary {
  border: 1px solid rgba(14, 165, 233, .2);
  background: linear-gradient(135deg, #effaff 0%, #f7fcff 100%);
}

.blog-v2-summary strong,
.blog-v2-note strong,
.blog-v2-alert strong {
  display: block;
  margin-bottom: 7px;
  color: var(--blog-v2-ink);
  font-size: 1.03rem;
}

.blog-v2-summary p,
.blog-v2-note p,
.blog-v2-alert p {
  margin: 0;
}

.blog-v2-note {
  border: 1px solid rgba(14, 165, 233, .18);
  background: #f5fbff;
}

.blog-v2-alert {
  border: 1px solid rgba(245, 158, 11, .26);
  background: #fff9ec;
}

.blog-v2-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 0 0 26px;
}

.blog-v2-signal {
  padding: 17px 18px;
  border: 1px solid var(--blog-v2-line);
  border-radius: 18px;
  background: var(--blog-v2-surface-soft);
}

.blog-v2-signal strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blog-v2-ink);
}

.blog-v2-signal span {
  display: block;
  color: #536a82;
  font-size: 14px;
  line-height: 1.55;
}

.blog-v2-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 36px;
  padding: 25px;
  border-radius: 23px;
  background: linear-gradient(135deg, #071426, #12345f);
  box-shadow: 0 22px 48px rgba(7, 20, 38, .2);
}

.blog-v2-action h3 {
  margin: 0 0 6px;
  color: #fff;
}

.blog-v2-action p {
  margin: 0;
  color: #c9d9ed;
  font-size: .96rem;
}

.blog-v2-related-section {
  padding: 10px 0 70px;
}

.blog-v2-related {
  padding: 30px;
  border: 1px solid var(--blog-v2-line);
  border-radius: 29px;
  background: linear-gradient(180deg, #fff, #f6fbff);
  box-shadow: 0 22px 54px rgba(7, 20, 38, .07);
}

.blog-v2-related h2 {
  margin: 0 0 22px;
  color: var(--blog-v2-ink);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: left;
}

.blog-v2-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-v2-related-card {
  overflow: hidden;
  border: 1px solid var(--blog-v2-line);
  border-radius: 20px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

.blog-v2-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(7, 20, 38, .1);
}

.blog-v2-related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 62% center;
}

.blog-v2-related-card__body {
  padding: 17px;
}

.blog-v2-related-card span {
  color: #0284c7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.blog-v2-related-card h3 {
  margin: 8px 0 0;
  color: var(--blog-v2-ink);
  font-size: 1.1rem;
  line-height: 1.3;
}

.page-blog .section-contact-split,
.page-blog-article .section-contact-split {
  padding-top: 24px;
}

@media (max-width: 980px) {
  .blog-v2-index-hero__shell,
  .blog-v2-article-hero__shell {
    grid-template-columns: 1fr;
  }

  .blog-v2-index-hero__shell {
    min-height: auto;
  }

  .blog-v2-index-hero h1,
  .blog-v2-article-hero h1 {
    max-width: 16ch;
  }

  .blog-v2-feature,
  .blog-v2-article-hero__media {
    min-height: 430px;
  }

  .blog-v2-article-layout {
    grid-template-columns: 1fr;
  }

  .blog-v2-toc {
    position: static;
  }

  .blog-v2-toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-v2-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .blog-v2-container {
    width: min(100% - 28px, 1180px);
  }

  .page-blog .page-breadcrumbs,
  .page-blog-article .page-breadcrumbs {
    padding: 18px 0 8px;
  }

  .blog-v2-index-hero,
  .blog-v2-article-hero {
    padding-top: 10px;
  }

  .blog-v2-index-hero__shell,
  .blog-v2-article-hero__shell {
    border-radius: 25px;
  }

  .blog-v2-index-hero__shell {
    gap: 0;
    padding: 0;
  }

  .blog-v2-index-hero__copy,
  .blog-v2-article-hero__copy {
    padding: 26px 22px;
  }

  .blog-v2-index-hero h1,
  .blog-v2-article-hero h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .blog-v2-trust {
    display: grid;
    grid-template-columns: 1fr;
  }

  .blog-v2-feature {
    min-height: 355px;
    border-width: 1px 0 0;
    border-radius: 0;
  }

  .blog-v2-feature img {
    object-position: 68% center;
  }

  .blog-v2-feature__content {
    padding: 22px;
  }

  .blog-v2-index-list {
    padding: 34px 0 54px;
  }

  .blog-v2-section-head {
    display: block;
    margin-bottom: 20px;
  }

  .blog-v2-grid,
  .blog-v2-signal-grid,
  .blog-v2-related__grid {
    grid-template-columns: 1fr;
  }

  .blog-v2-card {
    border-radius: 23px;
  }

  .blog-v2-card__image-link {
    aspect-ratio: 4 / 3;
  }

  .blog-v2-card__image-link img,
  .blog-v2-related-card img {
    object-position: 68% center;
  }

  .blog-v2-card__body {
    padding: 20px;
  }

  .blog-v2-card__excerpt {
    min-height: 0;
  }

  .blog-v2-article-hero__shell {
    display: flex;
    flex-direction: column;
  }

  .blog-v2-article-hero__media {
    order: -1;
    min-height: 300px;
    aspect-ratio: 4 / 3;
  }

  .blog-v2-article-hero__media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(6, 18, 36, .58));
  }

  .blog-v2-article-hero__media img {
    object-position: 67% center;
  }

  .blog-v2-back {
    margin-bottom: 18px;
  }

  .blog-v2-article-section {
    padding: 24px 0 48px;
  }

  .blog-v2-toc {
    padding: 18px;
    border-radius: 19px;
  }

  .blog-v2-toc ol {
    grid-template-columns: 1fr;
  }

  .blog-v2-content {
    padding: 23px 19px;
    border-radius: 24px;
  }

  .blog-v2-content h2 {
    margin-top: 34px;
  }

  .blog-v2-content p,
  .blog-v2-content li {
    font-size: 1rem;
  }

  .blog-v2-summary,
  .blog-v2-note,
  .blog-v2-alert {
    padding: 19px;
    border-radius: 18px;
  }

  .blog-v2-action {
    grid-template-columns: 1fr;
    padding: 21px;
  }

  .blog-v2-button {
    width: 100%;
  }

  .blog-v2-related {
    padding: 21px 18px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-v2-card,
  .blog-v2-card img,
  .blog-v2-feature img,
  .blog-v2-button,
  .blog-v2-related-card {
    transition: none;
  }
}
