:root {
  --peach: #ece7e3;
  --sky: #e8edf3;
  --mint: #f5f7f9;
  --ink: #1d2735;
  --white: #ffffff;
  --accent: #8d5a4a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  min-height: 100vh;
}

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

header {
  padding: 14px 0 12px;
  background: var(--white);
  border-bottom: 1px solid #e7edf3;
  z-index: 10;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  color: var(--ink);
  text-decoration: none;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pulse-mark {
  display: inline-flex;
  align-items: center;
}

.pulse-mark svg {
  width: 28px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.main-nav a {
  color: #3e4b5e;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 2px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  border-bottom-color: #bdcddd;
}

.main-nav .nav-cta {
  border: 1px solid #d6deea;
  color: #2c3d52;
  padding: 6px 10px;
  border-radius: 2px;
  background: transparent;
}

.main-nav .nav-cta:hover {
  background: #f5f8fc;
  border-bottom-color: transparent;
}

.topics-bar {
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  background: #fafcfe;
}

.topics-wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 38px;
}

.topics-wrap a {
  text-decoration: none;
  color: #4c5b70;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.topics-wrap a:first-child {
  color: var(--accent);
}

.hero {
  padding: 26px 0 24px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 16px;
  align-items: start;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 4px;
  background: #f0f4f8;
  color: #415066;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  font-weight: 700;
}

.featured-card {
  background: var(--white);
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.featured-body {
  padding: 18px 18px 20px;
}

h1 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.subtitle {
  max-width: 720px;
  color: #4d5d73;
  font-size: 1.03rem;
}

.featured-link {
  color: inherit;
  text-decoration: none;
}

.featured-link:hover {
  text-decoration: underline;
}

.recent-list {
  background: var(--white);
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  padding: 16px;
}

.recent-list h3 {
  margin-bottom: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #526177;
}

.recent-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid #e2ebf3;
}

.recent-item + .recent-item {
  margin-top: 10px;
}

.recent-item img {
  width: 86px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
}

.recent-item p {
  font-size: 0.92rem;
  color: #4d5d73;
  line-height: 1.35;
}

.recent-link {
  color: inherit;
  text-decoration: none;
}

.recent-link:hover {
  text-decoration: underline;
}

.home-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.extra-card {
  background: var(--white);
  border: 1px solid #d7e8f6;
  border-radius: 6px;
  padding: 16px;
}

.extra-card h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

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

.tag-chip {
  border: 1px solid #dce7f2;
  background: #f5f9fd;
  color: #4d5d73;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 0.82rem;
}

.most-read-list {
  padding-left: 18px;
}

.most-read-list li {
  color: #50617b;
  margin-bottom: 8px;
  font-size: 0.93rem;
}

.newsletter-card p {
  color: #50617b;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.newsletter-section {
  margin: 8px 0 28px;
}

.newsletter-section .newsletter-card {
  max-width: 760px;
  margin: 0 auto;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  width: 100%;
  border: 1px solid #dce7f2;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
}

.newsletter-form button {
  border: 1px solid #c9dff2;
  background: var(--sky);
  color: var(--ink);
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #cde4f6;
}

.section-title {
  margin: 36px 0 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #55667d;
  border-top: 2px solid #e5ebf2;
  padding-top: 10px;
}

.category {
  margin-bottom: 36px;
}

.category-head {
  margin-bottom: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: none;
}

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

.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: transform 0.2s ease;
}

