@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/PlayfairDisplay-VariableFont_wght.ttf);
  font-display: swap;
}

:root {
  --primary: #0b2b26;
  --primary-light: #1a4d47;
  --accent: #c9a84c;
  --accent-hover: #b3923f;
  --bg-light: #f9f7f4;
  --white: #ffffff;
  --text-main: #2b2b2b;
  --text-muted: #555555;
  --border: #d6d6d6;
  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow: 0 8px 24px rgba(0,0,0,0.06);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.4rem;
  font-family: var(--font-heading);
}

.logo img {
  width: 50px;
  height: 50px;
}

.header-notice {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: auto;
  margin-right: 24px;
  padding: 6px 12px;
  background: var(--bg-light);
  border-radius: 20px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav__link {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: 0.3s;
}

.nav-toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle--active span:nth-child(2) { opacity: 0; }
.nav-toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb__list {
  display: flex;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb__list li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: var(--border);
}

.breadcrumb__list li[aria-current] {
  color: var(--primary);
  font-weight: 600;
}

.article-header {
  background: var(--white);
  padding: 48px 0 32px;
}
.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 14px;
}

.article-header__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-header__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.avatar--small {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.article-header__author-name {
  font-weight: 600;
  display: block;
  color: var(--primary);
}

.article-header__author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-header__date {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-hero-image {
  background: var(--white);
  padding-bottom: 32px;
}

.article-hero-image__figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-hero-image__figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 7;
}

.article-hero-image__figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 16px;
  background: #f0f0f0;
  text-align: center;
}

.article-content.section {
  padding: 48px 0 64px;
  background: var(--bg-light);
}

.article-content__layout {
  display: grid;
  grid-template-columns: 60px 1fr 280px;
  gap: 40px;
  align-items: start;
}

.share-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.share-bar__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.share-bar__btn {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  transition: all var(--transition);
}

.share-bar__btn:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.article-body {
  font-size: 1rem;
  color: var(--text-main);
}

.article-body__lead p {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
}

.article-callout {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
}

.article-callout h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: 14px;
}

.article-callout__list {
  list-style: none;
  padding-left: 0;
}

.article-callout__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.article-callout__list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin: 36px 0 14px;
  scroll-margin-top: 90px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-light);
  margin: 28px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-figure {
  margin: 32px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.article-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 16px;
  background: #f8f8f8;
  text-align: center;
}

.article-blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  border-left: 4px solid var(--accent);
  background: var(--white);
  font-style: italic;
  font-size: 1.1rem;
}

.article-blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-style: normal;
  color: var(--text-muted);
}

.accordion {
  margin-top: 16px;
}

.accordion__item {
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--primary);
}

.accordion__header::-webkit-details-marker {
  display: none;
}

.accordion__icon {
  font-size: 0.9rem;
  transition: transform 0.2s;
}

details[open] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__body {
  padding-top: 10px;
  color: var(--text-main);
}

.lead-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  margin: 48px 0;
  text-align: center;
}

.lead-form__icon i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead-form__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.lead-form__desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.lead-form__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lead-form__row {
  display: flex;
  gap: 16px;
}

.lead-form__field {
  flex: 1;
  text-align: left;
}

.lead-form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
}

.lead-form__req {
  color: var(--accent);
}

input, select, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fcfcfc;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.1s;
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-hover);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--primary-light);
}

.btn--block {
  width: 100%;
}

.lead-form__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.comments__container {
  margin-top: 48px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comment {
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.comment__body {
  flex: 1;
}

.comment__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.comment__author {
  font-weight: 600;
  color: var(--primary);
}

.comment__date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comment__actions {
  margin-top: 10px;
  display: flex;
  gap: 16px;
}

.comment__actions a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
}

.sidebar {
  position: sticky;
  top: 90px;
}

.sidebar__widget {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.sidebar__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.sidebar__widget--cta {
  background: var(--primary);
  color: var(--white);
}

.sidebar__title--light {
  color: var(--white);
}

.toc-list {
  list-style: none;
  padding-left: 0;
}

.toc-list__link {
  display: block;
  padding: 6px 0;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid #eee;
}

.toc-list__link:hover {
  color: var(--accent);
}

.newsletter {
  background: var(--primary);
  color: var(--white);
  padding: 56px 0;
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.newsletter__text {
  opacity: 0.9;
  font-size: 1rem;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  min-width: 340px;
}

.newsletter__input {
  flex: 1;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
}

.newsletter__input::placeholder {
  color: rgba(255,255,255,0.7);
}

.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand {
  max-width: 480px;
}

.footer__tagline {
  font-size: 0.9rem;
  margin: 12px 0 10px;
  line-height: 1.5;
  opacity: 0.85;
}

.footer__address {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col h4 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
}

.footer__col li {
  margin-bottom: 8px;
}

.footer__col a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer__disclaimer {
  margin-top: 16px;
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.5;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.legal-content h1 {
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.legal-content h2 {
  font-size: 1.8rem;
  color: var(--primary);
  font-family: var(--font-heading);
}

.legal-content h3 {
  font-size: 1.4rem;
  color: var(--primary-light);
  font-family: var(--font-heading);
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

@media (max-width: 992px) {
  .article-content__layout {
    grid-template-columns: 1fr;
  }

  .share-bar {
    display: none;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .newsletter__inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter__form {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .header__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 24px;
  }

  .header-notice {
    display: none;
  }

  .nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--white);
    padding: 16px 0;
  }

  .nav__list--open {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .lead-form__row {
    flex-direction: column;
  }

  .footer__top {
    flex-direction: column;
  }

  .sidebar {
    grid-template-columns: 1fr;
  }
}