/* News & Travel Blog Theme
   Static, mobile-first, and component-oriented for easy PHP conversion. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-muted: #eef3f8;
  --surface: #ffffff;
  --surface-strong: #f8fafc;
  --text: #0f2237;
  --text-muted: #5d6b7b;
  --heading: #081827;
  --border: #dfe7ef;
  --accent: #f97316;
  --accent-dark: #c94f05;
  --accent-soft: #fff1e8;
  --brand: #0e6ba8;
  --brand-dark: #084f7d;
  --brand-soft: #e8f4fb;
  --success: #1f8a70;
  --shadow-sm: 0 8px 22px rgba(15, 34, 55, 0.08);
  --shadow-md: 0 16px 40px rgba(15, 34, 55, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 76px;
  --transition: 180ms ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07131f;
  --bg-soft: #0c1b2a;
  --bg-muted: #112436;
  --surface: #0f2031;
  --surface-strong: #13283c;
  --text: #d7e1ec;
  --text-muted: #96a7b9;
  --heading: #f5f9ff;
  --border: #22384d;
  --accent-soft: #361b0d;
  --brand-soft: #0e2b42;
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.26);
  --shadow-md: 0 16px 42px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--brand);
  color: #ffffff;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.section-title {
  margin: 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.15;
}

.section-copy {
  max-width: 650px;
  margin: 0;
  color: var(--text-muted);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  transform: translateY(-140%);
  background: var(--heading);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.breaking-bar {
  background: var(--heading);
  color: #ffffff;
  font-size: 0.9rem;
}

.breaking-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
}

.breaking-label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: var(--radius);
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
}

.ticker {
  min-width: 0;
  overflow: hidden;
}

.ticker__track {
  display: inline-flex;
  gap: 36px;
  min-width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition), transform var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--heading);
  font-weight: 900;
}

.brand--logo {
  min-width: 0;
}

.brand-logo {
  width: min(220px, 58vw);
  max-height: 58px;
  object-fit: contain;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.08rem;
}

.brand-tagline {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.nav-toggle,
.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.nav-toggle:hover,
.icon-button:hover,
.nav-toggle:focus-visible,
.icon-button:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
  outline: none;
  transform: translateY(-1px);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: calc(var(--header-height) + 42px) 16px auto;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

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

.nav-list {
  list-style: none;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-link,
.mega-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--heading);
  font-weight: 750;
}

.nav-link:hover,
.nav-link.active,
.mega-toggle:hover,
.mega-toggle[aria-expanded="true"] {
  background: var(--bg-soft);
  color: var(--brand);
}

.mega-menu {
  display: none;
  padding: 12px;
  margin: 3px 0 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.mega-menu.is-open {
  display: block;
}

.mega-grid {
  display: grid;
  gap: 12px;
}

.mega-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.mega-card strong {
  color: var(--heading);
}

.mega-card span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.icon {
  position: relative;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.icon-search::before {
  position: absolute;
  inset: 2px 5px 5px 2px;
  border: 2px solid currentColor;
  border-radius: 999px;
  content: "";
}

.icon-search::after {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 8px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transform: rotate(45deg);
  transform-origin: center;
  content: "";
}

.icon-moon::before {
  position: absolute;
  inset: 2px 3px 2px 7px;
  border-radius: 50%;
  box-shadow: -6px 0 0 0 currentColor;
  content: "";
}

[data-theme="dark"] .icon-moon::before {
  inset: 3px;
  box-shadow: inset -6px -4px 0 0 var(--surface);
  background: currentColor;
}

.icon-arrow-up::before {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 2px;
  height: 13px;
  background: currentColor;
  content: "";
}

.icon-arrow-up::after {
  position: absolute;
  left: 5px;
  top: 4px;
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  content: "";
}

.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0f2237;
  color: #ffffff;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.78), rgba(6, 18, 31, 0.38)),
    var(--hero-image, url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80")) center/cover;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 74px 0;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.category-badge,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
}

.category-badge--orange {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.category-badge--dark {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero .meta {
  color: rgba(255, 255, 255, 0.82);
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero h1,
.page-hero h1,
.destination-hero h1 {
  margin: 0 0 16px;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
  line-height: 1.08;
}

.hero p,
.page-hero p,
.destination-hero p {
  max-width: 650px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.85);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-dark);
  outline: none;
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
}

.btn--accent:hover,
.btn--accent:focus-visible {
  background: var(--accent-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.52);
  background: transparent;
  color: #ffffff;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #ffffff;
  color: var(--heading);
}

.btn--outline {
  border-color: var(--border);
  background: var(--surface);
  color: var(--heading);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}

.layout-with-sidebar {
  display: grid;
  gap: 32px;
}

.article-grid,
.destination-grid,
.trending-grid,
.category-grid,
.info-grid,
.value-grid,
.team-grid,
.contact-grid,
.policy-grid {
  display: grid;
  gap: 18px;
}

.article-card,
.destination-card,
.trend-card,
.category-panel,
.info-card,
.value-card,
.team-card,
.contact-card,
.policy-card,
.comment,
.author-box,
.toc-box,
.share-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.article-card,
.destination-card,
.trend-card,
.team-card {
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.article-card:hover,
.destination-card:hover,
.trend-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--brand) 44%, var(--border));
  box-shadow: var(--shadow-md);
}

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
}

.card-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.article-card:hover .card-media img,
.destination-card:hover .card-media img,
.trend-card:hover .card-media img,
.team-card:hover .card-media img {
  transform: scale(1.04);
}

.card-media .category-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-title {
  margin: 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.22;
}

.card-title a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0 1px;
  background-repeat: no-repeat;
  transition: background-size var(--transition), color var(--transition);
}

.card-title a:hover {
  color: var(--brand);
  background-size: 100% 1px;
}

.card-excerpt {
  margin: 0;
  color: var(--text-muted);
}

.read-more {
  width: max-content;
  color: var(--brand);
  font-weight: 800;
}

.read-more:hover {
  color: var(--accent);
}

.destination-card {
  min-height: 310px;
}

.destination-card .card-media {
  aspect-ratio: 4 / 3;
}

.trend-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 118px;
}

.trend-card .card-media {
  aspect-ratio: auto;
  height: 100%;
}

.trend-card .card-body {
  padding: 14px;
}

.trend-card .card-title {
  font-size: 1.02rem;
}

.category-panel,
.info-card,
.value-card,
.contact-card,
.policy-card {
  padding: 20px;
}

.category-panel h3,
.info-card h3,
.value-card h3,
.contact-card h3,
.policy-card h2,
.policy-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.link-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.link-list a:hover {
  color: var(--brand);
}

.side-panel {
  display: grid;
  gap: 18px;
}

.sidebar-box {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.sidebar-box h2,
.sidebar-box h3 {
  margin: 0 0 16px;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.popular-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  counter-reset: popular;
}

.popular-list li {
  counter-increment: popular;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.popular-list li::before {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  content: counter(popular, decimal-leading-zero);
}

.popular-list a {
  display: block;
  color: var(--heading);
  font-weight: 800;
  line-height: 1.32;
}

.popular-list a:hover {
  color: var(--brand);
}

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

.newsletter-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(14, 107, 168, 0.94), rgba(8, 24, 39, 0.96)),
    url("https://images.unsplash.com/photo-1491555103944-7c647fd857e6?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #ffffff;
}

.newsletter-inner {
  display: grid;
  gap: 22px;
  align-items: center;
}

.newsletter-inner h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.16;
}

.newsletter-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.newsletter-form,
.search-panel,
.filter-bar,
.contact-form,
.comment-form {
  display: grid;
  gap: 12px;
}

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

.field,
.textarea,
.select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.field:focus,
.textarea:focus,
.select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
  outline: none;
}

.newsletter-band .field {
  border-color: rgba(255, 255, 255, 0.32);
}

.form-note,
.form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.newsletter-band .form-note {
  color: rgba(255, 255, 255, 0.72);
}

.form-status {
  min-height: 24px;
  font-weight: 800;
}

.page-hero,
.destination-hero {
  position: relative;
  overflow: hidden;
  background: #0f2237;
  color: #ffffff;
}

.page-hero::before,
.destination-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 31, 0.78), rgba(6, 18, 31, 0.48)),
    var(--page-image, url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=80")) center/cover;
  content: "";
}

.page-hero__inner,
.destination-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 64px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb--plain {
  color: var(--text-muted);
}

.breadcrumb--plain a:hover {
  color: var(--brand);
}

.listing-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.chip:hover,
.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.page-number {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  font-weight: 800;
}

.page-number:hover,
.page-number.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.article-shell {
  display: grid;
  gap: 28px;
}

.article-header {
  display: grid;
  gap: 16px;
}

.article-header h1 {
  margin: 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1.08;
}

.featured-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-muted);
  box-shadow: var(--shadow-md);
}

.featured-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-layout {
  display: grid;
  gap: 28px;
}

.article-content {
  display: grid;
  gap: 22px;
  color: var(--text);
}

.article-content h2,
.article-content h3 {
  margin: 10px 0 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.article-content p,
.article-content ul,
.article-content ol,
.policy-card p,
.policy-card ul {
  margin: 0;
}

.article-content blockquote {
  margin: 0;
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.article-content figure {
  margin: 0;
}

.article-content figcaption {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.toc-box,
.share-panel,
.author-box {
  padding: 18px;
}

.toc-box {
  position: sticky;
  top: calc(var(--header-height) + 18px);
}

.toc-box h2,
.share-panel h2,
.author-box h2 {
  margin: 0 0 12px;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.toc-list a {
  color: var(--text-muted);
  font-weight: 750;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--brand);
}

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

.share-button,
.social-link {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  font-weight: 900;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.share-button:hover,
.social-link:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
  transform: translateY(-2px);
}

.author-box {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: center;
}

.article-content + .author-box {
  margin-top: 28px;
}

.avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-muted);
}

.author-box h2,
.author-box h3,
.author-box p {
  margin: 0;
}

.comments {
  display: grid;
  gap: 16px;
}

.comment {
  padding: 16px;
}

.comment h3,
.comment p {
  margin: 0;
}

.comment .meta {
  margin-bottom: 8px;
}

.destination-hero {
  --page-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=80");
}

.stat-strip {
  display: grid;
  gap: 12px;
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  color: var(--heading);
  font-size: 1.1rem;
}

.stat-card span {
  color: var(--text-muted);
}

.timeline-list,
.tips-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li,
.tips-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.timeline-list strong,
.tips-list strong {
  color: var(--heading);
}

.about-lead {
  display: grid;
  gap: 22px;
  align-items: center;
}

.about-lead__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about-lead__media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-shell {
  display: grid;
  gap: 28px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.contact-list strong {
  display: block;
  color: var(--heading);
}

.map-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(14, 107, 168, 0.78), rgba(8, 24, 39, 0.82)),
    url("https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=1200&q=80") center/cover;
  color: #ffffff;
  text-align: center;
}

.policy-card {
  display: grid;
  gap: 14px;
}

.search-overlay,
.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 1900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 18, 31, 0.72);
  backdrop-filter: blur(8px);
}

.search-overlay.is-open,
.newsletter-modal.is-open {
  display: flex;
}

.search-dialog,
.newsletter-dialog {
  width: min(100%, 720px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: translateY(8px);
  animation: dialog-in 180ms ease forwards;
}

.newsletter-dialog {
  width: min(100%, 540px);
  overflow: hidden;
}

@keyframes dialog-in {
  to {
    transform: translateY(0);
  }
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.dialog-head h2 {
  margin: 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.dialog-body {
  display: grid;
  gap: 16px;
  padding: 18px;
}

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

.newsletter-dialog__image {
  aspect-ratio: 16 / 7;
  background: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1000&q=80") center/cover;
}

.site-footer {
  background: var(--heading);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  gap: 28px;
  padding: 50px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-brand .brand {
  color: #ffffff;
}

.footer-brand p {
  max-width: 360px;
  margin: 14px 0 0;
}

.footer-col h2,
.footer-col h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .article-grid,
  .destination-grid,
  .category-grid,
  .info-grid,
  .value-grid,
  .team-grid,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .newsletter-form,
  .search-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }

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

@media (min-width: 800px) {
  .hero h1,
  .page-hero h1,
  .destination-hero h1 {
    font-size: 3.4rem;
  }

  .article-header h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.35rem;
  }

  .about-lead,
  .contact-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }
}

@media (min-width: 980px) {
  :root {
    --header-height: 80px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .nav-link,
  .mega-toggle {
    min-height: 42px;
    padding: 8px 11px;
  }

  .nav-item--mega {
    position: relative;
  }

  .mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    width: 650px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-item--mega:hover .mega-menu,
  .nav-item--mega:focus-within .mega-menu,
  .mega-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

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

  .layout-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
  }

  .side-panel {
    position: sticky;
    top: calc(var(--header-height) + 20px);
  }

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

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

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

  .newsletter-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.8fr);
  }

  .article-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

  .article-aside {
    display: grid;
    gap: 18px;
  }

  .policy-grid {
    grid-template-columns: 280px minmax(0, 1fr);
  }

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

@media (min-width: 1180px) {
  .hero {
    min-height: 560px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-tagline {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button,
  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 480px;
  }

  .hero-content {
    padding: 54px 0;
  }

  .hero h1,
  .page-hero h1,
  .destination-hero h1 {
    font-size: 2.15rem;
  }

  .section-title {
    font-size: 1.76rem;
  }

  .trend-card {
    grid-template-columns: 92px 1fr;
  }

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

/* News portal redesign overrides
   Article-first layout inspired by professional media portals. */

