@import url("https://fonts.googleapis.com/css?family=Spectral:500,400,300|Mulish:700,600,800,500,400|Inter:700,400");

/* Dugi Otok page section */
.apeva-dugi-otok { position: relative; padding: 48px 0 0; background: #ffffff; }
.apeva-dugi-otok h2.h2 { text-align: center; margin: 0 0 4px 0; }
.apeva-dugi-otok .dugi-otok-content { max-width: 1400px; margin: 0 auto; padding: 0 12px; }
.apeva-dugi-otok .page-content { width: 100%; }
/* Preserve Gutenberg inline formatting in Dugi Otok page content */
.apeva-dugi-otok .page-content b,
.apeva-dugi-otok .page-content strong { font-weight: 700; }
.apeva-dugi-otok .page-content em,
.apeva-dugi-otok .page-content i { font-style: italic; }
.apeva-dugi-otok .page-content u { text-decoration: underline; }
/* Dugi Otok: full-width featured image hero */
.dugi-otok-hero { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); line-height: 0; }
.dugi-otok-hero__img { width: 100%; height: auto; display: block; }
/* Title overlay on the hero */
.dugi-otok-hero { position: relative; }
.dugi-otok-hero__overlay { position: absolute; inset: 0; top: clamp(24px, 7vw, 70px); display: flex; align-items: flex-start; justify-content: center; padding: 0 12px; padding-top: 0; text-align: center; }
.dugi-otok-hero__overlay .apeva-section-head { width: 100%; }
.dugi-otok-hero__overlay .apeva-section-title { background: transparent; padding: 0; border-radius: 0; }
/* Preserve inline formatting in overlay heading */
.dugi-otok-hero__overlay .apeva-section-title .wp-block-heading b,
.dugi-otok-hero__overlay .apeva-section-title .wp-block-heading strong,
.dugi-otok-hero__overlay .apeva-section-title h1 b,
.dugi-otok-hero__overlay .apeva-section-title h1 strong,
.dugi-otok-hero__overlay .apeva-section-title h2 b,
.dugi-otok-hero__overlay .apeva-section-title h2 strong,
.dugi-otok-hero__overlay .apeva-section-title h3 b,
.dugi-otok-hero__overlay .apeva-section-title h3 strong,
.dugi-otok-hero__overlay .apeva-section-title h4 b,
.dugi-otok-hero__overlay .apeva-section-title h4 strong,
.dugi-otok-hero__overlay .apeva-section-title h5 b,
.dugi-otok-hero__overlay .apeva-section-title h5 strong,
.dugi-otok-hero__overlay .apeva-section-title h6 b,
.dugi-otok-hero__overlay .apeva-section-title h6 strong { font-weight: 700; }
.dugi-otok-hero__overlay .apeva-section-title .wp-block-heading em,
.dugi-otok-hero__overlay .apeva-section-title h1 em,
.dugi-otok-hero__overlay .apeva-section-title h2 em,
.dugi-otok-hero__overlay .apeva-section-title h3 em,
.dugi-otok-hero__overlay .apeva-section-title h4 em,
.dugi-otok-hero__overlay .apeva-section-title h5 em,
.dugi-otok-hero__overlay .apeva-section-title h6 em { font-style: italic; }
.dugi-otok-hero__overlay .apeva-section-title .wp-block-heading u,
.dugi-otok-hero__overlay .apeva-section-title h1 u,
.dugi-otok-hero__overlay .apeva-section-title h2 u,
.dugi-otok-hero__overlay .apeva-section-title h3 u,
.dugi-otok-hero__overlay .apeva-section-title h4 u,
.dugi-otok-hero__overlay .apeva-section-title h5 u,
.dugi-otok-hero__overlay .apeva-section-title h6 u { text-decoration: underline; }
.dugi-otok-hero__overlay .apeva-section-hr { margin: 26px auto 0; }
/* Unified section heading wrapper */
.apeva-section-head { text-align: center; }
.apeva-section-head .apeva-section-title { display:inline-flex; flex-direction: column; align-items:center; width: fit-content; }
.apeva-section-head .apeva-section-title .h2 { display: inline-block; margin: 0 0 8px 0; }
.apeva-section-hr { width: 80%; height: 3px; background-color: #6FAFC1; border: 0; margin: 10px auto 72px; }
.apeva-sluzby { position: relative; padding: 48px 0 48px; }
.apeva-sluzby h2.h2 { text-align: center; margin: 0 0 4px 0; }
.apeva-sluzby .apeva-sluzby__line { display: block; width: 321px; height: 3px; margin: 0 auto 36px; }
.apeva-sluzby .sluzby-content { max-width: var(--content-max); margin: 0 auto; padding: 0 12px; color: var(--black); font-family: var(--font-family-mulish); font-size: var(--font-size-m); line-height: 30px; text-align: left; }
.apeva-sluzby .sluzby-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 24px; align-items: start; justify-items: center; }
@media (min-width: 768px){ .apeva-sluzby .sluzby-grid { grid-template-columns: repeat(3, 1fr); column-gap: 36px; } }
@media (min-width: 1200px){ .apeva-sluzby .sluzby-grid { grid-template-columns: repeat(6, 1fr); column-gap: 64px; } }
.apeva-sluzby .sluzby-item { text-align: center; }
.apeva-sluzby .sluzby-item img { width: 80px !important; height: 80px !important; display: block; margin: 0 auto 12px; position: static !important; object-fit: contain; }
.apeva-sluzby .sluzby-item .sluzby-label { font-family: var(--font-family-mulish); font-size: var(--font-size-m); line-height: 30px; color: var(--black); }
/* Ensure any grabbed Anima nodes under each item flow under the icon */
.apeva-sluzby .sluzby-item * { position: static !important; left: auto !important; top: auto !important; width: auto !important; height: auto !important; text-align: center !important; }
.apeva-sluzby .sluzby-item p, .apeva-sluzby .sluzby-item div { display: block !important; margin: 12px 0 0 0; }

