/*
Theme Name: JASZA Travels
Theme URI: https://jaszatravels.com
Author: JASZA Travels
Description: A lightweight, responsive travel-publishing theme for JASZA Travels.
Version: 3.8.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jasza-travels
*/

:root {
  --jasza-ink: #123840;
  --jasza-teal: #10aaa8;
  --jasza-teal-dark: #087f80;
  --jasza-cream: #fbf7ef;
  --jasza-aqua: #e2f7f5;
  --jasza-white: #fff;
  --jasza-shadow: 0 7px 22px rgba(26,61,64,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--jasza-white); color: var(--jasza-ink); font-family: Arial, Helvetica, sans-serif; }
body.admin-bar .site-header { top: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; }
.container { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; top: 8px; left: 8px; z-index: 9999; padding: 12px; background: #fff; color: var(--jasza-ink); }

.site-header { min-height: 76px; display: flex; align-items: center; background: #fff; position: relative; z-index: 20; }
.header-inner { width: min(1180px, calc(100% - 44px)); margin-inline: auto; padding: 8px 0; display: flex; align-items: center; justify-content: flex-start; gap: 0; }
.site-branding { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; min-width: 270px; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { display: block; max-height: 52px; width: auto; }
.brand-mark { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; background: var(--jasza-teal); color: #fff; display: grid; place-items: center; font: 700 34px Arial, Helvetica, sans-serif; }
.brand-copy strong { display: block; font: 700 23px Arial, Helvetica, sans-serif; }
.brand-copy small { color: var(--jasza-teal-dark); font-size: 11px; display: block; margin-top: 3px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--jasza-ink); font-weight: 700; padding: 12px; }
.primary-navigation { margin-left: auto; }
.primary-menu, .primary-menu ul { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); }
.primary-menu a { display: block; padding: 20px 0 12px; border-bottom: 2px solid transparent; font-size: 15px; font-weight: 700; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current_page_item > a { color: var(--jasza-teal-dark); border-bottom-color: var(--jasza-teal); }

.hero { min-height: 575px; position: relative; display: flex; align-items: center; overflow: hidden; background: #416f75; background-position: center 62%; background-size: cover; }
.hero::before { content: none; }
.hero:not(.has-image)::after { content: "Add a licensed hero photograph in Appearance → Customise"; position: absolute; right: 4%; bottom: 5%; padding: 8px 12px; background: rgba(255,255,255,.88); color: var(--jasza-ink); border-radius: 4px; font-size: 11px; }
.hero:not(.has-image) { background-image: radial-gradient(circle at 74% 28%, #d7edd9 0 8%, transparent 9%), linear-gradient(145deg, #7ecbc3 0 45%, #147b87 46% 63%, #e7c78d 64%); }
.hero-copy { width: min(1180px, calc(100% - 44px)); margin-inline: auto; position: relative; color: #fff; padding: 78px 0; }
.hero-copy-inner { max-width: 720px; }
.eyebrow, .section-kicker { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--jasza-teal-dark); }
.hero .eyebrow {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-shadow: 0 1px 2px rgba(2,27,32,1), 0 3px 13px rgba(2,27,32,.98);
}
.hero h1 { margin: 0; font-size: clamp(52px, 6vw, 76px); line-height: .98; letter-spacing: -.04em; text-shadow: 0 3px 18px rgba(3,39,46,.72); }
.hero-description { max-width: 570px; margin: 24px 0 29px; font-size: 20px; line-height: 1.55; text-shadow: 0 2px 10px rgba(3,39,46,.85); }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.jasza-button, .wp-block-button__link { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 14px 27px; border: 0; border-radius: 5px; background: var(--jasza-teal); color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(1,99,103,.13); text-decoration: none; transition: .2s ease; }
.jasza-button:hover, .jasza-button:focus-visible, .wp-block-button__link:hover, .wp-block-button__link:focus-visible { background: var(--jasza-teal-dark); transform: translateY(-1px); color: #8ee3df; }
.jasza-button.is-light { background: #fff; color: var(--jasza-ink); }
.jasza-button.is-light:hover, .jasza-button.is-light:focus-visible { background: var(--jasza-ink); color: #8ee3df; }

.home-section { padding: 72px 0; text-align: center; }
.home-section.is-warm { background: var(--jasza-cream); }
.home-section.is-aqua { background: var(--jasza-aqua); }
.home-section h2, .split-copy h2 { margin: 0 0 28px; font-size: clamp(37px, 4vw, 52px); }
.latest-grid, .shop-grid { margin: 35px auto 27px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card, .shop-card { text-align: left; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--jasza-shadow); transition: .2s ease; }
.post-card:hover, .shop-card:hover { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(26,61,64,.17); }
.post-card-image, .shop-card-image { display: block; height: 230px; object-fit: cover; width: 100%; background: linear-gradient(145deg, #136f7d, #7fd4ca); }
.latest-grid .post-card:first-child .post-card-image { object-position: center 42%; }
.post-card:nth-child(2) .post-card-image { background: linear-gradient(145deg, #b9d69a, #2f7960); }
.post-card:nth-child(3) .post-card-image { background: linear-gradient(145deg, #eee2b5, #62cbd0); }
.card-placeholder { height: 230px; display: grid; place-items: end start; padding: 16px; color: #fff; background: inherit; }
.card-placeholder small { background: rgba(8,44,51,.78); padding: 7px 10px; border-radius: 3px; }
.post-card-copy { min-height: 168px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.post-card-copy small { color: var(--jasza-teal-dark); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.post-card-copy h3 { margin: 10px 0 auto; font-size: 23px; line-height: 1.25; }
.read-more { margin-top: 17px; color: var(--jasza-teal-dark); font-weight: 700; }
.section-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 2px solid var(--jasza-teal-dark);
  border-radius: 5px;
  color: var(--jasza-teal-dark);
  font-weight: 800;
  transition: .2s ease;
}
.section-link:hover, .section-link:focus-visible {
  background: var(--jasza-teal-dark);
  color: #fff;
  transform: translateY(-1px);
}

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; text-align: left; }
.split-copy { max-width: 570px; }
.split-copy > p:not(.section-kicker) { color: #426168; font-size: 18px; line-height: 1.75; margin: -10px 0 27px; }
.feature-image { min-height: 350px; border-radius: 7px; overflow: hidden; background: linear-gradient(155deg, #80c3b4, #f2d69d); position: relative; display: grid; place-items: center; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature-image small { padding: 8px 11px; background: #fff; border-radius: 3px; position: relative; z-index: 1; }
.freebie-preview { background: transparent; min-height: 350px; }
.paper-stack { position: relative; min-height: 340px; width: 100%; }
.paper { position: absolute; left: 50%; top: 50%; width: 205px; height: 280px; border: 5px solid #fff; background: #fff; box-shadow: 0 8px 18px rgba(20,73,79,.18); display: grid; place-items: center; text-align: center; font: 700 24px/1.2 Arial, Helvetica, sans-serif; color: #2e555c; }
.paper::after { content: ""; position: absolute; inset: 18px; border: 2px solid #94aeb0; }
.paper:nth-child(1) { transform: translate(-80%,-50%) rotate(-9deg); }
.paper:nth-child(2) { z-index: 2; transform: translate(-50%,-50%) rotate(2deg); }
.paper:nth-child(3) { transform: translate(-18%,-50%) rotate(10deg); }
.shop-grid { margin-bottom: 30px; }
.shop-card { text-align: center; }
.shop-card-image { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #f1e0bb, #70c2b2); }
.shop-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-card:nth-child(2) .shop-card-image { background: linear-gradient(135deg, #e6d9ca, #f7f4eb); }
.shop-card:nth-child(3) .shop-card-image { background: linear-gradient(135deg, #f6f1df, #8db596); }
.coming-soon-label { position: relative; z-index: 2; padding: 12px 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: rgba(18,56,64,.88); color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .12em; line-height: 1; text-transform: uppercase; white-space: nowrap; box-shadow: 0 5px 18px rgba(18,56,64,.22); }
.shop-card strong { display: block; padding: 18px; font: 700 20px Arial, Helvetica, sans-serif; }

.newsletter { padding: 42px 0; background: var(--jasza-teal); color: #fff; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.newsletter-copy { flex: 1; text-align: center; }
.newsletter h2 { margin: 0; font-size: clamp(27px, 2.2vw, 32px); line-height: 1.15; white-space: nowrap; }
.newsletter p { margin: 10px auto 0; max-width: 530px; line-height: 1.45; text-align: center; }
.newsletter-form { flex: 1; max-width: 650px; display: flex; gap: 16px; }
.newsletter-form input { flex: 1; min-height: 54px; border: 0; border-radius: 5px; padding: 0 18px; font-size: 16px; }
.newsletter-form button { min-width: 155px; border: 0; border-radius: 5px; background: #fff; color: var(--jasza-ink); font-weight: 800; }
.newsletter-form button:hover, .newsletter-form button:focus-visible { background: var(--jasza-ink); color: #8ee3df; }

.site-footer { padding: 48px 0 22px; background: #073b46; color: #d9ecec; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .8fr 1.15fr 1.35fr; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-column { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer-column a:hover { color: #7de1dd; }
.footer-brand { display: flex; align-items: center; gap: 12px; font: 700 22px Arial, Helvetica, sans-serif; }
.footer-brand .custom-logo { max-height: 52px; }
.footer-brand-block { display: inline-flex; width: max-content; max-width: 100%; flex-direction: column; align-items: center; }
.footer-tagline { display: block; margin-top: 9px; text-align: center; }
.social-links { display: flex; flex-wrap: nowrap; justify-content: center; gap: 9px; margin-top: 5px; }
.footer-social-column { min-width: 236px; align-items: center; text-align: center; }
.social-link { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; display: inline-grid; place-items: center; transition: .2s ease; }
.social-link:hover, .social-link:focus-visible { background: var(--jasza-teal); border-color: var(--jasza-teal); transform: translateY(-2px); }
.social-link.is-disabled { opacity: .72; cursor: default; }
.social-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-link svg path:first-child { fill: currentColor; stroke: none; }
.social-link svg .social-fill { fill: var(--jasza-ink); stroke: none; }
.site-info { display: block; text-align: center; padding-top: 20px; }

.content-area { padding: 70px 0; min-height: 60vh; }
.content-area article { max-width: 820px; margin-inline: auto; }
.entry-title { font-size: clamp(40px, 5vw, 62px); line-height: 1.06; }
.entry-content { font-size: 18px; line-height: 1.8; }
.entry-content a { color: var(--jasza-teal-dark); text-decoration: underline; }
.entry-content .jasza-button, .entry-content .wp-block-button__link { color: #fff; text-decoration: none; }
.entry-content .jasza-button:hover, .entry-content .jasza-button:focus-visible, .entry-content .wp-block-button__link:hover, .entry-content .wp-block-button__link:focus-visible { color: #8ee3df; }
.archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-intro { max-width: 760px; margin: 0 0 36px; color: #426168; font-size: 19px; line-height: 1.7; }
.blog-page-header { margin-bottom: 42px; }
.blog-page-header .entry-title { margin-bottom: 18px; }
.archive-grid .post-card-copy { min-height: 190px; }
.archive-grid .post-card-copy h3 { margin-bottom: 12px; }
.post-excerpt { margin: 0 0 auto; color: #426168; font-size: 15px; line-height: 1.55; }
.blog-list { display: grid; gap: 30px; }
.blog-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dcebea;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--jasza-shadow);
}
.content-area article.blog-row { max-width: none; width: 100%; margin: 0; }
.blog-row-image-link { display: block; min-height: 370px; background: linear-gradient(145deg, #136f7d, #7fd4ca); }
.blog-row-image { display: block; width: 100%; height: 100%; min-height: 370px; object-fit: cover; }
.blog-row .card-placeholder { height: 100%; min-height: 370px; }
.blog-row-copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.blog-row-copy small { color: var(--jasza-teal-dark); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-row-copy h2 { margin: 10px 0 16px; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.blog-row-copy h2 a:hover, .blog-row-copy h2 a:focus-visible { color: var(--jasza-teal-dark); }
.blog-row-copy .post-excerpt { margin-bottom: 24px; font-size: 17px; line-height: 1.65; }
.download-cta {
  margin: 38px 0;
  padding: 28px;
  border-radius: 8px;
  background: var(--jasza-aqua);
  text-align: center;
}
.download-cta h2 { margin: 0 0 9px; }
.download-cta p { margin: 0 auto 20px; max-width: 620px; color: #426168; }
.download-cta .jasza-button { margin-bottom: 10px; }
.download-cta small { display: block; color: #426168; }

.shop-page article { max-width: none; }
.shop-intro { max-width: 790px; margin-bottom: 52px; }
.shop-intro > p:not(.section-kicker) { color: #426168; font-size: 19px; line-height: 1.75; }
.product-sections { display: grid; gap: 34px; }
.product-row {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #dcebea;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--jasza-shadow);
}
.product-image {
  min-height: 355px;
  background: linear-gradient(145deg, #dcedc9, #63c4b4);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-row:nth-child(2) .product-image { background: linear-gradient(145deg, #e7f7f5, #f2d99f); }
.product-row:nth-child(3) .product-image { background: linear-gradient(145deg, #f5e7bf, #79c9bd); }
.product-row:nth-child(4) .product-image { background: linear-gradient(145deg, #d6ece7, #dfc9a1); }
.product-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-copy { padding: clamp(30px, 4vw, 54px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.product-copy h2 { margin: 0 0 17px; font-size: clamp(30px, 3vw, 42px); }
.product-copy p { margin: 0 0 18px; color: #426168; line-height: 1.75; }
.product-copy ul { margin: 0 0 24px; padding-left: 21px; color: #426168; line-height: 1.75; }
.button-disabled { opacity: .72; cursor: default; }
.shop-note { max-width: 850px; margin: 42px auto 0; padding: 20px 24px; border-radius: 7px; background: var(--jasza-cream); color: #426168; text-align: center; line-height: 1.65; }

/* Editable block homepage (version 3.7). */
.editable-homepage > .wp-block-group,
.editable-homepage > .wp-block-cover { margin-block-start: 0; margin-block-end: 0; }
.home-editor-hero { width: 100%; height: 620px !important; min-height: 620px !important; aspect-ratio: auto !important; }
.home-editor-hero .wp-block-cover__inner-container { width: min(1180px, calc(100% - 44px)); }
.home-editor-hero-copy { max-width: 650px; margin-left: 0 !important; }
.home-editor-hero .eyebrow { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.home-editor-hero h1 { margin: 16px 0 22px; color: #fff; font-size: clamp(48px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em; text-shadow: 0 2px 12px rgba(0,0,0,.32); }
.home-editor-hero .hero-description { max-width: 650px; color: #fff; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; text-shadow: 0 1px 7px rgba(0,0,0,.72); }
.home-editor-hero .wp-block-buttons { margin-top: 28px; }
.home-editor-section { padding: 64px 22px; }
.home-editor-section > .wp-block-group__inner-container { width: min(1180px, 100%); margin-inline: auto; }
.home-editor-section.is-warm { background: var(--jasza-cream); }
.home-editor-section.is-aqua { background: var(--jasza-aqua); }
.home-editor-section .section-kicker { margin-bottom: 10px; color: var(--jasza-teal-dark); font-weight: 800; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
.home-editor-section > h2,
.home-editor-section > .wp-block-group__inner-container > h2 { margin: 0 auto; font-size: clamp(34px, 3.5vw, 48px); line-height: 1.1; text-align: center; }
.home-editor-latest-query { margin-top: 32px; }
.home-editor-latest-query .wp-block-post-template { gap: 26px; }
.home-editor-latest-query .wp-block-post { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--jasza-shadow); }
.home-editor-latest-query .wp-block-post::before { content: ""; display: block; height: 190px; background: linear-gradient(145deg, #136f7d, #7fd4ca); }
.home-editor-latest-query .wp-block-post:nth-child(2)::before { background: linear-gradient(145deg, #b9d69a, #2f7960); }
.home-editor-latest-query .wp-block-post:nth-child(3)::before { background: linear-gradient(145deg, #eee2b5, #62cbd0); }
.home-editor-latest-query .wp-block-post:has(.wp-block-post-featured-image)::before { display: none; }
.home-editor-latest-query .wp-block-post-featured-image { margin: 0; }
.home-editor-latest-query .wp-block-post-featured-image img { width: 100%; height: 190px; object-fit: cover; }
.home-editor-latest-copy { padding: 22px; }
.home-editor-latest-copy .wp-block-post-title { margin: 8px 0 18px; font-size: 22px; line-height: 1.22; }
.home-editor-latest-copy .wp-block-post-terms { color: var(--jasza-teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-editor-latest-copy .wp-block-read-more { color: var(--jasza-teal-dark); font-weight: 800; }
.home-editor-freebie { gap: clamp(32px, 6vw, 84px); margin-top: 0; }
.home-editor-freebie .wp-block-media-text__media { overflow: hidden; border-radius: 8px; background: linear-gradient(155deg, #80c3b4, #f2d69d); min-height: 320px; }
.home-editor-freebie .wp-block-media-text__media img { min-height: 320px; object-fit: cover; }
.home-editor-freebie .wp-block-media-text__content { padding: 30px; }
.home-editor-freebie h2 { font-size: clamp(34px, 3vw, 44px); line-height: 1.1; overflow-wrap: normal; word-break: normal; }
.home-editor-freebie p:not(.section-kicker) { font-size: 17px; line-height: 1.65; }
.home-editor-shop-grid { gap: 26px; margin-top: 36px; }
.home-editor-shop-card { overflow: hidden; min-height: 310px; border-radius: 8px; background: #fff; box-shadow: var(--jasza-shadow); }
.home-editor-shop-card .shop-image-block { display: grid; min-height: 210px; margin: 0; place-items: center; background: linear-gradient(135deg, #f1e0bb, #70c2b2); }
.home-editor-shop-grid > .wp-block-column:nth-child(2) .shop-image-block { background: linear-gradient(135deg, #e6d9ca, #f7f4eb); }
.home-editor-shop-grid > .wp-block-column:nth-child(3) .shop-image-block { background: linear-gradient(135deg, #f6f1df, #8db596); }
.home-editor-shop-card h3 { margin: 0; padding: 20px; font-size: 21px; text-align: center; }
.home-editor-shop-cta { margin-top: 34px; }
.home-editor-newsletter { padding: 38px 22px; background: var(--jasza-teal); color: #fff; text-align: center; }
.home-editor-newsletter h2 { margin: 0; color: #fff; font-size: clamp(28px, 3vw, 40px); }
.home-editor-newsletter p { font-size: 17px; }
.editable-homepage .wp-block-button__link { padding: 15px 24px; border-radius: 4px; background: var(--jasza-teal); color: #fff; font-weight: 800; }
.home-editor-hero .is-style-outline .wp-block-button__link { border-color: #fff; background: #fff; color: var(--jasza-ink); }
.home-editor-newsletter .wp-block-button__link { background: #fff; color: var(--jasza-ink); }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 0; }
  .header-inner { flex-wrap: wrap; padding-block: 13px; }
  .menu-toggle { display: block; }
  .primary-navigation { display: none; width: 100%; margin-left: 0; }
  .primary-navigation.is-open { display: block; }
  .primary-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-menu a { padding: 13px 0; }
  .latest-grid, .shop-grid, .archive-grid { grid-template-columns: 1fr; max-width: 570px; margin-inline: auto; }
  .blog-row { grid-template-columns: 1fr; }
  .blog-row-image-link, .blog-row-image, .blog-row .card-placeholder { min-height: 275px; }
  .product-row { grid-template-columns: 1fr; }
  .product-image { min-height: 310px; }
  .split { grid-template-columns: 1fr; }
  .newsletter-inner { align-items: stretch; flex-direction: column; }
  .newsletter h2 { white-space: normal; }
  .newsletter-form { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social-column { min-width: 0; }
  .home-editor-freebie { grid-template-columns: 1fr !important; }
}

/* 3.7.9: replacement homepage signup section. */
body.home main.editable-homepage .home-editor-newsletter {
  display: none !important;
}
.jasza-new-signup {
  width: 100%;
  padding: 42px 0;
  background: var(--jasza-teal);
  color: #fff;
}
.jasza-new-signup-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr);
  align-items: center;
  gap: 60px;
  width: min(1400px, calc(100% - 120px));
  margin: 0 auto;
}
.jasza-new-signup-copy {
  min-width: 0;
  text-align: center;
}
.jasza-new-signup-copy h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.jasza-new-signup-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
}
.jasza-new-signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  min-width: 0;
  margin: 0;
}
.jasza-new-signup-form input,
.jasza-new-signup-form button {
  box-sizing: border-box;
  min-width: 0;
  min-height: 58px;
  border: 0;
  border-radius: 5px;
}
.jasza-new-signup-form input {
  width: 100%;
  padding: 0 20px;
  background: #fff;
  color: var(--jasza-ink);
  font-size: 16px;
}
.jasza-new-signup-form button {
  padding: 0 24px;
  background: #fff;
  color: var(--jasza-ink);
  font-weight: 800;
  cursor: pointer;
}
.jasza-new-signup-form button:hover,
.jasza-new-signup-form button:focus-visible {
  background: var(--jasza-ink);
  color: #8ee3df;
}
@media (max-width: 1100px) {
  .jasza-new-signup-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(720px, calc(100% - 44px));
  }
  .jasza-new-signup-copy h2 {
    white-space: normal;
  }
}
@media (max-width: 620px) {
  .jasza-new-signup {
    padding: 34px 0;
  }
  .jasza-new-signup-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container, .header-inner, .hero-copy { width: min(100% - 32px, 1180px); }
  .site-branding { min-width: 0; }
  .header-inner { justify-content: space-between; }
  .brand-copy strong { font-size: 19px; }
  .hero { min-height: 640px; }
  .hero h1 { font-size: 51px; }
  .hero-description { font-size: 17px; }
  .button-row .jasza-button { width: 100%; }
  .home-section { padding: 58px 0; }
  .paper-stack { transform: scale(.8); margin: -30px 0; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form button { min-height: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .home-editor-hero { height: 560px !important; min-height: 560px !important; aspect-ratio: auto !important; }
  .home-editor-hero .wp-block-cover__inner-container { width: min(100% - 32px, 1180px); }
  .home-editor-hero h1 { font-size: 46px; }
  .home-editor-section { padding: 52px 16px; }
}

/*
 * Final homepage-cover safeguards.
 * WordPress can save an aspect ratio and block spacing inline. These rules
 * deliberately outrank those values so the live page retains staging scale.
 */
body.home main.editable-homepage .wp-block-cover.home-editor-hero {
  width: 100% !important;
  height: 620px !important;
  min-height: 620px !important;
  max-height: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
}
body.home main.editable-homepage .home-editor-hero .wp-block-cover__inner-container {
  width: min(1180px, calc(100% - 88px)) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: 0 !important;
}
body.home main.editable-homepage .home-editor-hero .home-editor-hero-copy {
  width: min(650px, 100%) !important;
  max-width: 650px !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  padding: 0 !important;
}
body.home main.editable-homepage .home-editor-hero h1.wp-block-heading {
  margin: 14px 0 20px !important;
  font-size: clamp(48px, 4.5vw, 72px) !important;
  line-height: .98 !important;
}
body.home main.editable-homepage .home-editor-hero .hero-description {
  max-width: 640px !important;
  font-size: clamp(18px, 1.45vw, 21px) !important;
  line-height: 1.55 !important;
}

@media (max-width: 900px) {
  body.home main.editable-homepage .wp-block-cover.home-editor-hero {
    height: 570px !important;
    min-height: 570px !important;
    max-height: 570px !important;
  }
  body.home main.editable-homepage .home-editor-hero .wp-block-cover__inner-container {
    width: min(100% - 44px, 720px) !important;
  }
}

@media (max-width: 560px) {
  body.home main.editable-homepage .wp-block-cover.home-editor-hero {
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
  }
  body.home main.editable-homepage .home-editor-hero .wp-block-cover__inner-container {
    width: calc(100% - 32px) !important;
  }
  body.home main.editable-homepage .home-editor-hero h1.wp-block-heading {
    font-size: 44px !important;
  }
}

/* Wide staging-style homepage sections. */
body.home main.editable-homepage .home-editor-section > h2.wp-block-heading {
  font-size: clamp(34px, 3.2vw, 48px) !important;
}
body.home main.editable-homepage .home-editor-latest-query,
body.home main.editable-homepage .home-editor-shop-grid {
  width: min(1540px, calc(100vw - 120px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
}
body.home main.editable-homepage .home-editor-latest-query .wp-block-post-template,
body.home main.editable-homepage .home-editor-shop-grid {
  align-items: stretch !important;
}
body.home main.editable-homepage .home-editor-latest-query .wp-block-post {
  display: flex;
  height: 100%;
  min-height: 480px;
  flex-direction: column;
}
body.home main.editable-homepage .home-editor-latest-copy {
  display: flex;
  min-height: 245px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
body.home main.editable-homepage .home-editor-latest-copy .wp-block-read-more {
  margin-top: auto;
}
body.home main.editable-homepage .home-editor-freebie {
  width: min(1400px, calc(100vw - 120px)) !important;
  max-width: none !important;
  margin-right: auto !important;
  margin-left: 50% !important;
  transform: translateX(-50%);
}
body.home main.editable-homepage .home-editor-section.is-aqua {
  padding-top: 42px;
  padding-bottom: 42px;
}
body.home main.editable-homepage .home-editor-freebie .section-kicker {
  text-align: left !important;
}
body.home main.editable-homepage .home-editor-freebie .wp-block-media-text__media {
  height: 310px;
  min-height: 310px;
  background: #fff;
}
body.home main.editable-homepage .home-editor-freebie .wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
body.home main.editable-homepage .home-editor-freebie .wp-block-media-text__content {
  padding: clamp(26px, 4vw, 52px);
}
body.home main.editable-homepage .home-editor-freebie h2 {
  margin-top: 12px;
  margin-bottom: 18px;
  font-size: clamp(32px, 2.7vw, 42px);
}
body.home main.editable-homepage .home-editor-shop-card {
  width: 100%;
}
body.home main.editable-homepage .home-editor-newsletter {
  padding: 34px 22px;
  text-align: left;
}
body.home main.editable-homepage .home-editor-newsletter-layout {
  display: grid !important;
  width: min(1400px, calc(100vw - 120px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 1fr);
  gap: 70px;
  align-items: center;
}
body.home main.editable-homepage .home-editor-newsletter-copy {
  min-width: 0;
  padding: 0;
}
body.home main.editable-homepage .home-editor-newsletter-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(27px, 2vw, 31px);
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}
body.home main.editable-homepage .home-editor-newsletter-copy p {
  margin-bottom: 0;
  text-align: left;
  white-space: nowrap;
}
body.home main.editable-homepage .home-editor-newsletter-form {
  width: 100%;
  max-width: none;
  margin-left: auto;
}

/* 3.7.8: keep legacy saved newsletter blocks from overlapping their heading. */
body.home main.editable-homepage .home-editor-newsletter-layout {
  grid-template-columns: minmax(0, 44%) minmax(0, 56%) !important;
  column-gap: 54px !important;
  box-sizing: border-box;
}
body.home main.editable-homepage .home-editor-newsletter-copy {
  position: relative !important;
  z-index: 2;
  width: 100% !important;
  max-width: 100% !important;
}
body.home main.editable-homepage .home-editor-newsletter-copy h2 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 28px !important;
  letter-spacing: 0 !important;
}
body.home main.editable-homepage .home-editor-newsletter-form {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  z-index: 1;
  min-width: 0 !important;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  body.home main.editable-homepage .home-editor-newsletter-layout {
    width: min(100% - 44px, 720px);
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  body.home main.editable-homepage .home-editor-newsletter-copy h2,
  body.home main.editable-homepage .home-editor-newsletter-copy p {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  body.home main.editable-homepage .home-editor-latest-query,
  body.home main.editable-homepage .home-editor-shop-grid,
  body.home main.editable-homepage .home-editor-freebie {
    width: min(100% - 44px, 720px) !important;
  }
  body.home main.editable-homepage .home-editor-latest-query .wp-block-post {
    min-height: 0;
  }
  body.home main.editable-homepage .home-editor-newsletter-form {
    margin-left: 0;
  }
}