:root {
  --portal-bg: #ffffff;
  --portal-surface: #ffffff;
  --portal-soft: #f6f7f9;
  --portal-muted-bg: #eef1f5;
  --portal-text: #111827;
  --portal-heading: #071323;
  --portal-muted: #5f6b7a;
  --portal-border: #d9dee6;
  --portal-border-strong: #b9c1cc;
  --portal-red: #d71920;
  --portal-red-dark: #a90f16;
  --portal-red-soft: #fff0f0;
  --portal-orange: #e97216;
  --portal-orange-soft: #fff4eb;
  --portal-blue: #0b5cab;
  --portal-blue-soft: #eef6ff;
  --portal-navy: #071323;
  --portal-shadow: 0 10px 28px rgba(7, 19, 35, 0.08);
  --portal-radius: 6px;
  --portal-container: 1200px;
  --portal-nav-height: 48px;
  --portal-speed: 180ms ease;
}

body.portal-page {
  background: var(--portal-bg);
  color: var(--portal-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.58;
}

.portal-page figure {
  margin: 0;
}

.portal-page body,
.portal-page button,
.portal-page input,
.portal-page textarea,
.portal-page select {
  font: inherit;
}

.portal-container {
  width: min(100% - 28px, var(--portal-container));
  margin-inline: auto;
}

.portal-section {
  padding: 34px 0;
}

.portal-section-tight {
  padding: 22px 0;
}

.portal-top-strip {
  border-bottom: 1px solid var(--portal-border);
  background: var(--portal-soft);
  color: var(--portal-muted);
  font-size: 0.82rem;
}

.portal-top-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.portal-top-meta,
.portal-social-mini,
.portal-top-actions,
.portal-utility-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-top-meta {
  flex-wrap: wrap;
}

.portal-top-pill {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 8px;
  border: 1px solid rgba(122, 135, 154, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--portal-heading);
  font-weight: 800;
}

.portal-top-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--portal-red);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.portal-top-mini {
  min-width: 24px;
  min-height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--portal-navy);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
}

.portal-social-mini a,
.portal-utility-links a {
  font-weight: 800;
}

.portal-social-mini a:hover,
.portal-utility-links a:hover {
  color: var(--portal-red);
}

