/*
Theme Name: Getaway4
Description: A modern travel editorial and booking child theme for Blocksy.
Author: Getaway4
Template: blocksy
Version: 2.0.1
Text Domain: getaway4
*/

:root {
  --g4-ink: #102a43;
  --g4-ocean: #006d77;
  --g4-aqua: #12a89d;
  --g4-coral: #f2695c;
  --g4-sun: #f4b942;
  --g4-sand: #f7f3ec;
  --g4-mist: #edf7f6;
  --g4-white: #fff;
  --g4-muted: #627d88;
  --g4-line: #dce8e6;
  --g4-shadow: 0 16px 45px rgba(16, 42, 67, .11);
  --g4-radius: 22px;
  --theme-palette-color-1: var(--g4-ocean);
  --theme-palette-color-2: var(--g4-coral);
  --theme-palette-color-3: var(--g4-ink);
  --theme-palette-color-4: #274c5a;
  --theme-palette-color-5: var(--g4-sand);
  --theme-palette-color-6: var(--g4-mist);
  --theme-palette-color-7: #f8fbfb;
  --theme-palette-color-8: var(--g4-white);
}

html { scroll-behavior: smooth; }
body.getaway4-site {
  background: #f8fbfb;
  color: var(--g4-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--g4-sun); color: var(--g4-ink); }
h1, h2, h3, h4, h5, h6 {
  color: var(--g4-ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
a { color: var(--g4-ocean); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover, a:focus { color: var(--g4-coral); }
img { border-radius: 16px; }

#header [data-row="middle"] {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(16,42,67,.08);
  box-shadow: 0 8px 30px rgba(16,42,67,.06);
  backdrop-filter: blur(14px);
}
#header .site-logo-container img { border-radius: 0; }
[data-id="menu"] > ul > li > a {
  font-weight: 700;
  letter-spacing: .01em;
}
[data-id="menu"] > ul > li > a:hover { color: var(--g4-coral); }
.ct-header-trigger {
  border-radius: 999px;
  background: var(--g4-mist);
}

.site-main { overflow: clip; }
.ct-container { width: min(100% - 32px, 1240px); }
.entry-content > * { margin-block-start: 1.35em; }
.entry-content > h2 { margin-block-start: 1.9em; }
.entry-content > p { max-width: 72ch; }
.entry-content .alignwide { width: min(1180px, 96vw); max-width: none; }
.entry-content .alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

.hero-section,
.page-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 10%, rgba(18,168,157,.22), transparent 33%),
    linear-gradient(135deg, var(--g4-ink), #0d5260);
  color: var(--g4-white);
}
.hero-section h1, .page-header h1 { color: var(--g4-white); }
.hero-section::after,
.page-header::after {
  content: "";
  position: absolute;
  inset: auto -7% -55% auto;
  width: 420px;
  aspect-ratio: 1;
  border: 70px solid rgba(244,185,66,.13);
  border-radius: 50%;
  pointer-events: none;
}

.wp-block-cover {
  min-height: min(78vh, 760px);
  border-radius: clamp(0px, 2vw, 28px);
  overflow: hidden;
}
.wp-block-cover__background { background: linear-gradient(90deg, rgba(5,28,42,.82), rgba(5,28,42,.2)) !important; }
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover p { color: var(--g4-white); }
.wp-block-cover p { font-size: clamp(1.05rem, 2vw, 1.3rem); }

.wp-block-button__link,
button,
input[type="submit"],
.ct-button,
.add_to_cart_button {
  border: 0;
  border-radius: 999px !important;
  background: var(--g4-coral);
  box-shadow: 0 9px 24px rgba(242,105,92,.26);
  color: var(--g4-white) !important;
  font-weight: 800;
  letter-spacing: .01em;
  padding: .9em 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.ct-button:hover {
  background: #db5348;
  box-shadow: 0 12px 28px rgba(242,105,92,.34);
  transform: translateY(-2px);
}
.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid currentColor;
  box-shadow: none;
  color: var(--g4-ocean) !important;
}

.wp-block-group.has-background {
  border-radius: var(--g4-radius);
  padding: clamp(24px, 5vw, 64px);
}
.wp-block-columns { gap: clamp(20px, 3vw, 36px); }
.wp-block-column {
  transition: transform .25s ease, box-shadow .25s ease;
}
.wp-block-column:has(> figure:first-child),
.wp-block-group:has(> figure:first-child) {
  overflow: hidden;
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius);
  background: var(--g4-white);
  box-shadow: 0 8px 30px rgba(16,42,67,.07);
}
.wp-block-column:has(> figure:first-child):hover {
  box-shadow: var(--g4-shadow);
  transform: translateY(-5px);
}
.wp-block-column > figure:first-child { margin: 0; }
.wp-block-column > figure:first-child img { width: 100%; border-radius: 0; }
.wp-block-column > :not(figure) { margin-inline: clamp(18px, 2vw, 28px); }
.wp-block-column > :last-child { margin-bottom: 26px; }

