/*
Theme Name: Alberta 1 — Jeseníky
Theme URI: https://www.alberta1.cz/
Author: Alberta 1 — web design
Description: Vlastní bloková šablona pro rekreační chalupu Alberta 1 ve vzhledu varianty 3 „Společné chvíle“ od zadavatele. Jednotné komponenty (a1-*), vícejazyčná přes Polylang (cs, pl, de, en), napojená na aplikaci rezervací.
Version: 3.0.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: alberta-one
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, featured-images
License: GPL-2.0-or-later
*/

/* Barvy a písma podle návrhu zadavatele (varianta 3, D-212): dřevo,
   cihlově červená tlačítka, zelené nadtitulky, krémové pozadí. Rozměry
   laděné na Full HD (obsah 1264 px) a od něj dolů po mobil 360 px. */
:root {
	--a-ink: #3a2214;
	--a-brown: #6b4327;
	--a-wood: #b8773a;
	--a-gold: #e1952b;
	--a-red: #b5401f;
	--a-red-dark: #962f12;
	--a-red-soft: #f8e4d9;
	--a-green: #2f6b2c;
	--a-green-soft: #e6efdf;
	--a-cream: #fbf6ee;
	--a-sand: #f4ebde;
	--a-paper: #fffdf9;
	--a-grey: #f4f0ea;
	--a-text: #3d322b;
	--a-mute: #6f635a;
	--a-line: #eadfcf;
	--a-footer: #3a2214;
	--a-radius: 8px;
	--a-radius-lg: 14px;
	--a-radius-sm: 6px;
	--a-shadow: 0 1px 2px rgba(74, 44, 20, .05), 0 6px 18px rgba(74, 44, 20, .07);
	--a-shadow-lg: 0 2px 6px rgba(74, 44, 20, .06), 0 20px 44px rgba(74, 44, 20, .14);
	--a-header-h: 84px;
	--a-max: 1360px;
	--a-gutter: clamp(16px, 4vw, 48px);
	--a-section: clamp(40px, 4vw, 72px);
	--a-ease: cubic-bezier(.2, .7, .2, 1);
	--a-serif: Literata, Georgia, "Times New Roman", serif;
	--a-sans: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	/* Původní názvy proměnných (používají je bloky mapy a ikon). */
	--a-terracotta: var(--a-red);
	--a-terracotta-dark: var(--a-red-dark);
	--a-terracotta-soft: var(--a-red-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--a-header-h) + 16px); }
html.a1-menu-open { overflow: hidden; }
body { margin: 0; background: var(--a-cream); color: var(--a-text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body, h1, h2, h3, h4 { font-variant-numeric: lining-nums; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
body, button, input, textarea { font-family: var(--a-sans); }
img { max-width: 100%; height: auto; }
a { color: var(--a-red); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--a-red); outline-offset: 3px; border-radius: 4px; }
::selection { background: #f1cdb9; color: var(--a-ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.wp-site-blocks { --wp--style--block-gap: 0; }
.wp-site-blocks > *, .alberta-main > *, .alberta-main .wp-block-post-content > * { margin-block: 0 !important; }
.alberta-inner { max-width: var(--a-max); margin-inline: auto; padding-inline: var(--a-gutter); }

/* ===== Hlavička: logo, menu, poptávka, jazyk ===== */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.alberta-header { position: relative; background: rgba(255, 253, 249, .97); border-bottom: 1px solid var(--a-line); transition: box-shadow .3s var(--a-ease); }
.alberta-header.is-scrolled { box-shadow: 0 8px 28px rgba(74, 44, 20, .1); }
.alberta-header__bar { display: flex; align-items: center; gap: 24px; height: var(--a-header-h); }
.alberta-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.alberta-brand__logo { display: block; width: auto; height: 58px; }
.alberta-header__panel { display: flex; align-items: center; gap: 20px; flex: 1; }
.alberta-header__nav { flex: 1; display: flex; justify-content: flex-end; }
.alberta-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.alberta-menu li { position: relative; }
.alberta-menu a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--a-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 10px 9px; border-radius: 6px; }
.alberta-menu > li > a::before { content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px; background: var(--a-red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--a-ease); }
.alberta-menu > li > a:hover::before, .alberta-menu > .current-menu-item > a::before, .alberta-menu > .menu-item-has-children.current-menu-ancestor > a::before { transform: scaleX(1); }
.alberta-menu > .current-menu-item > a, .alberta-menu a:hover { color: var(--a-red); }
.alberta-menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .2s; }
.alberta-menu li:hover > a::after { transform: translateY(0) rotate(225deg); }
.alberta-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s var(--a-ease), transform .2s var(--a-ease), visibility .2s; z-index: 5; }
.alberta-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.alberta-menu .sub-menu a { display: flex; padding: 10px 12px; font-size: 14.5px; }
.alberta-menu .sub-menu a:hover, .alberta-menu .sub-menu .current-menu-item > a { background: var(--a-cream); color: var(--a-red); }
.alberta-menu li:hover > .sub-menu, .alberta-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.alberta-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--a-radius-sm); background: var(--a-red); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap; box-shadow: 0 6px 16px rgba(181, 64, 31, .26); transition: background-color .2s, transform .2s var(--a-ease), box-shadow .2s; }
.alberta-cta:hover { background: var(--a-red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(181, 64, 31, .32); }
/* Výběr jazyka: úplně vpravo, rozbalovací. */
.alberta-lang { position: relative; flex: 0 0 auto; }
.alberta-lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 9px; border: 1px solid var(--a-line); border-radius: var(--a-radius-sm); background: var(--a-paper); color: var(--a-ink); font-size: 13px; font-weight: 600; letter-spacing: .06em; cursor: pointer; user-select: none; transition: border-color .2s; }
.alberta-lang summary::-webkit-details-marker { display: none; }
.alberta-lang summary:hover, .alberta-lang[open] summary { border-color: var(--a-brown); }
.alberta-flag { display: block; flex: 0 0 auto; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(58, 34, 20, .14); overflow: hidden; }
.alberta-lang summary::after { content: ""; width: 6px; height: 6px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .2s; }
.alberta-lang[open] summary::after { transform: translateY(1px) rotate(225deg); }
.alberta-lang__menu { list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow-lg); z-index: 10; animation: a1-up .18s var(--a-ease) both; }
.alberta-lang__menu a, .alberta-lang__menu .is-current { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: var(--a-ink); text-decoration: none; font-size: 15px; }
.alberta-lang__menu a:hover { background: var(--a-cream); color: var(--a-red); }
.alberta-lang__menu .is-current { background: var(--a-cream); font-weight: 600; }
.alberta-lang__name { flex: 1; }
.alberta-lang__code { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--a-mute); }
.alberta-header__toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--a-line); border-radius: var(--a-radius-sm); background: var(--a-paper); cursor: pointer; position: relative; }
.alberta-header__toggle-bars, .alberta-header__toggle-bars::before, .alberta-header__toggle-bars::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--a-ink); border-radius: 2px; transition: transform .25s var(--a-ease), background-color .2s; }
.alberta-header__toggle-bars { top: 21px; }
.alberta-header__toggle-bars::before, .alberta-header__toggle-bars::after { content: ""; left: 0; }
.alberta-header__toggle-bars::before { top: -6px; }
.alberta-header__toggle-bars::after { top: 6px; }
.alberta-header.is-open .alberta-header__toggle-bars { background: transparent; }
.alberta-header.is-open .alberta-header__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.alberta-header.is-open .alberta-header__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ===== Tlačítka ===== */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-buttons.is-center { justify-content: center; }
.wp-block-buttons .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--a-sans); font-weight: 600; border-radius: var(--a-radius-sm); min-height: 46px; padding: 11px 22px; line-height: 1.3; font-size: 15px; text-decoration: none; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--a-ease), box-shadow .2s; }
.wp-block-buttons .wp-block-button__link:hover { transform: translateY(-1px); }
.a1-btn-primary .wp-block-button__link { background: var(--a-red) !important; color: #fff !important; border: 1px solid var(--a-red); box-shadow: 0 6px 16px rgba(181, 64, 31, .26); }
.a1-btn-primary .wp-block-button__link:hover { background: var(--a-red-dark) !important; border-color: var(--a-red-dark); box-shadow: 0 10px 22px rgba(181, 64, 31, .32); }
.a1-btn-secondary .wp-block-button__link { background: var(--a-paper) !important; color: var(--a-ink) !important; border: 1px solid rgba(181, 64, 31, .55); }
.a1-btn-secondary .wp-block-button__link:hover { border-color: var(--a-red); color: var(--a-red) !important; }
.a1-btn-light .wp-block-button__link { background: rgba(255, 255, 255, .1) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .6); }
.a1-btn-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .2) !important; }