/* Ensure default weight 400, preserve bold only when explicitly used in page content */
.apeva-informace .informace-item p,
.apeva-informace .informace-item div,
.apeva-informace .informace-item li { font-weight: 400; }
.apeva-sluzby .sluzby-item p,
.apeva-sluzby .sluzby-item div,
.apeva-sluzby .sluzby-item li { font-weight: 400; }
.apeva-rect26 .rect26-content p,
.apeva-rect26 .rect26-content div,
.apeva-rect26 .rect26-content li { font-weight: 400; }
.apeva-kontakt-flow .apeva-kontakt-content p,
.apeva-kontakt-flow .apeva-kontakt-content div,
.apeva-kontakt-flow .apeva-kontakt-content li { font-weight: 400; }
.apeva-informace .informace-item b,
.apeva-informace .informace-item strong,
.apeva-sluzby .sluzby-item b,
.apeva-sluzby .sluzby-item strong,
.apeva-rect26 .rect26-content b,
.apeva-rect26 .rect26-content strong,
.apeva-kontakt-flow .apeva-kontakt-content b,
.apeva-kontakt-flow .apeva-kontakt-content strong { font-weight: 700; }

.homepage .sluby-v-okol-zYNucu { display: none !important; }
.homepage .line-7-zYNucu { display: none !important; }
:root {
	/* Layout */
	--header-height: 100px;
	--content-max: 1400px;
	--content-pad: max(12px, calc((100vw - var(--content-max)) / 2));
	/* Responsive container/gutter */
	--container-max: 1200px;
	--gutter: clamp(12px, 2.5vw, 24px);

	/* Colors */
	--algae-green: #94dfc4;
	--black: #000000;
	--elm: #1b6880;
	--half-baked: #8ec1d1;
	--lily-white: #e7f9fb;
	--powder-blue: #a9e0e7;
	--pumice: #c8c8c8;
	--white: #ffffff;

	/* Fonts */
	--font-family-mulish: "Mulish", Helvetica, Arial, sans-serif;
	--font-family-spectral: "Spectral", Georgia, serif;
	--font-family-inter: "Inter", Helvetica, Arial, sans-serif;

	/* Font sizes */
	--font-size-24px: 24px;
	--font-size-36px: 36px;
	--font-size-90px: 90px;
	--font-size-l: 22.5px;
	--font-size-m: 22px;
	--font-size-s: 18px;
	--font-size-xl: 26px;
	--font-size-xxl: 28px;
	--font-size-xxxl: 32px;
	--font-size-xxxxl: 52px;

	/* Header/menu layout */
	--nav-gap-desktop: clamp(8px, 1.4vw, 22px);
}

/* Base reset and responsive media */
*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; height: auto; display: block; }
iframe { width: 100%; aspect-ratio: 16/9; }

/* Container and spacing utilities */
.container { width: min(100% - 2*var(--gutter), var(--container-max)); margin-inline: auto; }
.wrap { padding-block: clamp(16px, 4vw, 48px); }

