﻿:root {
  --bg: #f9fbff;
  --surface: #ffffff;
  --text: #0f2240;
  --muted: #5c6f8a;
  --primary: #1f6feb;
  --primary-dark: #184ca5;
  --line: #dbe7ff;
  --shadow: 0 10px 30px rgba(11, 44, 92, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  line-height: 1.8;
}

/* 특정 콘텐츠 영역: 폰트 크기 단계 조정 */
#content {
  font-size: 0.9375rem; /* 16px 기준에서 15px */
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* blog_contents.html navbar/footer 스타일을 부트스트랩 없이 재현 */
.navbar {
  position: relative;
  z-index: 50;
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.navbar-collapse {
  flex: 1;
  justify-content: flex-end;
}

.sticky-top {
  position: sticky;
  top: 0;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-expand-lg .navbar-collapse {
  display: flex;
}

.navbar-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-primary {
  color: var(--primary);
}

.fw-bold {
  font-weight: 800;
}

.navbar-toggler {
  display: none;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

.navbar-toggler-icon {
  display: block;
  width: 22px;
  height: 16px;
  background:
    linear-gradient(#111827, #111827) 0 0 / 100% 2px no-repeat,
    linear-gradient(#111827, #111827) 0 50% / 100% 2px no-repeat,
    linear-gradient(#111827, #111827) 0 100% / 100% 2px no-repeat;
  opacity: 0.85;
}

.collapse {
  display: block;
}

.navbar-nav {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.ms-auto {
  margin-left: auto;
}

.nav-link {
  display: inline-block;
  color: #465367;
  font-weight: 500;
  border-radius: 10px;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-link.active {
  font-weight: 700;
  color: #111827;
}

.nav-link:hover {
  color: #111827;
}

.bg-dark {
  background: #212529;
}

.text-light {
  color: #f8f9fa;
}

.text-center {
  text-align: center;
}

.mt-5 {
  margin-top: 3rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  font-weight: 600;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-dark);
  background: #ebf2ff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  font-size: 1.2rem;
  padding: 6px 10px;
}

.hero {
  padding: 72px 0 70px;
}

.hero-copy {
  text-align: left;
}

.hero-grid {
  display: grid;
  align-items: center;
}

.badge {
  display: inline-block;
  color: var(--primary-dark);
  padding-left: 5px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--muted);
  margin: 0 0 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* 히어로 CTA: 둥근(pill) 버튼과 검정/화이트 컬러웨이 */
.hero-cta .btn {
  border-radius: 999px;
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-cta .btn-primary {
  background: #000;
  color: #fff;
  border-color: #000;
}

.hero-cta .btn-primary:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.hero-cta .btn-secondary {
  background: #fff;
  color: #000;
  border: 1px solid #e0e0e0;
}

.hero-cta .btn-secondary:hover {
  background: #f9f9f9;
  border-color: #d0d0d0;
  color: #000;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--primary-dark);
}

.hero-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quick-tax-promo {
  margin-top: 12px;
  background: #f4f6fb;
  color: #1f2937;
}

.quick-tax-promo__hero-inner {
  padding:88px 0 80px;
  text-align: center;
}

.quick-tax-promo__copy {
  text-align: center;
}

.quick-tax-promo__eyebrow {
  margin: 0 0 10px;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

.quick-tax-promo__hero h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.32;
}

.quick-tax-promo__hero h2 span {
  color: #ff4f4f;
}

.quick-tax-promo__sub {
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 1.16rem;
  font-weight: 500;
}

.quick-tax-promo__cta {
  margin-top: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 280px;
  min-height: 60px;
  padding: 0 26px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff3a3a 0%, #de1919 100%);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(182, 24, 24, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.quick-tax-promo__cta::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.quick-tax-promo__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(182, 24, 24, 0.4);
  filter: brightness(1.03);
}

.quick-tax-promo__trust-list {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  max-width: none;
  justify-self: stretch;
  width: auto;
  counter-reset: trust-step;
}

.quick-tax-promo__trust-item {
  position: relative;
  counter-increment: trust-step;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 168px;
  padding: 42px 15px 28px;
  border: none;
  border-radius: 0;
  background: transparent;
  text-align: center;
  box-shadow: none;
  border-radius: 20px;
  border: 2px solid #5350a2;
}

.quick-tax-promo__trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 37px;
  background: #b8bcc8;
}

.quick-tax-promo__trust-item::after {
  content: counter(trust-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-width: 27px;
  height: 23px;
  padding: 0 8px;
  border-radius: 0 0 18px 18px;
  background: #5755a8;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.02em;
  text-align: center;
}

.quick-tax-promo__trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23f6f7fb'/%3E%3Ccircle cx='36' cy='25' r='9' fill='%23ffd6bf'/%3E%3Cpath d='M22 47c0-7 6-12 14-12s14 5 14 12v7H22z' fill='%232d3a58'/%3E%3Crect x='22' y='47' width='28' height='9' rx='4.5' fill='%233f5ea8'/%3E%3C/svg%3E")
      center / cover no-repeat;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-tax-promo__trust-item:nth-child(2) .quick-tax-promo__trust-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23f6f7fb'/%3E%3Ccircle cx='36' cy='23' r='8.5' fill='%23ffd6bf'/%3E%3Cpath d='M24 48c1-7 6-11 12-11s11 4 12 11v8H24z' fill='%23385a9c'/%3E%3Crect x='46' y='24' width='5' height='20' rx='2.5' fill='%236a8de0'/%3E%3Crect x='48' y='22' width='9' height='3.5' rx='1.7' transform='rotate(40 48 22)' fill='%236a8de0'/%3E%3C/svg%3E")
      center / cover no-repeat;
}

.quick-tax-promo__trust-item:nth-child(3) .quick-tax-promo__trust-icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23f6f7fb'/%3E%3Ccircle cx='36' cy='24' r='8.5' fill='%23ffd6bf'/%3E%3Cpath d='M23 49c1-7 6-12 13-12s12 5 13 12v7H23z' fill='%23374c7c'/%3E%3Crect x='49' y='23' width='4.5' height='22' rx='2.2' fill='%236681d2'/%3E%3C/svg%3E")
      center / cover no-repeat;
}

.quick-tax-promo__trust-title {
  margin: 10px 0 0;
  font-size: 1.01rem;
  font-weight: 700;
  line-height: 1.35;
  color: #184f3c;
  letter-spacing: -0.01em;
}

.quick-tax-promo__trust-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.55;
  max-width: 198px;
}

.quick-tax-promo__compare .container {
  padding: 44px 0 100px;
}

.quick-tax-promo__compare-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.quick-tax-promo__compare-copy {
  max-width: 450px;
  padding-top: 40px;
}

.quick-tax-promo__compare h3 {
  margin: 0;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  letter-spacing: -0.02em;
  color: #2b2e38;
  line-height: 1.35;
}

.quick-tax-promo__compare h3 span {
  color: #df1f1f;
}

.quick-tax-promo__compare-sub {
  margin: 18px 0 0;
  max-width: 500px;
  color: #616774;
  font-size: 1.15rem;
  line-height: 1.6;
}

.quick-tax-promo__compare-more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.quick-tax-promo__compare-more:hover {
  color: var(--primary);
}

.quick-tax-promo__compare-more span {
  display: inline-flex;
  transform: translateY(0.5px);
}

.quick-tax-promo__compare-cards {
  position: relative;
  min-height: 230px;
}

.quick-tax-promo__vedio {
  width: min(100%, 460px);
  height: 620px;
  justify-self: end;
}

.quick-tax-promo__vedio video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.12);
}

.quick-tax-promo__compare-card {
  position: absolute;
  width: min(100%, 300px);
  text-align: left;
  border: 1px solid #d3d7df;
  border-radius: 14px;
  background: #fff;
  padding: 20px 22px;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  --cmp-accent: 0;
  --cmp-tax: #5d6472;
  --cmp-strong: #202430;
}

.quick-tax-promo__compare-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: var(--cmp-accent);
  z-index: 0;
}

.quick-tax-promo__compare-card > * {
  position: relative;
  z-index: 1;
}

.quick-tax-promo__compare-card--secondary {
  top: 18px;
  left: 8px;
  z-index: 1;
}

.quick-tax-promo__compare-card--primary {
  right: 63px;
  bottom: -16px;
  z-index: 2;
  color: #111827;
  border-color: #d3d7df;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

@media (min-width: 769px) {
  .quick-tax-promo__compare-card--secondary {
    animation: quickTaxCompareSwapSecondary 6s ease-in-out infinite;
    transform-origin: 50% 50%;
    will-change: transform, filter, opacity;
  }

  .quick-tax-promo__compare-card--primary {
    animation: quickTaxCompareSwapPrimary 6s ease-in-out infinite;
    transform-origin: 50% 50%;
    will-change: transform, filter, opacity;
  }

  @keyframes quickTaxCompareSwapPrimary {
    0%,
    47% {
      z-index: 2;
      transform: translate3d(0, 0, 0) scale(1);
      filter: saturate(1) brightness(1);
      opacity: 1;
      color: #ffffff;
      --cmp-accent: 1;
      --cmp-tax: rgba(255, 255, 255, 0.92);
      --cmp-strong: #ffffff;
      border-color: rgba(31, 111, 235, 0.8);
      box-shadow: 0 16px 30px rgba(31, 111, 235, 0.28);
    }
    52%,
    100% {
      z-index: 1;
      transform: translate3d(-26px, -18px, 0) scale(0.94);
      filter: saturate(0.9) brightness(0.98);
      opacity: 0.96;
      color: #111827;
      --cmp-accent: 0;
      --cmp-tax: #5d6472;
      --cmp-strong: #202430;
      border-color: #d3d7df;
      box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
    }
  }

  @keyframes quickTaxCompareSwapSecondary {
    0%,
    47% {
      z-index: 1;
      transform: translate3d(0, 0, 0) scale(0.94);
      filter: saturate(0.9) brightness(0.98);
      opacity: 0.96;
      color: #111827;
      --cmp-accent: 0;
      --cmp-tax: #5d6472;
      --cmp-strong: #202430;
      border-color: #d3d7df;
      box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
    }
    52%,
    100% {
      z-index: 2;
      transform: translate3d(26px, 18px, 0) scale(1);
      filter: saturate(1) brightness(1);
      opacity: 1;
      color: #ffffff;
      --cmp-accent: 1;
      --cmp-tax: rgba(255, 255, 255, 0.92);
      --cmp-strong: #ffffff;
      border-color: rgba(31, 111, 235, 0.8);
      box-shadow: 0 16px 30px rgba(31, 111, 235, 0.28);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .quick-tax-promo__compare-card--secondary,
  .quick-tax-promo__compare-card--primary {
    animation: none !important;
  }
}

.quick-tax-promo__compare-title {
  margin: 0 0 0 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.quick-tax-promo__compare-tax {
  margin: 7px 0 10px;
  font-size: 1rem;
  color: var(--cmp-tax);
}

.quick-tax-promo__compare-tax strong {
  font-size: 2.9rem;
  letter-spacing: -0.02em;
  color: var(--cmp-strong);
  line-height: 1.05;
}

.quick-tax-promo__compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0px;
  bottom: -2px;
  width: 58px;
  height: 58px;
  color: #111827;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

body[data-page="selfttax"] .selfttax-ai-demo {
  padding: 80px 0 80px;
  background: #fff;
  text-align: center;
}

body[data-page="selfttax"] .quick-tax-promo__hero {
  background: #fff;
}

body[data-page="selfttax"] .selfttax-vedio video {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 16px;
}

body[data-page="selfttax"] .selfttax-cost {
  background: #f6f7fb;
  padding: 80px 0 80px;
  text-align: center;
}

body[data-page="selfttax"] .selfttax-cost__title {
  margin: 0;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #111827;
}

body[data-page="selfttax"] .selfttax-cost__sub {
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 1.16rem;
  font-weight: 500;
}

body[data-page="selfttax"] .selfttax-cost__cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body[data-page="selfttax"] .selfttax-cost__card {
  background: #eceff4;
  border-radius: 20px;
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 47px;
}

body[data-page="selfttax"] .selfttax-cost__price-title {
  margin: 0;
  font-size: 1.5rem;
  color: #111827;
}

body[data-page="selfttax"] .selfttax-cost__price {
  margin: 12px 0 0;
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
}

body[data-page="selfttax"] .selfttax-cost__price .unit {
  font-size: 30px;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-cost__list {
  margin: 0;
  padding-left: 18px;
  color: #111827;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

body[data-page="selfttax"] .selfttax-cost__card--paid .badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #fde9ec;
  color: #d23647;
  font-size: 16px;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-cost__note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 1rem;
  color: #4b5563;
}

body[data-page="selfttax"] .selfttax-ai-demo__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #111827;
}

body[data-page="selfttax"] .selfttax-ai-demo__no {
  color: #df1f1f;
  font-weight: 900;
}

body[data-page="selfttax"] .selfttax-ai-demo__sub {
  margin: 12px 0 0;
  text-align: center;
  color: #4b5563;
  font-weight: 600;
}

body[data-page="selfttax"] .selfttax-ai-demo__panel {
  margin: 26px auto 0;
  max-width: 855px;
  border-radius: 22px;
  padding: 32px 50px;
  background: linear-gradient(180deg, rgba(255, 64, 64, 0.09) 0%, rgba(255, 64, 64, 0.03) 100%);
  border: 1px solid rgba(255, 64, 64, 0.16);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  position: relative;
}

body[data-page="selfttax"] .selfttax-ai-demo__mid {
  position: relative;
  width: 92px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

body[data-page="selfttax"] .selfttax-ai-demo__mid::before,
body[data-page="selfttax"] .selfttax-ai-demo__mid::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80%;
  border-left: 2px dotted rgba(239, 68, 68, 0.28);
}

body[data-page="selfttax"] .selfttax-ai-demo__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff4b4b 0%, #d71920 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 18px rgba(215, 25, 32, 0.22);
}

body[data-page="selfttax"] .selfttax-ai-demo__col {
  min-width: 0;
}

body[data-page="selfttax"] .selfttax-ai-demo__label {
  margin: 0 0 12px;
  font-weight: 800;
  color: rgba(17, 24, 39, 0.75);
  letter-spacing: -0.01em;
}

body[data-page="selfttax"] .selfttax-ai-demo__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.16);
  color: #ef4444;
  font-size: 0.9rem;
}

body[data-page="selfttax"] .selfttax-ai-demo__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body[data-page="selfttax"] .selfttax-ai-demo__list li {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 12px 14px;
  font-weight: 700;
  color: #374151;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

body[data-page="selfttax"] .selfttax-ai-demo__list li.is-muted {
  opacity: 0.45;
}

body[data-page="selfttax"] .selfttax-ai-demo__list--right li {
  border-color: rgba(239, 68, 68, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

body[data-page="selfttax"] .selfttax-ai-demo__note {
  margin: 16px 0 0;
  text-align: center;
  color: #6b7280;
  font-weight: 600;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  body[data-page="selfttax"] .selfttax-cost__cards {
    grid-template-columns: 1fr;
  }

  body[data-page="selfttax"] .selfttax-ai-demo__panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body[data-page="selfttax"] .selfttax-ai-demo__mid {
    width: 100%;
    height: 44px;
  }

  body[data-page="selfttax"] .selfttax-ai-demo__mid::before,
  body[data-page="selfttax"] .selfttax-ai-demo__mid::after {
    width: 74%;
    height: 1px;
    border-left: none;
    border-top: 2px dotted rgba(239, 68, 68, 0.28);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

body[data-page="selfttax"] .selfttax-score-demo {
  padding: 80px 0 80px;
  background: #f4f6fb;
}

body[data-page="selfttax"] .selfttax-score-demo__layout {
  display: grid;
  grid-template-columns: minmax(300px, 540px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

body[data-page="selfttax"] .selfttax-score-demo__title {
  margin: 0;
  width: 100%;
  min-width: 0;
  text-align: left;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: #111827;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-score-demo__title span {
  text-underline-offset: 4px;
}

body[data-page="selfttax"] .selfttax-score-demo__frame {
  justify-self: end;
  width: min(100%, 760px);
  border-radius: 30px;
  padding: 36px 20px 24px;
 }

body[data-page="selfttax"] .selfttax-score-demo__chart-head {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

body[data-page="selfttax"] .selfttax-score-demo__chart-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1;
  color: #374151;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-score-demo__chart-title::after {
  content: none;
}

body[data-page="selfttax"] .selfttax-score-demo__charts {
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: 12px 10px 12px 6px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  box-shadow: none;
}

body[data-page="selfttax"] .selfttax-score-demo__item {
  display: flex;
  justify-content: center;
}

body[data-page="selfttax"] .selfttax-score-demo__ring {
  --value: 50;
  --ring-color: #ef4444;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--ring-color) calc(var(--value) * 1%), #dfe4e8 0);
}

body[data-page="selfttax"] .selfttax-score-demo__ring span {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 800;
}

body[data-page="selfttax"] .selfttax-score-demo__item--red .selfttax-score-demo__ring {
  --value: 81;
  --ring-color: #f86971;
}

body[data-page="selfttax"] .selfttax-score-demo__item--mint .selfttax-score-demo__ring {
  --value: 22;
  --ring-color: #11bc87;
}

body[data-page="selfttax"] .selfttax-score-demo__item--blue .selfttax-score-demo__ring {
  --value: 62;
  --ring-color: #36a4e0;
}

@media (max-width: 980px) {
  body[data-page="selfttax"] .selfttax-score-demo__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body[data-page="selfttax"] .selfttax-score-demo__title {
    text-align: center;
  }

  body[data-page="selfttax"] .selfttax-score-demo__frame {
    justify-self: center;
  }

  body[data-page="selfttax"] .selfttax-score-demo__title span {
    text-decoration: none;
  }
}

@media (max-width: 760px) {
  .quick-tax-promo__vedio {
    width: 100%;
    height: 520px;
    justify-self: center;
  }

  .quick-tax-promo__vedio video {
    border-radius: 14px;
  }

  body[data-page="selfttax"] .quick-tax-promo__compare-copy {
    padding-bottom: 20px;
  }

  body[data-page="selfttax"] .selfttax-cost__title {
    font-size: 32px;
  }

  body[data-page="selfttax"] .selfttax-cost__sub,
  body[data-page="selfttax"] .selfttax-cost__note {
    font-size: 16px;
  }

  body[data-page="selfttax"] .selfttax-cost__price-title {
    font-size: 24px;
  }

  body[data-page="selfttax"] .selfttax-cost__price {
    font-size: 42px;
  }

  body[data-page="selfttax"] .selfttax-cost__price .unit {
    font-size: 24px;
  }

  body[data-page="selfttax"] .selfttax-cost__cta {
    min-width: 240px;
    height: 56px;
    font-size: 18px;
  }

  body[data-page="selfttax"] .selfttax-score-demo__charts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    justify-items: center;
  }

  body[data-page="selfttax"] .selfttax-score-demo__chart-head {
    margin-bottom: 14px;
  }

  body[data-page="selfttax"] .selfttax-score-demo__chart-title {
    font-size: 1.35rem;
  }

  body[data-page="selfttax"] .selfttax-score-demo__chart-title::after {
    width: 140px;
  }
}

body[data-page="selfttax"] .selfttax-verified-team {
  padding: 80px 0 80px;
  background: #fff;
}

body[data-page="selfttax"] .selfttax-verified-team__title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #111827;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-verified-team .container {
  text-align: center;
}

body[data-page="selfttax"] .selfttax-verified-team__desc {
  margin: 24px 0 0;
  font-size: 1.15rem;
  color: #1f2937;
  font-weight: 600;
  letter-spacing: -0.01em;
}

body[data-page="selfttax"] .selfttax-verified-team__cards {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

body[data-page="selfttax"] .selfttax-verified-team__card {
  border-radius: 16px;
  background: #eff1f4;
  padding: 24px 50px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  align-items: center;
  min-height: 220px;
}

body[data-page="selfttax"] .selfttax-verified-team__photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background-image: url("https://user.taxself.co.kr/resources/img/photo/photo_hansangmin.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
}

body[data-page="selfttax"] .selfttax-verified-team__photo--alt {
  background-image: url("https://user.taxself.co.kr/resources/img/photo/photo_gimsojung.png");
}

body[data-page="selfttax"] .selfttax-verified-team__photo span {
  display: none;
}

body[data-page="selfttax"] .selfttax-verified-team__copy h4 {
  margin: 0;
  font-size: 1.5rem;
  color: #111827;
  letter-spacing: -0.01em;
}

body[data-page="selfttax"] .selfttax-verified-team__major {
  margin: 8px 0 10px;
  color: #b91c1c;
  font-size: 1.15rem;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-verified-team__copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

body[data-page="selfttax"] .selfttax-verified-team__copy li {
  color: #3f4653;
  font-size: 1rem;
  line-height: 1.45;
}

body[data-page="selfttax"] .selfttax-verified-team__copy li::before {
  content: "· ";
}

@media (max-width: 1200px) {
  body[data-page="selfttax"] .selfttax-verified-team__cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="selfttax"] .selfttax-verified-team__title {
    font-size: 1.9rem;
  }

  body[data-page="selfttax"] .selfttax-verified-team__desc {
    font-size: 1.05rem;
  }

  body[data-page="selfttax"] .selfttax-verified-team__card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  body[data-page="selfttax"] .selfttax-verified-team__copy ul {
    text-align: left;
  }
}

body[data-page="selfttax"] .selfttax-review-service {
  padding: 80px 0 80px;
  background: #f4f6fb;
}

body[data-page="selfttax"] .selfttax-review-service .container {
  text-align: center;
}

body[data-page="selfttax"] .selfttax-review-service__title {
  margin: 0;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  line-height: 1.34;
  letter-spacing: -0.02em;
  color: #1f2937;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-review-service__badge {
  margin: 22px auto 30px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fcecef;
  color: #374151;
  font-size: 0.98rem;
  font-weight: 600;
}

body[data-page="selfttax"] .selfttax-review-service__badge .selfttax-review-service__badge-check {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ef4444;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 11.5 13 4.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  vertical-align: -2px;
}

body[data-page="selfttax"] .selfttax-review-service__badge strong {
  color: #df1f1f;
}

body[data-page="selfttax"] .selfttax-review-service__ox--o {
  color: #2563eb;
}

body[data-page="selfttax"] .selfttax-review-service__ox--x {
  color: #ef4444;
  margin: 0 -7px 0 3px;
}

body[data-page="selfttax"] .selfttax-review-service__desc {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 1.03rem;
  font-weight: 500;
}

body[data-page="selfttax"] .selfttax-review-service__list {
  margin-top: 26px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18x;
}

body[data-page="selfttax"] .selfttax-review-service__item {
  min-height: 206px;
  padding: 42px 25px 20px;
}

body[data-page="selfttax"] .selfttax-review-service__item-title {
  margin-top: 10px;
  color: #111827;
  font-size: 1.03rem;
}

body[data-page="selfttax"] .selfttax-review-service__item-desc {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.45;
}

body[data-page="selfttax"] .selfttax-review-service__item:nth-child(1) .selfttax-review-service__icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23eef2ff'/%3E%3Cpath d='M16 29l20-11 20 11-20 11z' fill='%234f46e5'/%3E%3Cpath d='M24 35v10c0 7 24 7 24 0V35' fill='%236366f1'/%3E%3C/svg%3E")
      center / cover no-repeat;
}

body[data-page="selfttax"] .selfttax-review-service__item:nth-child(2) .selfttax-review-service__icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23ecfeff'/%3E%3Ccircle cx='32' cy='32' r='14' fill='none' stroke='%230ea5e9' stroke-width='6'/%3E%3Cpath d='M42 42l9 9' stroke='%230f766e' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E")
      center / cover no-repeat;
}

body[data-page="selfttax"] .selfttax-review-service__item:nth-child(3) .selfttax-review-service__icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23fffbeb'/%3E%3Cpath d='M36 16L54 50H18z' fill='%23f59e0b'/%3E%3Crect x='33' y='28' width='6' height='14' rx='3' fill='white'/%3E%3Ccircle cx='36' cy='46' r='3' fill='white'/%3E%3C/svg%3E")
      center / cover no-repeat;
}

body[data-page="selfttax"] .selfttax-review-service__item:nth-child(4) .selfttax-review-service__icon {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='36' r='36' fill='%23eff6ff'/%3E%3Crect x='20' y='16' width='32' height='40' rx='5' fill='%2360a5fa'/%3E%3Crect x='26' y='24' width='20' height='4' rx='2' fill='white'/%3E%3Crect x='26' y='32' width='20' height='4' rx='2' fill='white'/%3E%3Cpath d='M28 44l5 5 11-11' stroke='white' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
      center / cover no-repeat;
}

@media (max-width: 1200px) {
  body[data-page="selfttax"] .selfttax-review-service__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="selfttax"] .selfttax-review-service__list {
    grid-template-columns: 1fr;
  }
}

body[data-page="selfttax"] .selfttax-final-cta {
  padding: 100px 0 80px;
  background: #fff;
}

body[data-page="selfttax"] .selfttax-final-cta .container {
  text-align: center;
}

body[data-page="selfttax"] .selfttax-final-cta__title {
  margin: 0;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #1f2937;
  font-weight: 700;
}

body[data-page="selfttax"] .selfttax-final-cta__title span {
  color: #df1f1f;
}

.featured {
  padding: 20px 0 80px;
}

.featured-tax-banner {
  padding: 30px 70px;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  background: #f9f9f9;
}

.featured-tax-banner__content h3 {
  margin: 0 0 10px;
  font-size: 1.85rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.featured-tax-banner__content p {
  margin: 0;
  color: #2c2c2c;
  font-size: 1.1rem;
  line-height: 1.65;
}

.featured-tax-banner__content strong {
  color: #303df1;
  font-weight: 700;
  text-underline-offset: 2px;
}

.featured-tax-banner__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #455cdd;
  color: #fff;
  border-radius: 2px;
  padding: 14px 16px;
  min-width: 220px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.featured-tax-banner__cta::after {
  content: "→";
  display: inline-block;
  transition: transform 0.2s ease;
}

.featured-tax-banner__cta:hover::after {
  transform: translateX(4px);
}

.section-head h2 {
  margin: 0 0 6px;
  font-size: 1.8rem;
}

.section-head p {
  margin: 0 0 20px;
  color: var(--muted);
}

.section-head--with-arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.section-head__arrow-btn {
  margin: 20px 10px 0 0;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f4f6fb;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.section-head__arrow-btn:hover {
  background: #eaf1f3;
  border-color: #cfd8dc;
  color: #0c254d;
  transform: translateY(-1px);
}

.section-head__arrow-btn svg {
  width: 34px;
  height: 34px;
}

.section-head__arrow-btn--recent {
  background: #fff;
}

.section-head__text {
  min-width: 0;
  flex: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.card a {
  color: var(--primary-dark);
  font-weight: 700;
}

/* 홈 에디터 추천 (대형 1개 + 소형 3개) */
.editor-picks {
  padding: 40px 0 100px;
  background: var(--surface);
}

.editor-picks__head {
  margin-bottom: 29px;
}

.editor-picks__head.section-head p {
  margin-bottom: 0;
}

.editor-picks__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 4.5vw, 56px);
  align-items: start;
}

.editor-picks__layout > .editor-picks__loading,
.editor-picks__layout > .editor-picks__empty,
.editor-picks__layout > .editor-picks__error {
  grid-column: 1 / -1;
}

.editor-picks__loading,
.editor-picks__empty,
.editor-picks__error {
  margin: 0;
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.editor-picks__error {
  border-color: #fecdca;
  background: #fffbfa;
  color: #b42318;
}

.editor-picks__hero {
  min-width: 0;
}

.editor-picks__hero-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.editor-picks__hero-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(11, 44, 92, 0.12);
}

.editor-picks__hero-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.editor-picks__hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.editor-picks__hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-picks__hero-body {
  padding: 28px 28px 32px;
}

.editor-picks__hero-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.editor-picks__hero-meta {
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.editor-picks__hero-date {
  color: #9ca3af;
}

.editor-picks__hero-excerpt {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.editor-picks__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.editor-picks__side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.editor-picks__side-item {
  margin: 0;
}

.editor-picks__side-link {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  color: inherit;
  text-decoration: none;
  padding-bottom: 32px;
  border-bottom: 1px solid #e8edf5;
  transition: opacity 0.2s ease;
}

.editor-picks__side-list .editor-picks__side-item:last-child .editor-picks__side-link {
  padding-bottom: 0;
  border-bottom: none;
}

.editor-picks__side-link:hover {
  opacity: 0.92;
}

.editor-picks__side-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 12px;
}

.editor-picks__side-thumb {
  position: relative;
  flex-shrink: 0;
  width: 118px;
  height: 118px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.editor-picks__side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editor-picks__side-body {
  min-width: 0;
  flex: 1;
  padding-top: 2px;
}

.editor-picks__side-title {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.editor-picks__side-meta {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #9ca3af;
}

.editor-picks__side-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* 홈 최신 블로그 (WordPress 3개) */
#recent-articles.recent-articles {
  padding: 80px 0 100px;
  background-color: #f4f6fb;
}

.recent-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.recent-articles__loading,
.recent-articles__empty,
.recent-articles__error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.recent-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.recent-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recent-card__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(11, 44, 92, 0.12);
}

.recent-card__link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.recent-card__media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #f3f4f6;
}

.recent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 20px;
}

.recent-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.875rem;
}

.recent-card__category {
  font-weight: 600;
  color: #ef9817;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-card__date {
  color: var(--muted);
  flex-shrink: 0;
}

.recent-card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.recent-card__link:hover .recent-card__title {
  color: var(--primary-dark);
}

.recent-card__excerpt {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
  flex: 1;
}

.recent-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--primary);
}

.recent-card__link:hover .recent-card__more {
  color: var(--primary-dark);
}

.news-main {
  padding-bottom: 72px;
}

.news-hero {
  padding: 56px 0 20px;
}

.news-hero h1 {
  margin: 0 0 8px;
  font-size: 2.15rem;
  letter-spacing: -0.02em;
}

.news-hero p {
  margin: 0;
  color: var(--muted);
}

.news-hero--detail {
  padding-bottom: 18px;
}

.news-detail__eyebrow {
  margin: 0 0 6px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ef9817;
}

.news-detail-tags {
  margin: 0 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-detail-tags__chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #d7e3f7;
  background: #f3f7ff;
  color: #34527e;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-list {
  display: grid;
  gap: 16px;
  border-top: 1px solid #e5e7eb;
}

.news-item-link {
  display: block;
  color: inherit;
}

.news-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #e5e7eb;
  align-items: start;
  transition: background-color 0.2s ease;
}

.news-item-link:hover .news-item {
  background: rgba(15, 34, 64, 0.02);
}

.news-item__thumb {
  aspect-ratio: 5 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.news-item__category {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ef9817;
}

.news-item__date {
  font-size: 0.79rem;
  color: #6b7280;
}

.news-item h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.news-item__excerpt {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
  flex: 1;
}

.news-item__footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.news-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-item__tag-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #d7e3f7;
  background: #f3f7ff;
  color: #34527e;
  font-size: 0.78rem;
  font-weight: 600;
}

.news-item__more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.news-empty,
.news-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px 20px;
  text-align: center;
  border-radius: 14px;
}

.news-empty {
  color: var(--muted);
  border: 1px dashed var(--line);
  background: #fff;
}

.news-error {
  color: #b42318;
  border: 1px solid #fecdca;
  background: #fffbfa;
}

.news-content {
  color: var(--text);
}

.blog1-hero-divider {
  margin-top: 8px;
}

.blog1-hero-divider__line {
  border-top: 1px solid #e5e7eb;
  padding-bottom: 24px;
}

.blog1-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.blog1-sidebar h2,
.blog1-sidebar h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.blog1-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.blog1-sidebar-toggle {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
}

.blog1-sidebar-toggle svg {
  width: 25px;
  height: 25px;
  transition: transform 0.2s ease;
}

.blog1-sidebar h3 {
  margin-top: 8px;
}

.blog1-filters {
  display: grid;
  gap: 8px;
  margin: 18px 0 0 5px;
}

.blog1-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 0.95rem;
}