.portal-top-actions {
  margin-left: auto;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.portal-top-link,
.portal-top-cta,
.portal-top-login,
.portal-top-profile {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.portal-top-link {
  color: var(--portal-heading);
}

.portal-top-link:hover {
  color: var(--portal-red);
}

.portal-top-cta {
  padding: 3px 10px;
  background: var(--portal-red);
  color: #ffffff;
}

.portal-top-cta:hover {
  background: var(--portal-red-dark);
  color: #ffffff;
}

.portal-top-login,
.portal-top-profile {
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid rgba(7, 19, 35, 0.12);
  background: #ffffff;
  color: var(--portal-heading);
  box-shadow: 0 8px 20px rgba(7, 19, 35, 0.06);
}

.portal-top-login:hover,
.portal-top-profile:hover {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
}

.portal-top-profile {
  gap: 7px;
}

.portal-user-icon {
  width: 18px;
  height: 18px;
  position: relative;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.portal-user-icon::before {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
  content: "";
}

.portal-user-icon::after {
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 9px;
  height: 5px;
  border-radius: 99px 99px 0 0;
  border: 2px solid currentColor;
  border-bottom: 0;
  transform: translateX(-50%);
  content: "";
}

.social-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  color: var(--portal-heading);
  transition: background var(--portal-speed), border-color var(--portal-speed), color var(--portal-speed), transform var(--portal-speed);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-icon--facebook svg,
.social-icon--youtube svg {
  fill: currentColor;
}

.social-icon--x svg,
.social-icon--instagram svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon:hover {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
  transform: translateY(-1px);
}

.portal-masthead {
  background: var(--portal-surface);
}

.portal-masthead__inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
}

.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.portal-brand--logo {
  width: min(290px, 62vw);
  max-width: 100%;
}

.portal-brand-logo {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.portal-masthead .portal-brand--logo {
  width: min(315px, 64vw);
}

.portal-footer-brand .portal-brand--logo {
  width: min(250px, 100%);
  padding: 7px 10px;
  border-radius: var(--portal-radius);
  background: #ffffff;
}

.portal-footer-brand .portal-brand-logo {
  max-height: 64px;
}

.portal-brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--portal-red);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 900;
}

.portal-brand-copy {
  display: grid;
  line-height: 1;
}

.portal-brand-name {
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0;
}

.portal-brand-tagline {
  margin-top: 5px;
  color: var(--portal-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-ad-slot {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px dashed var(--portal-border-strong);
  border-radius: var(--portal-radius);
  background: repeating-linear-gradient(135deg, var(--portal-soft) 0 12px, #ffffff 12px 24px);
  color: var(--portal-muted);
  text-align: center;
  font-size: 0.84rem;
  font-weight: 800;
}

.portal-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 1px solid var(--portal-border);
  border-bottom: 1px solid var(--portal-border);
  background: color-mix(in srgb, var(--portal-surface) 96%, transparent);
  backdrop-filter: blur(16px);
}

.portal-nav-wrap.is-scrolled {
  box-shadow: 0 6px 18px rgba(7, 19, 35, 0.08);
}

.portal-nav-row {
  min-height: var(--portal-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-sticky-logo {
  order: 2;
  flex: 0 0 auto;
  width: min(168px, 46vw);
  display: inline-flex;
  align-items: center;
}

.portal-sticky-logo img {
  width: 100%;
  max-height: 38px;
  object-fit: contain;
}

.portal-nav-toggle,
.portal-icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
  color: var(--portal-heading);
  transition: border-color var(--portal-speed), background var(--portal-speed), color var(--portal-speed);
}

.portal-nav-toggle {
  order: 1;
}

.portal-nav-row > .portal-icon-button {
  order: 3;
}

.portal-nav-toggle:hover,
.portal-icon-button:hover,
.portal-nav-toggle:focus-visible,
.portal-icon-button:focus-visible {
  border-color: var(--portal-red);
  background: var(--portal-red-soft);
  color: var(--portal-red);
  outline: none;
}

.portal-hamburger,
.portal-hamburger::before,
.portal-hamburger::after {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform var(--portal-speed), opacity var(--portal-speed);
}

.portal-hamburger {
  position: relative;
}

.portal-hamburger::before,
.portal-hamburger::after {
  position: absolute;
  left: 0;
}

.portal-hamburger::before {
  top: -6px;
}

.portal-hamburger::after {
  top: 6px;
}

.portal-nav-toggle[aria-expanded="true"] .portal-hamburger {
  background: transparent;
}

.portal-nav-toggle[aria-expanded="true"] .portal-hamburger::before {
  transform: translateY(6px) rotate(45deg);
}

.portal-nav-toggle[aria-expanded="true"] .portal-hamburger::after {
  transform: translateY(-6px) rotate(-45deg);
}

.portal-site-nav {
  order: 4;
  position: fixed;
  inset: calc(var(--portal-nav-height) + 12px) 14px auto;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
  box-shadow: var(--portal-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity var(--portal-speed), transform var(--portal-speed);
}

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

.portal-nav-list {
  list-style: none;
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.portal-nav-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: var(--portal-radius);
  color: var(--portal-heading);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-nav-link:hover,
.portal-nav-link.active {
  background: var(--portal-red-soft);
  color: var(--portal-red);
}

.portal-nav-auth {
  display: flex;
}

.portal-nav-link--login,
.portal-nav-link--submit {
  justify-content: center;
  border: 1px solid var(--portal-border);
}

.portal-nav-link--login {
  color: var(--portal-red);
}

.portal-nav-link--submit {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
}

.portal-nav-link--submit:hover,
.portal-nav-link--submit.active {
  background: var(--portal-red-dark);
  color: #ffffff;
}

.portal-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.portal-search-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.portal-search-icon::before {
  position: absolute;
  inset: 1px 5px 5px 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.portal-search-icon::after {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 8px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.portal-breaking {
  border-bottom: 1px solid var(--portal-border);
  background: var(--portal-surface);
}

.portal-breaking__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.portal-breaking-label {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--portal-red);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-ticker {
  min-width: 0;
  overflow: hidden;
}

.portal-ticker__track {
  display: inline-flex;
  min-width: max-content;
  gap: 34px;
  color: var(--portal-heading);
  font-size: 0.92rem;
  font-weight: 750;
  animation: portal-ticker 34s linear infinite;
}

.portal-ticker:hover .portal-ticker__track {
  animation-play-state: paused;
}

@keyframes portal-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.portal-ad-wide {
  padding: 16px 0 0;
}

.portal-live-brief-strip {
  border-bottom: 1px solid var(--portal-border);
  background: #ffffff;
  padding: 8px 0;
}

.portal-live-brief {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.portal-score-head {
  min-width: 0;
  border-right: 1px solid var(--portal-border);
  padding-right: 12px;
}

.portal-score-head strong {
  display: block;
  color: var(--portal-red);
  font-family: var(--portal-serif);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

.portal-score-head span {
  display: block;
  margin-top: 4px;
  color: var(--portal-muted);
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.portal-live-brief__rail {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px;
  min-width: 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.portal-live-brief__rail::-webkit-scrollbar {
  display: none;
}

.portal-live-card {
  flex: 0 0 248px;
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 78px;
  padding: 8px 10px;
  border: 1px solid var(--portal-border);
  border-radius: 6px;
  background: #ffffff;
  color: var(--portal-heading);
  box-shadow: none;
  scroll-snap-align: start;
  transition: transform var(--portal-speed), border-color var(--portal-speed), box-shadow var(--portal-speed);
}

.portal-live-card:hover {
  border-color: rgba(225, 29, 46, 0.35);
  box-shadow: 0 10px 22px rgba(7, 19, 35, 0.08);
  transform: translateY(-2px);
}

.portal-live-card.is-loaded {
  border-color: rgba(15, 23, 42, 0.14);
}

.portal-live-card.is-live {
  border-color: rgba(225, 29, 46, 0.32);
  background: linear-gradient(180deg, #ffffff, #fff7f7);
}

.portal-live-card.is-live .portal-live-card__icon {
  background: var(--portal-red);
  box-shadow: 0 0 0 5px rgba(225, 29, 46, 0.1);
}

.portal-live-card__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--portal-navy);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 950;
}

.portal-live-card__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.portal-live-card__tag {
  color: #0057d9;
  font-size: 0.58rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.portal-live-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--portal-heading);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-live-card small {
  overflow: hidden;
  color: var(--portal-muted);
  font-size: 0.65rem;
  font-weight: 750;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-score-card__teams {
  display: grid;
  gap: 1px;
}

.portal-score-card__team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.portal-score-card__team b,
.portal-score-card__score {
  color: var(--portal-heading);
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1.05;
}

.portal-score-card__team b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-score-card__score {
  flex: 0 0 auto;
}

.portal-storyline-strip {
  border-bottom: 1px solid var(--portal-border);
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(255, 255, 255, 0.98)),
    var(--portal-surface);
  padding: 12px 0 10px;
}

.portal-storyline-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.portal-storyline-head span {
  color: var(--portal-heading);
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portal-storyline-head small {
  color: var(--portal-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.portal-storyline-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.portal-storyline-rail::-webkit-scrollbar {
  height: 6px;
}

.portal-storyline-rail::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #cbd5e1;
}

.portal-storyline-card {
  flex: 0 0 122px;
  scroll-snap-align: start;
  color: var(--portal-heading);
}

.portal-storyline-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--portal-red), #f59e0b 42%, var(--portal-blue)) border-box;
  box-shadow: 0 10px 22px rgba(7, 19, 35, 0.08);
}

.portal-storyline-card__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  border-radius: 15px;
  object-fit: cover;
  transition: transform var(--portal-speed), filter var(--portal-speed);
}

.portal-storyline-card:hover .portal-storyline-card__media img {
  filter: saturate(1.08);
  transform: scale(1.04);
}

.portal-storyline-card:focus-visible .portal-storyline-card__media {
  outline: 3px solid rgba(225, 29, 46, 0.28);
  outline-offset: 3px;
}

.portal-storyline-card__text {
  display: grid;
  gap: 2px;
  margin-top: 7px;
  min-width: 0;
}

.portal-storyline-card__text strong {
  color: var(--portal-red);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.portal-storyline-card__text span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--portal-heading);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.portal-story-popout {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(7, 19, 35, 0.72);
}

.portal-story-popout.is-open {
  display: grid;
}

.portal-story-popout__panel {
  position: relative;
  width: min(100%, 410px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: #071323;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

.portal-story-popout__media {
  display: block;
}

.portal-story-popout__panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.portal-story-popout__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--portal-heading);
  font-size: 0.75rem;
  font-weight: 900;
}

.portal-story-popout__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 8px;
  padding: 74px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(7, 19, 35, 0.9) 42%, #071323);
  color: #ffffff;
}

.portal-story-popout__body span {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--portal-red);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-story-popout__body h2 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.05;
}

.portal-story-popout__link {
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--portal-heading);
  font-size: 0.82rem;
  font-weight: 950;
}

.portal-notification-prompt {
  position: fixed;
  top: 18px;
  right: max(18px, calc((100vw - var(--portal-container)) / 2));
  z-index: 1600;
  width: min(100% - 28px, 380px);
  display: grid;
  gap: 16px;
  padding: 20px 22px 18px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(7, 19, 35, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity var(--portal-speed), transform var(--portal-speed);
}

.portal-notification-prompt.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.portal-notification-prompt__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #475569;
  font-size: 1.45rem;
  line-height: 1;
}

.portal-notification-prompt__close:hover {
  background: #f1f5f9;
  color: var(--portal-heading);
}

.portal-notification-prompt__domain {
  padding-right: 34px;
  color: var(--portal-heading);
  font-size: 1.02rem;
  font-weight: 950;
  line-height: 1.25;
}

.portal-notification-prompt__body {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #475569;
  font-size: 0.98rem;
  font-weight: 750;
}

.portal-notification-prompt__bell {
  position: relative;
  width: 22px;
  height: 24px;
  flex: 0 0 auto;
  border: 2px solid #64748b;
  border-bottom: 0;
  border-radius: 14px 14px 8px 8px;
}

.portal-notification-prompt__bell::before {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 8px;
  height: 6px;
  border-radius: 8px 8px 0 0;
  border: 2px solid #64748b;
  border-bottom: 0;
  transform: translateX(-50%);
  content: "";
}

.portal-notification-prompt__bell::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  transform: translateX(-50%);
  content: "";
}

.portal-notification-prompt__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.portal-notification-prompt__allow,
.portal-notification-prompt__block {
  min-width: 100px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: #dbeafe;
  color: #1e3a8a;
  font-weight: 900;
}

.portal-notification-prompt__allow:hover,
.portal-notification-prompt__block:hover {
  background: #bfdbfe;
}

.portal-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--portal-heading);
}

.portal-section-heading h1,
.portal-section-heading h2 {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.portal-section-heading a {
  color: var(--portal-red);
  font-size: 0.84rem;
  font-weight: 900;
}

.portal-label {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--portal-red-soft);
  color: var(--portal-red);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.portal-label--travel {
  background: var(--portal-orange-soft);
  color: var(--portal-orange);
}

.portal-label--blue {
  background: var(--portal-blue-soft);
  color: var(--portal-blue);
}

.portal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--portal-muted);
  font-size: 0.8rem;
}

.portal-meta strong {
  color: var(--portal-heading);
}

.portal-lead-layout {
  display: grid;
  gap: 20px;
  padding-top: 22px;
}

.portal-lead-main {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-lead-main__media,
.portal-article-card__media,
.portal-compact-story__media,
.portal-gallery-card__media,
.portal-article-hero,
.portal-destination-hero__media {
  overflow: hidden;
  border-radius: var(--portal-radius);
  background: var(--portal-muted-bg);
}

.portal-lead-main__media {
  aspect-ratio: 16 / 9;
}

.portal-lead-main__media img,
.portal-article-card__media img,
.portal-compact-story__media img,
.portal-gallery-card__media img,
.portal-article-hero img,
.portal-destination-hero__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.portal-lead-main__media:hover img,
.portal-article-card:hover .portal-article-card__media img,
.portal-compact-story:hover .portal-compact-story__media img,
.portal-gallery-card:hover .portal-gallery-card__media img {
  transform: scale(1.035);
}

.portal-lead-main h1 {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.15rem;
  line-height: 1.08;
}

.portal-lead-main p,
.portal-article-card p,
.portal-text-story p,
.portal-brief-card p,
.portal-opinion-card p,
.portal-info-card p {
  margin: 0;
  color: var(--portal-muted);
}

.portal-side-leads,
.portal-latest-panel,
.portal-trending-panel,
.portal-rail-list,
.portal-brief-list,
.portal-category-stack,
.portal-article-list {
  display: grid;
  gap: 12px;
}

.portal-compact-story {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-compact-story:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.portal-compact-story__media {
  aspect-ratio: 4 / 3;
}

.portal-compact-story h2,
.portal-compact-story h3,
.portal-article-card h2,
.portal-article-card h3,
.portal-text-story h3,
.portal-brief-card h3,
.portal-opinion-card h3 {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

.portal-compact-story h2,
.portal-compact-story h3 {
  font-size: 1rem;
}

.portal-headline-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0 1px;
  background-repeat: no-repeat;
  transition: background-size var(--portal-speed), color var(--portal-speed);
}

.portal-headline-link:hover {
  color: var(--portal-red);
  background-size: 100% 1px;
}

.portal-sidebar-card,
.portal-block,
.portal-newsletter,
.portal-author-box,
.portal-toc-box,
.portal-comment-box,
.portal-related-box {
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
}

.portal-sidebar-card,
.portal-block,
.portal-toc-box,
.portal-author-box,
.portal-related-box,
.portal-comment-box {
  padding: 14px;
}

.portal-sidebar-card--gap,
.portal-sidebar-ad,
.portal-section-heading--spaced {
  margin-top: 16px;
}

.portal-sidebar-card h2,
.portal-sidebar-card h3,
.portal-toc-box h2,
.portal-author-box h2,
.portal-related-box h2,
.portal-comment-box h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--portal-border);
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
}

.portal-news-list {
  list-style: none;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
}

.portal-news-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-news-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.portal-news-list a {
  color: var(--portal-heading);
  font-weight: 850;
  line-height: 1.32;
}

.portal-news-list a:hover {
  color: var(--portal-red);
}

.portal-top-grid,
.portal-story-grid,
.portal-category-grid,
.portal-gallery-grid,
.portal-travel-grid,
.portal-footer-grid,
.portal-opinion-grid,
.portal-destination-grid,
.portal-info-grid,
.portal-stat-strip {
  display: grid;
  gap: 16px;
}

.portal-article-card {
  display: grid;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-article-card__media {
  aspect-ratio: 16 / 10;
}

.portal-article-card h2,
.portal-article-card h3 {
  font-size: 1.18rem;
}

.portal-travel-feature {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: linear-gradient(180deg, #ffffff, #fffaf6);
}

.portal-travel-feature__media {
  overflow: hidden;
  border-radius: var(--portal-radius);
  aspect-ratio: 16 / 10;
  background: var(--portal-muted-bg);
}

.portal-travel-feature__media img {
  height: 100%;
  object-fit: cover;
}

.portal-travel-feature h2 {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.portal-brief-card,
.portal-text-story,
.portal-opinion-card {
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-brief-card:last-child,
.portal-text-story:last-child,
.portal-opinion-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.portal-opinion-card {
  grid-template-columns: 54px 1fr;
  align-items: start;
}

.portal-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--portal-muted-bg);
}

.portal-gallery-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border-radius: var(--portal-radius);
  background: var(--portal-navy);
  color: #ffffff;
}

.portal-gallery-card__media {
  aspect-ratio: 16 / 10;
}

.portal-gallery-card__body {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.portal-gallery-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

.portal-play-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 36px;
  padding: 0 8px;
  border-radius: 50%;
  background: var(--portal-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.portal-newsletter {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--portal-navy);
  color: #ffffff;
}

.portal-newsletter h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1.16;
}

.portal-newsletter p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.portal-form-row {
  display: grid;
  gap: 10px;
}

.portal-field,
.portal-textarea,
.portal-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
  color: var(--portal-text);
}

.portal-textarea {
  min-height: 136px;
  resize: vertical;
}

.portal-field:focus,
.portal-textarea:focus,
.portal-select:focus {
  border-color: var(--portal-red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal-red) 14%, transparent);
  outline: none;
}

.portal-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid var(--portal-red);
  border-radius: var(--portal-radius);
  background: var(--portal-red);
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
  transition: background var(--portal-speed), border-color var(--portal-speed), color var(--portal-speed);
}

.portal-btn:hover,
.portal-btn:focus-visible {
  border-color: var(--portal-red-dark);
  background: var(--portal-red-dark);
  outline: none;
}

.portal-btn--outline {
  border-color: var(--portal-border);
  background: var(--portal-surface);
  color: var(--portal-heading);
}

.portal-btn--outline:hover,
.portal-btn--outline:focus-visible {
  border-color: var(--portal-red);
  background: var(--portal-red-soft);
  color: var(--portal-red);
}

.portal-form-status {
  min-height: 22px;
  margin: 0;
  color: var(--portal-muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.portal-newsletter .portal-form-status {
  color: rgba(255, 255, 255, 0.82);
}

.portal-page-header {
  padding: 26px 0 18px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--portal-muted);
  font-size: 0.84rem;
}

.portal-breadcrumb a:hover {
  color: var(--portal-red);
}

.portal-page-title {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1.08;
}

.portal-page-deck {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--portal-muted);
  font-size: 1.02rem;
}

.portal-category-layout,
.portal-article-layout,
.portal-layout,
.portal-destination-layout {
  display: grid;
  gap: 22px;
}

.portal-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
}