/* Grid utilities */
.grid { display: grid; gap: clamp(12px, 3vw, 32px); }
@media (min-width: 768px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* Base heading classes to replace legacy styleguide */
.h2 {
    font-family: var(--font-family-spectral);
    font-size: var(--font-size-xxxxl);
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
}
.h4 {
    font-family: var(--font-family-mulish);
    font-size: var(--font-size-xxxl);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
}

/* Legacy heading/text tokens needed by homepage hero and amenities */
.h1 { font-family: var(--font-family-spectral); font-size: clamp(36px, 8vw, var(--font-size-90px)); font-style: normal; font-weight: 300; letter-spacing: 1.8px; }
.h1-subheader { font-family: var(--font-family-spectral); font-size: clamp(18px, 4.5vw, var(--font-size-36px)); font-style: normal; font-weight: 500; letter-spacing: 0; }
.text-slider { font-family: var(--font-family-spectral); font-size: clamp(16px, 3.2vw, var(--font-size-xl)); font-style: normal; font-weight: 400; letter-spacing: 0; }
.button { font-family: var(--font-family-mulish); font-size: var(--font-size-xl); font-style: normal; font-weight: 800; letter-spacing: 3.9px; }
.button-small { font-family: var(--font-family-mulish); font-size: var(--font-size-s); font-style: normal; font-weight: 800; letter-spacing: 2.7px; }
.mulish-normal-black-28px { color: var(--black); font-family: var(--font-family-mulish); font-size: var(--font-size-xxl); font-style: normal; font-weight: 400; }

/* prevent horizontal scrollbar and default body border */
html, body { margin: 0; max-width: 100%; overflow-x: hidden; }
.screen { overflow-x: hidden !important; }

/* Smooth anchor scrolling and fixed-header offset */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
main [id] { scroll-margin-top: calc(var(--header-height) + 12px); }

header.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
    background: #ffffff;
    border-bottom: 0;
    box-shadow: 0px 4px 4px #00000040; /* match .rectangle-1-GZ7gFJ */
}

header.site-header .container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 12px;
	display: flex;
	align-items: center;
    justify-content: flex-start;
	min-height: var(--header-height);
	height: auto;
    gap: 16px;
    flex-wrap: wrap;
}

header.site-header .custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

header.site-header .custom-logo-link img {
	max-height: 64px;
	height: auto;
	width: auto;
    display: block;
}

/* fallback title if no logo */
header.site-header .site-title {
    font-family: var(--font-family-spectral, Georgia, serif);
    font-size: 36px;
    color: #000;
    text-decoration: none;
}

header.site-header .primary-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--nav-gap-desktop);
    align-items: center;
}

header.site-header .primary-nav .menu > li {
	position: relative;
}

header.site-header .primary-nav .menu a {
    color: #000000;
    text-decoration: none;
    font-family: var(--font-family-spectral, Georgia, serif);
    font-size: var(--font-size-24px, 24px);
    font-weight: 400;
    letter-spacing: 0;
    display: inline-block;
    padding: 8px 4px;
}

header.site-header .primary-nav .menu a:hover {
    color: var(--elm, #1b6880);
}

/* ensure header links never inherit Anima's display:contents */
header.site-header a { display: inline-block; }

/* Push menu to the right so it's close to socials */
header.site-header .primary-nav { margin-left: auto; min-width: 0; }

/* Mobile nav toggle and responsive menu */
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 14px; border: 1px solid #e5e5e5; background: #ffffff; border-radius: 8px; font-family: var(--font-family-mulish); font-weight: 700; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; }
.primary-nav .menu { flex-direction: column; align-items: flex-start; padding: 12px 0; gap: 8px; }
.primary-nav .menu a { padding: 10px 6px; }
@media (min-width: 1024px) {
	.nav-toggle { display: none; }
	.primary-nav { display: block; }
	.primary-nav .menu { flex-direction: row; gap: var(--nav-gap-desktop); }
}

/* Focus styles for accessibility */
.primary-nav a:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--half-baked); outline-offset: 2px; border-radius: 4px; }

/* Dropdown for language switcher (Polylang) and any submenu */
header.site-header .primary-nav .menu li.menu-item-has-children { position: relative; }
header.site-header .primary-nav .menu li.menu-item-has-children > .sub-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 4px);
    width: -moz-fit-content;
    width: fit-content;
    min-width: 40px;
    max-width: 80vw;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    padding: 6px 0;
    margin: 0;
    list-style: none;
    display: none;
    z-index: 10000;
}
/* open on click via .is-open (JS toggles this class) */
header.site-header .primary-nav .menu li.menu-item-has-children.is-open > .sub-menu {
    display: block;
}
header.site-header .primary-nav .menu li.menu-item-has-children > .sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px 6px;
    font-size: 16px;
    line-height: 1.2;
}
/* Align Polylang flag images nicely */
header.site-header .primary-nav .menu li a img { display: inline-block; vertical-align: middle; }
header.site-header .primary-nav .menu li.menu-item-has-children > .sub-menu li a img { width: 24px; height: auto; }

/* Inline language flags (no dropdown): spacing and separator */
header.site-header .primary-nav .menu > li.menu-item-language a img,
header.site-header .primary-nav .menu > li.lang-item a img { width: 40px; height: auto; }

