:root {
  --bg: #ffffff;
  --card: #ffffff;
  --primary: #17332d;
  --accent: #e4f222;
  --text: #17332d;
  --muted: #4d6761;
  --line: #e8ebef;
  --chip: #f4f7e8;
  --hushed: #6b7c78;
  --black-100: #e8e8e8;
  --black-25: #f7f7f7;
  --font-body: Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

main.container {
  padding-top: 26px;
}

.topbar {
  background: var(--bg);
}

.topbar-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.logo {
  flex-shrink: 0;
}

.brand-word {
  color: var(--accent);
  font-weight: 600;
}

.logo {
  align-items: center;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  text-decoration: none;
  color: var(--primary);
}

.logo::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-radius: 50%;
  background: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.nav-btn--outline {
  background: transparent;
  color: var(--primary);
}

.nav-btn--outline:hover {
  background: var(--black-25);
}

.nav-btn--solid {
  background: var(--accent);
  color: var(--primary);
}

.nav-btn--solid:hover {
  opacity: 0.92;
}

.nav-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 51, 45, 0.15);
}

.search {
  margin-left: auto;
  width: 260px;
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  color: #99a1ab;
  font-size: 13px;
}

.site-hero {
  width: 100%;
  background: var(--bg);
}

.site-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-content: space-between;
  gap: 32px;
  padding-top: 24px;
  padding-bottom: 32px;
}

.site-title {
  margin: 24px 0 0;
  line-height: 1;
}

.site-title-word {
  display: inline-block;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  color: var(--primary);
}

.site-title-tail {
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.site-desc {
  margin: 0;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--hushed);
}

.site-hero-actions {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  align-self: flex-end;
}

.site-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  background: transparent;
  color: var(--primary);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-hero-actions .btn:focus {
  border-color: #000;
  outline: none;
}

.site-hero-actions .btn:hover {
  background: var(--black-25);
}

.btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.btn-label {
  color: var(--hushed);
}

.btn-categories {
  justify-content: center;
  width: 100%;
  padding: 0 32px;
  font-size: 14px;
}

.categories-btn-wrap {
  display: none;
}

@media (min-width: 990px) {
  .site-hero-inner {
    grid-template-columns: 1fr 260px;
  }

  .site-title {
    grid-column: 1;
    grid-row: 1;
  }

  .site-hero-actions {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    justify-self: end;
    align-self: end;
  }

  .site-desc {
    grid-column: 1;
    grid-row: 2;
  }

  .categories-btn-wrap {
    display: block;
  }

  .btn-search {
    width: 52px;
    height: 52px;
    min-height: 52px;
    justify-content: center;
    padding: 0;
  }

  .btn-categories {
    height: 52px;
    min-height: 52px;
    width: auto;
    padding: 0 32px;
  }

  .btn-search .btn-label {
    display: none;
  }
}

.featured-hero {
  width: 100%;
  margin-bottom: 24px;
}

.hero-card {
  background: var(--bg);
  border: none;
  border-radius: 0;
}

.hero-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.hero-card-link:hover {
  opacity: 0.92;
}

.hero-card-link:hover .hero-title {
  color: var(--primary);
}

.hero-card-link:focus {
  outline: none;
}

.hero-card-link:focus-visible .hero-image {
  box-shadow: 0 0 0 3px rgba(23, 51, 45, 0.2);
}

.hero-media {
  margin: 0 auto;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 8px;
}

.hero-left {
  align-self: start;
}

.hero-right {
  display: flex;
  align-items: center;
  align-self: center;
}

.hero-date {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.hero-title {
  margin: 12px 0 0;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.section {
  padding: 18px 0 6px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: 22px;
  margin: 0;
}

.latest-section {
  padding-top: 8px;
  padding-bottom: 24px;
}

.latest-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--primary);
}

.latest-tabs {
  margin-top: 24px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.filter-btn {
  border: 1px solid var(--black-100);
  background: transparent;
  color: var(--hushed);
  border-radius: 26px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  background: var(--black-25);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  cursor: default;
}

.latest-panel {
  margin-top: 24px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-decoration: none;
  color: inherit;
}

.card:hover .card-title span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.card-media {
  overflow: hidden;
  border-radius: 12px;
}

.card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 533px;
}

.card-heading {
  display: flex;
  flex-direction: column;
}

.card-tag {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hushed);
}

.card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--primary);
}

.card-title span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--hushed);
  text-wrap: balance;
}

.card-desc span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.page-btn,
.page-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-btn:hover:not(:disabled):not(.active),
.page-arrow:hover:not(:disabled) {
  background: var(--black-25);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  cursor: default;
}

.page-btn:disabled,
.page-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.page-arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}

.page-ellipsis {
  pointer-events: none;
}

footer,
.site-footer {
  margin-top: 0;
  padding: 48px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  background: #161616;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.logo--footer {
  font-size: 1.25rem;
}