/* ===== Sekce, nadpisy, texty ===== */
.a1-section { position: relative; padding-block: var(--a-section); padding-inline: max(var(--a-gutter), calc((100% - var(--a-max)) / 2 + var(--a-gutter))); }
.a1-section > * { margin-block: 0 !important; }
.a1-section > * + * { margin-top: clamp(20px, 2vw, 32px) !important; }
.a1-section.is-paper { background: var(--a-paper); }
.a1-section.is-sand { background: var(--a-sand); }
.a1-section.is-tight { padding-block: clamp(14px, 1.4vw, 22px); }
.a1-section.is-flush-top { padding-top: 0; }

.a1-head > * { margin: 0 !important; }
.a1-head { max-width: 780px; }
.a1-head.is-center { margin-inline: auto; text-align: center; }
.a1-head.is-split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 64px; align-items: end; }
.a1-head__main > *, .a1-head__aside > * { margin: 0 !important; }
.a1-head__aside { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.a1-head__aside .a1-lead { margin: 0 !important; }
.a1-eyebrow { font-family: var(--a-serif) !important; font-weight: 600 !important; font-size: 16px !important; line-height: 1.35 !important; letter-spacing: 0; color: var(--a-green) !important; margin: 0 0 6px !important; }
.a1-title { font-family: var(--a-serif) !important; font-weight: 700 !important; letter-spacing: -.01em; line-height: 1.14 !important; color: var(--a-ink); margin: 0 !important; }
h1.a1-title { font-size: clamp(32px, 2.7vw, 50px) !important; line-height: 1.1 !important; }
h2.a1-title { font-size: clamp(26px, 1.95vw, 36px) !important; line-height: 1.16 !important; }
h2.a1-title--sans { font-family: var(--a-sans) !important; font-size: clamp(22px, 1.5vw, 28px) !important; font-weight: 700 !important; letter-spacing: -.015em; }
.a1-lead { color: #574a41; font-size: clamp(16px, 1vw, 18px) !important; line-height: 1.6 !important; margin: 10px 0 0 !important; }
.a1-head .a1-lead { max-width: 640px; }
.a1-head.is-center .a1-lead { margin-inline: auto !important; }
.a1-more { margin: 0; font-size: 15px; font-weight: 600; }
.a1-more a { color: var(--a-red); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.a1-more a span { transition: transform .2s var(--a-ease); }
.a1-more a:hover span { transform: translateX(3px); }

/* ===== Úvod úvodní stránky (varianta 3) =====
   Velká fotka chalupy vpravo se vlevo rozplývá do krémového pozadí. */
.a1-hero3 { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(540px, calc(86vh - var(--a-header-h)), 760px); padding-block: clamp(32px, 3vw, 56px); background: var(--a-cream); }
.a1-hero3__photo { position: absolute !important; top: 0; right: 0; bottom: 0; width: 68%; z-index: -1; margin: 0 !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.a1-hero3__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; display: block; animation: a1-zoom 2.4s var(--a-ease) both; }
.a1-hero3__content { position: relative; max-width: 560px; display: flex; flex-direction: column; gap: clamp(22px, 2.2vw, 36px); }
.a1-hero3__content > * { margin: 0 !important; }
.a1-hero3__text { display: flex; flex-direction: column; gap: 8px; }
.a1-hero3__text > * { margin: 0 !important; animation: a1-up .9s var(--a-ease) both; }
.a1-hero3__text > :nth-child(2) { animation-delay: .08s; }
.a1-hero3__text > :nth-child(3) { animation-delay: .14s; }
.a1-hero3__text > :nth-child(4) { animation-delay: .2s; }
.a1-hero3 .a1-title { font-size: clamp(38px, 3.4vw, 62px) !important; line-height: 1.06 !important; text-shadow: 0 1px 18px rgba(251, 246, 238, .9); }
.a1-hero3__sub { font-family: var(--a-serif); font-size: clamp(22px, 1.6vw, 30px); font-weight: 700; line-height: 1.2; color: var(--a-ink); }
.a1-hero3__sub strong { color: var(--a-red); font-size: 1.3em; }
.a1-hero3 .a1-lead { color: var(--a-text); margin-top: 6px !important; }
.a1-hero3 .wp-block-buttons { margin-top: 18px !important; }
.a1-hero3__polaroid { width: min(360px, 82%); padding: 8px; background: #fff; box-shadow: 0 14px 34px rgba(58, 34, 20, .24); rotate: -3.5deg; animation: a1-up 1s .3s var(--a-ease) both; }
.a1-hero3__polaroid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ===== Pás fotek s popisky ===== */
.a1-strip-section { padding-bottom: clamp(16px, 1.6vw, 24px); }
.a1-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a1-strip > * { margin: 0 !important; }
.a1-strip__item img { display: block; width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--a-radius-sm); }
.a1-strip__item:first-child img { clip-path: polygon(0 0, 100% 0, 97% 100%, 0 100%); }
.a1-strip__item:last-child img { clip-path: polygon(3% 0, 100% 0, 100% 100%, 0 100%); }
.a1-strip__item figcaption, .wp-element-caption { margin: 8px 0 0 !important; font-family: var(--a-serif); font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--a-ink); text-align: left; }
.a1-strip__item:last-child figcaption { padding-left: 3%; }

/* ===== Velké karty, široká karta, menší karty ===== */
.a1-panel, .a1-wide, .a1-linkcard, .a1-duo { position: relative; background: var(--a-paper); border-radius: var(--a-radius); box-shadow: var(--a-shadow); overflow: hidden; }
.a1-panel { display: flex; flex-direction: column; }
.a1-panel > *, .a1-wide > *, .a1-linkcard > *, .a1-duo > * { margin: 0 !important; }
.a1-panel__photo { aspect-ratio: 16 / 10; overflow: hidden; }
.a1-panel__photo img, .a1-wide__photo img, .a1-linkcard__photo img, .a1-duo__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--a-ease); }
.a1-panel:hover .a1-panel__photo img, .a1-wide:hover .a1-wide__photo img, .a1-linkcard:hover .a1-linkcard__photo img { transform: scale(1.035); }
.a1-panel__body, .a1-wide__body { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 1.6vw, 26px) clamp(20px, 1.8vw, 30px) clamp(22px, 1.8vw, 30px); }
.a1-panel__body > *, .a1-wide__body > *, .a1-linkcard__body > *, .a1-duo__text > * { margin: 0 !important; }
.a1-panel .a1-eyebrow, .a1-wide .a1-eyebrow, .a1-duo .a1-eyebrow { margin: 0 !important; }
.a1-panel__title { font-family: var(--a-serif) !important; font-size: clamp(24px, 1.75vw, 32px) !important; font-weight: 700 !important; line-height: 1.15 !important; color: var(--a-ink); }
.a1-panel__text { font-size: 15.5px; line-height: 1.6; color: var(--a-mute); max-width: 560px; }
.a1-panel__body .wp-block-buttons, .a1-wide__body .wp-block-buttons, .a1-duo__text .wp-block-buttons { margin-top: 10px !important; }
.a1-wide { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
.a1-wide__photo { min-height: 280px; overflow: hidden; }
.a1-wide__body { justify-content: center; }
.a1-linkcard { display: flex; flex-direction: column; text-align: center; }
.a1-linkcard__photo { aspect-ratio: 16 / 8.5; overflow: hidden; }
.a1-linkcard__body { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 20px 22px; flex: 1; }
.a1-linkcard__title { font-family: var(--a-serif) !important; font-size: clamp(18px, 1.2vw, 21px) !important; font-weight: 700 !important; line-height: 1.2 !important; color: var(--a-ink); }
.a1-linkcard__text { font-size: 14.5px; line-height: 1.5; color: var(--a-mute); }
.a1-linkcard .wp-block-buttons { margin-top: auto !important; padding-top: 10px; }
.a1-linkcard .wp-block-button__link, .a1-panel .a1-btn-secondary .wp-block-button__link { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.a1-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); align-items: center; gap: 0; }
.a1-duo__text { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2vw, 36px); }
.a1-duo__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; height: 100%; }
.a1-duo__photos > * { margin: 0 !important; }
.a1-duo__photo { overflow: hidden; min-height: 230px; height: 100%; }
.a1-duo__photo:first-child { clip-path: polygon(6% 0, 100% 0, 96% 100%, 0 100%); }