header.site-header .primary-nav .menu > li.menu-item-language + li.menu-item-language,
header.site-header .primary-nav .menu > li.lang-item + li.lang-item {
    margin-left: -28px; /* bring flags even closer */
    display: flex;
    align-items: center;
}

header.site-header .primary-nav .menu > li.menu-item-language + li.menu-item-language::before,
header.site-header .primary-nav .menu > li.lang-item + li.lang-item::before {
    content: "|";
    color: var(--half-baked);
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    margin-right: 10px;
    margin-left: 10px;
    user-select: none;
}

/* Header socials */
header.site-header .header-socials { display: flex; align-items: center; gap: 30px; margin-left: 64px; }
header.site-header .header-socials .social-link img { width: 24px; height: 24px; display: block; }
@media (max-width: 1023.98px) {
    header.site-header .header-socials { margin-left: auto; gap: 16px; }
}

/* Prevent wrapping of socials; let nav shrink first */
header.site-header .container { flex-wrap: nowrap; }
@media (max-width: 1023.98px) {
  header.site-header .container { flex-wrap: wrap; }
}

/* Allow menu items to shrink on smaller widths */
header.site-header .primary-nav .menu { flex-wrap: nowrap; min-width: 0; }
header.site-header .primary-nav .menu > li { min-width: 0; }
header.site-header .primary-nav .menu a { white-space: nowrap; }

/* offset content for fixed header */
body {
	padding-top: var(--header-height);
	font-family: var(--font-family-mulish);
	font-size: var(--font-size-m);
	line-height: 30px;
}

/* hide Anima in-page fixed menus */
.homepage .menu-zYNucu,
.apartmany .menu-abfNw2,
.dugi-otok .menu-dyVYOF {
	display: none !important;
}

/* skryj zatoulanou vektorovou dekoraci pod menu */
.homepage .vector-1-zYNucu { display: none !important; }

/* neutralize Anima global link reset that breaks layout */
.screen a { display: inline; }

/* remove any visual gap between header and first hero/slider */
.site-main { margin-top: 0 !important; padding-top: 0 !important; }
.homepage .slider-zYNucu { top: 0 !important; }

/* Hero slider (Customizer images) */
.apeva-hero { position: absolute; inset: 0; overflow: hidden; }
.apeva-hero__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.8s ease-in-out;
}
.apeva-hero__slide.is-active { opacity: 1; }

/* Amenities inline chips */
.apeva-amenities { display:flex; justify-content:center; align-items:center; gap:24px; margin:12px 0; }
.apeva-amenities .bed,
.apeva-amenities .couch { position: static !important; display: inline !important; height: auto !important; width: auto !important; line-height: 1; }
/* Font Awesome amenity icon sizing/color */
.apeva-amenities .amen-count { color: var(--black); font-family: var(--font-family-mulish); font-size: var(--font-size-xxl); font-weight: 400; margin-right: 6px; }
.apeva-amenities .amen-icon { color: var(--elm); font-size: 28px; line-height: 1; display: inline-block; }

.apeva-card-excerpt { position: static !important; color: var(--black); font-style: normal; font-weight: 400; text-align: left; line-height: 28px; margin: 0 0 24px 0; }
.apeva-card-excerpt.footer { font-family: var(--font-family-mulish); font-size: var(--font-size-s); letter-spacing: 0px; }

/* inline button inside group blocks should flow after text */
.apeva-inline-btn { position: static !important; left:auto !important; top:auto !important; display: inline-block; margin-top: 12px; transform:none !important; }
.apeva-inline-btn .rectangle-4 { width: 100%; }

