/* CINEC Eco Resort theme. Brand blue #005A95, white, light tint #E6EDF9. */
:root {
	--blue: #005a95;
	--blue-dark: #00426e;
	--blue-deep: #002b48;
	--tint: #e6edf9;
	--ink: #1d2733;
	--muted: #5c6b7a;
	--line: #dde5ee;
	--radius: 12px;
	--font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--heading: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; color: var(--blue-deep); font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(900px, 100% - 40px); }
.center { text-align: center; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
ul.plain { list-style: none; margin: 0; padding: 0; }
ul.plain li { margin: 4px 0; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 30px; border: 2px solid var(--blue); color: var(--blue); background: #fff; font-weight: 600; text-decoration: none; transition: .15s; font-size: 15px; }
.btn:hover { background: var(--tint); color: var(--blue-dark); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn--light { background: #fff; color: var(--blue); border-color: #fff; }

/* Top line and header */
.topline { background: var(--blue-deep); color: #cfe0f0; font-size: 13px; }
.topline__inner { display: flex; gap: 22px; align-items: center; padding: 6px 0; flex-wrap: wrap; }
.topline a { color: #fff; text-decoration: none; }
.topline__staff { margin-left: auto; opacity: .85; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 0; }
.site-logo img, .custom-logo { height: 58px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.site-nav li { position: relative; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--blue); }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: -12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; min-width: 200px; flex-direction: column; gap: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }
.site-nav .site-nav__cta { color: #fff; padding: 9px 18px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { display: block; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--blue); content: ""; transition: .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { top: -7px; left: 0; }
.nav-toggle span:first-child::after { top: 7px; left: 0; }
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); gap: 12px; }
	.site-nav.is-open { display: flex; }
	.site-nav ul { flex-direction: column; gap: 10px; }
	.site-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 4px 0 0 14px; }
	.site-nav__cta { text-align: center; }
}

/* Hero */
.site-hero { position: relative; color: #fff; background: radial-gradient(1200px 500px at 80% 0%, rgba(90, 170, 220, .45), transparent 60%), linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 50%, var(--blue-deep) 100%); background-size: cover; background-position: center; padding: clamp(70px, 10vw, 130px) 0 120px; overflow: hidden; }
.site-hero h1 { color: #fff; max-width: 760px; }
.site-hero .eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 13px; opacity: .85; margin: 0 0 10px; }
.site-hero__text { font-size: 1.15rem; max-width: 640px; opacity: .92; }
.site-hero__search { margin-top: 32px; max-width: 980px; }
.site-hero__search .cer-avail__form label { color: #3a4a5a; }
.site-hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; }
.page-hero { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; padding: 56px 0 46px; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: 8px 0 0; opacity: .9; max-width: 700px; }

/* Sections */
.section { padding: clamp(50px, 7vw, 90px) 0; }
.section--tint { background: var(--tint); }
.section--blue { background: var(--blue); color: #fff; }
.section--blue h2 { color: #fff; }
.section--blue a { color: #fff; }
.section__title { text-align: center; margin-bottom: 36px; }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.features li { background: var(--tint); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.features strong { color: var(--blue); font-family: var(--heading); font-size: 1.1rem; }
.features span { color: var(--muted); font-size: 15px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact__list li { font-size: 1.05rem; margin: 8px 0; }
.contact__map iframe { width: 100%; height: 320px; border: 0; border-radius: var(--radius); }
@media (max-width: 860px) { .intro, .contact { grid-template-columns: 1fr; } .features { grid-template-columns: 1fr; } }

/* Content */
.entry-content > * { margin-block: 0 1.1em; }
.entry-content .alignwide { width: min(1180px, 100vw - 40px); margin-inline: calc(50% - min(590px, 50vw - 20px)); }
.entry-content .alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.entry-image { border-radius: var(--radius); margin-bottom: 24px; }
.entry--summary { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 26px; }
.entry-meta { color: var(--muted); font-size: 14px; }
.has-cinec-blue-color { color: var(--blue); }
.has-cinec-blue-background-color { background-color: var(--blue); }
.has-deep-blue-background-color { background-color: var(--blue-dark); }
.has-tint-background-color { background-color: var(--tint); }
.notice { background: #fff7e6; padding: 14px 18px; border-radius: 8px; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #c3d4e4; font-size: 15px; padding-top: 56px; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer address { font-style: normal; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.site-footer__grid .site-logo img { height: 64px; }
.site-footer__tag { margin-top: 14px; }
.site-footer .menu { list-style: none; margin: 0; padding: 0; }
.site-footer .menu li { margin: 4px 0; }
.site-footer .social a { margin-right: 14px; }
.site-footer__bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding: 18px 0 26px; font-size: 13px; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Plugin components inside the theme */
.cer-avail__title { font-family: var(--heading); }
.cer-room-card__body h3, .cer-avail__body h3 { font-family: var(--heading); }
.section--tint .cer-room-card { box-shadow: 0 6px 20px rgba(0, 40, 80, .06); }

/* Elementor */
.cinec-full-width { width: 100%; }
.cinec-full-width > .elementor { width: 100%; }
.cinec-elementor-page .site-main { padding: 0; }
.elementor-widget-cinec_availability .cer-avail, .elementor-widget-cinec_rooms .cer-rooms-grid { max-width: none; }