/* ===== Hodnocení hostů ===== */
.a1-rating { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; padding: 14px 24px; background: var(--a-paper); border-radius: var(--a-radius); box-shadow: var(--a-shadow); text-align: center; }
.a1-rating > * { margin: 0 !important; }
.a1-rating__score { display: inline-flex; align-items: center; gap: 10px; font-family: var(--a-serif); font-size: 20px; color: var(--a-ink); }
.a1-rating__stars { color: var(--a-gold); font-size: 20px; letter-spacing: 2px; }
.a1-rating__text { font-size: 15px; color: var(--a-mute); }
/* Recenze z Google Map (D-220) pod pásem s hodnocením. */
.a1-reviews__title { margin: clamp(28px, 3vw, 44px) 0 18px; font-family: var(--a-serif); font-size: clamp(24px, 2.4vw, 32px); color: var(--a-ink); text-align: center; }
.a1-reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.a1-review { margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; background: var(--a-paper); border-radius: var(--a-radius); box-shadow: var(--a-shadow); }
.a1-review__stars { color: var(--a-gold); font-size: 17px; letter-spacing: 2px; }
.a1-review__stars .is-empty { color: var(--a-line); }
.a1-review__text { margin: 0; padding: 0; border: 0; flex: 1; }
.a1-review__text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--a-text); display: -webkit-box; -webkit-line-clamp: 8; line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.a1-review__author { font-size: 14px; font-weight: 600; color: var(--a-ink); }
.a1-review__author a { color: inherit; text-decoration: none; }
.a1-review__author a:hover { text-decoration: underline; }
.a1-review__when { font-weight: 400; color: var(--a-mute); }
.a1-reviews__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 18px 0 0; font-size: 14px; color: var(--a-mute); }
.a1-reviews__foot a { color: var(--a-red); font-weight: 600; text-decoration: none; }

/* ===== Cena a praktické informace ===== */
.a1-practical { padding-top: clamp(28px, 3vw, 48px); }
.a1-practical > * + * { margin-top: 14px !important; }
.a1-infobar { background: var(--a-paper); border-radius: var(--a-radius); box-shadow: var(--a-shadow); padding: clamp(18px, 1.8vw, 28px) clamp(20px, 2vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.a1-infobar > * { margin: 0 !important; }
.a1-infobar__items { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr; }
.a1-infobar__items > * { margin: 0 !important; }
.a1-infobar__item { display: flex; align-items: flex-start; gap: 16px; padding: 4px clamp(16px, 2vw, 36px); border-left: 1px solid var(--a-line); }
.a1-infobar__item:first-child { padding-left: 0; border-left: 0; }
.a1-infobar__item > * { margin: 0 !important; }
.a1-infobar__item .wp-block-alberta-icon { color: var(--a-wood); margin-top: 2px !important; }
.a1-infobar__text > *, .a1-infobar__text .a1-pricing-part > * { margin: 0 !important; }
.a1-infobar__label { font-size: 13.5px; color: var(--a-mute); }
.a1-infobar__value { font-family: var(--a-serif); font-size: clamp(19px, 1.3vw, 23px); font-weight: 700; line-height: 1.25; color: var(--a-ink); }
.a1-infobar__value strong { font-size: 1.15em; }
.a1-infobar__note { margin-top: 3px !important; font-size: 13.5px; line-height: 1.45; color: var(--a-mute); }
.a1-infobar__actions { justify-content: flex-end; }

/* ===== Výzva k poptávce: na webu v patičce na pásu s fotkou hor (D-217) ===== */
.a1-cta { position: relative; text-align: center; padding-block: clamp(48px, 4vw, 72px); background: var(--a-sand); }
.a1-cta__photo { display: none !important; }
.a1-cta > * + * { margin-top: 0 !important; }
.a1-cta__inner { max-width: 640px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.a1-cta__inner > * { margin: 0 !important; }
.a1-cta .a1-eyebrow { margin: 0 !important; }
.a1-cta .a1-title { font-size: clamp(28px, 2.3vw, 42px) !important; }
.a1-cta .a1-lead { margin: 4px 0 0 !important; color: var(--a-text); }
.a1-cta .wp-block-buttons { margin-top: 14px !important; }
.a1-cta__phone { margin-top: 6px !important; font-size: 17px; color: var(--a-ink); }
.a1-cta__phone a { color: var(--a-red); font-weight: 700; text-decoration: none; white-space: nowrap; }
.a1-cta__phone a:hover { text-decoration: underline; }

/* ===== Úvod podstránky: text vlevo, fotka vpravo rozplývající se do pozadí ===== */
.a1-banner { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(260px, 22vw, 380px); background: var(--a-cream); }
.a1-banner__photo { position: absolute !important; top: 0; right: 0; bottom: 0; width: 62%; z-index: -1; margin: 0 !important; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.a1-banner__photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: a1-zoom 2.4s var(--a-ease) both; }
.a1-banner__text { max-width: 560px; }
.a1-banner__text > * { margin: 0 !important; animation: a1-up .8s var(--a-ease) both; }
.a1-banner .a1-eyebrow { margin-top: 14px !important; }
.a1-banner .a1-title { text-shadow: 0 1px 16px rgba(251, 246, 238, .9); }
.a1-banner .a1-lead { color: var(--a-text); max-width: 520px; }
.a1-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--a-mute); }
.a1-breadcrumbs a { color: var(--a-mute); text-decoration: none; }
.a1-breadcrumbs a:hover { color: var(--a-red); text-decoration: underline; }
.a1-breadcrumbs [aria-current] { color: var(--a-ink); font-weight: 500; }
.a1-breadcrumbs__sep { opacity: .5; }

/* ===== Čísla v kostce ===== */
.a1-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.a1-fact { padding: 4px 24px; border-left: 1px solid var(--a-line); }
.a1-fact:first-child { border-left: 0; padding-left: 0; }
.a1-fact > * { margin: 0 !important; }
.a1-fact__value { white-space: nowrap; font-family: var(--a-serif); font-size: clamp(26px, 1.9vw, 36px); font-weight: 700; line-height: 1; color: var(--a-red); }
.a1-fact__label { margin-top: 8px !important; font-size: 14px; line-height: 1.45; color: var(--a-mute); }

/* ===== Pás výhod: ikona vlevo, text vpravo ===== */
.a1-benefits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 24px; }
.a1-benefits > *, .a1-facts > *, .a1-head.is-split > * { margin: 0 !important; }
.a1-benefit { display: flex; align-items: flex-start; gap: 14px; }
.a1-benefit > *, .a1-benefit__text > * { margin: 0 !important; }
.a1-benefit .wp-block-alberta-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--a-red-soft); }
.a1-benefit .wp-block-alberta-icon svg { width: 22px; height: 22px; }
.a1-benefit__title { font-family: var(--a-sans) !important; font-size: 15px !important; font-weight: 600 !important; line-height: 1.35 !important; color: var(--a-ink); padding-top: 2px; }
.a1-benefit__desc { font-size: 13.5px; line-height: 1.45; color: var(--a-mute); margin-top: 2px !important; }