.footer-tagline {
  margin: 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-address {
  line-height: 1.65;
}

.footer-legal p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding: 20px 0 36px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.page-main {
  padding: 48px 0 64px;
}

.page-content {
  max-width: 720px;
}

.page-title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--primary);
}

.page-lead {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--hushed);
}

.page-content p {
  margin: 0 0 16px;
  line-height: 1.65;
  color: var(--muted);
}

.page-meta {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--hushed);
}

.legal-content h2 {
  margin: 32px 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.legal-content li + li {
  margin-top: 6px;
}

.legal-content a {
  color: var(--primary);
  font-weight: 500;
}

.about-section {
  margin-top: 40px;
}

.about-section h2 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.about-list {
  margin: 0 0 16px;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.about-list li + li {
  margin-top: 6px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 36px 0;
}

.about-pillar {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--black-25);
}

.about-pillar h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

.about-pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.about-page a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.about-page a:hover {
  text-decoration: underline;
}

.about-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}

.about-cta-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.about-cta h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.about-cta p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--primary) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.about-cta-btn:hover {
  opacity: 0.92;
  text-decoration: none !important;
}

@media (min-width: 768px) {
  .about-pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.contact-page {
  max-width: 1040px;
}

.contact-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.contact-section-title {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.form-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
  color: #99a1ab;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 51, 45, 0.1);
}

.form-input--error {
  border-color: #e07070;
}

.form-input--error:focus {
  box-shadow: 0 0 0 3px rgba(224, 112, 112, 0.15);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-start;
  min-height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--primary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.contact-submit:hover {
  opacity: 0.92;
}

.contact-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23, 51, 45, 0.15);
}

.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.form-feedback--success {
  color: var(--primary);
  background: var(--chip);
  border: 1px solid rgba(23, 51, 45, 0.12);
}

.form-feedback--success .form-feedback-icon {
  color: var(--primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.form-feedback--error {
  color: #b54545;
  background: #fff5f5;
  border: 1px solid rgba(224, 112, 112, 0.35);
}

.form-feedback--error .form-feedback-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
}

.form-feedback-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.form-feedback-text {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.9;
}

.contact-info {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--black-25);
}

.contact-details {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-detail {
  margin: 0;
}

.contact-detail dt {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hushed);
}

.contact-detail dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.contact-detail a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.4fr;
    gap: 40px;
    align-items: start;
  }

  .footer-bottom {
    text-align: left;
  }
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter {
  background: var(--primary);
  padding: 48px 0 0;
  border-radius: 40px 0 0 0;
}

.newsletter-inner {
  max-width: 1536px;
  margin: 0 auto;
  width: 100%;
}

.newsletter-layout {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px 24px;
}

.newsletter-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px 48px;
}

.newsletter-copy {
  width: 100%;
  max-width: 540px;
}

.newsletter-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.newsletter-form {
  margin-top: 24px;
  width: 100%;
  max-width: 500px;
}

.newsletter-field {
  display: flex;
  width: 100%;
  max-width: 500px;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.newsletter-input {
  width: 100%;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 15px;
  text-align: center;
  padding: 0 16px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-submit {
  min-width: 144px;
  height: 42px;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: var(--primary);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.newsletter-submit:hover {
  opacity: 0.92;
}

.newsletter-submit:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.newsletter-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.newsletter-field--error {
  border-color: rgba(255, 138, 138, 0.65) !important;
}

.newsletter-field--error .newsletter-input {
  border-color: rgba(255, 138, 138, 0.65);
}

.newsletter-feedback {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  text-align: left;
}

.newsletter-feedback[hidden] {
  display: none;
}

.newsletter-feedback-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background-color: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.newsletter-feedback--success {
  color: var(--accent);
  background: rgba(228, 242, 34, 0.1);
  border: 1px solid rgba(228, 242, 34, 0.35);
}

.newsletter-feedback--success .newsletter-feedback-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.newsletter-feedback--error {
  color: #ffb4b4;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 138, 138, 0.4);
}

.newsletter-feedback--error .newsletter-feedback-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5'/%3E%3Cpath d='M12 16h.01'/%3E%3C/svg%3E");
}

.newsletter-feedback-content {
  min-width: 0;
}

.newsletter-feedback-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.newsletter-feedback-text {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.9;
}

.newsletter-feedback--success .newsletter-feedback-text {
  color: rgba(255, 255, 255, 0.82);
}

.newsletter-feedback--error .newsletter-feedback-text {
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-media {
  position: relative;
  width: 100%;
}

.newsletter-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 40px 0 0 0;
}

@media (min-width: 1024px) {
  .newsletter {
    padding-bottom: 0;
  }

  .newsletter-layout {
    flex-direction: row;
    align-items: stretch;
    gap: 24px;
  }

  .newsletter-content {
    width: 50%;
    align-items: flex-start;
    padding: 64px 40px 64px 48px;
  }

  .newsletter-title {
    text-align: left;
  }

  .newsletter-field {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    transition: border-color 0.15s ease;
  }

  .newsletter-field:focus-within {
    border-color: rgba(255, 255, 255, 0.45);
  }

  .newsletter-input {
    flex: 1;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: transparent;
    text-align: left;
    padding: 0 20px 0 24px;
  }

  .newsletter-input:focus {
    background: transparent;
    border: none;
  }

  .newsletter-submit {
    flex-shrink: 0;
    height: 51px;
    padding: 0 20px;
    border-radius: 6px;
  }

  .newsletter-hint {
    text-align: left;
  }

  .newsletter-feedback {
    max-width: 500px;
  }

  .newsletter-media {
    width: 50%;
  }

  .newsletter-image {
    min-height: 100%;
    max-height: 520px;
  }
}

@media (min-width: 1280px) {
  .newsletter-content {
    padding-left: 60px;
    padding-right: 40px;
  }
}

.search-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
}

.search-dialog[hidden] {
  display: none;
}

.search-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 51, 45, 0.35);
}

