/*
Theme Name: Ardennen Vakantiehuis
Theme URI: https://ardennenvakantiehuis.net/
Author: TWS Crew
Author URI: https://ardennenvakantiehuis.net/
Description: A responsive Dutch travel theme for ArdennenVakantiehuis.net with a modern hero, rounded post layout, editable footer, contact submissions, GDPR cookie notice and a custom Travel Offer Card Gutenberg block.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ardennen-vakantiehuis
Tags: blog, travel, custom-logo, custom-menu, featured-images, block-styles, wide-blocks, responsive-layout
*/

:root {
  --avh-bg: #f7f2e8;
  --avh-bg-soft: #fbf8f1;
  --avh-panel: #ffffff;
  --avh-ink: #24233a;
  --avh-muted: #686474;
  --avh-line: #ded5c7;
  --avh-primary: #1d3f55;
  --avh-primary-2: #315c6d;
  --avh-accent: #9a3f45;
  --avh-accent-2: #bf6f4a;
  --avh-sage: #7f946d;
  --avh-shadow: 0 22px 60px rgba(36, 35, 58, 0.12);
  --avh-shadow-soft: 0 14px 40px rgba(36, 35, 58, 0.09);
  --avh-radius: 26px;
  --avh-radius-sm: 16px;
  --avh-container: 1180px;
  --avh-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --avh-font-heading: Fraunces, Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--avh-ink);
  background: linear-gradient(180deg, var(--avh-bg) 0%, #fffaf1 45%, #ffffff 100%);
  font-family: var(--avh-font-body);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

a {
  color: var(--avh-primary);
  text-decoration-color: rgba(154, 63, 69, 0.38);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

a:hover, a:focus { color: var(--avh-accent); text-decoration-color: currentColor; }

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

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: var(--avh-shadow-soft);
  clip: auto !important;
  clip-path: none;
  color: var(--avh-ink);
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 12px;
  line-height: normal;
  padding: 12px 16px;
  text-decoration: none;
  top: 12px;
  width: auto;
  z-index: 100000;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(238, 232, 219, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(36, 35, 58, 0.22);
}

.admin-bar .site-header { top: 32px; }

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.site-branding { display: flex; align-items: center; min-width: 210px; }
.site-branding a { display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.custom-logo-link img { display: block; width: auto; max-height: 70px; }
.avh-fallback-logo { display: block; width: clamp(178px, 18vw, 280px); height: auto; }

.primary-navigation { justify-self: center; }
.primary-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(22px, 4vw, 54px); }
.primary-navigation li { position: relative; }
.primary-navigation a {
  color: var(--avh-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a { color: var(--avh-primary); }
.primary-navigation .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  margin-left: 9px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transform: translateY(-2px);
}
.primary-navigation .sub-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  transform: translateX(-50%) translateY(8px);
  display: grid;
  min-width: 230px;
  gap: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(222, 213, 199, 0.9);
  border-radius: 18px;
  box-shadow: var(--avh-shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.primary-navigation .sub-menu a { display: block; padding: 10px 12px; letter-spacing: 0.12em; font-size: 13px; }

.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.search-toggle,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #293461;
  cursor: pointer;
}
.search-toggle:hover, .menu-toggle:hover { background: rgba(154, 63, 69, 0.09); }
.menu-toggle { display: none; }
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before { position: absolute; transform: translateY(-7px); }
.menu-toggle span::after { position: absolute; transform: translateY(7px); }
body.nav-open .menu-toggle span { background: transparent; }
body.nav-open .menu-toggle span::before { transform: rotate(45deg); }
body.nav-open .menu-toggle span::after { transform: rotate(-45deg); }

.header-search {
  display: none;
  position: absolute;
  right: max(20px, calc((100vw - var(--avh-container)) / 2));
  top: calc(100% + 10px);
  width: min(420px, calc(100vw - 40px));
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--avh-shadow-soft);
}
.header-search.is-open { display: block; }
.search-form { display: flex; gap: 8px; }
.search-form label { flex: 1; }
.search-field {
  width: 100%;
  border: 1px solid var(--avh-line);
  border-radius: 999px;
  padding: 12px 16px;
  background: #fff;
  color: var(--avh-ink);
}
.search-submit,
.avh-button,
.wp-block-button__link,
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--avh-accent) 0%, var(--avh-accent-2) 48%, var(--avh-primary-2) 100%);
  box-shadow: 0 13px 30px rgba(154, 63, 69, 0.22);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.search-submit:hover,
