/*
Theme Name: MyMedellinTrip
Theme URI: https://mymedellintrip.com
Author: MyMedellinTrip
Description: A travel guide theme for Medellín, Colombia. Clean layout with author sidebar, responsive design.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: mymedellintrip
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  --background: hsl(40, 33%, 98%);
  --foreground: hsl(20, 10%, 15%);

  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(20, 10%, 15%);

  /* Medellín green-blue palette */
  --primary: hsl(217, 91%, 60%);
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(35, 30%, 92%);
  --secondary-foreground: hsl(20, 10%, 25%);

  --accent: hsl(25, 95%, 53%);
  --accent-foreground: hsl(0, 0%, 100%);

  --muted: hsl(35, 20%, 94%);
  --muted-foreground: #111111;

  --border: hsl(35, 20%, 88%);

  --shadow-card: 0 4px 20px -4px hsla(20, 10%, 15%, 0.08);
  --shadow-elevated: 0 12px 40px -8px hsla(20, 10%, 15%, 0.15);

  --radius: 0.5rem;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: #111111;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: hsl(217, 91%, 50%);
}

/* ========================================
   Container
   ======================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

/* ========================================
   Header
   ======================================== */
.site-header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  position: relative;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.site-logo span {
  color: var(--foreground);
}

.site-logo:hover {
  color: var(--primary);
}

/* ========================================
   Desktop Navigation
   ======================================== */
.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    align-items: center;
  }

  .main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }

  .main-navigation li {
    position: relative;
  }

  .main-navigation a {
    color: #111111;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
  }

  .main-navigation a:hover {
    color: var(--primary);
  }

  /* Dropdown submenus */
  .main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-elevated);
    min-width: 220px;
    padding: 0.5rem 0;
    flex-direction: column;
    gap: 0;
    z-index: 200;
  }

  .main-navigation li:hover > .sub-menu {
    display: flex;
  }

  .main-navigation .sub-menu li {
    margin: 0;
  }

  .main-navigation .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .main-navigation .sub-menu a:hover {
    background: var(--secondary);
  }
}

/* ========================================
   Mobile Menu Toggle
   ======================================== */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
  z-index: 200;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

/* ========================================
   Mobile Navigation
   ======================================== */
.mobile-navigation {
  display: none;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.mobile-navigation.is-open {
  display: block;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu li {
  border-bottom: 1px solid var(--border);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 0.875rem 1rem;
  color: #111111;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

/* Sub-menus in mobile */
.mobile-menu .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu .sub-menu a {
  padding-left: 2rem;
  font-size: 0.9rem;
}

@media (min-width: 1024px) {
  .mobile-navigation {
    display: none !important;
  }
}

/* ========================================
   Screen Reader Text
   ======================================== */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.skip-link {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  position: absolute;
  z-index: 999;
}

.skip-link:focus {
  clip: auto;
  height: auto;
  width: auto;
}

/* ========================================
   Site Main
   ======================================== */
.site-main {
  min-height: 50vh;
}

.section {
  padding: 0;
}

/* ========================================
   Breadcrumbs
   ======================================== */
.breadcrumbs {
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li {
  display: inline;
}

.breadcrumb-list a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 0.4rem;
  color: #9ca3af;
}

/* ========================================
   Single Article Page
   ======================================== */
.single-article .container {
  max-width: 800px;
  margin: 0 auto;
}

.single-article .article-header {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding-top: 2rem;
}

.single-article .article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
  margin-bottom: 0;
}

/* Featured Image */
.article-featured-image {
  margin: 2rem 0;
}

.article-featured-image .featured-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
}

/* Content + Author wrapper */
.article-content-wrapper {
  display: flex;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Author Sidebar */
.author-sidebar {
  flex-shrink: 0;
  width: 140px;
  text-align: left;
  position: static !important;
  
  
  
}

.author-sidebar .author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-sidebar .author-name {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #111111;
  text-decoration: none;
  margin-top: 0.75rem;
  line-height: 1.3;
}

.author-sidebar .author-name:hover {
  text-decoration: underline;
}

.author-sidebar .author-bio {
  font-size: 0.8125rem;
  color: #666;
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Article Content Area */
.article-content {
  flex: 1;
  min-width: 0;
}

.article-content .post-meta {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.article-content .post-meta .text-muted {
  font-size: 0.875rem;
  color: #666;
}

/* Entry Content Typography */
.entry-content p,
.article-content p {
  margin-bottom: 1.25rem;
  color: #111111;
  line-height: 1.7;
}

.entry-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: #111111;
  line-height: 1.2;
}

.entry-content h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: #111111;
}

.entry-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #1f2937;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}

.entry-content a:hover {
  color: hsl(217, 91%, 50%);
}

.entry-content strong {
  color: #111111;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem 1.5rem;
  line-height: 1.7;
  color: #111111;
}

.entry-content li {
  margin-bottom: 0.375rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--primary);
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: hsl(217, 80%, 97%);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
}

.entry-content blockquote p {
  margin-bottom: 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
}

.entry-content th {
  background: #f3f4f6;
  font-weight: 600;
  text-align: left;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
}

.entry-content td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
}