/* Hover style for inline "ZOBRAZIT VÍCE" same as slider CTA */
.homepage .apeva-inline-btn:hover .rectangle-4 { background-color: #6FAFC1 !important; border-radius: 0 !important; }
.homepage .apeva-inline-btn:hover .zobrazit-vce { color: #ffffff !important; }
.homepage .apeva-inline-btn:hover { transform: none !important; }

/* override absolute positioning from Anima for inline button blocks inside groups */
.homepage .group-1-zYNucu .button-blue,
.homepage .group-2-zYNucu .button-blue,
.homepage .group-3-zYNucu .button-blue { position: relative !important; left:auto !important; top:auto !important; display:block !important; margin: 24px auto 0; }

/* allow group containers to grow to fit text+button */
.homepage .group-1-zYNucu,
.homepage .group-2-zYNucu,
.homepage .group-3-zYNucu { height: auto !important; overflow: visible !important; }

/* Layering: cards under, info/services above */
.homepage .group-1-zYNucu,
.homepage .group-2-zYNucu,
.homepage .group-3-zYNucu { z-index: 1; }

/* reduce vertical gap between photos and card text */
.homepage .group-1-zYNucu,
.homepage .group-2-zYNucu,
.homepage .group-3-zYNucu { top: 1640px !important; }

/* fine-tune Lavanda block spacing */
.homepage .group-1-zYNucu { top: 1600px !important; }
.homepage .group-2-zYNucu { top: 1600px !important; }
.homepage .group-3-zYNucu { top: 1600px !important; }

.homepage .sluby-v-okol-zYNucu,
.homepage .doprava-zYNucu,
.homepage .kontakt-zYNucu,
.homepage .doctor-icon-zYNucu,
.homepage .pharmacy-icon-zYNucu,
.homepage .restaurant-icon-zYNucu,
.homepage .shop-icon-zYNucu,
.homepage .informace-o-ubytovn-zYNucu,
.homepage .line-3-zYNucu,
.homepage .wifi-svgrepo-com-1-zYNucu,
.homepage .beach-svgrepo-com-1-zYNucu,
.homepage .sailing-svgrepo-com-1-zYNucu,
.homepage .parking-svgrepo-com-1-zYNucu,
.homepage .grill-svgrepo-com-1-zYNucu,
.homepage .koupn-u-domu-se-snadnm-pstupem-k-moi-zYNucu,
.homepage .rychl-wi-fi-zdarma-zYNucu,
.homepage .vlastn-parkovn-zYNucu,
.homepage .monost-kotven-plavidel-zYNucu,
.homepage .monost-grilovn-zYNucu,
.homepage .monost-uskladnn-kol-paddleboard-a-j-zYNucu { z-index: 2; }

/* Remove overrides so Anima absolute positioning controls layout of info sections */

/* ensure excerpt is not absolutely positioned */
.apeva-card-excerpt { position: static !important; }

/* Hide static Anima bed/couch placeholders and counts in homepage export */
.homepage .couch-zYNucu,
.homepage .couch-9y9vaA,
.homepage .bed-zYNucu,
.homepage .bed-9y9vaA,
.homepage .bed-l4RQxM,
.homepage .x4-zYNucu,
.homepage .x6-zYNucu,
.homepage .x1-zYNucu,
.homepage .x4-l4RQxM,
.homepage .x4-Q9Lclx,
.homepage .x6-9y9vaA,
.homepage .x1-l4RQxM,
.homepage .x1-Q9Lclx { display: none !important; }

/* Hide any leftover absolute-position Anima buttons (keep only our inline with .apeva-inline-btn) */
.homepage .button-blue-zYNucu:not(.apeva-inline-btn),
.homepage .button-blue-9y9vaA:not(.apeva-inline-btn),
.homepage .button-blue-l4RQxM:not(.apeva-inline-btn),
.homepage a.button-blue-zYNucu:not(.apeva-inline-btn),
.homepage a.button-blue-9y9vaA:not(.apeva-inline-btn),
.homepage a.button-blue-l4RQxM:not(.apeva-inline-btn) { display: none !important; }

/* Homepage CTA hover: square white, black text, same size */
.homepage .button-white:hover .rectangle-4,
.homepage .group-4-eIQY9L:hover .rectangle-4 {
	background-color: #ffffff !important;
	border-radius: 0 !important;
}
.homepage .button-white:hover .button,
.homepage .group-4-eIQY9L:hover .button {
	color: #000000 !important;
}
/* prevent hover scaling from Anima */
.homepage .button-white:hover,
.homepage .button-white-zYNucu:hover,
.homepage .button-white-9y9vaA:hover,
.homepage .button-white-l4RQxM:hover,
.homepage .group-4-eIQY9L:hover {
	transform: none !important;
}

/* Remove extra flow offset; we align by absolute positions */
.homepage.screen { padding-top: 0 !important; }
/* Shrink exported homepage height to slider height so flow sections follow immediately */
.homepage.screen { height: auto !important; min-height: 975px !important; overflow: visible !important; }

/* Rectangle-26 dynamic content: place band under Doprava heading, keep background, auto height */
.homepage .rectangle-26-zYNucu { display: none !important; }
.apeva-rect26 { position: relative; width: 100%; background: var(--lily-white); padding: 48px 0; }
.apeva-rect26 .rect26-content {
	position: static !important;
	display: block !important;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 12px;
	/* Text styles to match design */
	color: var(--black);
	font-family: var(--font-family-mulish);
	font-size: var(--font-size-m);
	line-height: 30px;
	text-align: left;
}
/* Line under Doprava inside the section: override Anima absolute positioning */
.apeva-rect26 .line-6-zYNucu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: block !important;
    margin: 0 auto 24px !important;
    width: 197px !important;
    height: 3px !important;
}
/* Ensure the Doprava heading is part of the section and centered */
.apeva-rect26 h2.h2 { text-align: center; margin: 0 0 4px 0; }
/* Let Kontakt flow after the section (avoid overlap) */
.homepage .kontakt-zYNucu { display: none !important; }
/* Keep the later white band under our section */
.homepage .rectangle-13-zYNucu { display: none !important; }
/* Ensure the Doprava heading is part of the section and centered */
.homepage .apeva-rect26 .doprava-zYNucu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    text-align: center !important;
    margin: 0 !important;
}
/* Let Kontakt flow after the section (avoid overlap) */
.homepage .kontakt-zYNucu { display: none !important; }
/* Keep the later white band under our section */
.homepage .rectangle-13-zYNucu { display: none !important; }