.avh-button:hover,
.wp-block-button__link:hover,
.contact-submit:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(154, 63, 69, 0.28);
}
.avh-button--ghost {
  color: var(--avh-primary);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
  border: 1px solid rgba(29, 63, 85, 0.18);
}
.avh-button--ghost:hover { color: var(--avh-accent); background: #fff; }

.site-main { min-height: 58vh; }
.hero-section {
  padding: clamp(54px, 8vw, 104px) 0 44px;
  position: relative;
  overflow: hidden;
}
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}
.hero-section::before {
  width: 36vw;
  height: 36vw;
  min-width: 320px;
  min-height: 320px;
  right: -9vw;
  top: 24px;
  background: radial-gradient(circle, rgba(127, 148, 109, 0.32), rgba(127, 148, 109, 0));
}
.hero-section::after {
  width: 32vw;
  height: 32vw;
  min-width: 260px;
  min-height: 260px;
  left: -10vw;
  bottom: -10vw;
  background: radial-gradient(circle, rgba(191, 111, 74, 0.22), rgba(191, 111, 74, 0));
}
.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding: clamp(26px, 4vw, 50px);
  border: 1px solid rgba(222, 213, 199, 0.8);
  border-radius: calc(var(--avh-radius) + 12px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(247, 242, 232, 0.88));
  box-shadow: var(--avh-shadow);
}
.hero-kicker,
.archive-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--avh-accent);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero-kicker::before,
.archive-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.hero-copy {
  min-width: 0;
}
.hero-title {
  margin: 16px 0 18px;
  max-width: 760px;
  font-family: var(--avh-font-heading);
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--avh-ink);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.hero-subtitle {
  max-width: 680px;
  margin: 0 0 26px;
  color: var(--avh-muted);
  font-size: clamp(18px, 2vw, 21px);
}
.hero-visual {
  min-height: 430px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(29, 63, 85, 0.08), rgba(154, 63, 69, 0.12)),
    radial-gradient(circle at 70% 18%, rgba(255, 223, 152, 0.9) 0 10%, transparent 11%),
    linear-gradient(160deg, #dfe9df 0%, #f7ead5 48%, #e7d3be 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: auto -10% 0 -10%;
  height: 62%;
  background:
    linear-gradient(140deg, transparent 0 22%, rgba(29, 63, 85, 0.72) 22.4% 44%, transparent 44.4%),
    linear-gradient(220deg, transparent 0 26%, rgba(49, 92, 109, 0.9) 26.4% 55%, transparent 55.4%),
    linear-gradient(160deg, transparent 0 32%, rgba(127, 148, 109, 0.86) 32.4% 65%, transparent 65.4%);
  opacity: 0.95;
}
.hero-visual::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 14%;
  height: 90px;
  border-radius: 26px 26px 8px 8px;
  background:
    linear-gradient(90deg, transparent 0 43%, #efe2c9 43% 57%, transparent 57%),
    linear-gradient(135deg, transparent 0 50%, #9a3f45 50.4% 61%, transparent 61.4%),
    linear-gradient(225deg, transparent 0 50%, #9a3f45 50.4% 61%, transparent 61.4%),
    linear-gradient(180deg, #f8f1e4, #e7d2ba);
  box-shadow: 0 24px 42px rgba(36, 35, 58, 0.18);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(46px, 7vw, 76px) 0 24px;
}
.section-header h2,
.archive-header h1,
.page-header h1,
.entry-title {
  font-family: var(--avh-font-heading);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.section-header h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); }
.section-header p { margin: 8px 0 0; color: var(--avh-muted); }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: clamp(58px, 7vw, 92px);
}
.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(222, 213, 199, 0.85);
  border-radius: var(--avh-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--avh-shadow-soft);
}
.post-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #eee5d4; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.28s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--avh-muted);
  font-size: 14px;
  font-weight: 700;
}
.post-card__title { margin: 10px 0 10px; font-family: var(--avh-font-heading); font-size: 25px; line-height: 1.12; }
.post-card__title a { color: var(--avh-ink); text-decoration: none; }
.post-card__title a:hover { color: var(--avh-accent); }
.post-card__excerpt { color: var(--avh-muted); margin: 0 0 18px; }
.post-card__link { margin-top: auto; font-weight: 900; letter-spacing: 0.04em; text-decoration: none; }

