/*
Theme Name: Prezzi Mondiali Blog
Theme URI: https://prezzi-mondiali.it/blog
Author: prezzi-mondiali.it
Description: Editorial travel theme consistent with the Prezzi Mondiali portal.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: prezzi-mondiali-blog
*/

:root {
  --cs-ink: #0f172a;
  --cs-ink-soft: #253149;
  --cs-muted: #64748b;
  --cs-muted-light: #94a3b8;
  --cs-line: #e2e8f0;
  --cs-surface: #ffffff;
  --cs-background: #f5f8fa;
  --cs-teal: #0f9f92;
  --cs-teal-dark: #0f766e;
  --cs-teal-soft: #e7f8f5;
  --cs-coral: #fb7185;
  --cs-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --cs-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.06);
  --cs-radius-xl: 24px;
  --cs-radius-lg: 18px;
  --cs-radius-md: 13px;
  --cs-container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cs-background);
  color: var(--cs-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--cs-teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.3);
  outline-offset: 3px;
}

.site-main {
  min-height: 60vh;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: var(--cs-ink);
  border-radius: 10px;
  box-shadow: var(--cs-shadow-soft);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 72px;
  max-width: var(--cs-container);
  padding: 0 24px;
  margin: 0 auto;
}

.site-header .navbar-brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
}

.site-brand img {
  width: 137px;
  height: auto;
}

.site-header .navbar-menu {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  margin-left: 46px;
  background: transparent;
  box-shadow: none;
}

.site-header .navbar-start {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

.site-header .navbar-item,
.site-header .navbar-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0;
  color: #59677f;
  background: transparent !important;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header .navbar-item:hover,
.site-header .navbar-link:hover,
.site-header .navbar-item.is-current {
  color: var(--cs-teal);
}

.site-header .navbar-item.is-current::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--cs-teal);
  border-radius: 3px 3px 0 0;
}

.site-header .navbar-link::after {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 9px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.site-header .has-dropdown {
  position: relative;
}

.site-header .navbar-dropdown {
  position: absolute;
  z-index: 10;
  top: calc(100% - 8px);
  left: -20px;
  display: grid;
  width: 270px;
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: 14px;
  box-shadow: var(--cs-shadow);
  transform: translateY(7px);
  transition: 160ms ease;
}

.site-header .has-dropdown:hover .navbar-dropdown,
.site-header .has-dropdown:focus-within .navbar-dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.site-header .navbar-dropdown .navbar-item {
  min-height: auto;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--cs-ink-soft);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.site-header .navbar-dropdown .navbar-item:hover {
  color: var(--cs-teal-dark);
  background: var(--cs-teal-soft) !important;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  margin-left: auto;
  color: #fff;
  background: var(--cs-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: 160ms ease;
}

.site-header__cta:hover {
  color: #fff;
  background: var(--cs-teal-dark);
  transform: translateY(-1px);
}

.site-header .navbar-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  margin-left: auto;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.site-header .navbar-burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--cs-ink);
  border-radius: 4px;
  transition: 160ms ease;
}

/* Hero */
.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  color: #fff;
  background-image: linear-gradient(118deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 118, 110, 0.62) 48%, rgba(15, 23, 42, 0.82) 100%), url("https://cdn.hikb.at/pr/img/main/hero-home-world.jpg?width=1800&quality=72");
  background-position: center;
  background-size: cover;
}

.blog-hero::after {
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -260px;
  width: 600px;
  height: 600px;
  content: "";
  background: rgba(45, 212, 191, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(255, 255, 255, 0.025), 0 0 0 150px rgba(255, 255, 255, 0.02);
}

.blog-hero__inner {
  position: relative;
  max-width: var(--cs-container);
  padding: 76px 24px 62px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cs-teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #99f6e4;
}

.eyebrow span {
  padding: 0 5px;
  color: rgba(255, 255, 255, 0.48);
}

.blog-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.blog-hero__lead {
  max-width: 690px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.75;
}

.blog-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.button-primary,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: 160ms ease;
}