.portal-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--portal-border);
  border-radius: 999px;
  background: var(--portal-surface);
  color: var(--portal-heading);
  font-size: 0.84rem;
  font-weight: 900;
}

.portal-chip:hover,
.portal-chip.is-active {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
}

.portal-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding-top: 22px;
}

.portal-page-link {
  min-width: 40px;
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
  color: var(--portal-heading);
  font-weight: 900;
}

.portal-page-link:hover,
.portal-page-link.active {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
}

.portal-article-head {
  display: grid;
  gap: 12px;
}

.portal-article-head h1 {
  max-width: 940px;
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1.08;
}

.portal-article-deck {
  max-width: 820px;
  margin: 0;
  color: var(--portal-muted);
  font-size: 1.06rem;
}

.portal-article-hero img {
  aspect-ratio: 16 / 9;
}

.portal-caption {
  margin: 7px 0 0;
  color: var(--portal-muted);
  font-size: 0.84rem;
}

.portal-article-body {
  display: grid;
  gap: 18px;
  color: var(--portal-text);
}

.portal-article-body p,
.portal-article-body ul,
.portal-article-body ol {
  margin: 0;
}

.portal-article-body h2,
.portal-article-body h3 {
  scroll-margin-top: calc(var(--portal-nav-height) + 28px);
  margin: 8px 0 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
}

.portal-article-body blockquote {
  margin: 0;
  padding: 16px;
  border-left: 4px solid var(--portal-red);
  background: var(--portal-red-soft);
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.portal-toc-box {
  position: relative;
  align-self: start;
  max-width: 100%;
  overflow: visible;
}

.portal-toc-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.portal-toc-list li {
  min-width: 0;
}

.portal-toc-list a {
  display: block;
  color: var(--portal-muted);
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.portal-toc-list a:hover,
.portal-toc-list a.active {
  color: var(--portal-red);
}

.portal-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.portal-share-button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
  color: var(--portal-heading);
  font-size: 0.82rem;
  font-weight: 900;
}

.portal-share-button:hover {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
}

.portal-social-share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.portal-social-share-row > span {
  margin-right: 2px;
  color: var(--portal-muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-social-share {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--portal-surface);
  color: var(--portal-heading);
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1;
  transition: transform var(--portal-speed), background var(--portal-speed), color var(--portal-speed);
}

.portal-social-share:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.portal-social-share--x {
  background: #0f172a;
  color: #ffffff;
}

.portal-social-share--facebook {
  background: #1877f2;
  color: #ffffff;
}

.portal-social-share--whatsapp {
  background: #22c55e;
  color: #ffffff;
  font-size: 0.68rem;
}

.portal-social-share--linkedin {
  background: #0a66c2;
  color: #ffffff;
  font-size: 0.72rem;
}

.portal-author-box {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 24px;
}

.portal-destination-hero {
  display: grid;
  gap: 16px;
}

.portal-destination-hero__media {
  aspect-ratio: 16 / 8;
}

.portal-stat-card {
  padding: 13px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-soft);
}

.portal-stat-card strong {
  display: block;
  color: var(--portal-heading);
}

.portal-stat-card span {
  color: var(--portal-muted);
  font-size: 0.9rem;
}

.portal-info-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
}

.portal-info-card h3 {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
}

.portal-site-footer {
  margin-top: 26px;
  background: var(--portal-navy);
  color: rgba(255, 255, 255, 0.78);
}

.portal-footer-inner {
  display: grid;
  gap: 26px;
  padding: 42px 0 24px;
}

.portal-footer-brand .portal-brand-name,
.portal-footer-brand .portal-brand-tagline {
  color: #ffffff;
}

.portal-footer-brand p {
  max-width: 430px;
  margin: 12px 0 0;
}

.portal-footer-col h2,
.portal-footer-col h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
}

.portal-footer-links {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.portal-footer-links a:hover {
  color: #ffffff;
}

.portal-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.86rem;
}

.portal-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: none;
  align-items: start;
  justify-content: center;
  padding: 72px 16px 16px;
  background: rgba(7, 19, 35, 0.72);
}

.portal-search-overlay.is-open {
  display: flex;
}

.portal-search-dialog {
  width: min(100%, 720px);
  border-radius: var(--portal-radius);
  background: var(--portal-surface);
  box-shadow: var(--portal-shadow);
}

.portal-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--portal-border);
}

.portal-dialog-head h2 {
  margin: 0;
  color: var(--portal-heading);
  font-family: Georgia, "Times New Roman", serif;
}

.portal-dialog-body {
  display: grid;
  gap: 14px;
  padding: 14px;
}

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

.portal-back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.portal-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .portal-masthead__inner {
    grid-template-columns: max-content minmax(280px, 1fr);
  }

  .portal-form-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .portal-story-grid,
  .portal-gallery-grid,
  .portal-category-grid,
  .portal-destination-grid,
  .portal-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 820px) {
  .portal-lead-main h1 {
    font-size: 2.7rem;
  }

  .portal-article-head h1 {
    font-size: 3rem;
  }

  .portal-page-title {
    font-size: 2.65rem;
  }

  .portal-travel-feature {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .portal-newsletter {
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
    align-items: center;
  }

  .portal-footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .portal-sticky-logo {
    order: 0;
    width: 150px;
    padding-right: 10px;
    border-right: 1px solid var(--portal-border);
  }

  .portal-nav-toggle {
    display: none;
  }

  .portal-site-nav {
    order: 1;
    flex: 1 1 auto;
    position: static;
    inset: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .portal-nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: flex-start;
  }

  .portal-nav-link {
    min-height: var(--portal-nav-height);
    padding: 0 9px;
    border-radius: 0;
  }

  .portal-nav-auth {
    margin-left: 4px;
  }

  .portal-nav-link--login,
  .portal-nav-link--submit {
    min-height: 36px;
    align-self: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.82rem;
  }

  .portal-lead-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.75fr) 310px;
    align-items: start;
  }

  .portal-layout,
  .portal-category-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .portal-article-layout {
    grid-template-columns: 260px minmax(0, 760px) 280px;
    align-items: start;
    overflow: visible;
  }

  .portal-destination-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }

  .portal-sidebar-sticky {
    position: sticky;
    top: calc(var(--portal-nav-height) + 16px);
  }

  .portal-toc-box {
    position: sticky;
    top: calc(var(--portal-nav-height) + 18px);
    max-height: calc(100dvh - var(--portal-nav-height) - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .portal-toc-box::-webkit-scrollbar {
    width: 6px;
  }

  .portal-toc-box::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
  }

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

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

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

  .portal-gallery-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .portal-top-strip__inner {
    align-items: start;
    flex-direction: column;
    padding: 8px 0;
  }

  .portal-social-mini {
    display: none;
  }

  .portal-top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .portal-brand-mark {
    width: 42px;
    height: 42px;
  }

  .portal-brand-name {
    font-size: 1.58rem;
  }

  .portal-ad-slot {
    min-height: 62px;
  }

  .portal-lead-main h1 {
    font-size: 1.85rem;
  }

  .portal-article-head h1 {
    font-size: 2rem;
  }

  .portal-page-title {
    font-size: 2rem;
  }

  .portal-compact-story {
    grid-template-columns: 92px 1fr;
  }

  .portal-opinion-card,
  .portal-author-box {
    grid-template-columns: 1fr;
  }
}

/* Premium mega footer */
.portal-site-footer {
  margin-top: 34px;
  background: var(--portal-navy);
  color: rgba(255, 255, 255, 0.78);
}

.portal-footer-boom {
  border-top: 5px solid var(--portal-red);
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.96), rgba(7, 19, 35, 0.98)),
    url("https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1400&q=70") center/cover;
  color: #ffffff;
}

.portal-footer-boom__inner {
  display: grid;
  gap: 20px;
  align-items: center;
  padding: 30px 0;
}

.portal-footer-boom h2 {
  max-width: 720px;
  margin: 8px 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.1;
}

.portal-footer-boom p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.portal-footer-subscribe {
  display: grid;
  gap: 8px;
}

.portal-footer-subscribe .portal-form-row {
  display: grid;
  gap: 10px;
}

.portal-footer-subscribe .portal-field {
  border-color: rgba(255, 255, 255, 0.32);
}

.portal-footer-subscribe .portal-form-status {
  color: rgba(255, 255, 255, 0.82);
}

.portal-footer-grid--mega {
  grid-template-columns: 1fr;
}

.portal-footer-brand .portal-brand {
  margin-bottom: 12px;
}

.portal-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.portal-footer-social a {
  min-width: 36px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--portal-radius);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
}

.portal-footer-social .social-icon {
  width: 38px;
  height: 38px;
  color: #ffffff;
}

.portal-footer-social .social-icon svg {
  width: 19px;
  height: 19px;
}

.portal-footer-social a:hover {
  border-color: var(--portal-red);
  background: var(--portal-red);
}

.portal-footer-col h2 {
  position: relative;
  padding-bottom: 9px;
}

.portal-footer-col h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--portal-red);
  content: "";
}

.portal-footer-links {
  gap: 9px;
}

.portal-footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

.portal-footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: var(--portal-red);
  text-underline-offset: 4px;
}

.portal-footer-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.portal-footer-topics a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 850;
}

.portal-footer-topics a:hover {
  border-color: var(--portal-red);
  background: rgba(215, 25, 32, 0.16);
  color: #ffffff;
}

@media (min-width: 640px) {
  .portal-footer-subscribe .portal-form-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 820px) {
  .portal-footer-boom__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
    padding: 38px 0;
  }

  .portal-footer-boom h2 {
    font-size: 2.45rem;
  }

  .portal-footer-grid--mega {
    grid-template-columns: 1.35fr repeat(4, 1fr);
  }
}

@media (max-width: 520px) {
  .portal-footer-boom h2 {
    font-size: 1.7rem;
  }
}