[data-prefix="blog"] .entries,
[data-prefix="categories"] .entries,
[data-prefix="search"] .entries { gap: clamp(22px, 3vw, 38px); }
[data-prefix="blog"] article,
[data-prefix="categories"] article,
[data-prefix="search"] article {
  overflow: hidden;
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius);
  background: var(--g4-white);
  box-shadow: 0 8px 28px rgba(16,42,67,.07);
  transition: transform .25s ease, box-shadow .25s ease;
}
[data-prefix="blog"] article:hover,
[data-prefix="categories"] article:hover,
[data-prefix="search"] article:hover {
  box-shadow: var(--g4-shadow);
  transform: translateY(-5px);
}
article .ct-media-container img { border-radius: 0; transition: transform .5s ease; }
article:hover .ct-media-container img { transform: scale(1.035); }
.entry-meta { color: var(--g4-muted); font-size: .83rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.entry-title a { color: var(--g4-ink); text-decoration: none; }
.entry-title a:hover { color: var(--g4-ocean); }

.single-post .hero-section { min-height: 360px; }
.single-post .entry-content {
  font-size: 1.08rem;
}
.single-post .entry-content > p:first-of-type {
  color: #385764;
  font-size: 1.22rem;
  line-height: 1.58;
}
.single-post blockquote {
  border: 0;
  border-left: 5px solid var(--g4-sun);
  border-radius: 0 var(--g4-radius) var(--g4-radius) 0;
  background: var(--g4-sand);
  color: var(--g4-ink);
  font-size: 1.18rem;
  padding: 1.4em 1.7em;
}
.single-post .author-box,
.ct-related-posts {
  border: 1px solid var(--g4-line);
  border-radius: var(--g4-radius);
  background: var(--g4-white);
  box-shadow: 0 8px 28px rgba(16,42,67,.06);
}

input:not([type="submit"]),
textarea,
select {
  min-height: 50px;
  border: 1px solid #cbdcda;
  border-radius: 13px !important;
  background: var(--g4-white);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--g4-aqua);
  box-shadow: 0 0 0 4px rgba(18,168,157,.12);
}
.search-form { border-radius: 999px; overflow: hidden; }

.getaway-affiliate-disclosure,
[class*="affiliate-disclosure"] {
  margin-block: 24px;
  border-left: 4px solid var(--g4-sun);
  border-radius: 0 12px 12px 0;
  background: #fff9e8;
  color: #48616e;
  font-size: .88rem;
  padding: 14px 18px;
}
.wp-block-separator { border-color: var(--g4-line); }
.wp-block-table table { overflow: hidden; border-radius: 14px; }
.wp-block-table th { background: var(--g4-ink); color: var(--g4-white); }
.wp-block-table td, .wp-block-table th { border-color: var(--g4-line); padding: .85em 1em; }

#footer {
  margin-top: clamp(60px, 9vw, 120px);
  background: var(--g4-ink);
  color: rgba(255,255,255,.76);
}
#footer h2, #footer h3, #footer h4 { color: var(--g4-white); }
#footer a { color: rgba(255,255,255,.86); }
#footer a:hover { color: var(--g4-sun); }
#footer [data-row] { border-color: rgba(255,255,255,.1); }

@media (max-width: 999px) {
  .ct-container { width: min(100% - 24px, 760px); }
  .wp-block-cover { min-height: 620px; }
  .wp-block-columns:not(.is-not-stacked-on-mobile) { gap: 24px; }
}
@media (max-width: 689px) {
  body.getaway4-site { font-size: 16px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.6rem); }
  h2 { font-size: clamp(1.8rem, 9vw, 2.55rem); }
  .ct-container { width: min(100% - 20px, 620px); }
  .wp-block-cover { min-height: 540px; border-radius: 0; margin-inline: -10px; }
  .wp-block-group.has-background { border-radius: 17px; padding: 24px 18px; }
  .wp-block-button, .wp-block-button__link { width: 100%; text-align: center; }
  .single-post .entry-content { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
