html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f3f4f6;
}

body {
  line-height: 1.6;
}

a {
  color: #e56717;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 0.5rem 1rem;
  background: #111827;
  color: #ffffff;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(243, 244, 246, 0.9);
  border-bottom: 1px solid rgba(209, 213, 219, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
}

.brand {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.brand-accent {
  color: #e56717;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  color: #374151;
  padding: 0.25rem 0;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #e56717;
  transition: width 0.18s ease-out;
}

.site-nav a:focus-visible,
.site-nav a:hover {
  outline: none;
  color: #111827;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(156, 163, 175, 0.9);
  border-radius: 999px;
  background: #f9fafb;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  position: relative;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 4px;
}

.nav-toggle:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.site-main {
  padding: 2.5rem 0 3.5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  padding: 2.25rem 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fdfcfb, #e8edf3);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  margin-bottom: 2.75rem;
}

.hero h1 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.9rem;
}

.hero-lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero-meta {
  border-left: 1px solid rgba(209, 213, 219, 0.9);
  padding-left: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-meta-title {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b7280;
}

.hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  background: #111827;
  color: #f9fafb;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.3rem;
}

.section-head p {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
}

.latest-articles {
  margin-bottom: 2.5rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.article-card {
  border-radius: 16px;
  background: #fdfdfd;
  display: flex;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.article-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2.2fr);
  width: 100%;
  color: inherit;
}

.article-card-link:hover {
  text-decoration: none;
}

.article-card-link:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 4px;
}

.article-card-media {
  background: #e5e7eb;
  background-size: cover;
  background-position: center;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-card-body {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.articles-grid .article-card:nth-child(1) .article-card-media {
  background-image: url("/assets/img/img1.jpg");
}

.articles-grid .article-card:nth-child(2) .article-card-media {
  background-image: url("/assets/img/img2.jpg");
}

.articles-grid .article-card:nth-child(3) .article-card-media {
  background-image: url("/assets/img/img3.jpg");
}

.articles-grid .article-card:nth-child(4) .article-card-media {
  background-image: url("/assets/img/img4.jpg");
}

.articles-grid .article-card:nth-child(5) .article-card-media {
  background-image: url("/assets/img/img5.jpg");
}

.article-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.article-card-meta {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
}

.about-editorial {
  padding: 1.75rem 1.75rem 1.9rem;
  border-radius: 16px;
  background: #111827;
  color: #e5e7eb;
}

.about-editorial .section-head p {
  color: #9ca3af;
}

.about-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
}

.site-footer {
  border-top: 1px solid rgba(209, 213, 219, 0.8);
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 1.75rem 0.5rem 2.25rem;
  font-size: 0.9rem;
}

.footer-meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-copy {
  margin: 0.5rem 0 0;
  color: #6b7280;
}

.footer-meta a {
  color: #111827;
}

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

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 1.2fr);
  gap: 2.5rem;
}

.page-main {
  background: #fdfdfd;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  padding: 1.9rem 2rem 2rem;
}

.page-aside {
  align-self: flex-start;
  position: sticky;
  top: 5.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.page-aside-block {
  background: #111827;
  color: #e5e7eb;
  border-radius: 14px;
  padding: 1.1rem 1.2rem 1.3rem;
  font-size: 0.9rem;
}

.page-aside-block h2 {
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-aside-block ul {
  margin: 0;
  padding-left: 1.1rem;
}

.page-meta {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
}

.page-meta strong {
  color: #374151;
}

.article-content h1 {
  font-size: 1.7rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.article-content h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.article-content h3 {
  font-size: 1.05rem;
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
}

.article-content p {
  margin: 0.5rem 0;
}

.article-content ul,
.article-content ol {
  margin: 0.4rem 0 0.9rem;
  padding-left: 1.2rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0 1.2rem;
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  border: 1px solid #e5e7eb;
  padding: 0.45rem 0.5rem;
  text-align: left;
}

.article-content th {
  background: #f3f4f6;
}

.article-faq {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.article-faq h2 {
  margin-top: 0;
}

.article-faq-item + .article-faq-item {
  margin-top: 0.75rem;
}

.article-faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.article-faq-item summary:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

.article-faq-item p {
  margin-top: 0.35rem;
}

.article-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.article-related-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.article-related-list li + li {
  margin-top: 0.3rem;
}

.article-cta {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 12px;
  background: #fffbeb;
  border: 1px solid #fbbf24;
  font-size: 0.95rem;
}

.article-hero {
  margin: 0 0 1rem;
}

.article-hero img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.page-main h1,
.page-main h2,
.page-main h3 {
  scroll-margin-top: 5.5rem;
}

.page-title {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
}

.page-subtitle {
  margin-top: 0;
  margin-bottom: 1.4rem;
  color: #6b7280;
}

.legal-section + .legal-section {
  margin-top: 1.5rem;
}

.legal-section h2 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.legal-section p {
  margin: 0.4rem 0;
}

*:focus-visible {
  outline: 2px solid #111827;
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.75rem 1.5rem;
  }

  .hero-meta {
    border-left: none;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
    padding-left: 0;
    padding-top: 1.5rem;
  }

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

  .page-aside {
    position: static;
  }

  .article-card-link {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-card-media {
    height: 180px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.65rem 0.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset: 56px 0 auto;
    padding: 0.75rem 1.5rem 1.1rem;
    background: rgba(243, 244, 246, 0.98);
    border-bottom: 1px solid rgba(209, 213, 219, 0.9);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  }

  .site-header.is-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-main {
    padding: 2rem 0 3rem;
  }

  .hero {
    margin-bottom: 2.25rem;
  }

  .about-editorial {
    padding-inline: 1.5rem;
  }

  .about-editorial-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-meta {
    text-align: left;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