.search-dialog-panel {
  position: relative;
  width: min(640px, 100%);
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.search-dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.search-dialog-label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.search-dialog-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--black-100);
  border-radius: 8px;
  padding: 10px 12px;
}

.search-dialog-field:focus-within {
  border-color: var(--primary);
}

.search-dialog-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: var(--hushed);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-dialog-input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  color: var(--primary);
  background: transparent;
}

.search-dialog-input::placeholder {
  color: var(--hushed);
}

.search-dialog-close {
  flex-shrink: 0;
  border: none;
  background: transparent;
  color: var(--hushed);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  margin: -4px;
}

.search-dialog-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--hushed);
}

.search-dialog-form {
  margin: 0;
}

.search-dialog-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.search-dialog-submit {
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 14px;
  padding: 10px 20px;
  cursor: pointer;
}

.search-dialog-submit:hover {
  opacity: 0.92;
}

.search-results {
  margin-top: 16px;
  border-top: 1px solid var(--black-100);
  padding-top: 16px;
}

.search-results[hidden] {
  display: none;
}

.search-results-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow-y: auto;
}

.search-results-item {
  margin: 0;
}

.search-results-link {
  display: block;
  width: 100%;
  border: 1px solid var(--black-100);
  border-radius: 8px;
  background: transparent;
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.search-results-link:hover {
  background: var(--black-25);
}

.search-results-link strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.search-results-link span {
  display: block;
  font-size: 13px;
  color: var(--hushed);
}

.search-results-empty {
  margin: 0;
  font-size: 14px;
  color: var(--hushed);
}

.grid-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0;
  text-align: center;
  color: var(--hushed);
  font-size: 15px;
}

@media (min-width: 768px) {
  .latest-tabs {
    margin-top: 40px;
  }

  .latest-panel {
    margin-top: 40px;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 990px) {
  .nav-btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .site-hero-inner {
    padding-top: 20px;
    padding-bottom: 28px;
  }

  .site-title {
    font-size: 2.25rem;
  }

  .search {
    display: none;
  }

  .featured-hero .hero-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 20px;
  }

  .featured-hero .hero-title {
    font-size: 26px;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Article page */
.article-page {
  padding-bottom: 64px;
}

.article-header {
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 28px;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--hushed);
}

.article-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.article-tag {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}

.article-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--primary);
}

.article-dek {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--hushed);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.article-meta-dot {
  color: var(--hushed);
}

.article-cover {
  max-width: 720px;
  margin: 0 auto 40px;
}

.article-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-prose {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.article-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
}

.article-prose p {
  margin: 0 0 20px;
}

.article-prose h2 {
  margin: 40px 0 16px;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--primary);
}

.article-prose h3 {
  margin: 28px 0 12px;
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 600;
  color: var(--primary);
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 20px;
  padding-left: 1.35rem;
}

.article-prose li + li {
  margin-top: 8px;
}

.article-prose strong {
  font-weight: 600;
  color: var(--text);
}

.article-prose em {
  font-style: italic;
}

.article-callout {
  margin: 32px 0;
  padding: 20px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--chip);
}

.article-callout-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.article-callout p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

.article-table-wrap {
  margin: 24px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.article-table th,
.article-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.article-table th {
  font-weight: 600;
  color: var(--primary);
  background: var(--black-25);
}

.article-table tr:last-child td {
  border-bottom: none;
}

.article-table td:first-child {
  font-weight: 500;
  color: var(--text);
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
}

.article-cta-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.article-cta h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.article-cta p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--primary) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.article-cta-btn:hover {
  opacity: 0.92;
}

.article-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.article-back:hover {
  text-decoration: underline;
}

.article-inline-figure {
  margin: 28px 0;
}
.article-inline-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}
.article-inline-figure figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--hushed);
  text-align: center;
}
