:root {
  --clr-primary: #1a56db;
  --clr-primary-hover: #1e40af;
  --clr-bg: #fdfbf7;
  --clr-white: #ffffff;
  --clr-dark: #111827;
  --clr-gray: #4b5563;
  --clr-light-gray: #f3f4f6;
  --clr-border: #e5e7eb;
  --clr-accent: #f59e0b;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

.site-header {
  background: var(--clr-white);
  border-bottom: 1px solid var(--clr-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--clr-dark);
}

.logo img {
  border-radius: 6px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.desktop-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-gray);
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--clr-primary);
}

.subscribe-btn {
  background: var(--clr-primary);
  color: var(--clr-white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: background 0.2s;
}

.subscribe-btn:hover {
  background: var(--clr-primary-hover);
}

.header-notice {
  font-size: 0.7rem;
  color: var(--clr-gray);
  max-width: 150px;
  text-align: right;
  line-height: 1.3;
  margin-left: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--clr-gray);
}

.mobile-menu {
  border-top: 1px solid var(--clr-border);
  background: var(--clr-white);
  padding: 1rem 1.5rem;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mobile-menu a {
  font-weight: 500;
  padding: 0.4rem 0;
}

.mobile-menu .subscribe-link {
  color: var(--clr-primary);
  font-weight: 600;
}

.sponsored-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 0.3rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #92400e;
}

.main-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--clr-primary);
  font-weight: 500;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--clr-primary-hover);
}

.meta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tag {
  background: #ede9fe;
  color: #5b21b6;
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.date {
  font-size: 0.85rem;
  color: #9ca3af;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--clr-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.article-lead {
  font-size: 1.25rem;
  color: var(--clr-gray);
  line-height: 1.7;
  border-left: 4px solid var(--clr-primary);
  padding-left: 1.5rem;
  margin-bottom: 2.5rem;
}

.featured-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-md);
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-dark);
  margin: 2.5rem 0 1rem;
}

.article-body p {
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.editorial-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
  font-size: 0.85rem;
  color: #9ca3af;
}

.contact-form-section {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--clr-border);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-description {
  color: var(--clr-gray);
  margin-bottom: 2rem;
}

.form-row {
  margin-bottom: 1rem;
  text-align: left;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 2px rgba(26, 86, 219, 0.2);
}

.form-row textarea {
  height: 100px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-gray);
}

.checkbox-row input {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-row a {
  color: var(--clr-primary);
  text-decoration: underline;
}

.submit-btn {
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: var(--clr-primary-hover);
}

.form-success {
  text-align: center;
  padding: 1.5rem 0;
}

.form-success i {
  font-size: 3rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--clr-dark);
  font-weight: 500;
}

.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-branding .logo {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-branding .logo a {
  color: var(--clr-white);
}

.footer-branding p {
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-nav a {
  color: #9ca3af;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--clr-white);
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.disclaimer p {
  color: #9ca3af;
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.copyright p {
  color: #9ca3af;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #030712;
  border-top: 1px solid #1f2937;
  padding: 1.2rem 1.5rem;
  z-index: 55;
}

.cookie-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  color: #d1d5db;
  font-size: 0.85rem;
}

.cookie-banner a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  background: #374151;
  color: var(--clr-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn:hover {
  background: #4b5563;
}

.accept-btn {
  background: var(--clr-primary);
}

.accept-btn:hover {
  background: var(--clr-primary-hover);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 55;
}

.modal-dialog {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 65;
}

.modal-dialog h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.modal-dialog p {
  color: var(--clr-gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: var(--clr-light-gray);
  padding: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.cookie-option strong {
  display: block;
  font-size: 0.9rem;
}

.cookie-option span {
  font-size: 0.8rem;
  color: var(--clr-gray);
}

.modal-actions {
  display: flex;
  gap: 0.8rem;
}

.save-btn {
  flex: 1;
  background: #111827;
  color: var(--clr-white);
  border: none;
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.accept-all-btn {
  flex: 1;
  background: var(--clr-primary);
  color: var(--clr-white);
  border: none;
  padding: 0.7rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--clr-dark);
}

.legal-content h2 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--clr-dark);
}

.legal-content h3 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 1.5rem 0 0.8rem;
  color: var(--clr-dark);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin: 1rem 0;
  color: #333;
  line-height: 1.6;
}

.legal-content a {
  color: var(--clr-primary);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .desktop-nav, .header-notice {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .featured-image img {
    height: 250px;
  }

  .contact-form-section {
    padding: 1.5rem;
  }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}