/* Mobile polish for the dynamic news portal */
@media (max-width: 767px) {
  .portal-container {
    width: min(100% - 24px, var(--portal-container));
  }

  .portal-section {
    padding: 24px 0;
  }

  .portal-section-tight {
    padding: 16px 0;
  }

  .portal-top-strip {
    font-size: 0.75rem;
  }

  .portal-top-strip__inner {
    min-height: auto;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
  }

  .portal-top-meta,
  .portal-top-actions {
    gap: 6px 10px;
    white-space: normal;
  }

  .portal-top-meta {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .portal-top-meta::-webkit-scrollbar {
    display: none;
  }

  .portal-top-actions {
    width: auto;
    flex: 0 0 auto;
    margin-left: 0;
    justify-content: flex-end;
  }

  .portal-top-pill {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 3px 7px;
    font-size: 0.72rem;
  }

  .portal-top-mini {
    min-width: 22px;
    min-height: 17px;
    font-size: 0.58rem;
  }

  .portal-top-login,
  .portal-top-profile {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 0.74rem;
  }

  .portal-top-link,
  .portal-top-cta {
    min-height: 30px;
    padding-inline: 9px;
    font-size: 0.74rem;
  }

  .portal-masthead {
    display: none;
  }

  .portal-masthead__inner {
    min-height: auto;
    justify-items: center;
    gap: 8px;
    padding: 10px 0;
  }

  .portal-masthead .portal-brand--logo {
    width: min(220px, 68vw);
  }

  .portal-brand-logo {
    max-height: 72px;
  }

  .portal-masthead .portal-ad-slot {
    display: none;
  }

  .portal-nav-row {
    min-height: 52px;
    gap: 8px;
    justify-content: flex-start;
  }

  .portal-sticky-logo {
    order: 1;
    width: min(140px, 42vw);
    margin-right: auto;
  }

  .portal-sticky-logo img {
    max-height: 32px;
  }

  .portal-nav-toggle,
  .portal-icon-button {
    width: 38px;
    height: 38px;
  }

  .portal-nav-toggle {
    order: 2;
  }

  .portal-nav-actions {
    order: 3;
    flex: 0 0 auto;
  }

  .portal-site-nav {
    inset: calc(var(--portal-nav-height) + 8px) 12px auto;
    max-height: min(74vh, calc(100dvh - var(--portal-nav-height) - 24px));
    padding: 10px;
    border-radius: 8px;
  }

  .portal-nav-link {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .portal-breaking__inner {
    min-height: 38px;
    gap: 8px;
  }

  .portal-breaking-label {
    min-height: 24px;
    padding: 3px 7px;
    font-size: 0.68rem;
  }

  .portal-ticker__track {
    gap: 22px;
    font-size: 0.82rem;
  }

  .portal-lead-layout {
    gap: 16px;
    padding-top: 16px;
  }

  .portal-lead-main {
    gap: 10px;
  }

  .portal-lead-main h1 {
    font-size: 1.78rem;
  }

  .portal-section-heading {
    align-items: flex-start;
    gap: 8px;
  }

  .portal-section-heading h1,
  .portal-section-heading h2 {
    font-size: 1.28rem;
  }

  .portal-category-layout,
  .portal-article-layout,
  .portal-layout,
  .portal-destination-layout {
    gap: 18px;
  }

  .portal-page-header {
    padding: 24px 0;
  }

  .portal-page-title {
    font-size: 1.82rem;
  }

  .portal-page-deck {
    font-size: 0.95rem;
  }

  .portal-article-head h1 {
    font-size: 1.85rem;
  }

  .portal-travel-feature,
  .portal-block,
  .portal-sidebar-card,
  .portal-toc-box,
  .portal-author-box,
  .portal-comment-box,
  .portal-newsletter {
    padding: 12px;
  }

  .portal-toc-box {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .portal-travel-feature h2 {
    font-size: 1.35rem;
  }

  .portal-destination-hero {
    gap: 14px;
  }

  .portal-footer-inner {
    gap: 20px;
    padding: 28px 0 20px;
  }

  .portal-footer-boom__inner {
    padding: 24px 0;
  }

  .portal-footer-boom h2 {
    font-size: 1.55rem;
  }

  .portal-footer-brand .portal-brand--logo {
    width: min(210px, 100%);
  }

  .portal-footer-grid--mega {
    gap: 20px;
  }

  .portal-footer-bottom {
    display: grid;
  }
}

@media (max-width: 420px) {
  .portal-container {
    width: min(100% - 18px, var(--portal-container));
  }

  .portal-top-meta span:nth-child(3) {
    display: none;
  }

  .portal-top-pill--edition {
    display: none;
  }

  .portal-top-pill {
    gap: 5px;
    padding-inline: 6px;
    font-size: 0.68rem;
  }

  .portal-top-login,
  .portal-top-profile {
    min-height: 28px;
    padding-inline: 8px;
    font-size: 0.7rem;
  }

  .portal-user-icon {
    width: 16px;
    height: 16px;
  }

  .portal-sticky-logo {
    width: min(118px, 38vw);
  }

  .portal-nav-toggle,
  .portal-icon-button {
    width: 36px;
    height: 36px;
  }

  .portal-compact-story {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }

  .portal-compact-story h2,
  .portal-compact-story h3 {
    font-size: 0.92rem;
  }

  .portal-meta {
    gap: 4px 8px;
    font-size: 0.74rem;
  }

  .portal-lead-main h1,
  .portal-article-head h1,
  .portal-page-title {
    font-size: 1.62rem;
  }

  .portal-field,
  .portal-textarea,
  .portal-select,
  .portal-btn {
    width: 100%;
  }

  .portal-footer-topics a {
    min-height: 30px;
    font-size: 0.76rem;
  }
}

/* Premium editorial UI pass */
body.portal-page {
  text-rendering: optimizeLegibility;
}

.portal-page img {
  max-width: 100%;
  height: auto;
}

.portal-top-strip {
  background: linear-gradient(180deg, #fbfcfe, #f3f6fa);
  font-size: 0.8rem;
}

.portal-top-strip__inner {
  min-height: 38px;
}

.portal-top-pill {
  border-color: #e4e9f0;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(7, 19, 35, 0.03);
}

.portal-top-login,
.portal-top-profile {
  border-color: #dbe2eb;
  box-shadow: none;
}

.portal-masthead {
  border-bottom: 1px solid #eef2f6;
}

.portal-masthead__inner {
  min-height: 104px;
  padding: 14px 0;
}

.portal-masthead .portal-brand--logo {
  width: min(330px, 64vw);
}

.portal-brand-logo {
  image-rendering: auto;
}

.portal-ad-slot {
  position: relative;
  overflow: hidden;
  border-color: #cbd5e1;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 251, 0.9)),
    repeating-linear-gradient(135deg, #f1f4f8 0 12px, #ffffff 12px 24px);
  color: #667085;
  letter-spacing: 0.01em;
}

.portal-ad-slot--leaderboard {
  min-height: 90px;
  max-width: 100%;
}

.portal-ad-slot--sidebar {
  min-height: 250px;
}

.portal-inarticle-ad {
  min-height: 120px;
  margin: 28px 0;
}

.portal-ad-slot--dynamic {
  inline-size: min(100%, var(--ad-width, 100%));
  max-width: var(--ad-width, 100%);
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  display: block;
  overflow: visible;
}

.portal-ad-slot--leaderboard.portal-ad-slot--dynamic,
.portal-inarticle-ad.portal-ad-slot--dynamic {
  inline-size: 100%;
  max-width: 100%;
}

.portal-masthead .portal-ad-slot--leaderboard.portal-ad-slot--dynamic {
  justify-self: stretch;
  width: 100%;
  min-width: min(100%, 728px);
}

.portal-masthead__inner > .portal-ad-slot--leaderboard.portal-ad-slot--dynamic,
.portal-ad-wide .portal-ad-slot--leaderboard.portal-ad-slot--dynamic {
  width: 100% !important;
  max-width: 100% !important;
}

.portal-ad-slot__media {
  position: relative;
  display: block;
  inline-size: 100%;
  block-size: var(--ad-height, auto);
  min-height: var(--ad-height, inherit);
  overflow: hidden;
  border-radius: 2px;
  background: #f3f4f6;
  color: inherit;
}

.portal-ad-slot__media img,
.portal-ad-slot__media iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.portal-ad-slot__media img {
  object-fit: cover;
}

.portal-ad-slot--leaderboard .portal-ad-slot__media,
.portal-inarticle-ad .portal-ad-slot__media {
  width: 100% !important;
  max-width: 100% !important;
}

.portal-ad-slot--leaderboard .portal-ad-slot__media img,
.portal-inarticle-ad .portal-ad-slot__media img {
  width: 100% !important;
  min-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.portal-ad-slot__media iframe {
  border: 0;
}

.portal-ad-slot__cta {
  position: absolute;
  right: clamp(10px, 2vw, 22px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.portal-ad-slot__label {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-family: var(--portal-serif);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.portal-nav-wrap {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 rgba(7, 19, 35, 0.04);
}

.portal-nav-wrap.is-scrolled {
  border-bottom-color: #cfd6df;
  box-shadow: 0 10px 28px rgba(7, 19, 35, 0.08);
}

.portal-nav-link {
  position: relative;
  letter-spacing: 0.01em;
}

.portal-nav-link::after {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--portal-red);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity var(--portal-speed), transform var(--portal-speed);
  content: "";
}

.portal-nav-link:hover,
.portal-nav-link.active {
  background: #fff5f5;
}

.portal-nav-link:hover::after,
.portal-nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.portal-breaking {
  background: #ffffff;
}

.portal-breaking-label {
  border-radius: 5px;
  letter-spacing: 0.04em;
}

.portal-lead-layout {
  gap: 18px;
  padding-top: 18px;
}

.portal-lead-main {
  gap: 11px;
  padding: 0 0 18px;
}

.portal-lead-main h1 {
  max-width: 920px;
  letter-spacing: 0;
}

.portal-lead-main p {
  max-width: 780px;
  font-size: 0.98rem;
  line-height: 1.65;
}

.portal-side-leads {
  padding-inline: 0;
}

.portal-sidebar-card {
  border-color: #e1e7ef;
  box-shadow: 0 8px 22px rgba(7, 19, 35, 0.035);
}

.portal-sidebar-card h2,
.portal-sidebar-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.08rem;
}

.portal-sidebar-card h2::before,
.portal-sidebar-card h3::before {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--portal-red);
  content: "";
}

.portal-news-list {
  gap: 0;
}

.portal-news-list li {
  position: relative;
  gap: 5px;
  padding: 11px 0;
}

.portal-news-list a {
  font-size: 0.92rem;
}

.portal-news-list__meta {
  color: var(--portal-muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.portal-news-list--numbered {
  counter-reset: portal-most-read;
}

.portal-news-list--numbered li {
  min-height: 54px;
  padding-left: 42px;
  counter-increment: portal-most-read;
}

.portal-news-list--numbered li::before {
  position: absolute;
  left: 0;
  top: 11px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--portal-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-weight: 950;
  content: counter(portal-most-read);
}

.portal-article-card {
  min-width: 0;
  padding: 0 0 15px;
  transition: border-color var(--portal-speed), transform var(--portal-speed);
}

.portal-article-card:hover {
  border-bottom-color: var(--portal-red);
  transform: translateY(-2px);
}

.portal-article-card__media,
.portal-compact-story__media,
.portal-gallery-card__media,
.portal-travel-feature__media,
.portal-lead-main__media {
  position: relative;
}

.portal-article-card__media img,
.portal-compact-story__media img,
.portal-gallery-card__media img,
.portal-travel-feature__media img,
.portal-lead-main__media img,
.portal-article-hero img,
.portal-destination-hero__media img {
  width: 100%;
  display: block;
}

.portal-article-card h2,
.portal-article-card h3 {
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.portal-article-card p {
  min-height: 3.2em;
  font-size: 0.9rem;
  line-height: 1.55;
}

.portal-meta--article,
.portal-meta--compact {
  align-items: center;
  gap: 5px 10px;
  padding-top: 2px;
}

.portal-meta--article span:not(:last-child)::after,
.portal-meta--compact span:not(:last-child)::after {
  margin-left: 10px;
  color: #c5cbd3;
  content: "/";
}

.portal-compact-story {
  min-width: 0;
  grid-template-columns: 108px minmax(0, 1fr);
}

.portal-compact-story h2,
.portal-compact-story h3 {
  font-size: 1.03rem;
}

.portal-section-heading {
  margin-bottom: 14px;
}

.portal-section-heading h1,
.portal-section-heading h2 {
  letter-spacing: 0;
}

.portal-top-grid {
  align-items: start;
}

.portal-travel-desk {
  display: grid;
  gap: 16px;
}

.portal-travel-feature {
  border-color: #f0d6bd;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 246, 0.98)),
    #ffffff;
  box-shadow: 0 12px 28px rgba(233, 114, 22, 0.08);
}

.portal-travel-lanes {
  display: grid;
  gap: 12px;
}

.portal-travel-lane {
  min-height: 104px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 15px;
  border: 1px solid #eadfd2;
  border-radius: var(--portal-radius);
  background: #fffaf6;
  color: var(--portal-heading);
}

.portal-travel-lane span {
  width: max-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--portal-orange);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.portal-travel-lane strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.2;
}

.portal-travel-lane:hover {
  border-color: var(--portal-orange);
  color: var(--portal-orange);
}

.portal-gallery-card {
  box-shadow: 0 12px 28px rgba(7, 19, 35, 0.12);
}

.portal-gallery-card__body {
  min-height: 132px;
  align-content: start;
}

.portal-page-header {
  background: linear-gradient(180deg, #ffffff, #fafbfe);
}

.portal-article-head {
  max-width: 980px;
}

.portal-article-body {
  font-size: 1.04rem;
  line-height: 1.74;
}

.portal-article-body img {
  width: 100%;
  height: auto;
  border-radius: var(--portal-radius);
}

.portal-search-overlay {
  align-items: stretch;
  padding: 0;
  background: rgba(7, 19, 35, 0.82);
  backdrop-filter: blur(10px);
}

.portal-search-dialog {
  width: min(100%, 900px);
  min-height: 100dvh;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}

.portal-dialog-head,
.portal-dialog-body {
  padding-inline: max(18px, calc((100vw - 760px) / 2));
}

.portal-dialog-head {
  min-height: 76px;
}

.portal-dialog-body {
  padding-top: 28px;
}

.portal-search-close span,
.portal-search-close span::before {
  width: 19px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.portal-search-close span {
  transform: rotate(45deg);
}

.portal-search-close span::before {
  transform: rotate(90deg);
}

.portal-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.portal-app-links a {
  min-width: 132px;
  display: grid;
  gap: 1px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--portal-radius);
  color: #ffffff;
}

.portal-app-links span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
}

.portal-app-links strong {
  font-size: 0.9rem;
  line-height: 1;
}

.portal-mobile-bottom-nav {
  display: none;
}

.portal-article-page {
  padding-top: 26px;
}

.portal-article-page .portal-article-top,
.portal-article-page .portal-article-layout {
  width: min(100% - 40px, 1320px);
}

.portal-article-page .portal-breadcrumb {
  margin-bottom: 18px;
  color: #64748b;
  font-size: 0.82rem;
}

.portal-article-page .portal-article-head {
  max-width: none;
  gap: 12px;
}

.portal-article-page .portal-article-head h1 {
  max-width: none;
  font-size: 3rem;
  line-height: 1.06;
  letter-spacing: 0;
}

.portal-article-page .portal-article-deck {
  max-width: none;
  color: #475467;
  font-size: 1.06rem;
  line-height: 1.65;
}

.portal-article-page .portal-meta {
  align-items: center;
  gap: 8px 14px;
  margin-top: 2px;
}

.portal-article-figure {
  margin: 22px 0 0;
}

.portal-article-page .portal-article-hero {
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(7, 19, 35, 0.12);
}

.portal-article-page .portal-article-hero img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.portal-article-page .portal-caption {
  max-width: 980px;
  margin-top: 9px;
}

.portal-article-page .portal-article-layout {
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr) minmax(260px, 320px);
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}

.portal-article-page .portal-article-body {
  max-width: none;
  padding: 0;
  color: #1f2937;
  font-size: 1.08rem;
  line-height: 1.82;
}

.portal-article-page .portal-article-body p,
.portal-article-page .portal-article-body ul,
.portal-article-page .portal-article-body ol {
  margin: 0 0 18px;
}

.portal-article-page .portal-article-body h2,
.portal-article-page .portal-article-body h3 {
  margin: 30px 0 12px;
}

.portal-article-page .portal-toc-box,
.portal-article-page .portal-sidebar-card,
.portal-article-page .portal-author-box,
.portal-comment-box {
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(7, 19, 35, 0.06);
}

.portal-article-page .portal-toc-box {
  position: sticky;
  top: calc(var(--portal-nav-height) + 18px);
  max-height: none;
  overflow: visible;
  overscroll-behavior: auto;
  padding: 16px;
}

.portal-toc-dropdown {
  border: 1px solid var(--portal-border);
  border-radius: 10px;
  background: #ffffff;
}

.portal-toc-dropdown summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--portal-heading);
  font-size: 0.9rem;
  font-weight: 900;
  list-style: none;
}

.portal-toc-dropdown summary::-webkit-details-marker {
  display: none;
}

.portal-toc-chevron {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--portal-red);
  border-bottom: 2px solid var(--portal-red);
  transform: rotate(45deg);
  transition: transform var(--portal-speed);
}

.portal-toc-dropdown[open] summary {
  border-bottom: 1px solid var(--portal-border);
}

.portal-toc-dropdown[open] .portal-toc-chevron {
  transform: rotate(-135deg);
}

.portal-article-page .portal-toc-box h2,
.portal-trending-today h2 {
  margin-bottom: 10px;
  padding-bottom: 8px;
  font-family: var(--portal-font, Inter, system-ui, sans-serif);
  font-size: 0.95rem;
}

.portal-article-page .portal-toc-list {
  gap: 6px;
  max-height: none;
  overflow: visible;
  padding: 10px;
}

.portal-article-page .portal-toc-list a {
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.32;
}

.portal-article-page .portal-toc-list a:hover,
.portal-article-page .portal-toc-list a.active {
  background: #fff2f2;
}

.portal-toc-ad {
  min-height: 96px;
  margin-top: 14px;
  border-radius: 10px;
  font-size: 0.76rem;
}

.portal-trending-today {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--portal-border);
}

.portal-trending-today h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 0;
}

.portal-trending-today h2::before {
  width: 4px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--portal-red);
  content: "";
}

.portal-trending-today .portal-news-list li {
  padding-top: 10px;
  padding-bottom: 10px;
}

.portal-trending-today .portal-news-list--numbered li {
  padding-left: 38px;
}

.portal-article-page .portal-sidebar-card {
  padding: 16px;
}

.portal-article-page .portal-author-box {
  max-width: 860px;
  margin-top: 26px;
  padding: 18px;
}

.portal-article-page .portal-inarticle-ad {
  max-width: 860px;
  margin: 30px 0;
}

.portal-article-page .portal-comment-box {
  width: min(100% - 40px, 860px);
}

.portal-article-comments {
  padding-top: 8px;
}

.portal-comment-box--compact {
  width: min(100% - 40px, 1320px);
  display: grid;
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.portal-comment-box--compact h2 {
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: 0;
  font-family: var(--portal-font, Inter, system-ui, sans-serif);
  font-size: 1.05rem;
}

.portal-comment-form-compact {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.portal-comment-form-compact .portal-field,
.portal-comment-form-compact .portal-textarea {
  min-height: 42px;
}

.portal-comment-form-compact .portal-textarea {
  height: 42px;
  min-height: 42px;
  resize: vertical;
}

.portal-comment-form-compact .portal-btn {
  min-height: 42px;
  padding-inline: 18px;
}

.portal-comment-form-compact .portal-form-status {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 1100px) {
  .portal-article-page .portal-article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  }

  .portal-article-page .portal-toc-box {
    grid-column: 1 / -1;
    position: static;
    display: grid;
    gap: 12px;
  }

  .portal-comment-box--compact {
    grid-template-columns: 1fr;
  }

  .portal-comment-form-compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .portal-article-page {
    padding-top: 18px;
  }

  .portal-storyline-strip {
    padding: 10px 0 8px;
  }

  .portal-live-brief-strip {
    padding: 8px 0;
  }

  .portal-live-brief {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .portal-score-head {
    border-right: 0;
    border-bottom: 1px solid var(--portal-border);
    padding: 0 0 8px;
  }

  .portal-score-head strong {
    font-size: 1rem;
  }

  .portal-score-head span {
    font-size: 0.62rem;
  }

  .portal-live-brief__rail {
    gap: 9px;
    scrollbar-width: none;
  }

  .portal-live-brief__rail::-webkit-scrollbar {
    display: none;
  }

  .portal-live-card {
    flex: 0 0 228px;
    scroll-snap-align: start;
  }

  .portal-storyline-head {
    margin-bottom: 7px;
  }

  .portal-storyline-card {
    flex-basis: 96px;
  }

  .portal-storyline-card__media {
    border-radius: 15px;
  }

  .portal-storyline-card__media img {
    border-radius: 12px;
  }

  .portal-storyline-card__text strong {
    font-size: 0.62rem;
  }

  .portal-storyline-card__text span {
    font-size: 0.72rem;
  }

  .portal-story-popout {
    padding: 12px;
  }

  .portal-story-popout__panel {
    width: min(100%, 360px);
    max-height: calc(100vh - 24px);
  }

  .portal-story-popout__body h2 {
    font-size: 1.32rem;
  }

  .portal-notification-prompt {
    top: 10px;
    right: 12px;
    left: 12px;
    width: auto;
    gap: 13px;
    padding: 17px 18px 16px;
    border-radius: 16px;
  }

  .portal-notification-prompt__actions {
    justify-content: stretch;
  }

  .portal-notification-prompt__allow,
  .portal-notification-prompt__block {
    flex: 1 1 0;
    min-width: 0;
  }

  .portal-article-page .portal-article-top,
  .portal-article-page .portal-article-layout,
  .portal-article-page .portal-comment-box,
  .portal-comment-box--compact {
    width: min(100% - 24px, 1320px);
  }

  .portal-article-page .portal-article-head h1 {
    font-size: 2rem;
    line-height: 1.12;
  }

  .portal-article-page .portal-article-deck {
    font-size: 0.98rem;
  }

  .portal-article-page .portal-article-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
  }

  .portal-article-page .portal-article-body {
    max-width: none;
    font-size: 1rem;
    line-height: 1.76;
  }

  .portal-article-page .portal-article-hero {
    border-radius: 10px;
  }
}

body.portal-is-loading [data-portal-skeleton] .portal-article-card__media::after,
body.portal-is-loading [data-portal-skeleton] .portal-compact-story__media::after,
body.portal-is-loading .portal-lead-main__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: portal-skeleton 1.1s linear infinite;
  content: "";
}

@keyframes portal-skeleton {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@media (min-width: 760px) {
  .portal-travel-lanes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .portal-nav-list {
    gap: 0;
  }

  .portal-nav-link {
    padding-inline: 12px;
  }

  .portal-lead-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(255px, 0.82fr) 318px;
    gap: 22px;
  }

  .portal-lead-main {
    border-bottom: 0;
    border-right: 1px solid var(--portal-border);
    padding-right: 20px;
  }

  .portal-side-leads {
    border-right: 1px solid var(--portal-border);
    padding-right: 20px;
  }

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

  .portal-sidebar-sticky {
    top: calc(var(--portal-nav-height) + 18px);
  }

  .portal-toc-box {
    top: calc(var(--portal-nav-height) + 18px);
  }
}

@media (max-width: 767px) {
  body.portal-page {
    padding-bottom: 62px;
  }

  .portal-nav-wrap {
    top: 0;
  }

  .portal-site-nav {
    inset: var(--portal-nav-height) 0 auto;
    max-height: calc(100dvh - var(--portal-nav-height) - 64px);
    border-radius: 0 0 14px 14px;
    border-left: 0;
    border-right: 0;
    box-shadow: 0 18px 36px rgba(7, 19, 35, 0.16);
  }

  .portal-nav-list {
    gap: 6px;
  }

  .portal-nav-link::after {
    display: none;
  }

  .portal-lead-main__media,
  .portal-article-card__media,
  .portal-gallery-card__media,
  .portal-travel-feature__media {
    border-radius: 8px;
  }

  .portal-article-card {
    gap: 8px;
  }

  .portal-article-card p {
    min-height: 0;
  }

  .portal-sidebar-card {
    box-shadow: none;
  }

  .portal-search-dialog {
    width: 100%;
  }

  .portal-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1900;
    min-height: 58px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #dfe5ee;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 -10px 28px rgba(7, 19, 35, 0.08);
  }

  .portal-mobile-bottom-nav a,
  .portal-mobile-bottom-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--portal-heading);
    font-size: 0.68rem;
    font-weight: 900;
  }

  .portal-mobile-bottom-nav a:hover,
  .portal-mobile-bottom-nav button:hover,
  .portal-mobile-bottom-nav a:focus-visible,
  .portal-mobile-bottom-nav button:focus-visible {
    color: var(--portal-red);
    outline: none;
  }

  .portal-bottom-icon {
    width: 20px;
    height: 20px;
    position: relative;
    display: inline-block;
  }

  .portal-bottom-icon--home::before {
    position: absolute;
    inset: 5px 3px 2px;
    border: 2px solid currentColor;
    border-top: 0;
    content: "";
  }

  .portal-bottom-icon--home::after {
    position: absolute;
    left: 3px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    content: "";
  }

  .portal-bottom-icon--travel::before {
    position: absolute;
    inset: 3px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
  }

  .portal-bottom-icon--travel::after {
    position: absolute;
    left: 9px;
    top: 1px;
    width: 2px;
    height: 18px;
    background: currentColor;
    content: "";
  }

  .portal-bottom-icon--search::before {
    position: absolute;
    inset: 2px 6px 6px 2px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
  }

  .portal-bottom-icon--search::after {
    position: absolute;
    right: 2px;
    bottom: 3px;
    width: 8px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
    content: "";
  }

  .portal-bottom-icon--profile {
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .portal-bottom-icon--profile::before {
    position: absolute;
    left: 50%;
    top: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    transform: translateX(-50%);
    content: "";
  }

  .portal-back-to-top {
    bottom: 72px;
  }
}