/* ===== Piktogramy vybavení (D-239) ===== */
.a1-pictos { --a-picto-bg: var(--a-red-soft); display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 22px 14px; }
.a1-pictos.is-center { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px clamp(28px, 5vw, 72px); }
.a1-pictos > *, .a1-picto > * { margin: 0 !important; }
.a1-picto { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; }
.wp-block-alberta-picto { --a-picto-bg: var(--a-red-soft); display: block; flex: 0 0 auto; width: 76px; height: 76px; padding: 15px; box-sizing: border-box; border-radius: 50%; background: var(--a-picto-bg); color: var(--a-ink); }
.wp-block-alberta-picto svg { display: block; width: 100%; height: 100%; }
.a1-picto__label { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--a-ink); }

/* ===== Mřížka a karty ===== */
.a1-grid { display: grid; gap: clamp(14px, 1.4vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.a1-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a1-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a1-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a1-grid > * { margin: 0 !important; }

.a1-card { position: relative; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--a-ease), box-shadow .3s var(--a-ease); }
.a1-card > * { margin: 0 !important; }
.a1-photo-card:hover, .a1-room:hover { transform: translateY(-3px); box-shadow: var(--a-shadow-lg); }
.a1-card__title { font-family: var(--a-serif) !important; font-size: clamp(18px, 1.15vw, 21px) !important; font-weight: 700 !important; line-height: 1.22 !important; color: var(--a-ink); margin: 0 !important; }
.a1-card__text { font-size: 15px; line-height: 1.6; color: var(--a-mute); margin: 0 !important; }
.a1-card__text a { color: var(--a-red); }
.a1-card__photo { margin: 0 !important; aspect-ratio: 3 / 2; overflow: hidden; background: var(--a-sand); }
.a1-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--a-ease); }
.a1-photo-card:hover .a1-card__photo img { transform: scale(1.04); }
.a1-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.a1-card__body > * { margin: 0 !important; }
.a1-card__body .a1-more { margin-top: auto !important; padding-top: 8px; }

.a1-feature { padding: 24px 22px; gap: 10px; }
.a1-feature .wp-block-alberta-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--a-red-soft); margin-bottom: 6px !important; }
.a1-feature .wp-block-alberta-icon svg { width: 24px; height: 24px; }

.a1-info { padding: 22px; gap: 14px; }
.a1-info__head { display: flex; align-items: center; gap: 12px; }
.a1-info__head > * { margin: 0 !important; }
.a1-info__head .wp-block-alberta-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 10px; background: var(--a-red-soft); }
.a1-info__head .wp-block-alberta-icon svg { width: 20px; height: 20px; }
.a1-info .a1-card__title { font-size: 19px !important; }
.a1-info .a1-list + .a1-info__head { margin-top: 10px !important; }

.a1-room .a1-card__photo { aspect-ratio: 16 / 9; }
.a1-room .a1-card__photo a { display: block; height: 100%; }
.a1-room:hover .a1-card__photo img { transform: scale(1.04); }
.a1-room .a1-card__title a { color: inherit; text-decoration: none; }
.a1-room .a1-card__title a:hover { color: var(--a-red); }

/* Detail pokoje (D-231): vybavení vlevo, fotky bez ořezu ve sloupcích vpravo. */
.a1-room-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 48px); align-items: start; }
.a1-room-detail > * { margin: 0 !important; }
.a1-room-detail__info { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 120px; }
.a1-room-detail__info > * { margin: 0 !important; }
.a1-gallery.a1-gallery--full.wp-block-gallery.has-nested-images { display: block !important; columns: 2; column-gap: 10px; }
.a1-gallery.a1-gallery--full.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { display: block; width: 100% !important; aspect-ratio: auto; break-inside: avoid; margin: 0 0 10px !important; }
.a1-gallery.a1-gallery--full.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: auto !important; object-fit: initial; }
/* Fotka na výšku v ořezané galerii: celá, po stranách písková barva. */
.a1-gallery.wp-block-gallery.has-nested-images.is-cropped figure.is-portrait img { object-fit: contain !important; background: var(--a-sand); }
.a1-room__capacity { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--a-green-soft); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--a-green); }