.button-primary {
  color: #073b37;
  background: #99f6e4;
  box-shadow: 0 10px 24px rgba(153, 246, 228, 0.18);
}

.button-primary:hover {
  color: #073b37;
  background: #ccfbf1;
  transform: translateY(-2px);
}

.button-ghost {
  gap: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-secondary {
  color: var(--cs-ink);
  background: #fff;
  border: 1px solid var(--cs-line);
}

.button-secondary:hover {
  color: var(--cs-teal-dark);
  border-color: #9bded6;
}

.blog-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 650;
}

/* Listings */
.content-shell {
  max-width: var(--cs-container);
  padding: 64px 24px 82px;
  margin: 0 auto;
}

.content-shell--home {
  padding-top: 72px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 0;
  color: var(--cs-ink);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 820;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.section-heading > p {
  max-width: 470px;
  margin: 0 0 3px;
  color: var(--cs-muted);
  font-size: 16px;
  line-height: 1.7;
}

.section-heading--compact {
  margin-bottom: 28px;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 42px;
}

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

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  background: var(--cs-surface);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--cs-radius-lg);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
  border-color: rgba(15, 159, 146, 0.28);
  box-shadow: var(--cs-shadow);
  transform: translateY(-4px);
}

.post-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.52 / 1;
  background: linear-gradient(145deg, #ccfbf1, #dbeafe);
}

.post-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.post-card:hover .post-card__image {
  transform: scale(1.035);
}

.post-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-size: 54px;
}

.post-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 22px 22px 20px;
}

.post-card__category,
.article-hero__category {
  align-self: flex-start;
  color: var(--cs-teal-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.post-card__title {
  margin: 10px 0 0;
  color: var(--cs-ink);
  font-size: 21px;
  font-weight: 790;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  color: var(--cs-teal-dark);
}

.post-card__excerpt {
  margin-top: 13px;
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.65;
}

.post-card__excerpt p {
  margin: 0;
}

.post-card__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--cs-muted-light);
  font-size: 11px;
  font-weight: 650;
}