/* Contributor portal */
.contributor-page {
  background: #f5f7fb;
}

.contributor-main {
  padding: 28px 0 48px;
}

.contributor-footer {
  margin-top: 0;
}

.contributor-shell {
  display: grid;
  gap: 18px;
}

.contributor-auth-wrap {
  width: min(100%, 520px);
  margin: 0 auto;
}

.contributor-auth-wrap--split {
  width: min(100%, 1040px);
}

.contributor-auth-wrap--simple {
  width: min(100%, 480px);
}

.contributor-auth-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(7, 19, 35, 0.09);
}

.contributor-auth-story {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 320px;
  padding: clamp(22px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(216, 20, 34, 0.82), rgba(216, 20, 34, 0.18) 34%, transparent 58%),
    linear-gradient(140deg, #071323 0%, #0e1b2e 58%, #162740 100%);
  color: #ffffff;
}

.contributor-auth-logo {
  width: min(220px, 70%);
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.contributor-auth-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.contributor-auth-story .portal-label {
  width: max-content;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contributor-auth-story h1 {
  max-width: 560px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.contributor-auth-story p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.contributor-auth-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contributor-auth-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 850;
}

.contributor-auth-card {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.contributor-auth-card--simple {
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(7, 19, 35, 0.08);
}

.contributor-auth-card-logo {
  width: 188px;
  display: inline-flex;
  justify-self: center;
  margin-bottom: 26px;
  padding: 10px 14px;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  background: #ffffff;
}

.contributor-auth-card-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.contributor-auth-card-head {
  margin-bottom: 22px;
}

.contributor-auth-card-head--center {
  text-align: center;
}

.contributor-auth-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #fff0f0;
  color: var(--portal-red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contributor-auth-card h2 {
  margin: 0 0 8px;
  color: var(--portal-navy);
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 950;
  line-height: 1.05;
}

.contributor-auth-card h1 {
  margin: 0 0 8px;
  color: var(--portal-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 950;
  line-height: 1.05;
}

.contributor-auth-card p {
  margin: 0;
}

.contributor-auth-form {
  display: grid;
  gap: 16px;
}

.contributor-field {
  display: grid;
  gap: 8px;
}

.contributor-auth-form .form-control {
  min-height: 52px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--portal-navy);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: none;
}

.contributor-auth-form .form-control::placeholder {
  color: #8b98a8;
  opacity: 1;
}

.contributor-auth-form .form-control:focus {
  border-color: var(--portal-red);
  background: #ffffff;
  color: var(--portal-navy);
  box-shadow: 0 0 0 4px rgba(216, 20, 34, 0.09);
}

.contributor-auth-form .form-control:-webkit-autofill,
.contributor-auth-form .form-control:-webkit-autofill:hover,
.contributor-auth-form .form-control:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #f8fafc inset;
  -webkit-text-fill-color: #071323;
  caret-color: #071323;
  transition: background-color 9999s ease-out;
}

.contributor-password-wrap {
  position: relative;
}

.contributor-password-wrap .form-control {
  padding-right: 60px;
}

.contributor-password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e0e7f0;
  border-radius: 8px;
  background: #f1f5f9;
  color: var(--portal-navy);
  transform: translateY(-50%);
}

.contributor-password-toggle:hover,
.contributor-password-toggle:focus-visible {
  background: var(--portal-navy);
  color: #ffffff;
  outline: none;
}

.password-eye {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-eye--hide {
  display: none;
}

.contributor-password-toggle.is-visible .password-eye--show {
  display: none;
}

.contributor-password-toggle.is-visible .password-eye--hide {
  display: block;
}

.contributor-auth-submit {
  min-height: 50px;
  margin-top: 4px;
}

.contributor-auth-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #edf1f5;
  color: var(--portal-muted);
  font-weight: 750;
}

.contributor-auth-foot a {
  color: var(--portal-red);
  font-weight: 900;
  text-decoration: none;
}

.contributor-auth-foot a:hover,
.contributor-auth-foot a:focus-visible {
  text-decoration: underline;
}

.contributor-card,
.contributor-sidebar,
.contributor-stat,
.contributor-public-card {
  border: 1px solid #dfe5ee;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(7, 19, 35, 0.07);
}

.contributor-card {
  padding: 18px;
}

.contributor-card h1,
.contributor-card h2,
.contributor-public-card h2,
.contributor-public-card h3 {
  color: var(--portal-navy);
  font-weight: 900;
}

.contributor-card h1 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.contributor-card h2 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.contributor-muted {
  color: var(--portal-muted);
}

.contributor-sidebar {
  align-self: start;
  overflow: hidden;
}

.contributor-profile-mini {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #dfe5ee;
}

.contributor-profile-mini strong,
.contributor-profile-mini span {
  display: block;
  min-width: 0;
}

.contributor-profile-mini span {
  color: var(--portal-muted);
  font-size: 0.82rem;
  word-break: break-word;
}

.contributor-avatar {
  width: 54px;
  height: 54px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--portal-red);
  color: #ffffff;
  font-weight: 900;
}

.contributor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contributor-nav {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.contributor-nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--portal-navy);
  font-weight: 850;
  text-decoration: none;
}

.contributor-nav a:hover,
.contributor-nav a.active {
  background: #fff0f0;
  color: var(--portal-red);
}

.contributor-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.contributor-stat {
  padding: 16px;
}

.contributor-stat span {
  display: block;
  color: var(--portal-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contributor-stat strong {
  display: block;
  margin-top: 6px;
  color: var(--portal-navy);
  font-size: 1.8rem;
  line-height: 1;
}

.contributor-form-grid {
  display: grid;
  gap: 16px;
}

.contributor-table-title {
  max-width: 420px;
}

.contributor-table-title strong,
.contributor-table-title span {
  display: block;
}

.contributor-table-title span {
  color: var(--portal-muted);
  font-size: 0.84rem;
}

.contributor-thumb {
  width: 76px;
  height: 54px;
  overflow: hidden;
  display: inline-grid;
  place-items: center;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--portal-red);
  font-weight: 900;
}

.contributor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contributor-quick-actions {
  display: grid;
  gap: 10px;
}

.contributor-remark {
  padding: 10px 12px;
  border-left: 4px solid var(--portal-red);
  border-radius: 8px;
  background: #fff5f5;
  color: #7f1d1d;
}

.contributor-public-grid {
  display: grid;
  gap: 16px;
}

.contributor-public-card {
  overflow: hidden;
}

.contributor-public-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
}

.contributor-public-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contributor-public-card__body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.contributor-public-card h2,
.contributor-public-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

.contributor-article {
  max-width: 850px;
  margin: 0 auto;
}

.contributor-article-hero {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e5e7eb;
}

.contributor-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contributor-article-content {
  color: #1f2937;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contributor-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.contributor-category-suggest {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dfe5ee;
}

.ck-editor__editable {
  min-height: 320px;
}

@media (min-width: 900px) {
  .contributor-shell {
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
  }

  .contributor-sidebar {
    position: sticky;
    top: calc(var(--portal-nav-height) + 18px);
  }

  .contributor-card {
    padding: 22px;
  }

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

  .contributor-form-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    align-items: start;
  }

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

/* Contributor portal polish */
.contributor-page {
  background:
    linear-gradient(180deg, #f7f9fc 0, #f7f9fc 360px, #ffffff 360px),
    #ffffff;
}

.contributor-page .portal-masthead {
  background: #ffffff;
}

.contributor-page .portal-ad-slot {
  min-height: 48px;
  font-size: 0.74rem;
}

.contributor-main {
  min-height: 72vh;
  padding: 22px 0 56px;
}

.contributor-shell {
  gap: 20px;
}

.contributor-workspace {
  min-width: 0;
}

.contributor-card,
.contributor-sidebar,
.contributor-stat {
  border-color: #e4e9f0;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(7, 19, 35, 0.055);
}

.contributor-card {
  padding: 16px;
}

.contributor-card-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.contributor-card-head--compact {
  margin-bottom: 14px;
}

.contributor-card-head h1,
.contributor-card h1 {
  margin: 2px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.contributor-card h2 {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.25;
}

.contributor-hero {
  display: grid;
  gap: 16px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.05), transparent 42%),
    #ffffff;
}

.contributor-hero .btn {
  width: 100%;
}

.contributor-sidebar {
  overflow: hidden;
  box-shadow: none;
}

.contributor-profile-mini {
  padding: 14px;
  background: linear-gradient(180deg, #ffffff, #fafbfe);
}

.contributor-profile-mini strong {
  color: var(--portal-navy);
  font-size: 0.98rem;
  line-height: 1.2;
}

.contributor-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--portal-navy), var(--portal-red));
  font-size: 1.05rem;
}