.blog1-filter input {
  width: 16px;
  height: 16px;
  accent-color: #157a81;
  margin: 0;
}

.blog1-list-loading {
  margin: 0;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog1-sidebar-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 14px 0 10px;
}

.blog1-sidebar-note {
  margin: 0;
  color: #6b7280;
  font-size: 0.82rem;
  line-height: 1.6;
}

.blog1-socials {
  display: flex;
  gap: 8px;
}

.blog1-socials a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog1-socials svg {
  width: 14px;
  height: 14px;
}

.blog1-list {
  display: grid;
}

.blog1-item-link {
  display: block;
  color: inherit;
}

.blog1-item {
  background: #fff;
  padding: 30px 22px;
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
}

.blog1-list .blog1-item-link:nth-child(even) .blog1-item {
  background: #f7f7f6;
}

.blog1-item__thumb {
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  width: 116px;
  height: 94px;
}

.blog1-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog1-item__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.blog1-item__body .blog-content__arrow {
  margin-top: 25px;
}

.blog1-item .blog-content__arrow-svg {
  transition: transform 0.22s ease;
}

.blog1-item-link:hover .blog-content__arrow-svg,
.blog1-item:hover .blog-content__arrow-svg {
  transform: translateX(5px);
}

.blog1-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog1-item__category {
  font-size: 0.80rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  /* color: #111827; */  
  color: #ef9817;
  font-weight: 700;
}