/* Footer styles */
footer.site-footer {
    background: #1b6880;
    margin-top: 48px;
}
footer.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px 12px 24px;
}
footer.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 16px;
}
@media (min-width: 768px){ footer.site-footer .footer-grid { grid-template-columns: 1.6fr 1fr; gap: 20px; } }
@media (min-width: 1200px){ footer.site-footer .footer-grid { grid-template-columns: 2.6fr 0.7fr 0.7fr; gap: 24px; } }
footer.site-footer .footer-brand .custom-logo-link img { max-height: 60px; height: auto; width: auto; }
footer.site-footer .footer-brand .footer-logo { max-height: 60px; height: auto; width: auto; display: block; }
footer.site-footer .footer-address { white-space: pre-line; font-family: var(--font-family-mulish); font-size: var(--font-size-s); font-weight: 400; color: #ffffff; margin-top: 12px; line-height: 32px; }
footer.site-footer .footer-menu .menu { list-style: none; padding: 0; margin: 0; }
footer.site-footer .footer-menu .menu li { margin-bottom: 8px; }
footer.site-footer .footer-menu .menu a { text-decoration: none; color: #ffffff; }
footer.site-footer .footer-menu .menu a {
    font-family: var(--font-family-mulish);
    font-size: var(--font-size-s);
    font-weight: 400;
    line-height: 38px;
    display: inline-block;
}
footer.site-footer .footer-menu .menu a:hover { color: #ffffff; text-decoration: underline; }
footer.site-footer .footer-bottom { text-align: center; padding-top: 12px; padding-bottom: 24px; }
footer.site-footer .footer-copy { margin: 0; font-family: var(--font-family-mulish); font-size: var(--font-size-s); color: #8ec1d1; }

/* Hide leftover absolute Kontakt elements from export to prevent extra page height */
.homepage .kontaktujte-ns-budem-zYNucu { display: none !important; }
.homepage .image-1-zYNucu { display: none !important; }
.homepage .button-white-9y9vaA { display: none !important; }
.homepage .button-white-l4RQxM { display: none !important; }

.homepage .line-5-zYNucu { display: none !important; }

/* Flowing Kontakt section appended after .homepage */
.apeva-kontakt-flow { position: relative; padding: 48px 0 24px; }
.apeva-kontakt-flow h2.h2 { text-align: center; margin: 0 0 4px 0; }
.apeva-kontakt-flow .apeva-kontakt__line { display: block; width: 321px; height: 3px; margin: 0 auto 36px; }
.apeva-kontakt-flow .apeva-kontakt-content { max-width: var(--content-max); margin: 0 auto; padding: 0 12px; color: var(--black); font-family: var(--font-family-mulish); font-size: var(--font-size-m); line-height: 30px; text-align: left; }

/* Informace o ubytování: flowing grid */
.apeva-informace { position: relative; padding: 48px 0 48px; background: var(--lily-white); }
.apeva-informace.apeva-informace--white { background: #ffffff; }
.apeva-informace h2.h2 { text-align: center; margin: 0 0 4px 0; }
.apeva-informace .apeva-informace__line { display: block; width: 321px; height: 3px; margin: 0 auto 36px; }
.apeva-informace .informace-content { max-width: var(--content-max); margin: 0 auto; padding: 0 12px; }
.apeva-informace .informace-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 24px; align-items: start; justify-items: center; }
@media (min-width: 768px){ .apeva-informace .informace-grid { grid-template-columns: repeat(3, 1fr); column-gap: 36px; } }
@media (min-width: 1200px){ .apeva-informace .informace-grid { grid-template-columns: repeat(6, 1fr); column-gap: 64px; } }
.apeva-informace .informace-item { text-align: center; }
.apeva-informace .informace-item img, .apeva-informace .informace-item .wifi-icon, .apeva-informace .informace-item .beach-icon, .apeva-informace .informace-item .sailing-icon, .apeva-informace .informace-item .parking-icon, .apeva-informace .informace-item .grill-icon, .apeva-informace .informace-item .garage-icon { width: 80px !important; height: 80px !important; display: block; margin: 0 auto 12px; object-fit: contain; }
.apeva-informace .informace-item * { position: static !important; left: auto !important; top: auto !important; width: auto; height: auto; text-align: center; }
.apeva-informace .informace-item div, .apeva-informace .informace-item p { margin: 12px 0 0 0; font-family: var(--font-family-mulish); font-size: var(--font-size-m); line-height: 30px; color: var(--black); }

/* Hide original absolute Informace heading/line so we use flow section */
.homepage .informace-o-ubytovn-zYNucu { display: none !important; }
.homepage .line-3-zYNucu { display: none !important; }

/* Apartmány: flowing cards grid */
.apeva-apartmany { position: relative; margin-top: 32px; padding: 48px 0 0px; background: #ffffff; }
.apeva-apartmany h2.h2 { text-align: center; margin: 0 0 4px 0; }
.apeva-apartmany .apeva-apartmany__line, .apeva-apartmany__line { display:block; width:321px; height:3px; margin:0 auto 64px; }
.apeva-apartmany .apartmany-content { max-width: var(--content-max); margin: 0 auto; padding: 0 12px; }
.apeva-apartmany .apartmany-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; margin-bottom: 64px; }
@media (min-width: 768px){ .apeva-apartmany .apartmany-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 1200px){ .apeva-apartmany .apartmany-grid { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.apeva-apartmany .apartmany-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.apeva-apartmany .apartmany-card > *:not(.apartmany-photo) { max-width: 364px; margin-left: auto; margin-right: auto; }
.apeva-apartmany .apartmany-photo { width: 100%; max-width: 364px; aspect-ratio: 1/1; overflow: hidden; margin: 0 auto 30px !important; }
.apeva-apartmany .apartmany-photo img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: 364px; max-height: 364px; }
.apeva-apartmany .apartmany-card .h4 { margin: 4px 0 2px 0; }
.apartmany-card__title { display:block; max-width:364px; margin:0 auto; text-align:center !important; font-size: var(--font-size-xxl); }
.apeva-apartmany .apeva-amenities { justify-content: center; margin: 6px 0; }
.apeva-apartmany .apartmany-card .apeva-amenities { margin-top: 30px !important; }
.apeva-apartmany .apeva-inline-btn { margin: 16px auto 0; display: inline-block; }
.apeva-apartmany .apeva-card-buttons { display:flex; justify-content:center; margin-top: 40px; }
.apeva-apartmany .apeva-card-buttons .wp-block-button { margin: 0 auto; }
/* Centrovaní Gutenberg Buttons uvnitř karet */
.apeva-card-buttons .wp-block-buttons { display: flex; justify-content: center; }

/* Full-width Gutenberg blocks inside Apartmány page content */
.apeva-apartmany .page-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.apeva-apartmany .page-content .wp-block-group.alignfull > .wp-block-group__inner-container,
.apeva-apartmany .page-content .wp-block-cover.alignfull .wp-block-cover__inner-container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Break .page-content out of the inner container so backgrounds can span full width */
.apeva-apartmany .page-content {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
/* Left-align section underlines generated inside Apartmány page content */
.apeva-apartmany .page-content .apeva-section-hr { width: 60%; margin-left: 20px; margin-right: auto; margin-top: 0; margin-bottom: 0; }
/* Constrain normal children back to content width */
.apeva-apartmany .page-content > *:not(.alignfull):not(.alignwide):not(.has-background) {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}
/* Allow background/alignfull sections to truly span edge-to-edge */
.apeva-apartmany .page-content > .has-background,
.apeva-apartmany .page-content > .alignfull {
    max-width: 100vw;
    padding-left: 252.500px !important;
    padding-right: 252.500px !important;

}

/* Full-width Gutenberg blocks inside Dugi Otok page content */
.apeva-dugi-otok .page-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.apeva-dugi-otok .page-content .wp-block-group.alignfull > .wp-block-group__inner-container,
.apeva-dugi-otok .page-content .wp-block-cover.alignfull .wp-block-cover__inner-container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Break .page-content out of the inner container so backgrounds can span full width */
.apeva-dugi-otok .page-content {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
/* Constrain normal children back to content width */
.apeva-dugi-otok .page-content > *:not(.alignfull):not(.alignwide):not(.has-background) {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px;
    padding-right: 12px;
}
/* Allow background/alignfull sections to truly span edge-to-edge */
.apeva-dugi-otok .page-content > .has-background {
    max-width: 100vw;
    padding-left: var(--content-pad) !important;
    padding-right: var(--content-pad) !important;
}

/* (do not expand all children to full width; keep non-background blocks centered) */
/* Center columns inside background sections */
.apeva-dugi-otok .page-content .has-background .wp-block-columns {
    justify-content: center;
}

/* Typography for Gutenberg content in Apartmány page */
.apeva-apartmany .page-content h1,
.apeva-apartmany .page-content h2,
.apeva-apartmany .page-content h3,
.apeva-apartmany .page-content h4,
.apeva-apartmany .page-content h5,
.apeva-apartmany .page-content h6 {
    font-family: var(--font-family-spectral);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 16px;
}
.apeva-apartmany .page-content h1 { font-size: var(--font-size-xxxxl); }
.apeva-apartmany .page-content h2 { font-size: var(--font-size-xxxxl); margin-bottom: 0; }
.apeva-apartmany .page-content h3 { font-size: var(--font-size-xl); }
.apeva-apartmany .page-content h4 { font-size: var(--font-size-l); }
.apeva-apartmany .page-content h5 { font-size: var(--font-size-m); }
.apeva-apartmany .page-content h6 { font-size: var(--font-size-s); }
.apeva-apartmany .page-content p { margin: 0 0 16px; }
.apeva-apartmany .page-content b,
.apeva-apartmany .page-content strong { font-weight: 700; }
.apeva-apartmany .page-content em,
.apeva-apartmany .page-content i { font-style: italic; }
.apeva-apartmany .page-content u { text-decoration: underline; }
.apeva-apartmany .page-content ul,
.apeva-apartmany .page-content ol { padding-left: 1.2em; margin: 0 0 16px; }
.apeva-apartmany .page-content ul { list-style: disc outside; }
.apeva-apartmany .page-content ol { list-style: decimal outside; }
.apeva-apartmany .page-content li { display: list-item; }

/* Globální styl Gutenberg tlačítek = styl CTA ve slideru */
.wp-block-button .wp-block-button__link,
.wp-block-button__link {
	background-color: #a9e0e7 !important;
	color: #000000 !important;
	border-radius: 9999px !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 60px !important;
	padding: 0 32px !important;
	text-decoration: none !important;
	font-family: var(--font-family-mulish, Mulish, Helvetica, Arial, sans-serif);
	font-size: var(--font-size-s, 18px);
	font-style: normal;
	font-weight: 800;
	letter-spacing: 2.7px;
	text-transform: none;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button__link:hover {
	background-color: #6FAFC1 !important;
	color: #ffffff !important;
	border-radius: 0 !important;
}

/* Flow hero block (edge-to-edge slider + overlay band with Customizer texts) */
.apeva-hero-flow { position: relative; height: clamp(520px, 62vw, 975px); width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); z-index: 0; isolation: isolate; }
.apeva-hero-flow .apeva-hero { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.apeva-hero-flow .apeva-hero__overlay { position: absolute; inset: 0; color: #fff; z-index: 2; pointer-events: none; }
.apeva-hero-flow .apeva-hero__overlay * { pointer-events: auto; }
.apeva-hero-flow .hero-band { position: absolute; left: 0; right: 0; margin: 0 auto; top: clamp(120px, 22vw, 233px); width: min(900px, 92vw); padding: 24px clamp(16px, 4vw, 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; color: #fff; box-sizing: border-box; overflow: hidden; }
.apeva-hero-flow .hero-band::before { content: ""; position: absolute; inset: 0; z-index: 0; background-color: rgba(0, 0, 0, 0.25); mix-blend-mode: multiply; pointer-events: none; }
.apeva-hero-flow .hero-band > * { position: relative; z-index: 1; margin: 0; }
.apeva-hero-flow .wp-block-buttons { position: absolute; left: 50%; transform: translateX(-50%); top: clamp(380px, 78vw, 758px); display: flex; justify-content: center; z-index: 3; }
/* Ensure comfortable spacing between hero texts */
.apeva-hero-flow .apeva-hero-title { margin: 0 0 16px 0; line-height: 1.06; display: block; }
.apeva-hero-flow .apeva-hero-kicker { margin: 0 0 14px 0; line-height: 1.2; display: block; }
.apeva-hero-flow .apeva-hero-tagline { margin: 0; line-height: 1.35; display: block; }
/* Larger CTA button size for hero slider */
.apeva-hero-flow .wp-block-button .wp-block-button__link,
.apeva-hero-flow .wp-block-button__link { height: clamp(52px, 10vw, 72px) !important; padding: 0 clamp(24px, 6vw, 50px) !important; font-size: clamp(18px, 3vw, 22px) !important; letter-spacing: clamp(2px, 1.2vw, 5px) !important; }

/* Small devices: keep CTA under overlay content to avoid overflow */
@media (max-width: 480px){
	.apeva-hero-flow .wp-block-buttons { position: static; transform: none; top: auto; margin-top: 12px; }
	.apeva-hero-flow .hero-band { top: clamp(80px, 18vw, 180px); padding: 20px clamp(12px, 4vw, 48px); gap: 12px; }
}