.post-card__arrow {
  margin-left: auto;
  color: var(--cs-teal-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  min-height: 365px;
}

.post-card--featured .post-card__media {
  height: 100%;
  aspect-ratio: auto;
}

.post-card--featured .post-card__body {
  justify-content: center;
  padding: 34px;
}

.post-card--featured .post-card__title {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.post-card--featured .post-card__excerpt {
  font-size: 15px;
}

/* Sidebar */
.travel-sidebar {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 20px;
}

.sidebar-card,
.sidebar-cta {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius-lg);
  box-shadow: var(--cs-shadow-soft);
}

.sidebar-card h2,
.sidebar-cta h2 {
  margin: 2px 0 0;
  color: var(--cs-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.sidebar-card__eyebrow {
  margin: 0 0 5px;
  color: var(--cs-teal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.sidebar-card__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.sidebar-card__spark {
  display: grid;
  width: 34px;
  height: 34px;
  color: var(--cs-teal-dark);
  background: var(--cs-teal-soft);
  border-radius: 50%;
  place-items: center;
}

.modern-search {
  display: flex;
  overflow: hidden;
  margin-top: 17px;
  background: var(--cs-background);
  border: 1px solid #d7e0e9;
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.modern-search:focus-within {
  border-color: #5ccbc0;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.modern-search input {
  min-width: 0;
  height: 48px;
  flex: 1 1 auto;
  padding: 0 14px;
  color: var(--cs-ink);
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 13px;
  outline: none;
}

.modern-search input::placeholder {
  color: var(--cs-muted-light);
}

.modern-search button {
  display: grid;
  width: 48px;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: var(--cs-teal-dark);
  border: 0;
  place-items: center;
}

.modern-search button:hover {
  background: var(--cs-teal);
}

.sidebar-posts {
  display: grid;
  gap: 0;
}

.sidebar-post {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 0;
  border-top: 1px solid #edf1f5;
}

.sidebar-post:first-child {
  padding-top: 0;
  border-top: 0;
}

.sidebar-post:last-child {
  padding-bottom: 0;
}

.sidebar-post__image {
  display: block;
  overflow: hidden;
  width: 78px;
  height: 64px;
  background: var(--cs-teal-soft);
  border-radius: 10px;
  text-decoration: none;
}

.sidebar-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-post__image span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
}

.sidebar-post h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--cs-ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sidebar-post h3 a {
  color: inherit;
  text-decoration: none;
}

.sidebar-post h3 a:hover {
  color: var(--cs-teal-dark);
}

.sidebar-post p {
  margin: 6px 0 0;
  color: var(--cs-muted-light);
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 17px;
}

.category-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  color: var(--cs-ink-soft);
  background: #f7fafc;
  border: 1px solid var(--cs-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.category-cloud a:hover {
  color: var(--cs-teal-dark);
  background: var(--cs-teal-soft);
  border-color: #b9e9e2;
}

.category-cloud span {
  color: var(--cs-muted-light);
  font-size: 10px;
}

.sidebar-cta {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, #0f766e 0%, #0f9f92 55%, #14b8a6 100%);
  border: 0;
  box-shadow: 0 18px 38px rgba(15, 118, 110, 0.2);
}

.sidebar-cta__icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  place-items: center;
  font-size: 22px;
}

.sidebar-cta .sidebar-card__eyebrow {
  color: #99f6e4;
}

.sidebar-cta h2 {
  color: #fff;
  font-size: 23px;
}

.sidebar-cta > p:not(.sidebar-card__eyebrow) {
  margin: 13px 0 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.sidebar-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* Archive and article headers */
.page-hero,
.article-hero {
  background: radial-gradient(circle at 82% 20%, rgba(153, 246, 228, 0.27), transparent 30%), linear-gradient(180deg, #f7fffd 0%, #f7fafc 100%);
  border-bottom: 1px solid var(--cs-line);
}

.page-hero__inner,
.article-hero__inner {
  max-width: var(--cs-container);
  padding: 62px 24px 58px;
  margin: 0 auto;
}

.page-hero h1,
.article-hero h1 {
  max-width: 980px;
  margin: 10px 0 0;
  color: var(--cs-ink);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 850;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.page-hero__description,
.article-hero__lead {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--cs-muted);
  font-size: 17px;
  line-height: 1.75;
}

.page-hero__description p {
  margin: 0;
}

.modern-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--cs-muted-light);
  font-size: 12px;
  font-weight: 650;
}

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

.modern-breadcrumb a:hover {
  color: var(--cs-teal-dark);
}

.article-hero__category {
  display: inline-block;
  padding: 8px 12px;
  background: var(--cs-teal-soft);
  border-radius: 999px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  color: var(--cs-muted);
  font-size: 13px;
  font-weight: 600;
}

.article-meta__author {
  display: flex;
  align-items: center;
  gap: 11px;
}

.article-meta__author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.article-meta__author span {
  display: grid;
}

.article-meta__author strong {
  color: var(--cs-ink-soft);
  font-size: 13px;
}

.article-meta__author small {
  color: var(--cs-muted-light);
  font-size: 10px;
}

.article-meta__divider {
  width: 1px;
  height: 34px;
  margin: 0 3px;
  background: var(--cs-line);
}

.content-shell--article {
  padding-top: 38px;
}

.article-cover {
  overflow: hidden;
  width: 100%;
  max-height: 610px;
  margin: 0 0 42px;
  background: #eaf0f4;
  border-radius: var(--cs-radius-xl);
  box-shadow: var(--cs-shadow);
}

.article-cover img {
  width: 100%;
  height: min(51vw, 610px);
  object-fit: cover;
}

.blog-layout--article {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.article-card {
  padding: 46px 52px;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius-xl);
  box-shadow: var(--cs-shadow-soft);
}

/* Editorial content */
.single-post-content {
  color: #263247;
  font-size: 18px;
  line-height: 1.82;
}

.single-post-content > *:first-child {
  margin-top: 0;
}

.single-post-content p {
  margin: 0 0 1.45em;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: var(--cs-ink);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.24;
}

.single-post-content h2 {
  margin: 2em 0 0.75em;
  font-size: 31px;
}

.single-post-content h3 {
  margin: 1.75em 0 0.7em;
  font-size: 24px;
}

.single-post-content h4 {
  margin: 1.6em 0 0.65em;
  font-size: 20px;
}

.single-post-content a {
  color: var(--cs-teal-dark);
  font-weight: 650;
}

.single-post-content a:hover {
  color: #0b625c;
}

.single-post-content ul,
.single-post-content ol {
  padding-left: 1.35em;
  margin: 0 0 1.5em;
}

.single-post-content li {
  padding-left: 0.35em;
  margin-bottom: 0.55em;
}

.single-post-content li::marker {
  color: var(--cs-teal);
  font-weight: 800;
}

.single-post-content blockquote {
  position: relative;
  padding: 25px 28px 25px 30px;
  margin: 2em 0;
  color: var(--cs-ink-soft);
  background: linear-gradient(135deg, #effcf9, #f7fafc);
  border: 0;
  border-left: 4px solid var(--cs-teal);
  border-radius: 0 15px 15px 0;
}

.single-post-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-post-content figure,
.single-post-content .wp-block-image,
.single-post-content .wp-block-gallery {
  margin: 2.1em 0;
}

.single-post-content img {
  height: auto;
  border-radius: var(--cs-radius-md);
}

.single-post-content figcaption,
.wp-caption-text {
  margin-top: 10px;
  color: var(--cs-muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.single-post-content table {
  display: block;
  overflow-x: auto;
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.single-post-content th,
.single-post-content td {
  min-width: 120px;
  padding: 13px 15px;
  border: 1px solid var(--cs-line);
  text-align: left;
}

.single-post-content th {
  color: var(--cs-ink);
  background: var(--cs-background);
  font-weight: 800;
}

.single-post-content pre {
  overflow-x: auto;
  padding: 22px;
  margin: 2em 0;
  color: #e2e8f0;
  background: var(--cs-ink);
  border-radius: var(--cs-radius-md);
}

.single-post-content code {
  padding: 0.15em 0.35em;
  color: #0f766e;
  background: #e7f8f5;
  border-radius: 5px;
  font-size: 0.9em;
}

.single-post-content pre code {
  padding: 0;
  color: inherit;
  background: transparent;
}

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 28px;
  margin-top: 38px;
  border-top: 1px solid var(--cs-line);
}

.article-tags strong {
  margin-right: 5px;
  color: var(--cs-ink);
  font-size: 13px;
}

.article-tags a {
  padding: 7px 10px;
  color: var(--cs-teal-dark);
  background: var(--cs-teal-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 26px;
  margin-top: 34px;
  background: linear-gradient(135deg, #f7fafc, #effcf9);
  border: 1px solid #dbe8e8;
  border-radius: var(--cs-radius-lg);
}

.author-box-avatar {
  flex: 0 0 auto;
}

.author-box-avatar img {
  width: 72px;
  height: 72px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.1);
}

.author-box-label {
  margin: 0 0 3px;
  color: var(--cs-teal);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.author-box-name {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
}

.author-box-name a {
  color: var(--cs-ink);
  text-decoration: none;
}

.author-box-bio {
  margin: 7px 0 0;
  color: var(--cs-muted);
  font-size: 13px;
  line-height: 1.65;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-top: 30px;
  margin-top: 34px;
  border-top: 1px solid var(--cs-line);
}

.post-navigation__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  color: var(--cs-ink-soft);
  background: #f8fafc;
  border: 1px solid var(--cs-line);
  border-radius: 13px;
  text-decoration: none;
}

.post-navigation__item:hover {
  color: var(--cs-teal-dark);
  border-color: #a9ddd7;
}

.post-navigation__item span {
  color: var(--cs-muted-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-navigation__item strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-navigation__item--next {
  text-align: right;
}

/* Author */
.author-hero {
  display: flex;
  align-items: center;
  gap: 25px;
}

.author-hero__avatar img {
  width: 112px;
  height: 112px;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: var(--cs-shadow-soft);
}

.author-hero h1 {
  margin-top: 0;
}

.author-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 8px;
  color: var(--cs-muted);
  line-height: 1.65;
}

.author-hero > div > span {
  color: var(--cs-teal-dark);
  font-size: 12px;
  font-weight: 750;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 38px;
}

.pagination-wrapper .navigation {
  width: 100%;
}

.pagination-wrapper .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination-wrapper .page-numbers {
  display: grid;
  min-width: 40px;
  height: 40px;
  padding: 0 11px;
  color: var(--cs-ink-soft);
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  place-items: center;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
  color: #fff;
  background: var(--cs-teal-dark);
  border-color: var(--cs-teal-dark);
}

/* Comments */
.comments-area {
  padding: 34px;
  margin-top: 30px;
  background: #fff;
  border: 1px solid var(--cs-line);
  border-radius: var(--cs-radius-xl);
  box-shadow: var(--cs-shadow-soft);
}

.comments-area > h3,
.comment-respond > h3 {
  margin: 0 0 22px;
  color: var(--cs-ink);
  font-size: 24px;
  font-weight: 820;
}

.comment-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.comment-list .comment {
  padding: 20px;
  margin-bottom: 14px;
  background: #f8fafc;
  border-radius: 14px;
}

.comment-list .children {
  padding-left: 22px;
  margin-top: 16px;
  list-style: none;
}

.comment-respond {
  margin-top: 30px;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--cs-ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: var(--cs-ink);
  background: #fff;
  border: 1px solid #cfd9e3;
  border-radius: 10px;
  font-size: 15px;
}

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

.comment-form input[type="submit"] {
  min-height: 44px;
  padding: 0 19px;
  cursor: pointer;
  color: #fff;
  background: var(--cs-teal-dark);
  border: 0;
  border-radius: 999px;
  font-weight: 750;
}

/* Empty and 404 */
.empty-state,
.error-page {
  max-width: 700px;
  padding: 66px 30px;
  margin: 0 auto;
  text-align: center;
}

.empty-state > span,
.error-page__globe {
  display: block;
  margin-bottom: 18px;
  font-size: 64px;
}

.empty-state h2,
.error-page h1 {
  margin: 0;
  color: var(--cs-ink);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.empty-state p,
.error-page > p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--cs-muted);
  line-height: 1.7;
}

.error-page {
  padding-top: 90px;
  padding-bottom: 110px;
}

.error-page .button-primary {
  color: #fff;
  background: var(--cs-teal-dark);
}

.error-page__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.modern-search--wide {
  max-width: 500px;
  margin: 25px auto 0;
}

.modern-search--wide button {
  width: auto;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 750;
}

/* Footer */
.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.site-footer__inner,
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: var(--cs-container);
  padding: 48px 24px;
  margin: 0 auto;
}

.site-footer__brand img {
  width: 137px;
  height: auto;
  padding: 7px 9px;
  background: #fff;
  border-radius: 8px;
}

.site-footer__brand p {
  margin: 14px 0 0;
  color: #94a3b8;
  font-size: 13px;
}

.site-footer__links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #99f6e4;
}

.site-footer__bottom {
  padding-top: 18px;
  padding-bottom: 18px;
  color: #64748b;
  border-top: 1px solid #263247;
  font-size: 11px;
}

/* WordPress alignment helpers */
.alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

.wp-caption {
  max-width: 100%;
}

@media (max-width: 1040px) {
  .site-header .navbar-menu {
    margin-left: 30px;
  }

  .site-header .navbar-start {
    gap: 22px;
  }

  .site-header__cta {
    display: none;
  }

  .blog-layout,
  .blog-layout--article {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }

  .sidebar-card,
  .sidebar-cta {
    padding: 20px;
  }

  .post-card--featured {
    grid-template-columns: 1fr;
  }

  .post-card--featured .post-card__media {
    min-height: 310px;
  }
}

@media (max-width: 860px) {
  .blog-layout,
  .blog-layout--article {
    grid-template-columns: minmax(0, 1fr);
  }

  .travel-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .sidebar-card--search,
  .sidebar-cta {
    grid-column: 1 / -1;
  }

  .article-card {
    padding: 42px;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    position: relative;
    display: block;
    min-height: 64px;
  }

  .site-header .navbar-brand {
    min-height: 64px;
  }

  .site-header .navbar-burger {
    display: block;
  }

  .site-header .navbar-burger.is-active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header .navbar-burger.is-active span:nth-child(2) {
    opacity: 0;
  }

  .site-header .navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header .navbar-menu {
    display: none;
    padding: 8px 0 18px;
    margin: 0;
    border-top: 1px solid var(--cs-line);
  }

  .site-header .navbar-menu.is-active {
    display: block;
  }

  .site-header .navbar-start {
    display: block;
  }

  .site-header .navbar-item,
  .site-header .navbar-link {
    min-height: 43px;
    padding: 0 12px;
    border-radius: 9px;
    font-size: 12px;
  }

  .site-header .navbar-item.is-current::after {
    display: none;
  }

  .site-header .navbar-dropdown {
    position: static;
    display: grid;
    overflow-y: auto;
    width: auto;
    max-height: 260px;
    padding: 6px 0 6px 18px;
    visibility: visible;
    opacity: 1;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--cs-line);
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .site-header .navbar-dropdown .navbar-item {
    min-height: 36px;
    padding: 0 12px;
  }

  .blog-hero {
    min-height: 0;
  }

  .blog-hero__inner {
    padding-top: 62px;
    padding-bottom: 48px;
  }

  .blog-hero__lead {
    font-size: 16px;
  }

  .content-shell,
  .content-shell--home {
    padding-top: 50px;
    padding-bottom: 62px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 14px;
  }

  .page-hero__inner,
  .article-hero__inner {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .article-meta__divider {
    display: none;
  }

  .article-cover {
    margin-bottom: 28px;
    border-radius: var(--cs-radius-lg);
  }

  .article-card {
    padding: 34px 30px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header__inner,
  .blog-hero__inner,
  .content-shell,
  .page-hero__inner,
  .article-hero__inner,
  .site-footer__inner,
  .site-footer__bottom {
    padding-right: 18px;
    padding-left: 18px;
  }

  .site-brand img {
    width: 126px;
  }

  .blog-hero h1 {
    font-size: 42px;
  }

  .blog-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-hero__actions a {
    width: 100%;
  }

  .blog-hero__facts {
    display: grid;
    gap: 11px;
  }

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

  .post-card--featured {
    grid-column: auto;
  }

  .post-card--featured .post-card__media {
    min-height: 0;
    aspect-ratio: 1.5 / 1;
  }

  .post-card--featured .post-card__body {
    padding: 24px 22px 21px;
  }

  .post-card--featured .post-card__title {
    font-size: 23px;
  }

  .post-card__footer {
    gap: 5px;
  }

  .post-card__arrow {
    flex-basis: 100%;
    margin-top: 6px;
    margin-left: 0;
  }

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

  .sidebar-card--search,
  .sidebar-cta {
    grid-column: auto;
  }

  .article-hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .article-meta {
    align-items: flex-start;
  }

  .article-meta__author {
    width: 100%;
    margin-bottom: 5px;
  }

  .article-cover img {
    height: 62vw;
  }

  .article-card {
    padding: 28px 21px;
    margin-right: -4px;
    margin-left: -4px;
    border-radius: 18px;
  }

  .single-post-content {
    font-size: 17px;
    line-height: 1.78;
  }

  .single-post-content h2 {
    font-size: 27px;
  }

  .single-post-content h3 {
    font-size: 22px;
  }

  .author-box {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

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

  .post-navigation__item--next {
    text-align: left;
  }

  .author-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .comments-area {
    padding: 25px 20px;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

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