.entry-hero {
  padding: clamp(42px, 6vw, 84px) 0 28px;
}
.entry-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
}
.entry-title { font-size: clamp(38px, 6vw, 72px); margin: 14px 0 18px; }
.entry-featured { border-radius: 34px; overflow: hidden; box-shadow: var(--avh-shadow); background: #eee5d4; }
.entry-featured img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.entry-content-wrap {
  width: min(830px, calc(100% - 40px));
  margin: 0 auto clamp(60px, 8vw, 96px);
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(222, 213, 199, 0.62);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 48px);
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: var(--avh-font-heading);
  color: var(--avh-ink);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 1.6em 0 0.55em;
}
.entry-content h2, .page-content h2 { font-size: clamp(30px, 3.6vw, 44px); }
.entry-content h3, .page-content h3 { font-size: clamp(24px, 3vw, 33px); }
.entry-content strong { color: var(--avh-primary); font-weight: 900; }
.entry-content em { color: var(--avh-accent); }
.entry-content ul,
.entry-content ol,
.page-content ul,
.page-content ol { padding-left: 1.2em; }
.entry-content li,
.page-content li { margin: 0.45em 0; padding-left: 0.25em; }
.entry-content blockquote,
.wp-block-quote {
  position: relative;
  margin: 2em 0;
  padding: 26px 26px 26px 72px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(29, 63, 85, 0.08), rgba(154, 63, 69, 0.10));
  color: var(--avh-ink);
}
.entry-content blockquote::before,
.wp-block-quote::before {
  content: "✦";
  position: absolute;
  left: 25px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--avh-accent);
  box-shadow: 0 8px 22px rgba(36, 35, 58, 0.10);
}
.entry-content blockquote p { margin: 0; font-size: 1.08em; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { color: var(--avh-muted); font-size: 14px; text-align: center; }
.entry-content .wp-block-table,
.page-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  overflow: hidden;
  border-radius: 16px;
}
.entry-content th,
.entry-content td,
.page-content th,
.page-content td {
  border: 1px solid var(--avh-line);
  padding: 12px 14px;
  vertical-align: top;
}
.entry-content th,
.page-content th { background: #f0e7d7; text-align: left; color: var(--avh-primary); }

.archive-header,
.page-header { padding: clamp(42px, 6vw, 74px) 0 22px; text-align: center; }
.archive-header h1,
.page-header h1 { margin: 12px auto; font-size: clamp(38px, 6vw, 66px); max-width: 860px; }
.archive-description { max-width: 740px; margin: 0 auto; color: var(--avh-muted); }
.pagination { display: flex; justify-content: center; gap: 10px; margin: -32px 0 70px; }
.pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--avh-line);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  font-weight: 800;
}
.pagination .current { color: #fff; background: var(--avh-primary); border-color: var(--avh-primary); }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 96px);
}
.contact-panel,
.contact-form-wrap,
.not-found-card {
  border: 1px solid rgba(222, 213, 199, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--avh-shadow-soft);
  padding: clamp(22px, 4vw, 38px);
}
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; color: var(--avh-primary); font-weight: 900; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--avh-line);
  border-radius: 16px;
  background: #fff;
  padding: 13px 15px;
  color: var(--avh-ink);
}
.contact-form textarea { min-height: 168px; resize: vertical; }
.avh-alert {
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: rgba(127, 148, 109, 0.15);
  color: #35513f;
  font-weight: 800;
}