.blog1-item__line {
  width: 56px;
  height: 1px;
  background: #e5e7eb;
}

.blog1-item__date {
  font-size: 0.78rem;
  color: #6b7280;
  font-weight: 500;
}

.blog1-item h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.blog1-item p {
  margin: 0;
  color: #374151;
  font-size: 0.97rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.blog1-empty,
.blog1-error {
  margin: 0;
  padding: 70px 20px;
  text-align: center;
  border-radius: 12px;
}

.blog1-empty {
  border: 1px dashed var(--line);
  color: var(--muted);
}

.blog1-error {
  border: 1px solid #fecdca;
  background: #fffbfa;
  color: #b42318;
}

.blog-main {
  padding-bottom: 70px;
}

.blog-hero {
  padding: 54px 0 20px;
}

.blog-hero h1 {
  margin: 0 0 8px;
  font-size: 2.1rem;
}

.blog-hero p {
  margin: 0;
  color: var(--muted);
}

.blog-list {
  display: grid;
  border-top: 1px solid #e5e7eb;
}

.blog-item-link {
  display: block;
  color: inherit;
}

.blog-list-section {
  padding: 16px 0 8px;
}

.blog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.blog-load-more__btn {
  min-width: 210px;
  padding: 11px 38px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #fff;
  color: #0f2240;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-load-more__btn::after {
  content: "↓";
  font-size: 0.95em;
  line-height: 1;
}

.blog-load-more__btn:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #9ca3af;
}