/* ===== Dlaždice s fotkou a textem přes ni ===== */
.a1-tile { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--a-radius); min-height: clamp(260px, 21vw, 380px); display: flex; align-items: flex-end; color: #fff; box-shadow: var(--a-shadow); }
.a1-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(40, 22, 10, .82) 0%, rgba(40, 22, 10, .32) 45%, rgba(40, 22, 10, 0) 75%); }
.a1-tile__photo { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; }
.a1-tile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--a-ease); }
.a1-tile:hover .a1-tile__photo img { transform: scale(1.05); }
.a1-tile__body { padding: 26px 96px 26px 26px; max-width: 560px; }
.a1-tile__body > * { margin: 0 !important; }
.a1-tile .a1-eyebrow { color: #cfe5b9 !important; }
.a1-tile__title { font-family: var(--a-serif) !important; font-size: clamp(22px, 1.6vw, 30px) !important; font-weight: 700 !important; line-height: 1.1 !important; }
.a1-tile__title a { color: #fff; text-decoration: none; }
.a1-tile__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.a1-tile__title a::before { content: "→"; position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); font-family: var(--a-sans); font-size: 20px; line-height: 1; transition: background-color .25s, border-color .25s, transform .25s var(--a-ease); }
.a1-tile:hover .a1-tile__title a::before { background: var(--a-red); border-color: var(--a-red); transform: translateX(3px); }
.a1-tile__text { margin-top: 8px !important; font-size: 15px; line-height: 1.55; color: #f1ebe3; }

/* ===== Seznamy ===== */
.a1-list { margin: 0; padding-left: 1.15em; font-size: 15px; line-height: 1.55; color: var(--a-text); }
.a1-list li + li { margin-top: 6px; }
.a1-list li::marker { color: var(--a-red); }
.a1-list a { color: var(--a-red); }
.a1-list--check, .a1-list--tick { list-style: none; padding-left: 0; }
.a1-list--check li, .a1-list--tick li { position: relative; padding-left: 28px; }
.a1-list--check li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: var(--a-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6b2c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.a1-list--tick li::before { content: ""; position: absolute; left: 2px; top: .3em; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a2214' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.a1-list--columns { columns: 2 260px; column-gap: 40px; }
.a1-list--columns li { break-inside: avoid; }

/* ===== Text vedle fotky ===== */
.a1-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.a1-split > * { margin: 0 !important; }
.a1-split.is-reversed { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.a1-split.is-reversed .a1-split__photo { order: 2; }
.a1-split__photo { aspect-ratio: 4 / 3; border-radius: var(--a-radius); overflow: hidden; box-shadow: var(--a-shadow-lg); }
.a1-split__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a1-split__text { display: flex; flex-direction: column; gap: 14px; }
.a1-split__text > * { margin: 0 !important; }
.a1-split__text .a1-eyebrow { margin-bottom: -6px !important; }
.a1-split__text .a1-lead { margin: 0 !important; }
.a1-split__text .wp-block-buttons { margin-top: 6px !important; }

/* ===== Poznámka, štítky ===== */
.a1-note { display: flex; gap: 14px; padding: 18px 22px; background: var(--a-red-soft); border-radius: var(--a-radius); }
.a1-note p { margin: 0; font-size: 15px; line-height: 1.6; color: #4a3b33; }
.a1-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.a1-chips a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--a-line); border-radius: 999px; background: var(--a-paper); color: var(--a-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.a1-chips a:hover { border-color: var(--a-red); color: var(--a-red); }
.a1-pill { display: inline-flex; align-self: flex-start; padding: 8px 18px; border-radius: 999px; background: #2e6a3d; color: #fff; font-size: 15px; font-weight: 700; }

/* ===== Fotogalerie ===== */
.a1-gallery-title { font-family: var(--a-serif) !important; font-size: clamp(20px, 1.4vw, 26px) !important; font-weight: 700 !important; margin: 0 !important; color: var(--a-ink); }
.a1-section > .a1-gallery-title + .a1-gallery { margin-top: 16px !important; }
.a1-gallery.wp-block-gallery { gap: 10px !important; --wp--style--unstable-gallery-gap: 10px; }
.a1-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0 !important; width: calc(25% - 7.5px); aspect-ratio: 3 / 2; border-radius: var(--a-radius-sm); overflow: hidden; }
.a1-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { transition: transform .6s var(--a-ease); }
.a1-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.04); }

/* ===== Patička: slogan nad horami, tmavý pruh ===== */
.alberta-footer { color: #ead9c6; font-size: 14px; }
.alberta-footer__slogan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; aspect-ratio: 2172 / 724; padding: clamp(28px, 3vw, 44px) var(--a-gutter) 0; background: #c98a4b; text-align: center; }
/* Fotka hor od zadavatele (D-216) celá v poměru stran originálu; jen horní okraj se rozplývá do krémového pozadí stránky. */
.alberta-footer__slogan::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--a-cream) 0%, rgba(251, 246, 238, .55) 10%, rgba(251, 246, 238, 0) 26%); }
.alberta-footer__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 75% 100%; }
@media (max-width: 690px) { .alberta-footer__slogan { aspect-ratio: auto; min-height: 230px; } }
.alberta-footer__motto { position: relative; margin: 0; font-family: var(--a-serif); font-size: clamp(22px, 2vw, 34px); font-weight: 700; line-height: 1.2; color: var(--a-ink); text-shadow: 0 0 18px rgba(251, 246, 238, .9), 0 0 4px rgba(251, 246, 238, .8); }
.alberta-footer__motto::after { content: ""; display: block; width: 72px; height: 2px; margin: 14px auto 0; background: var(--a-gold); }
/* Výzva k poptávce stránky na pásu s fotkou (D-217): krémový přechod pod
   textem (čitelnost), pod sloganem přechází do fotky, dole zůstane vidět
   krajina s rybníkem. Pás je vyšší než poměr stran fotky, fotka se ořízne. */
.alberta-footer__slogan.has-cta { aspect-ratio: auto; padding: 0 0 clamp(170px, 22vw, 380px); }
.alberta-footer__slogan.has-cta::before { display: none; }
.alberta-footer .a1-cta { padding: clamp(48px, 4vw, 72px) var(--a-gutter) clamp(18px, 1.6vw, 26px); background: linear-gradient(180deg, var(--a-cream) 0%, rgba(251, 246, 238, .94) 55%, rgba(251, 246, 238, .78) 100%); color: var(--a-text); font-size: 17px; line-height: 1.6; }
.has-cta .alberta-footer__motto { padding: 6px var(--a-gutter) clamp(36px, 4vw, 64px); background: linear-gradient(180deg, rgba(251, 246, 238, .78) 0%, rgba(251, 246, 238, .45) 55%, rgba(251, 246, 238, 0) 100%); }
.alberta-footer .a1-cta__phone a, .alberta-footer .a1-cta__phone a:hover { color: var(--a-red); }
.alberta-footer .a1-cta .wp-block-button__link:hover { text-decoration: none; }
.alberta-footer__bar { background: var(--a-footer); }
.alberta-footer__bar-inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.alberta-footer__brand { flex: 0 0 auto; font-family: var(--a-serif); font-size: 16px; color: #fff3e3; text-decoration: none; }
.alberta-footer__brand strong { font-weight: 700; letter-spacing: .02em; }
.alberta-footer__nav { flex: 1; display: flex; justify-content: center; }
.alberta-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.alberta-footer a { color: #ead9c6; text-decoration: none; }
.alberta-footer a:hover { color: #fff; text-decoration: underline; }
.alberta-footer__top { flex: 0 0 auto; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 243, 227, .45); border-radius: 50%; transition: background-color .2s, border-color .2s; }
.alberta-footer__top:hover { background: rgba(255, 255, 255, .08); border-color: #fff; text-decoration: none !important; }
.alberta-footer__top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alberta-footer__info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 14px 22px; border-top: 1px solid rgba(255, 243, 227, .12); }
.alberta-footer__info p { margin: 0; font-size: 13px; line-height: 1.6; color: #c2ab94; }
.alberta-footer__info a { color: #e7d3bd; }

/* Lišta Zavolat · Poptat pobyt u spodního okraje (jen mobil a tablet). */
.alberta-mobilebar { display: none; }

/* ===== Textová stránka (šablona „Text“) ===== */
.alberta-page { padding: 56px 0 80px; max-width: 840px; }
.alberta-page h1 { font-family: var(--a-serif); font-weight: 700; font-size: clamp(30px, 2.4vw, 44px); line-height: 1.1; margin: 0 0 28px; color: var(--a-ink); }
.alberta-page h2, .alberta-page h3 { font-family: var(--a-serif); font-weight: 700; color: var(--a-ink); }
.alberta-page a { color: var(--a-red); }
.alberta-page .wp-block-post-content > * + * { margin-top: 18px; }

/* ===== Ikonka ===== */
.wp-block-alberta-icon { display: inline-flex; vertical-align: middle; align-items: center; justify-content: center; color: var(--a-red); flex: 0 0 auto; line-height: 1; }
.wp-block-alberta-icon svg { display: block; width: var(--icon-size, 30px); height: var(--icon-size, 30px); stroke: currentColor; fill: none; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wp-block-alberta-icon.is-tone-light { color: #f0c79a; }
.wp-block-alberta-icon.is-tone-ink { color: var(--a-ink); }

/* ===== Jádro WordPressu ===== */
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: middle; }
.wp-block-group { box-sizing: border-box; }

/* ===== Animace ===== */
@keyframes a1-zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes a1-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.a1-js .a1-reveal { opacity: 0; transform: translate3d(0, 12px, 0); transition: opacity .55s ease-out, transform .55s var(--a-ease); }
.a1-js .a1-reveal.is-in { opacity: 1; transform: none; }
.a1-grid > .a1-reveal:nth-child(2) { transition-delay: .07s; }
.a1-grid > .a1-reveal:nth-child(3) { transition-delay: .14s; }
.a1-grid > .a1-reveal:nth-child(4) { transition-delay: .21s; }

/* ===== Dokumenty ke stažení ===== */
.a1-doc { flex-direction: row; align-items: center; gap: 16px; padding: 20px 22px; }
.a1-doc .wp-block-alberta-icon { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px; background: var(--a-red-soft); }
.a1-doc .wp-block-alberta-icon svg { width: 24px; height: 24px; }
.a1-doc__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.a1-doc__text > * { margin: 0 !important; }
.a1-doc .a1-card__title { font-size: 18px !important; }
.a1-doc .a1-card__text { font-size: 14px; }
.a1-doc__soon { margin: 0; padding: 5px 10px; border-radius: 999px; background: var(--a-cream); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--a-mute); white-space: nowrap; }
.a1-doc .a1-more { white-space: nowrap; }

/* ===== Ceník ve vzhledu PDF zadavatele (D-212) ===== */
.a1-price-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: center; }
.a1-price-hero > * { margin: 0 !important; }
.a1-collage { display: grid; grid-template-columns: 2.1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 6px; border-radius: var(--a-radius-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--a-shadow-lg); }
.a1-collage > * { margin: 0 !important; overflow: hidden; }
.a1-collage__main { grid-row: 1 / span 3; }
.a1-collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a1-price-hero__text { display: flex; flex-direction: column; gap: 14px; }
.a1-price-hero__text > *, .a1-pricing-part.is-intro > * { margin: 0 !important; }
.a1-pricing-part.is-intro { display: flex; flex-direction: column; gap: 16px; }
.a1-price-hero .a1-title { font-size: clamp(34px, 3vw, 54px) !important; }
.a1-price-hero .a1-title span { color: var(--a-brown); }
.a1-price-hero .a1-lead { margin: 0 !important; max-width: 520px; }

.a1-ltiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.a1-ltiles > * { margin: 0 !important; }
.a1-ltile { position: relative; overflow: hidden; height: clamp(104px, 8vw, 140px); border-radius: var(--a-radius-lg); background: var(--a-grey); }
.a1-ltile > * { margin: 0 !important; }
.a1-ltile__photo { position: absolute !important; inset: 0; }
.a1-ltile__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.a1-ltile__label { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .88); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--a-ink); }
.a1-ltile.is-more { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px; }
.a1-ltile.is-more .a1-ltile__label { position: static; padding: 0; background: none; font-size: 15px; }
.a1-ltile.is-more .wp-block-alberta-icon { color: var(--a-green); }

.a1-pricing { display: flex; flex-direction: column; gap: 28px; }
.a1-pricing__list { display: flex; flex-direction: column; gap: 14px; }
.a1-pricing__list + .a1-pricing__list { padding-top: 28px; border-top: 1px solid var(--a-line); }
.a1-pricing__valid { margin: 0; align-self: flex-start; padding: 5px 14px; border-radius: 999px; background: var(--a-brown); color: #fff; font-size: 14px; font-weight: 600; }
.a1-ptable { display: flex; flex-direction: column; gap: 12px; --cols: minmax(190px, 1.25fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.2fr); }
.a1-ptable__top { display: grid; grid-template-columns: var(--cols); align-items: end; gap: 0 20px; padding-inline: 26px; }
.a1-ptable__intro { grid-column: 1; }
.a1-ptable__intro h2 { margin: 0; font-family: var(--a-sans); font-size: clamp(22px, 1.6vw, 28px); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--a-ink); }
.a1-ptable__intro p { position: relative; margin: 8px 0 4px; padding-left: 32px; font-family: var(--a-serif); font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--a-green); }
.a1-ptable__intro p::before { content: ""; position: absolute; left: 0; top: .7em; width: 22px; height: 2px; background: currentColor; }
.a1-ptable__head { grid-column: 2 / span 3; display: flex; flex-direction: column; gap: 14px; }
.a1-ptable__banner { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 10px 18px; border-radius: 10px; background: #26313b; color: #fff; }
.a1-ptable__banner strong { font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; }
.a1-ptable__banner span { font-size: 13px; color: #c9d1d8; }
.a1-ptable__cols { display: grid; grid-template-columns: 1fr .9fr 1.2fr; gap: 20px; }
.a1-ptable__cols > span { padding-left: 10px; border-left: 3px solid var(--a-ink); font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--a-ink); }
.a1-ptable__rows { display: flex; flex-direction: column; gap: 12px; }
.a1-prow { position: relative; display: grid; grid-template-columns: var(--cols); align-items: center; gap: 8px 20px; min-height: 92px; padding: 18px 26px 18px 44px; border-radius: var(--a-radius-lg); background: var(--season-bg, var(--a-grey)); --pad-left: 44px; }
.a1-ptable__top { padding-left: 44px; }
.a1-prow::before { content: ""; position: absolute; left: 22px; top: 18px; bottom: 18px; width: 5px; border-radius: 3px; background: var(--season, var(--a-brown)); }
.a1-prow > * { margin: 0; }
.a1-prow__name h3 { margin: 0; font-family: var(--a-sans); font-size: clamp(19px, 1.35vw, 23px); font-weight: 700; line-height: 1.2; color: #1f2933; }
.a1-prow__name p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #4f5961; }
.a1-prow__price { font-size: 19px; line-height: 1.2; color: #1f2933; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.a1-prow__price strong { font-weight: 700; }
.a1-prow__price small { font-size: 13px; color: #4f5961; }
.a1-prow__price.is-long strong { font-size: clamp(24px, 1.8vw, 30px); }
.a1-prow__price.is-reduced { font-size: 16px; color: #3a444c; }
/* Sloupec „do 10 osob“: lomítka pod sebou i pod lomítkem v záhlaví (záhlaví má navíc 13 px odsazení a čáru). */
.a1-ptable { --split: 80px; --split-m: 66px; }
:lang(pl) .a1-ptable { --split: 84px; --split-m: 70px; }
:lang(en) .a1-ptable { --split: 94px; --split-m: 88px; }
:lang(de) .a1-ptable { --split: 108px; --split-m: 92px; }
.a1-slash { display: inline-grid; grid-template-columns: var(--split) auto auto; column-gap: .3em; align-items: baseline; white-space: nowrap; }
.a1-slash > :first-child { text-align: right; }
.a1-prow .a1-slash { grid-template-columns: calc(var(--split) + 13px) auto auto; }
.a1-prow__label { display: none; }
.a1-prow.is-package { --season: #cf4a9a; --season-bg: #fbe5f1; }
.a1-prow__flat { grid-column: 2 / span 2; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.a1-prow__flat p { margin: 0; font-size: 21px; font-weight: 600; color: #1f2933; }
.a1-prow__flat span { padding: 5px 14px; border-radius: 999px; background: #c8408f; color: #fff; font-size: 13.5px; font-weight: 700; }
.a1-prow__gift { font-size: 15px; line-height: 1.4; color: #2a5db0; }
.a1-prow__gift strong { display: block; }
.a1-ptable__notes, .a1-price-notes { display: flex; flex-direction: column; gap: 4px; margin: 0; padding-top: 12px; border-top: 1px solid var(--a-line); font-size: 13.5px; line-height: 1.55; color: #4f4640; }
.a1-ptable__notes p { margin: 0; }
.a1-price-notes { padding-top: 0; border-top: 0; margin-top: 4px !important; }
.a1-price-cta { margin-top: 18px !important; }
.a1-pricing__offer { margin: 0; padding: 14px 18px; border-radius: var(--a-radius); background: var(--a-green-soft); font-size: 15px; color: #33402f; }

/* Podmínky pobytu (2. strana PDF) */
.a1-terms > * + * { margin-top: 18px !important; }
.a1-terms__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.a1-terms__grid > *, .a1-terms__side > * { margin: 0 !important; }
.a1-terms__side { display: flex; flex-direction: column; gap: 18px; }
.a1-box { padding: 20px 24px; border-radius: var(--a-radius-lg); background: var(--a-grey); }
.a1-box > * { margin: 0 !important; }
.a1-box > * + * { margin-top: 10px !important; }
.a1-box__title { font-family: var(--a-sans) !important; font-size: 19px !important; font-weight: 700 !important; line-height: 1.25 !important; color: var(--a-ink); }
.a1-box p { font-size: 14.5px; line-height: 1.6; color: var(--a-text); }
.a1-box .a1-list { font-size: 14.5px; }
.a1-box .a1-list li + li { margin-top: 5px; }
.a1-rows { display: flex; flex-direction: column; }
.a1-rows > * { margin: 0 !important; }
.a1-pricing-part.is-excludes + .a1-rows { margin-top: 0 !important; }
.a1-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid #e4dbcf; }
.a1-row > *, .a1-row__text > * { margin: 0 !important; }
.a1-rows:last-child .a1-row:last-child { border-bottom: 0; }
.a1-row__label { font-size: 14.5px; color: var(--a-text); }
.a1-row__note { margin-top: 2px !important; font-size: 13px !important; color: var(--a-mute) !important; }
.a1-row__value { font-size: 14.5px; font-weight: 700; color: var(--a-ink); text-align: right; white-space: nowrap; }
.a1-row.has-subs .a1-row__text { flex: 1; }
.a1-row__sub { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 2px !important; font-size: 13.5px; color: var(--a-mute); }
.a1-row__sub strong { font-size: 14.5px; color: var(--a-ink); text-align: right; white-space: nowrap; }
.a1-keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.a1-keyfacts > * { margin: 0 !important; }
.a1-keyfacts .a1-pricing-part { display: contents; }
.a1-keyfact { padding: 16px 20px; border-radius: var(--a-radius-lg); background: var(--a-grey); }
.a1-keyfact > * { margin: 0 !important; }
.a1-keyfact__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--a-mute); }
.a1-keyfact__value { margin-top: 4px !important; font-size: clamp(19px, 1.4vw, 23px); font-weight: 700; color: var(--a-ink); }
.a1-terms__title { font-family: var(--a-sans) !important; font-size: clamp(19px, 1.4vw, 23px) !important; font-weight: 700 !important; color: var(--a-ink); margin-top: 28px !important; }
.a1-pricing-part.is-payment { display: flex; flex-direction: column; gap: 16px; }
.a1-pay__intro, .a1-pay__balance { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--a-text); }
.a1-pay__balance { order: 2; padding: 16px 20px; border: 1px solid #e3a495; border-radius: var(--a-radius-lg); background: #fdf3ef; }
.a1-storno { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--a-radius-lg); overflow: hidden; }
.a1-storno > * { margin: 0 !important; }
.a1-storno__item { padding: 14px 20px; background: #f2eee8; }
.a1-storno__item:nth-child(2) { background: #e9e4dc; }
.a1-storno__item:nth-child(3) { background: #ddd6cc; }
.a1-storno__item > * { margin: 0 !important; }
.a1-storno__value { font-size: 18px; font-weight: 700; color: var(--a-ink); }
.a1-storno__text { margin-top: 2px !important; font-size: 13.5px; line-height: 1.45; color: #4f4640; }
.a1-terms__small { font-size: 14px; color: var(--a-text); }
.a1-terms__deposit { margin-top: 18px !important; }
.a1-terms__pets { display: flex; align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--a-line); }
.a1-terms__pets > * { margin: 0 !important; }
.a1-terms__pets p { font-size: 14.5px; line-height: 1.55; }
.a1-terms__pets .wp-block-alberta-icon { color: #c62f2f; }
.a1-terms__pets + .a1-terms__pets { border-top: 0; padding-top: 6px; }

/* ===== Mapa Mapy.com po kliknutí (D-210) ===== */
.a1-map { display: flex; flex-direction: column; gap: 12px; }
.a1-map > * { margin: 0; }
.a1-map__frame { position: relative; overflow: hidden; aspect-ratio: 16 / 7; min-height: 320px; border: 1px solid var(--a-line); border-radius: var(--a-radius); box-shadow: var(--a-shadow); background-color: #ece3d2; background-image: radial-gradient(circle at 20% 30%, rgba(95, 138, 104, .22) 0 18%, transparent 19%), radial-gradient(circle at 75% 65%, rgba(95, 138, 104, .18) 0 22%, transparent 23%), repeating-radial-gradient(circle at 60% 40%, transparent 0 22px, rgba(58, 34, 20, .06) 22px 23px), linear-gradient(115deg, transparent 46%, rgba(255, 255, 255, .8) 46% 48%, transparent 48%); }
.a1-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.a1-map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.a1-map__placeholder > * { margin: 0; }
.a1-map__pin svg { width: 46px; height: 46px; fill: var(--a-red); stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 4px 8px rgba(58, 34, 20, .25)); }
.a1-map__pin circle { fill: #fff; stroke: none; }
.a1-map__address { padding: 6px 14px; border-radius: 999px; background: rgba(255, 253, 249, .92); color: var(--a-ink); font-size: 15px; font-weight: 600; }
.a1-map__show { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 0; border-radius: var(--a-radius-sm); background: var(--a-red); color: #fff; font: 600 15px var(--a-sans); cursor: pointer; box-shadow: 0 6px 16px rgba(181, 64, 31, .26); transition: background-color .2s; }
.a1-map__show:hover { background: var(--a-red-dark); }
.a1-map__note { font-size: 13px; color: #5a4d44; }
.a1-map__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 600; }
.a1-map__links a { color: var(--a-red-dark); text-decoration: none; }
.a1-map__links a:hover { text-decoration: underline; }

/* ===== Do 1279 px: menší mezery v hlavičce ===== */
@media (max-width: 1279px) {
	.a1-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.alberta-header__bar, .alberta-header__panel { gap: 14px; }
	.alberta-brand__logo { height: 50px; }
	.alberta-menu a { padding-inline: 7px; font-size: 14px; }
	.alberta-menu > li > a::before { left: 7px; right: 7px; }
	.a1-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(33.333% - 6.7px); }
	.a1-ptable { --cols: minmax(170px, 1.1fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1.25fr); }
	.a1-ptable__cols { grid-template-columns: 1fr .9fr 1.25fr; }
}

/* ===== Tablet (do 1100 px): menu pod tlačítkem ===== */
@media (max-width: 1100px) {
	.alberta-header__toggle { display: block; }
	.alberta-header__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 20px; padding: 12px var(--a-gutter) 28px; background: var(--a-paper); border-bottom: 1px solid var(--a-line); box-shadow: 0 18px 30px rgba(58, 34, 20, .12); height: calc(100dvh - var(--a-header-h)); overflow-y: auto; }
	.alberta-header.is-open .alberta-header__panel { display: flex; animation: a1-up .25s var(--a-ease) both; }
	.alberta-header__nav { justify-content: flex-start; }
	.alberta-menu { flex-direction: column; gap: 0; width: 100%; }
	.alberta-menu a { display: flex; padding: 14px 0; font-size: 18px; border-radius: 0; border-bottom: 1px solid var(--a-line); }
	.alberta-menu > li > a::before, .alberta-menu .menu-item-has-children > a::after { display: none; }
	.alberta-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; background: transparent; padding: 0 0 0 16px; min-width: 0; }
	.alberta-menu .sub-menu::before { display: none; }
	.alberta-menu .sub-menu a { padding: 12px 0; font-size: 16px; color: var(--a-mute); }
	.alberta-menu .sub-menu a:hover { background: transparent; }
	.alberta-header__panel .alberta-cta { align-self: stretch; min-height: 50px; }
	.alberta-mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 8px; padding: 8px var(--a-gutter) calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 253, 249, .97); border-top: 1px solid var(--a-line); box-shadow: 0 -8px 24px rgba(58, 34, 20, .1); }
	.alberta-mobilebar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--a-radius-sm); font-size: 15px; font-weight: 600; text-decoration: none !important; }
	.alberta-mobilebar__call { border: 1px solid rgba(181, 64, 31, .55); color: var(--a-ink) !important; background: var(--a-paper); }
	.alberta-mobilebar__call svg { width: 18px; height: 18px; fill: none; stroke: var(--a-red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
	.alberta-mobilebar__inquiry { background: var(--a-red); color: #fff !important; box-shadow: 0 6px 16px rgba(181, 64, 31, .26); }
	/* Místo pro lištu, ať nezakrývá konec patičky; při otevřeném menu ji schovat. */
	.alberta-footer__info { padding-bottom: calc(22px + 64px + env(safe-area-inset-bottom)); }
	html.a1-menu-open .alberta-mobilebar { display: none; }
	.alberta-lang { margin-left: auto; }
	.a1-grid.cols-3, .a1-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a1-linkcards.cols-3 > :last-child { grid-column: 1 / -1; }
	.a1-head.is-split { grid-template-columns: 1fr; gap: 10px; }
	.a1-hero3__photo { width: 74%; }
	.a1-infobar__items { grid-template-columns: 1fr 1fr; row-gap: 18px; }
	.a1-infobar__item:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--a-line); }
	.a1-duo { grid-template-columns: 1fr; }
	.a1-duo__photos { height: auto; }
	.a1-duo__photo:first-child { clip-path: none; }
	.a1-price-hero, .a1-terms__grid { grid-template-columns: 1fr; }
	.a1-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a1-ltiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Tabulka ceníku jako karty: popisky sloupců u každé ceny. */
	.a1-ptable__top { display: block; padding: 0; }
	.a1-ptable__head { margin-top: 12px; }
	.a1-ptable__cols { display: none; }
	.a1-prow { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; padding: 18px 20px 18px 36px; }
	.a1-prow::before { left: 16px; }
	.a1-prow__name, .a1-prow__gift { grid-column: 1 / -1; }
	.a1-prow__price::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; color: #4f5961; white-space: normal; }
	.a1-prow__flat { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
	/* Na kartách popisek „Do 10 osob:“ nad cenou, lomítko popisku nad lomítkem cen. */
	.a1-prow__price.is-reduced::before { content: none; }
	.a1-prow__label { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: #4f5961; }
	.a1-prow .a1-slash { grid-template-columns: var(--split-m) auto auto; }
}

@media (max-width: 781px) {
	:root { --a-header-h: 70px; }
	.alberta-brand__logo { height: 44px; }
	/* Úvod: fotka nahoře přes celou šířku, text a polaroid pod ní. */
	.a1-hero3 { display: block; min-height: 0; padding-top: 0; padding-bottom: 28px; }
	.a1-hero3__photo { position: relative !important; width: auto; height: 52vw; min-height: 240px; margin: 0 calc(-1 * var(--a-gutter)) !important; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 28%); mask-image: linear-gradient(0deg, transparent 0%, #000 28%); }
	.a1-hero3__content { max-width: none; margin-top: -36px !important; gap: 24px; }
	.a1-hero3__polaroid { width: 74%; margin-inline: auto !important; }
	.a1-strip { grid-template-columns: 1fr; gap: 16px; }
	.a1-strip__item img, .a1-strip__item:first-child img, .a1-strip__item:last-child img { clip-path: none; aspect-ratio: 16 / 7; }
	.a1-strip__item:last-child figcaption { padding-left: 0; }
	.a1-banner { display: block; min-height: 0; padding-top: 0; }
	.a1-banner__photo { position: relative !important; width: auto; height: 46vw; min-height: 200px; margin: 0 calc(-1 * var(--a-gutter)) !important; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 35%); mask-image: linear-gradient(0deg, transparent 0%, #000 35%); }
	.a1-banner__text { margin-top: -20px !important; position: relative; }
	.a1-split, .a1-split.is-reversed, .a1-grid.cols-2, .a1-wide { grid-template-columns: 1fr; }
	.a1-room-detail { grid-template-columns: 1fr; }
	.a1-room-detail__info { position: static; }
	.a1-split.is-reversed .a1-split__photo { order: 0; }
	.a1-wide__photo { min-height: 0; aspect-ratio: 16 / 8; }
	.a1-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - 5px); }
	.a1-fact { padding: 12px 16px; }
	.a1-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
	.a1-fact:nth-child(odd) { border-left: 0; padding-left: 0; }
	.a1-storno { grid-template-columns: 1fr; }
	.alberta-footer__bar-inner { flex-wrap: wrap; justify-content: space-between; }
	.alberta-footer__nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
	.alberta-footer__menu { justify-content: flex-start; gap: 6px 18px; }
	.alberta-footer__info { flex-direction: column; }
}

/* ===== Mobil (390 px) ===== */
@media (max-width: 560px) {
	body { font-size: 16px; }
	.alberta-header__bar { gap: 10px; }
	.alberta-brand__logo { height: 40px; }
	.alberta-lang summary { padding: 0 7px; }
	.alberta-lang summary > span:not(.alberta-flag) { display: none; }
	.a1-grid.cols-3, .a1-grid.cols-4 { grid-template-columns: 1fr; }
	.a1-linkcards.cols-3 > :last-child { grid-column: auto; }
	.a1-benefits { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
	.a1-benefit { flex-direction: column; gap: 8px; }
	.a1-hero3 .wp-block-buttons, .a1-hero3 .wp-block-button, .a1-hero3 .wp-block-button__link, .a1-cta .wp-block-button, .a1-cta .wp-block-button__link { width: 100%; }
	.a1-duo__photos { grid-template-columns: 1fr; }
	.a1-duo__photo { min-height: 0; aspect-ratio: 16 / 9; }
	.a1-infobar__items { grid-template-columns: 1fr; }
	.a1-infobar__item, .a1-infobar__item:nth-child(3) { grid-column: auto; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--a-line); }
	.a1-infobar__item:first-child { padding-top: 0; border-top: 0; }
	.a1-infobar__actions, .a1-infobar__actions .wp-block-button, .a1-infobar__actions .wp-block-button__link { width: 100%; }
	.a1-tile__body { padding: 22px 84px 22px 22px; }
	.a1-ltiles { gap: 8px; }
	.a1-ltile__label { font-size: 12.5px; left: 8px; bottom: 8px; right: 8px; }
	.a1-keyfacts { gap: 10px; }
	.a1-keyfact { padding: 14px 16px; }
	.a1-prow { grid-template-columns: 1fr 1fr; padding-right: 16px; }
	.a1-prow__price.is-reduced { grid-column: 1 / -1; }
	.a1-box { padding: 18px; }
	.a1-row { flex-direction: column; gap: 2px; }
	.a1-row__value { text-align: left; white-space: normal; }
	.a1-doc { flex-wrap: wrap; }
	.a1-map__frame { aspect-ratio: 4 / 5; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.a1-js .a1-reveal { opacity: 1; transform: none; }
}

/* Editor stránky: sekce na celou šířku jako na webu. Bez toho WordPress
   zúží každý blok v kořeni na šířku textu (contentSize 760 px) a mřížky
   karet se smrsknou do úzkých sloupečků. */
.editor-styles-wrapper .is-root-container > .a1-section {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Korekce zadavatele před spuštěním (D-252) */
.a1-duo--banner { grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr); }
.a1-duo--banner > .a1-duo__banner { margin: 0 !important; }
.a1-duo__banner img { display: block; width: 100%; height: auto; clip-path: polygon(2.4% 0, 100% 0, 100% 100%, 0 100%); }
.a1-duo--banner .wp-block-button__link::after { content: ""; position: absolute; inset: 0; }
.a1-duo--banner .wp-block-button__link:focus-visible::after { outline: 2px solid var(--a-red); outline-offset: -2px; border-radius: var(--a-radius); }
.a1-season { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--a-paper); border-radius: var(--a-radius); box-shadow: var(--a-shadow); transition: transform .2s var(--a-ease), box-shadow .2s; }
.a1-season:hover { transform: translateY(-3px); box-shadow: var(--a-shadow-lg); }
.a1-season > * { margin: 0 !important; }
.a1-season__photo img { display: block; width: 100%; height: auto; }
.a1-season__body { padding: 18px 92px 22px 26px; }
.a1-season__body > * { margin: 0 !important; }
.a1-season__title { font-family: var(--a-serif) !important; font-size: clamp(24px, 1.8vw, 32px) !important; font-weight: 700 !important; line-height: 1.2; }
.a1-season__title a { color: var(--a-ink); text-decoration: none; }
.a1-season__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.a1-season__title a::before { content: "→"; position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--a-ink); border-radius: 50%; font-size: 20px; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--a-ease); }
.a1-season:hover .a1-season__title a::before { background: var(--a-red); border-color: var(--a-red); color: #fff; transform: translateX(3px); }
.a1-season__title a:focus-visible::after { outline: 2px solid var(--a-red); outline-offset: -2px; border-radius: var(--a-radius); }
.a1-season__text { margin-top: 6px !important; font-size: 15px; line-height: 1.55; }
.a1-target .a1-card__photo { aspect-ratio: 4 / 5; }
.a1-target__km { align-self: flex-start; padding: 2px 11px; border-radius: 999px; background: #e7efdb; color: #2c5a1e; font-size: 14px; font-weight: 700; line-height: 1.5; }
.a1-travel__media { position: relative; margin: 0 !important; }
.a1-travel__media > * { margin: 0 !important; }
.a1-travel .a1-card__photo { aspect-ratio: 1.72 / 1; }
.a1-travel:first-child .a1-card__photo img { object-position: 50% 0; }
.a1-travel__credit { position: absolute; right: 12px; bottom: 8px; color: #fff; font-family: var(--a-serif); font-size: 12.5px; font-style: italic; text-shadow: 0 1px 3px rgba(0, 0, 0, .75); }
.alberta-footer__slogan .a1-lead a { color: var(--a-red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.alberta-footer__caption { text-align: left; position: absolute; left: max(var(--a-gutter), calc((100% - var(--a-max)) / 2 + var(--a-gutter))); bottom: 16px; z-index: 1; max-width: min(440px, calc(100% - 2 * var(--a-gutter))); margin: 0; color: #fff6e8; font-size: 13.5px; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
@media (max-width: 1100px) {
	.a1-duo--banner { grid-template-columns: 1fr; }
	.a1-duo__banner img { clip-path: none; }
	.a1-targets.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
	.a1-targets.cols-4, .a1-seasons.cols-2, .a1-travels.cols-3 { grid-template-columns: 1fr; }
	.alberta-footer__caption { font-size: 12.5px; bottom: 12px; }
}