.contributor-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.contributor-nav a {
  min-height: 38px;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 800;
}

.contributor-nav a:hover,
.contributor-nav a.active {
  border-color: #ffd8d8;
  background: #fff5f5;
}

.contributor-sidebar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px 12px;
}

.contributor-stats {
  gap: 10px;
}

.contributor-dashboard-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.contributor-dashboard-main,
.contributor-dashboard-side {
  min-width: 0;
}

.contributor-card--actions {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.contributor-blog-list {
  display: grid;
  gap: 12px;
}

.contributor-blog-item {
  display: grid;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  background: #ffffff;
}

.contributor-blog-main {
  min-width: 0;
}

.contributor-blog-title-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.contributor-blog-title-row h3 {
  min-width: 0;
  margin: 0;
  color: var(--portal-navy);
  font-size: 1rem;
  line-height: 1.28;
}

.contributor-blog-title-row .badge {
  flex: 0 0 auto;
}

.contributor-blog-main p {
  margin: 5px 0 0;
  color: #697586;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.contributor-blog-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.contributor-blog-meta span {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border: 1px solid #edf1f5;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--portal-navy);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.contributor-blog-meta strong {
  color: #6b7280;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contributor-blog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.contributor-inline-remark {
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid #ffd8d8;
  border-radius: 8px;
  background: #fff7f7;
  color: #9f1239;
  font-size: 0.84rem;
}

.contributor-empty-state {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 18px;
  border: 1px dashed #cfd6df;
  border-radius: 10px;
  background: #f8fafc;
  color: #667085;
}

.contributor-empty-state strong {
  color: var(--portal-navy);
  font-size: 1rem;
}

.contributor-stat {
  position: relative;
  overflow: hidden;
  padding: 14px;
  background: #ffffff;
}

.contributor-stat::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--portal-red);
}