.blog-load-more__btn:disabled {
  opacity: 0.7;
  cursor: default;
}

.section-divider {
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 24px;
}

.post-hero-image {
  margin-bottom: 50px;
  border-radius: 3px;
  overflow: hidden;
}

.post-hero-image img {
  width: 100%;
  height: min(480px, 52vw);
  object-fit: cover;
}

/* 상세 글: 본문(article)과 공유 바 사이 여백 (목록용 div.blog-content에는 영향 없음) */
article.blog-content {
  padding-bottom: 40px;
}

/* 상세 글: article 하단 공유 바 (라인 너비는 컨테이너/본문과 동일) */
.post-share-bar {
  margin-top: 0;
}

.post-share-bar__line {
  border-top: 1px solid #e5e7eb;
  width: 100%;
}

.post-share-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
}

.post-share-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: #4b5563;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.post-share-bar__back:hover {
  color: #374151;
  text-decoration: none;
  background: #f9fafb;;
  border-color: #9ca3af;
}

.post-share-bar__back:focus-visible {
  outline: none;
  background: #eef2f9;
  border-color: #1e3a5f;
  color: #1e3a5f;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(30, 58, 95, 0.35);
}

.post-share-bar__back-icon {
  display: inline-flex;
  color: inherit;
  transition: transform 0.22s ease, color 0.2s ease;
}

