.awdh {
  --awdh-soft-ink: #374151;
  --awdh-line: #e5e7eb;
  --awdh-ground: #f3f4f6;
  background: #ffffff;
  padding-bottom: clamp(64px, 9vw, 120px);
}

.awdh .breadcrumbs {
  padding-top: 20px;
}

.awdh-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 64px);
}

.awdh-title {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink, #111827);
  margin: 0 0 24px;
  text-wrap: balance;
}

.awdh-lead {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink, #111827);
  margin: 0 0 14px;
}

.awdh-intro {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--awdh-soft-ink);
  margin: 0 0 14px;
}

.awdh-byline {
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: #4b5563;
}

.awdh-byline a {
  color: var(--coral-text, #c2413f);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.awdh-hero-media {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--awdh-ground);
  aspect-ratio: 4 / 3;
}

.awdh-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.awdh-toc {
  padding-top: 8px;
  padding-bottom: 8px;
}

.awdh-toc ul {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  border-top: 1px solid var(--awdh-line);
  border-bottom: 1px solid var(--awdh-line);
}

.awdh-toc a {
  color: var(--ink, #111827);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.awdh-toc a:hover {
  color: var(--coral-text, #c2413f);
  border-bottom-color: currentColor;
}

.awdh-section {
  padding-top: clamp(48px, 7vw, 88px);
  scroll-margin-top: 90px;
}

.awdh-h2 {
  font-family: var(--serif, "Playfair Display", Georgia, serif);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.15;
  color: var(--ink, #111827);
  margin: 0 0 12px;
  max-width: 820px;
}

.awdh-section-lead {
  margin: 0 0 28px;
  max-width: 720px;
  color: var(--awdh-soft-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.awdh-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--awdh-line);
  border-radius: 18px;
}

.awdh-table-wrap:focus-visible {
  outline: 3px solid var(--ink, #111827);
  outline-offset: 2px;
}

.awdh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  line-height: 1.5;
  min-width: 620px;
}

.awdh-table th,
.awdh-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--awdh-line);
  vertical-align: top;
}

.awdh-table thead th {
  background: var(--awdh-ground);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink, #111827);
}

.awdh-table tbody th {
  font-weight: 600;
  color: var(--ink, #111827);
}

.awdh-table td {
  color: var(--awdh-soft-ink);
}

.awdh-table tbody tr:last-child th,
.awdh-table tbody tr:last-child td {
  border-bottom: 0;
}

.awdh-table a {
  color: var(--coral-text, #c2413f);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.awdh-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.awdh-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--awdh-line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.awdh-card:hover {
  transform: translateY(-3px);
  border-color: #d1d5db;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.awdh-card:focus-within {
  outline: 3px solid var(--ink, #111827);
  outline-offset: 2px;
}

.awdh-card-media {
  aspect-ratio: 3 / 2;
  background: var(--awdh-ground);
  overflow: hidden;
}

.awdh-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.awdh-card:hover .awdh-card-media img {
  transform: scale(1.04);
}

.awdh-card-body {
  padding: 18px 20px 22px;
}

.awdh-card-title {
  font-family: var(--sans, "DM Sans", system-ui, sans-serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}

.awdh-card-title a {
  color: var(--ink, #111827);
  text-decoration: none;
}

.awdh-card-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.awdh-card-title a:focus-visible {
  outline: none;
}

.awdh-card:hover .awdh-card-title a {
  color: var(--coral-text, #c2413f);
}

.awdh-card-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--awdh-soft-ink);
}

.awdh-faq-list {
  max-width: 820px;
  border-top: 1px solid var(--awdh-line);
}

.awdh-faq-item {
  border-bottom: 1px solid var(--awdh-line);
}

.awdh-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink, #111827);
}

.awdh-faq-item summary::-webkit-details-marker {
  display: none;
}

.awdh-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral-text, #c2413f);
}

.awdh-faq-item[open] summary::after {
  content: "\2212";
}

.awdh-faq-item summary:focus-visible {
  outline: 3px solid var(--ink, #111827);
  outline-offset: 2px;
}

.awdh-faq-item p {
  margin: 0 0 20px;
  color: var(--awdh-soft-ink);
  line-height: 1.7;
  max-width: 720px;
}

.awdh-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.awdh-related-list a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--ink, #111827);
  border-radius: 999px;
  color: var(--ink, #111827);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.awdh-related-list a:hover {
  background: var(--ink, #111827);
  color: #ffffff;
}

.awdh-related-list a:focus-visible {
  outline: 3px solid var(--ink, #111827);
  outline-offset: 2px;
}

@media (max-width: 1080px) {
  .awdh-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .awdh-hero {
    grid-template-columns: 1fr;
  }

  .awdh-hero-media {
    order: -1;
    aspect-ratio: 16 / 10;
  }

  .awdh-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .awdh-card {
    flex-direction: row;
  }

  .awdh-card-media {
    flex: 0 0 38%;
    aspect-ratio: auto;
  }

  .awdh-card-body {
    padding: 14px 16px;
  }

  .awdh-card-desc {
    font-size: 0.9rem;
  }
}

@media (max-width: 640px) {
  .awdh-table-wrap {
    border: 0;
    overflow: visible;
  }

  .awdh-table {
    min-width: 0;
  }

  .awdh-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .awdh-table tbody,
  .awdh-table tr,
  .awdh-table th,
  .awdh-table td {
    display: block;
  }

  .awdh-table tr {
    border: 1px solid var(--awdh-line);
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
  }

  .awdh-table th,
  .awdh-table td {
    padding: 4px 0;
    border: 0;
  }

  .awdh-table tbody th {
    font-size: 1.02rem;
    margin-bottom: 4px;
  }

  .awdh-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6b7280;
    margin-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awdh-card,
  .awdh-card-media img,
  .awdh-toc a,
  .awdh-related-list a {
    transition: none;
  }

  .awdh-card:hover {
    transform: none;
  }

  .awdh-card:hover .awdh-card-media img {
    transform: none;
  }
}