.avh-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: center;
  margin: 2.2em 0;
  padding: clamp(18px, 4vw, 36px);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(29,63,85,0.11), rgba(191,111,74,0.16), rgba(127,148,109,0.14));
  box-shadow: var(--avh-shadow-soft);
  border: 1px solid rgba(222, 213, 199, 0.72);
}
.avh-offer-card__media { border-radius: 24px; overflow: hidden; background: rgba(255,255,255,0.6); aspect-ratio: 4 / 3; }
.avh-offer-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avh-offer-card__content h3 { margin: 0 0 10px; font-family: var(--avh-font-heading); font-size: clamp(28px, 4vw, 44px); line-height: 1.08; }
.avh-offer-card__content p { color: var(--avh-muted); margin: 0 0 20px; }

.site-footer {
  color: #f7f2e8;
  background:
    radial-gradient(circle at 85% 0%, rgba(191,111,74,0.28), transparent 34%),
    linear-gradient(135deg, #1d3f55 0%, #24233a 56%, #182534 100%);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1.2fr) repeat(2, minmax(160px, 0.7fr));
  gap: 30px;
  align-items: start;
}
.footer-logo { display: inline-flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { width: 220px; max-width: 100%; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-note { color: rgba(247, 242, 232, 0.76); max-width: 430px; }
.footer-menu-title { margin: 0 0 12px; color: #fff; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-menu a { color: rgba(247, 242, 232, 0.78); text-decoration: none; }
.footer-menu a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(247, 242, 232, 0.14); margin-top: 34px; padding-top: 18px; color: rgba(247, 242, 232, 0.65); font-size: 14px; }

.cookie-popup {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 9999;
  width: min(690px, calc(100% - 32px));
  transform: translateX(-50%) translateY(28px);
  opacity: 0;
  visibility: hidden;
  padding: 18px;
  border: 1px solid rgba(222, 213, 199, 0.9);
  border-radius: 22px;
  background: rgba(255,255,255,0.98);
  box-shadow: var(--avh-shadow);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}
.cookie-popup.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie-popup p { margin: 0; color: var(--avh-muted); font-size: 15px; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.cookie-actions .avh-button { padding: 10px 16px; font-size: 14px; }

.not-found-wrap { padding: clamp(60px, 10vw, 120px) 0; }
.not-found-card { max-width: 780px; margin-inline: auto; text-align: center; }
.not-found-icon { font-size: 58px; line-height: 1; }

@media (max-width: 980px) {
  .header-inner { min-height: 78px; grid-template-columns: auto auto; justify-content: space-between; }
  .site-branding { min-width: 0; }
  .avh-fallback-logo { width: clamp(150px, 44vw, 228px); }
  .menu-toggle { display: inline-grid; }
  .primary-navigation {
    position: fixed;
    inset: 78px 14px auto 14px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid rgba(222, 213, 199, 0.9);
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--avh-shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    justify-self: auto;
  }
  body.nav-open .primary-navigation { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-navigation ul { display: grid; gap: 4px; align-items: stretch; }
  .primary-navigation a { display: block; padding: 12px 10px; letter-spacing: 0.16em; }
  .primary-navigation .sub-menu { position: static; transform: none; visibility: visible; opacity: 1; box-shadow: none; border: 0; background: rgba(247,242,232,0.8); margin: 6px 0 8px; min-width: 0; }
  .primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { transform: none; }
  .hero-card, .entry-hero__inner, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 310px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; line-height: 1.7; }
  .admin-bar .site-header { top: 0; }
  .avh-container, .entry-content-wrap { width: min(100% - 28px, var(--avh-container)); }
  .hero-section { padding-top: 32px; }
  .hero-card { padding: 20px; border-radius: 28px; }
  .hero-title { font-size: clamp(28px, 9.5vw, 42px); line-height: 1.1; }
  .hero-subtitle { font-size: 17px; }
  .section-header { display: block; }
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .entry-content-wrap { padding: 20px; border-radius: 22px; }
  .entry-featured { border-radius: 24px; }
  .entry-content .wp-block-table table,
  .entry-content table,
  .page-content table { min-width: 620px; }
  .avh-offer-card { grid-template-columns: 1fr; padding: 18px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-popup { bottom: 12px; }
  .cookie-actions .avh-button { width: 100%; }
}