.card-anchor {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.card-body {
  padding: 12px 2px 6px;
}

.meta {
  font-size: 0.74rem;
  color: #7a899d;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.card h3,
.card-title {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
  margin-bottom: 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.card p {
  color: #50617b;
  font-size: 0.95rem;
  line-height: 1.55;
}

.card:hover .card-title {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid #e7edf3;
  margin-top: 36px;
  padding: 24px 0 30px;
  background: #fafbfd;
}

.footer-content {
  color: #64758b;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.footer-links a,
.footer-info a {
  color: #4d5d73;
  text-decoration: none;
}

.footer-links a:hover,
.footer-info a:hover {
  text-decoration: underline;
}

.footer-info p {
  margin-bottom: 4px;
}

.footer-copy {
  margin-top: 10px;
  color: #7a8aa0;
}

/* About page */
.page-wrap {
  width: min(860px, 92%);
  margin: 28px auto 44px;
}

.page-title {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin-bottom: 12px;
  color: #1d2735;
}

.page-intro {
  font-size: 1.04rem;
  color: #4c5b70;
  margin-bottom: 28px;
  max-width: 70ch;
}

.about-block {
  border-top: 1px solid #e6ecf2;
  padding-top: 18px;
  margin-top: 18px;
}

.about-block h2 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #596981;
  margin-bottom: 10px;
}

.about-block p {
  color: #2a3547;
  line-height: 1.75;
  margin-bottom: 10px;
}

/* Contact page */
.contact-page {
  width: min(980px, 92%);
  margin: 28px auto 44px;
}

.contact-title {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin-bottom: 10px;
  color: #1d2735;
}

.contact-intro {
  color: #4c5b70;
  max-width: 68ch;
  margin-bottom: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.panel {
  border: 1px solid #e3e8ef;
  border-radius: 6px;
  background: #fff;
  padding: 18px;
}

.panel h2 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #596981;
  margin-bottom: 12px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-size: 0.9rem;
  color: #2c3a4f;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dce5ef;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
  color: #1d2735;
  background: #fff;
  margin-top: 6px;
}

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

.contact-form button {
  width: fit-content;
  border: 1px solid #d3ddea;
  border-radius: 4px;
  background: #f4f7fb;
  color: #2b3a50;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #eaf0f7;
}

.contact-info p {
  margin-bottom: 8px;
  color: #2a3547;
  line-height: 1.6;
}

.contact-info a,
.legal-section a {
  color: #8d5a4a;
  text-decoration: none;
}

.contact-info a:hover,
.legal-section a:hover {
  text-decoration: underline;
}

/* Legal pages */
.legal-page {
  width: min(900px, 92%);
  margin: 28px auto 44px;
}

.legal-title {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  line-height: 1.06;
  margin-bottom: 8px;
  color: #1d2735;
}

.legal-meta {
  color: #617289;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.legal-section {
  border-top: 1px solid #e6ecf2;
  padding-top: 16px;
  margin-top: 16px;
}

.legal-section h2 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #596981;
  margin-bottom: 10px;
}

.legal-section p,
.legal-section li {
  color: #2a3547;
  line-height: 1.72;
  margin-bottom: 8px;
}

.legal-section ul {
  padding-left: 18px;
  margin: 6px 0;
}

/* Article pages */
.article-page {
  width: min(860px, 92%);
  margin: 28px auto 44px;
}

.article-back {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
  color: #4c5b70;
  font-size: 0.9rem;
}

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

.article-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #596981;
  margin-bottom: 8px;
}

.article-title {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  margin-bottom: 10px;
  color: #1d2735;
}

.article-lead {
  color: #4c5b70;
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.article-hero {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 18px;
  object-fit: cover;
}

.article-content h2 {
  margin: 18px 0 8px;
  font-size: 1.1rem;
  color: #243041;
}

.article-content p,
.article-content li {
  color: #2a3547;
  line-height: 1.75;
  margin-bottom: 10px;
}

.article-content ul {
  padding-left: 20px;
  margin-bottom: 8px;
}

.article-media {
  margin: 16px 0;
}

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

.article-media figcaption {
  margin-top: 6px;
  font-size: 0.82rem;
  color: #677990;
}

.more-articles {
  margin-top: 24px;
  border-top: 1px solid #e6ecf2;
  padding-top: 14px;
}

.more-articles h2 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #596981;
  margin-bottom: 10px;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.more-item {
  border: 1px solid #e4eaf1;
  border-radius: 6px;
  padding: 0;
  text-decoration: none;
  color: #2a3547;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow: hidden;
  display: block;
}

.more-item:hover {
  border-color: #d4dee9;
  background: #fafcff;
}

.more-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.more-item span {
  display: block;
  padding: 10px;
  font-weight: 600;
}

.more-item .more-desc {
  display: block;
  padding: 0 10px 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #6f8095;
}

.more-item:hover span {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .featured-card img {
    height: 240px;
  }

  .home-extras {
    grid-template-columns: 1fr 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  .topics-wrap {
    flex-wrap: wrap;
    gap: 12px;
    padding: 8px 0;
  }

  .featured-card img {
    height: 210px;
  }

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

  .home-extras {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .card img {
    aspect-ratio: 16 / 10;
  }
}