.entry-content tr:nth-child(even) td {
  background: #f9fafb;
}

.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Images inside content — full width of content area */
.entry-content img,
.article-content .entry-content img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

/* Don't stretch small inline icons/emojis */
.entry-content img.emoji {
  width: auto;
  display: inline;
  margin: 0;
  border-radius: 0;
}

/* WP figure/figcaption */
.entry-content figure {
  margin: 1.5rem 0;
}

.entry-content figure img {
  margin: 0;
}

.entry-content figcaption {
  font-size: 0.8125rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

/* WP Block Image */
.wp-block-image img {
  border-radius: var(--radius);
}

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

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* YouTube / Vimeo iframe responsive */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  background: #000;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wp-block-embed__wrapper iframe {
  max-width: 100%;
  width: 100%;
}

.wp-block-embed {
  margin: 1.5rem 0;
}

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag-link {
  display: inline-block;
  background: var(--secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  text-decoration: none;
  color: #111111;
}

.tag-link:hover {
  background: var(--border);
}

/* ========================================
   FAQ Accordion
   ======================================== */
.faq-container {
  margin: 2rem 0;
  border-top: 1px solid var(--border);
}

.faq-accordion-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111111;
  line-height: 1.4;
  gap: 1rem;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question::after {
  content: "▼";
  font-size: 0.65rem;
  color: #9ca3af;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-question.active {
  color: var(--primary);
}

.faq-question.active::after {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer.open {
  max-height: 3000px;
}

.faq-answer-inner {
  padding: 0 0 1.25rem 0;
  color: #374151;
  line-height: 1.7;
  font-size: 0.9375rem;
}

.faq-answer-inner p {
  margin-bottom: 0.75rem;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Page Template
   ======================================== */
.page-content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background-color: #2d3748;
  color: #cbd5e0;
}

.site-footer p,
.site-footer span,
.site-footer div,
.site-footer li {
  color: #cbd5e0;
}

.footer-main {
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.footer-column h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #667eea;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-column a:hover {
  color: #a78bfa;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #1a202c;
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0.25rem;
}

.footer-bottom .copyright {
  color: white;
  font-weight: 500;
}

.footer-bottom .tagline {
  font-size: 0.875rem;
  color: #a0aec0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-links a {
  color: white;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

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

/* ========================================
   Responsive — Single Article
   ======================================== */
@media (max-width: 768px) {
  .single-article .article-title {
    font-size: 2rem;
  }

  .article-content-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .author-sidebar {
    width: 100%;
    position: static;
    display: flex;
  position: static !important;
    align-items: center;
    gap: 1rem;
  }

  .author-sidebar .author-avatar img {
    width: 60px;
    height: 60px;
  }

  .author-sidebar .author-info {
    flex: 1;
  }

  .author-sidebar .author-name {
    margin-top: 0;
  }

  .entry-content h2 {
    font-size: 1.375rem;
  }

  .entry-content h3 {
    font-size: 1.125rem;
  }
}

/* ========================================
   Front Page Styles (kept from original)
   ======================================== */
.hero-section {
  position: relative;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: hsl(217, 91%, 50%);
  color: white;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: hsl(25, 95%, 43%);
  color: white;
}

/* Front page sections */
.problem-solution-section,
.differentiation-section,
.featured-guides-section,
.planning-tools-section,
.trust-signals-section,
.updates-section,
.final-cta-section {
  padding: 4rem 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.problem-solution-section h2,
.differentiation-section h2,
.featured-guides-section h2,
.planning-tools-section h2,
.trust-signals-section h2,
.updates-section h2,
.final-cta-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: #111111;
}

.problems-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problem-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.problem-item:hover {
  box-shadow: var(--shadow-card);
}

.problem-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111111;
}

.guides-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .guides-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.guide-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.guide-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.guide-card h3 a {
  color: #111111;
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--primary);
}

.guide-meta {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.guide-description {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.guide-features {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  color: #374151;
}

.guide-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.highlight {
  background: var(--secondary);
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.guide-cta {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.guide-cta:hover {
  text-decoration: underline;
}

/* Tools, trust, comparison grids */
.tools-grid,
.trust-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tool-card,
.trust-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--card);
}

.comparison-blocks {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.comparison-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--card);
}

.other-guides {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: #666;
}

.our-reality {
  color: #111111;
}

.our-approach {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  margin-bottom: 0.5rem;
}

.cta-center {
  text-align: center;
  margin-top: 2rem;
}

/* Updates */
.updates-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.update-item {
  margin-bottom: 1.5rem;
}

.update-date {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #111111;
}

/* Final CTA */
.popular-starts {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.starts-grid {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: left;
}

@media (min-width: 768px) {
  .starts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.start-item {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.cta-browse {
  margin-top: 1rem;
  font-size: 1rem;
  color: #666;
}

@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .problem-solution-section,
  .differentiation-section,
  .featured-guides-section,
  .planning-tools-section,
  .trust-signals-section,
  .updates-section,
  .final-cta-section {
    padding: 2.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    height: 300px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }
}

/* Fix: wp-block-embed responsive (maps, youtube, etc.) */
.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #f3f4f6;
}
.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
/* Google Maps embed — taller aspect ratio */
.wp-block-embed__wrapper iframe[src*='google.com/maps'] {
    /* Maps can use default 56.25% or we keep it */
}

/* Override: wp-block-embed YouTube — simple responsive */
.wp-block-embed-youtube .wp-block-embed__wrapper,
.is-provider-youtube .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
}
.wp-block-embed-youtube .wp-block-embed__wrapper iframe,
.is-provider-youtube .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: var(--radius);
}
/* Maps embed — keep default responsive */
.wp-block-embed:not(.is-provider-youtube) .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #f3f4f6;
    border-radius: var(--radius);
}
.wp-block-embed:not(.is-provider-youtube) .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}
/* Remove figure margin that creates gray bar above video */
.wp-block-embed {
    margin: 1.5rem 0;
    padding: 0;
    border: 0;
    background: transparent;
}
.wp-block-embed figure,
figure.wp-block-embed {
    margin: 1.5rem 0;
    padding: 0;
    border: 0;
    background: transparent;
}