.post-share-bar__back:hover .post-share-bar__back-icon,
.post-share-bar__back:focus-visible .post-share-bar__back-icon {
  transform: translateX(-5px);
}

.post-share-bar__back-icon svg {
  display: block;
}

.post-share-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.post-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.post-share-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.post-share-btn__icon {
  display: flex;
  color: #6b7280;
}

.post-share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6b7280;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  text-decoration: none;
}

.post-share-icon-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
}

.blog-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  padding: 30px 0;
  background: transparent;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: background-color 0.2s ease;
  align-items: start;
}

.blog-item:hover {
  background-color: rgba(15, 34, 64, 0.02);
}

.blog-thumb {
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 5 / 3;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 0;
  min-width: 0;
}

/* blog 목록: 본문 영역 오른쪽 하단 화살표 유도선 */
.blog-item .blog-content {
  display: flex;
  flex-direction: column;
}

.blog-content__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1e3a5f;
  line-height: 1.2;
  pointer-events: none;
  margin-top: auto;
  margin-right: 15px;
  align-self: flex-end;
}

.blog-content__arrow-label {
  font-size: 0.7825rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.blog-content__arrow-svg {
  display: block;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

.blog-item .blog-content__arrow-svg {
  transition: transform 0.22s ease;
}

.blog-item-link:hover .blog-content__arrow-svg,
.blog-item:hover .blog-content__arrow-svg {
  transform: translateX(5px);
}

.blog-category {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ef9817;
  /*background: #e9f2ff;
  border-radius: 999px;
  padding: 4px 10px;*/
  padding-top:7px;
  margin-bottom: 10px;
}

.blog-content h2 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.blog-date {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* 블로그 목록: WordPress 요약(.blog-excerpt) 최대 2줄 초과 시 말줄임 */
.blog-excerpt {
  margin: 0 0 12px;
  color: var(--muted);
}

.blog-content .blog-excerpt p {
  margin: 0;
}

.blog-excerpt p:first-of-type {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-size: 0.97rem;
}

.blog-excerpt p + p {
  display: none;
}

.blog-content p {
  margin: 0 0 12px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

.tax-calculator-categories {
  padding: 80px 0 100px;
}

.tax-calculator-categories__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: start;
}

.tax-calculator-categories__intro {
  padding-top: 20px;
}

.tax-calculator-categories__intro h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.tax-calculator-categories__intro p {
  margin: 0;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.tax-calculator-categories__description {
  margin-top: 0;
  min-height: 118px;
  padding: 8px 2px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #1f2937;
  font-size: 0.86rem;
  line-height: 1.7;
  word-break: keep-all;
}

.tax-calculator-categories__description-emphasis {
  color: #d71920;
  font-weight: 700;
}

.tax-calculator-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 18px;
}

.tax-calculator-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 126px;
  padding: 16px 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.tax-calculator-category-card:hover {
  transform: translateY(-2px);
  border-color: #d3e3ff;
  box-shadow: 0 14px 24px rgba(15, 34, 64, 0.08);
}

.tax-calculator-category-card:focus-visible {
  outline: none;
  border-color: #1f6feb;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.22);
}

.tax-calculator-category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: #eef0f5;
  color: transparent;
  font-size: 0;
  position: relative;
  overflow: hidden;
}

.tax-calculator-category-card__icon::before {
  content: "";
  width: 38px;
  height: 38px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='13' y='7' width='38' height='50' rx='10' fill='%23f4f8ff' stroke='%239cb5e2' stroke-width='2'/%3E%3Crect x='19' y='13' width='26' height='10' rx='3' fill='%2378a0e3'/%3E%3Cg fill='%236f89b7'%3E%3Crect x='19' y='28' width='6' height='6' rx='2'/%3E%3Crect x='29' y='28' width='6' height='6' rx='2'/%3E%3Crect x='39' y='28' width='6' height='6' rx='2'/%3E%3Crect x='19' y='38' width='6' height='6' rx='2'/%3E%3Crect x='29' y='38' width='6' height='6' rx='2'/%3E%3Crect x='39' y='38' width='6' height='16' rx='2'/%3E%3Crect x='19' y='48' width='16' height='6' rx='2'/%3E%3C/g%3E%3C/svg%3E");
}

.tax-calculator-category-card:nth-child(2) .tax-calculator-category-card__icon::before,
.tax-calculator-category-card:nth-child(5) .tax-calculator-category-card__icon::before,
.tax-calculator-category-card:nth-child(8) .tax-calculator-category-card__icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='13' y='7' width='38' height='50' rx='10' fill='%23f4f8ff' stroke='%239cb5e2' stroke-width='2'/%3E%3Crect x='19' y='13' width='26' height='8' rx='3' fill='%2397aee6'/%3E%3Ccircle cx='44' cy='19' r='8' fill='%23ff7f7f'/%3E%3Cpath d='M40.5 19.2l2.1 2.3 4.8-5.5' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg fill='%236f89b7'%3E%3Crect x='19' y='27' width='26' height='4' rx='2'/%3E%3Crect x='19' y='35' width='26' height='4' rx='2'/%3E%3Crect x='19' y='43' width='18' height='4' rx='2'/%3E%3C/g%3E%3C/svg%3E");
}

.tax-calculator-category-card:nth-child(3) .tax-calculator-category-card__icon::before,
.tax-calculator-category-card:nth-child(6) .tax-calculator-category-card__icon::before,
.tax-calculator-category-card:nth-child(9) .tax-calculator-category-card__icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cline x1='12' y1='34' x2='52' y2='34' stroke='%23708ab8' stroke-width='2.4'/%3E%3Crect x='16' y='35' width='12' height='10' rx='3' fill='%238aa5da'/%3E%3Crect x='36' y='35' width='12' height='10' rx='3' fill='%238aa5da'/%3E%3Crect x='30' y='19' width='4' height='21' rx='2' fill='%236f89b7'/%3E%3Cellipse cx='32' cy='17' rx='9' ry='4' fill='%23f6b85c'/%3E%3Ccircle cx='32' cy='11' r='5.5' fill='%23f09d33'/%3E%3C/svg%3E");
}