.contributor-stat:nth-child(2)::before {
  background: var(--portal-orange);
}

.contributor-stat:nth-child(3)::before {
  background: var(--portal-blue);
}

.contributor-stat:nth-child(4)::before {
  background: #1f8a70;
}

.contributor-stat:nth-child(5)::before {
  background: #7c3aed;
}

.contributor-stat span {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.contributor-stat strong {
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.contributor-filter-bar {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #e4e9f0;
  border-radius: 10px;
  background: #f8fafc;
}

.contributor-page .form-label {
  margin-bottom: 6px;
  color: var(--portal-navy);
  font-size: 0.86rem;
  font-weight: 800;
}

.contributor-page .form-control,
.contributor-page .form-select {
  border-color: #dfe5ee;
  border-radius: 7px;
  color: var(--portal-navy);
  box-shadow: none;
}

.contributor-page .form-control:focus,
.contributor-page .form-select:focus {
  border-color: rgba(215, 25, 32, 0.55);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.1);
}

.contributor-page .form-text {
  color: #6b7280;
  font-size: 0.8rem;
}

.contributor-page .btn-danger {
  border-color: var(--portal-red);
  background: var(--portal-red);
  color: #ffffff;
}

.contributor-page .btn-danger:hover,
.contributor-page .btn-danger:focus-visible {
  border-color: var(--portal-red-dark);
  background: var(--portal-red-dark);
  color: #ffffff;
}

.contributor-page .btn-outline-danger {
  border-color: rgba(215, 25, 32, 0.55);
  background: #ffffff;
  color: var(--portal-red);
}

.contributor-page .btn-outline-danger:hover,
.contributor-page .btn-outline-danger:focus-visible {
  border-color: var(--portal-red);
  background: var(--portal-red-soft);
  color: var(--portal-red);
}

.contributor-page .btn-outline-secondary {
  border-color: #cfd6df;
  background: #ffffff;
  color: var(--portal-navy);
}

.contributor-page .btn-outline-secondary:hover,
.contributor-page .btn-outline-secondary:focus-visible {
  border-color: #b9c1cc;
  background: #f8fafc;
  color: var(--portal-navy);
}

.contributor-table {
  --bs-table-bg: transparent;
  min-width: 760px;
}

.contributor-table thead th {
  padding: 10px 12px;
  border-bottom: 1px solid #e4e9f0;
  background: #f8fafc;
  color: #5f6b7a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contributor-table tbody td {
  padding: 13px 12px;
  border-color: #edf1f5;
  vertical-align: middle;
}

.contributor-table tbody tr:hover {
  background: #fcfdff;
}

.contributor-table-title {
  max-width: 460px;
}

.contributor-table-title strong {
  color: var(--portal-navy);
  font-size: 0.96rem;
  line-height: 1.32;
}

.contributor-table-title span {
  margin-top: 3px;
  font-size: 0.78rem;
}

.contributor-thumb {
  width: 64px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 7px;
}

.contributor-page .badge {
  padding: 0.45em 0.65em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.contributor-quick-actions .btn,
.contributor-sidebar-actions .btn {
  justify-content: center;
  font-weight: 800;
}

.contributor-form-grid {
  gap: 18px;
}

.contributor-editor-card {
  min-width: 0;
}

.contributor-writing-form {
  align-items: start;
}

.contributor-writing-form .contributor-card {
  border-color: #dfe6ef;
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(7, 19, 35, 0.07);
}

.contributor-writing-hero {
  margin: -4px -4px 18px;
  padding: 18px;
  border: 1px solid #edf1f6;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(215, 25, 32, 0.055), transparent 54%),
    #fbfcff;
}

.contributor-writing-hero h1 {
  margin-top: 5px;
  font-family: var(--portal-font, Inter, system-ui, sans-serif);
  font-size: 1.55rem;
  line-height: 1.18;
}

.contributor-writing-hero .btn {
  border-radius: 8px;
  font-weight: 850;
}

.contributor-writing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contributor-writing-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #e4e9f0;
  border-radius: 999px;
  background: #ffffff;
  color: #475467;
  font-size: 0.74rem;
  font-weight: 850;
}

.contributor-writing-section {
  padding: 2px;
}

.contributor-field-grid {
  display: grid;
  gap: 14px;
}

.contributor-title-input {
  min-height: 54px;
  font-size: 1.05rem;
  font-weight: 850;
}

.contributor-writing-form .form-control,
.contributor-writing-form .form-select {
  min-height: 46px;
  border-radius: 8px;
  background: #ffffff;
}

.contributor-writing-form textarea.form-control {
  min-height: 108px;
}

.contributor-writing-form .ck.ck-editor {
  border: 1px solid #dfe5ee;
  border-radius: 10px;
  background: #ffffff;
}

.contributor-writing-form .ck.ck-toolbar {
  border: 0;
  border-bottom: 1px solid #edf1f5;
  background: #f8fafc;
}

.contributor-writing-form .ck.ck-editor__main > .ck-editor__editable {
  border: 0;
  min-height: 390px;
  padding: 18px 20px;
  color: var(--portal-navy);
  font-size: 1rem;
  line-height: 1.75;
}

.contributor-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.contributor-side-title h2 {
  margin: 0;
}

.contributor-side-title span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff2f2;
  color: var(--portal-red);
  font-size: 0.72rem;
  font-weight: 900;
}

.contributor-publish-card {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.contributor-upload-box {
  padding: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.contributor-upload-box .form-control {
  background: #ffffff;
}

.contributor-checklist {
  display: grid;
  gap: 8px;
  margin: 4px 0 16px;
  padding: 0;
  list-style: none;
}

.contributor-checklist li {
  position: relative;
  padding-left: 22px;
  color: #667085;
  font-size: 0.82rem;
  line-height: 1.35;
}

.contributor-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  border: 2px solid #15a06d;
  border-radius: 50%;
  background: #e8f7ef;
}

.contributor-seo-card {
  background: #ffffff;
}

.contributor-side-stack {
  display: grid;
  gap: 14px;
}

.contributor-card--sticky {
  align-self: start;
}

.contributor-category-suggest {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 0;
  background: linear-gradient(180deg, #ffffff, #fafbfe);
}

.contributor-narrow {
  width: min(100%, 860px);
}

.contributor-remark {
  border-radius: 7px;
  background: #fff7f7;
  font-size: 0.92rem;
}

.article-current-image {
  width: 100%;
  max-height: 180px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  object-fit: cover;
}

.ck.ck-editor {
  overflow: hidden;
  border-radius: 8px;
}

.ck-editor__editable {
  min-height: 280px;
}

@media (min-width: 860px) {
  .contributor-auth-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  }

  .contributor-auth-story {
    min-height: 560px;
  }
}

@media (min-width: 760px) {
  .contributor-card {
    padding: 20px;
  }

  .contributor-field-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.78fr);
  }

  .contributor-hero {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contributor-hero .btn {
    width: auto;
  }

  .contributor-stats {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
  }

  .contributor-blog-item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 900px) {
  .contributor-shell {
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 24px;
  }

  .contributor-sidebar {
    top: calc(var(--portal-nav-height) + 16px);
  }

  .contributor-nav {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .contributor-nav a {
    justify-content: flex-start;
    padding: 9px 11px;
  }

  .contributor-sidebar-actions {
    grid-template-columns: 1fr;
    border-top: 1px solid #e4e9f0;
    padding: 12px;
  }

  .contributor-form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
  }

  .contributor-writing-form {
    gap: 22px;
  }

  .contributor-card--sticky {
    position: sticky;
    top: calc(var(--portal-nav-height) + 16px);
  }

  .contributor-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }
}

@media (min-width: 1180px) {
  .contributor-form-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .ck-editor__editable {
    min-height: 420px;
  }
}

@media (max-width: 575px) {
  .contributor-main {
    padding-top: 14px;
  }

  .contributor-auth-wrap--split {
    width: 100%;
  }

  .contributor-auth-wrap--simple {
    width: 100%;
  }

  .contributor-auth-panel {
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(7, 19, 35, 0.08);
  }

  .contributor-auth-story {
    min-height: auto;
    padding: 22px;
  }

  .contributor-auth-logo {
    width: 170px;
    padding: 9px 12px;
  }

  .contributor-auth-story h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .contributor-auth-highlights {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contributor-auth-card {
    padding: 22px;
  }

  .contributor-auth-card--simple {
    box-shadow: 0 10px 28px rgba(7, 19, 35, 0.07);
  }

  .contributor-auth-card-logo {
    width: 165px;
    margin-bottom: 20px;
  }

  .contributor-card-head {
    display: grid;
  }

  .contributor-card-head .btn,
  .contributor-quick-actions .btn {
    width: 100%;
  }

  .contributor-writing-hero {
    margin: -2px -2px 16px;
    padding: 14px;
  }

  .contributor-writing-hero h1 {
    font-size: 1.32rem;
  }

  .contributor-writing-form .ck.ck-editor__main > .ck-editor__editable {
    min-height: 280px;
    padding: 14px;
  }

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

  .contributor-card-head {
    align-items: stretch;
  }

  .contributor-card-head .btn {
    width: 100%;
  }

  .contributor-blog-title-row {
    display: grid;
  }

  .contributor-blog-title-row .badge {
    justify-self: start;
  }

  .contributor-blog-meta {
    grid-template-columns: 1fr;
  }

  .contributor-blog-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
  }

  .contributor-filter-bar {
    padding: 10px;
  }
}