/* Reset: let WP core handle YouTube aspect-ratio via wp-has-aspect-ratio */
.wp-has-aspect-ratio .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 0;
    height: auto;
    overflow: visible;
    background: transparent;
}

/* ========================================
   Full Day Plan Timeline
   ======================================== */
.day-plan {
    border-left: 3px solid var(--primary);
    margin: 2rem 0;
    padding-left: 0;
}
.day-plan-item {
    display: flex;
    gap: 1.25rem;
    padding: 1rem 0 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.day-plan-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 1.4rem;
    width: 11px;
    height: 11px;
    background: var(--primary);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}
.day-plan-item:last-child {
    border-bottom: none;
}
.day-plan-time {
    font-weight: 700;
    color: var(--primary);
    min-width: 75px;
    font-size: 0.875rem;
    padding-top: 2px;
    flex-shrink: 0;
}
.day-plan-content {
    flex: 1;
}
.day-plan-content strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #111827;
}
.day-plan-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #555;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .day-plan-item { flex-direction: column; gap: 0.25rem; }
    .day-plan-time { min-width: auto; }
}

/* Related Guides block */
.related-guides {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
}
.related-guides h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
}
.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.related-list li {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #374151;
}
.related-list a {
    color: var(--primary);
    text-decoration: none;
}
.related-list a:hover {
    text-decoration: underline;
}

/* Google Maps route widget — ширина как featured image */
.article-content .gmap-route-widget {
  position: relative;
  left: calc(-140px - 2.5rem);
  width: calc(100% + 140px + 2.5rem);
  display: flex;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .article-content .gmap-route-widget {
    position: static;
    width: 100%;
    left: 0;
    flex-direction: column;
  }
  .article-content .gmap-route-widget > div:first-child {
    min-height: 260px !important;
    flex: none !important;
    width: 100% !important;
  }
  .article-content .gmap-route-widget > div:last-child {
    width: 100% !important;
    flex: none !important;
  }
}