.tax-calculator-category-card__label {
  display: block;
  color: #111827;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  word-break: keep-all;
}

@media (max-width: 980px) {
  .tax-calculator-categories {
    padding-top: 18px;
    padding-bottom: 72px;
  }

  .tax-calculator-categories__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tax-calculator-categories__intro {
    padding-top: 0;
  }

  .tax-calculator-categories__description {
    min-height: 84px;
  }

  .tax-calculator-categories__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 16px;
  }

  .featured-tax-banner {
    margin-bottom: 72px;
    padding: 22px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .editor-picks {
    padding: 44px 0 72px;
  }

  .editor-picks__head {
    margin-bottom: 32px;
  }

  .editor-picks__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .editor-picks__hero-body {
    padding: 22px 20px 28px;
  }

  .editor-picks__side-list {
    gap: 26px;
  }

  .featured-tax-banner__content h3 {
    font-size: 1.55rem;
  }

  .featured-tax-banner__content p {
    font-size: 1.05rem;
  }

  .featured-tax-banner__cta {
    width: 100%;
    max-width: 220px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .recent-articles__grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-list {
    gap: 14px;
  }

  .news-item {
    grid-template-columns: 180px 1fr;
  }

  .blog-item {
    grid-template-columns: 1fr;
  }

  .blog-thumb img {
    max-height: 220px;
  }

  .blog1-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog1-sidebar {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .tax-calculator-categories {
    padding: 50px 0 96px 0;
  }

  #recent-articles.recent-articles {
    padding-top: 50px;
    padding-bottom: 96px;
  }

  .tax-calculator-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 14px;
  }

  .tax-calculator-category-card {
    min-height: 114px;
  }

  .tax-calculator-categories__description {
    min-height: 0;
  }

  .featured-tax-banner {
    margin-bottom: 48px;
  }

  .featured-tax-banner__content h3 {
    font-size: 1.35rem;
  }

  .featured-tax-banner__content p {
    font-size: 0.95rem;
  }

  .editor-picks {
    padding: 36px 0 60px;
  }

  .editor-picks__side-thumb {
    width: 96px;
    height: 96px;
  }

  .editor-picks__side-link {
    gap: 16px;
    padding-bottom: 26px;
  }

  .blog1-sidebar-toggle {
    display: inline-flex;
  }

  .blog1-sidebar.is-collapsed .blog1-filters,
  .blog1-sidebar.is-collapsed .blog1-sidebar-divider,
  .blog1-sidebar.is-collapsed .blog1-sidebar-note {
    display: none;
  }

  .blog1-sidebar.is-expanded .blog1-filters {
    display: grid;
  }

  .blog1-sidebar.is-expanded .blog1-sidebar-divider,
  .blog1-sidebar.is-expanded .blog1-sidebar-note {
    display: block;
  }

  .blog1-sidebar.is-expanded .blog1-sidebar-toggle svg {
    transform: rotate(180deg);
  }

  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-expand-lg .navbar-collapse {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 4%;
    left: 4%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .navbar-expand-lg .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-head--with-arrow {
    align-items: center;
  }

  .recent-articles__grid {
    grid-template-columns: 1fr;
  }

  .news-list {
    gap: 12px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .news-item__thumb img {
    max-height: 210px;
  }

  .news-item__meta {
    flex-wrap: wrap;
  }

  .footer-inner {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .blog1-item {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .blog1-item__thumb {
    width: 100%;
    height: min(240px, 44vw);
  }

  .blog1-item h2 {
    font-size: 1.45rem;
  }
}

@media (max-width: 560px) {
  .tax-calculator-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
}

@media (max-width: 980px) {
  .quick-tax-promo__hero-inner {
    padding-top: 44px;
  }

  .quick-tax-promo__trust-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .quick-tax-promo__trust-item {
    min-height: auto;
    padding: 28px 0 4px;
  }

  .quick-tax-promo__trust-item::after {
    top: 0;
  }

  .quick-tax-promo__compare-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quick-tax-promo__compare-copy {
    max-width: none;
    text-align: center;
  }

  .quick-tax-promo__compare-sub {
    max-width: 100%;
  }

  .quick-tax-promo__compare .container {
    padding: 48px 0 100px;
  }

  .quick-tax-promo__compare-cards {
    min-height: 276px;
    max-width: 420px;
    margin: 0 auto;
  }

  .quick-tax-promo__compare-card {
    width: min(100%, 300px);
  }

  .quick-tax-promo__compare-card--secondary {
    left: 40px;
    top: 8px;
  }

  .quick-tax-promo__compare-card--primary {
    right: 20px;
    bottom: -8px;
  }

  .quick-tax-promo__compare-vs {
    left: 26px;
    bottom: 72px;
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .quick-tax-promo__cta {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }

  .quick-tax-promo__hero-inner {
    padding-bottom: 80px;
  }

  .quick-tax-promo__compare .container {
    padding: 42px 0 80px;
  }

  .quick-tax-promo__compare h3 {
    font-size: clamp(1.5rem, 7.4vw, 2rem);
    line-height: 1.35;
  }

  .quick-tax-promo__compare-sub {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .quick-tax-promo__compare-more {
    margin-top: 12px;
    font-size: 0.92rem;
  }

  .quick-tax-promo__compare-cards {
    min-height: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .quick-tax-promo__compare-card {
    position: static;
    width: 100%;
    min-width: 34vw;
    max-width: none;
    padding: 14px 14px;
    border-radius: 10px;
  }

  .quick-tax-promo__compare-card--secondary,
  .quick-tax-promo__compare-card--primary {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .quick-tax-promo__compare-card--primary {
    grid-column: 3;
    color: #fff;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: rgba(31, 111, 235, 0.8);
    box-shadow: 0 12px 22px rgba(31, 111, 235, 0.22);
    --cmp-tax: rgba(255, 255, 255, 0.92);
    --cmp-strong: #ffffff;
  }

  .quick-tax-promo__compare-card--secondary {
    grid-column: 1;
  }

  .quick-tax-promo__compare-tax strong {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
  }

  .quick-tax-promo__compare-vs {
    position: static;
    grid-column: 2;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
  }

  .quick-tax-promo__compare-title {
    font-size: 0.95rem;
  }

  .quick-tax-promo__compare-tax {
    margin-top: 4px;
    font-size: 0.82rem;
  }
}

.featured-tax-banner_text {
  color: #df1f1f;
}
