/*
Theme Name:   El Roi Khadoshi Motel
Theme URI:    https://github.com/mbabazihannah79-hannie/BIT1204-Mbabazi-Hannah-webpage
Description:  Child theme of Twenty Twenty-Five for El Roi Khadoshi Motel, Market Street, Kyenjojo, Uganda. Cream, blue, white and black palette (change it in Appearance → Editor → Styles), photo banners, sliding gallery, and page designs for Home, About, Rooms, Amenities, Dining & Bar, Gallery, Explore Kyenjojo, Booking, Contact and FAQ. Every page is built from normal blocks and edited in the block editor. Pair with the El Roi Bookings plugin for rooms, booking requests and messages.
Author:       Mbabazi Hannah
Template:     twentytwentyfive
Version:      4.1.0
Requires at least: 6.7
Requires PHP: 7.4
License:      GPL-2.0-or-later
Text Domain:  elroi-child
*/

/* ==========================================================================
   Base
   ========================================================================== */
:root {
	--erk-gutter: clamp(1rem, 4vw, 2rem);
	--erk-section: clamp(3.5rem, 8vw, 5.5rem);
	--erk-radius: 14px;
	--erk-shadow: 0 10px 30px rgba(12, 14, 18, .10);
	--erk-topbar-h: 38px;
	--erk-dark: var(--wp--preset--color--accent-1);
	--erk-darkest: var(--wp--preset--color--accent-3);
	--erk-accent: var(--wp--preset--color--gold);
	--erk-accent-dark: var(--wp--preset--color--gold-deep);
	--erk-light-accent: var(--wp--preset--color--sky, var(--wp--preset--color--gold));
	--erk-on-accent: var(--wp--preset--color--on-gold, #fff);
	--erk-white: var(--wp--preset--color--base);
	--erk-on-dark: var(--wp--preset--color--accent-5);
	--erk-on-dark-soft: color-mix(in srgb, var(--wp--preset--color--accent-5) 80%, transparent);
	--erk-cream: var(--wp--preset--color--accent-2);
	--erk-muted: var(--wp--preset--color--accent-4);
	--erk-line: var(--wp--preset--color--accent-6);
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--erk-accent); color: var(--erk-on-accent); }
a:focus-visible, button:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid var(--erk-accent); outline-offset: 3px; border-radius: 6px; }
main.wp-block-group { margin-top: 0 !important; }
.wp-block-post-content > .alignfull:first-child { margin-top: 0; }
.wp-block-post-content > * + .alignfull,
.wp-block-post-content > .alignfull + * { margin-block-start: 0; }
.wp-site-blocks > footer { margin-block-start: 0; }

/* Small gold label above headings */
p.is-style-eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--erk-accent-dark); margin-bottom: .2rem; }
.wp-block-cover p.is-style-eyebrow { color: var(--erk-light-accent); }
.is-style-eyebrow + .wp-block-heading { margin-top: .4rem; }

/* Gold tag (distances) */
p.is-style-chip { display: inline-block; background: var(--erk-accent); color: var(--erk-on-accent); padding: .2rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 600; margin: 0; }

/* Rounded photo */
.wp-block-image.is-style-erk-rounded img { border-radius: var(--erk-radius); box-shadow: var(--erk-shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.wp-block-image.erk-square img { aspect-ratio: 1; }

/* Buttons */
.wp-block-button__link { white-space: nowrap; border: 2px solid var(--erk-accent) !important; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.wp-block-button__link:hover { border-color: var(--erk-accent-dark) !important; transform: translateY(-1px); }
.wp-block-button.is-style-green .wp-block-button__link { background: var(--erk-dark); border-color: var(--erk-dark) !important; color: var(--erk-white); }
.wp-block-button.is-style-green .wp-block-button__link:hover { background: var(--erk-accent-dark); border-color: var(--erk-accent-dark) !important; color: var(--erk-on-accent); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border-color: var(--erk-dark) !important; color: var(--erk-dark); padding: .85rem 1.6rem; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--erk-dark); color: var(--erk-white); }
.wp-block-button.is-style-ghost .wp-block-button__link { background: transparent; border-color: var(--erk-on-dark) !important; color: var(--erk-on-dark); }
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background: var(--erk-white); border-color: var(--erk-white) !important; color: var(--erk-darkest); }

/* Gold tick list */
ul.is-style-ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
ul.is-style-ticks li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
ul.is-style-ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.15em; height: 1.15em; background: var(--erk-accent-dark); -webkit-mask: var(--erk-tick) center / contain no-repeat; mask: var(--erk-tick) center / contain no-repeat; }
ul.erk-two-cols { columns: 2 260px; column-gap: 2rem; max-width: 820px; margin-left: auto !important; margin-right: auto !important; }
ul.erk-two-cols li { break-inside: avoid; }
:root { --erk-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E"); }

/* Small line icons: add the classes "erk-ico erk-ico-phone" (or pin, mail, clock, whatsapp…) to a paragraph or list item */
.erk-ico { position: relative; padding-left: 1.65em; }
.erk-ico::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.15em; height: 1.15em; background: var(--erk-accent-dark); -webkit-mask: var(--erk-icon) center / contain no-repeat; mask: var(--erk-icon) center / contain no-repeat; }
ul.erk-icon-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
ul.erk-icon-list li { padding-top: .45rem; padding-bottom: .45rem; }
ul.erk-icon-list li::before { top: .65em; }

/* ==========================================================================
   Header (top bar + logo, menu, Book Now)
   ========================================================================== */
header.wp-block-template-part { position: sticky; top: calc(var(--erk-topbar-h) * -1); z-index: 50; }
.admin-bar header.wp-block-template-part { top: calc(32px - var(--erk-topbar-h)); }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: calc(46px - var(--erk-topbar-h)); } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part { top: calc(var(--erk-topbar-h) * -1); } }

.erk-topbar { font-size: .85rem; padding: 0 var(--erk-gutter); height: var(--erk-topbar-h); overflow: hidden; }
.erk-topbar-inner { height: var(--erk-topbar-h); gap: .5rem 1.2rem; flex-wrap: nowrap !important; }
.erk-topbar p { margin: 0; white-space: nowrap; }
.erk-topbar a { color: inherit; text-decoration: none; }
.erk-topbar a:hover { color: var(--erk-light-accent); }
.erk-topbar .erk-ico::before { background: var(--erk-light-accent); top: .15em; }
.erk-topbar-links { gap: 1.2rem; flex-wrap: nowrap !important; }
@media (max-width: 960px) { .erk-topbar-address { display: none; } .erk-topbar-inner { justify-content: center !important; } }
@media (max-width: 480px) { .erk-topbar .erk-ico-mail { display: none; } }

.erk-header { background: var(--erk-white); border-bottom: 1px solid var(--erk-line); padding: 0 var(--erk-gutter); transition: box-shadow .2s; }
.erk-header.is-scrolled, .is-scrolled .erk-header { box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.erk-header-inner { padding: .7rem 0; gap: 1rem; }
.erk-header-actions { gap: 1rem; }
.erk-logo { margin: 0; flex-shrink: 0; }
.erk-logo img { height: auto; max-width: 100%; display: block; }
@media (max-width: 600px) { .erk-logo img { width: 180px !important; } }

.erk-nav { font-weight: 500; font-size: .93rem; }
.erk-nav .wp-block-navigation__container { gap: .2rem; }
.erk-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--contrast); text-decoration: none; padding: .5rem; border-radius: 8px; }
.erk-nav .wp-block-navigation-item__content:hover,
.erk-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--erk-accent-dark); background: var(--erk-cream); }
.erk-nav .wp-block-navigation-item { white-space: nowrap; }
/* Menu button below 1260px so the links never squeeze */
@media (min-width: 600px) and (max-width: 1260px) {
	.erk-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.erk-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
@media (max-width: 600px) { .erk-header .erk-header-cta { display: none !important; } }
.erk-nav .wp-block-navigation__responsive-container.is-menu-open { z-index: 100000; }
.erk-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--playfair); font-size: 1.6rem; }
.erk-nav .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.erk-section { padding: var(--erk-section) var(--erk-gutter); }
.erk-section > * { margin-block-start: 0; }
.erk-section > * + * { margin-block-start: 1.5rem; }
.erk-section > .wp-block-buttons { margin-block-start: 2.5rem; }
.erk-section-head { text-align: center; margin-bottom: 2.5rem !important; }
.erk-section-head > * { margin-left: auto !important; margin-right: auto !important; }
.erk-section-head h2 { margin-top: .2rem; margin-bottom: .6rem; }
.erk-section-head p:not(.is-style-eyebrow) { color: var(--erk-muted); }

/* Photo + text */
.erk-split { gap: clamp(2rem, 5vw, 3.5rem) !important; align-items: center !important; }
.erk-split-top { align-items: flex-start !important; }
.erk-split .wp-block-heading { margin-top: 0; }
.erk-split-map > .wp-block-column:first-child { flex: 0 0 42% !important; }
.erk-split-map > .wp-block-column:last-child { flex: 1 1 0 !important; min-width: 0; }
.erk-explore-row { padding: 2.5rem 0; margin: 0 !important; }

/* Grids */
.erk-grid { gap: 1.6rem; }
@media (max-width: 1080px) { .erk-grid-4.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 900px) { .erk-grid-3.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .erk-grid.is-layout-grid { grid-template-columns: minmax(0, 1fr) !important; } }

/* Cards (amenities, mission/vision/values, travel tips, contact) */
.erk-card { background: var(--erk-white); padding: 1.6rem; border-radius: var(--erk-radius); border: 1px solid var(--erk-line); transition: border-color .2s, box-shadow .2s; height: 100%; box-sizing: border-box; }
.erk-card:hover { border-color: var(--erk-accent); box-shadow: var(--erk-shadow); }
.erk-card > * { margin: 0; }
.erk-card h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.erk-card p { font-size: .92rem; color: var(--erk-muted); }
.has-accent-2-background-color .erk-card { border-color: transparent; }
.erk-has-icon::before { content: ""; display: block; width: 52px; height: 52px; margin-bottom: 1rem; border-radius: 50%; background: var(--erk-cream); }
.erk-has-icon { position: relative; }
.erk-has-icon::after { content: ""; position: absolute; top: calc(1.6rem + 13px); left: calc(1.6rem + 13px); width: 26px; height: 26px; background: var(--erk-accent-dark); -webkit-mask: var(--erk-icon) center / contain no-repeat; mask: var(--erk-icon) center / contain no-repeat; }
.has-accent-2-background-color .erk-has-icon::before { background-color: var(--erk-cream); }
.erk-contact-card { text-align: center; }
.erk-contact-card::before { margin-left: auto; margin-right: auto; }
.erk-contact-card::after { left: calc(50% - 13px); }
.erk-contact-card p { word-break: break-word; }
.erk-contact-card a { color: var(--erk-muted); text-decoration: none; }
.erk-contact-card a:hover { color: var(--erk-accent-dark); }

/* Places (photo tiles) */
.erk-place-card { position: relative; border-radius: var(--erk-radius); overflow: hidden; box-shadow: var(--erk-shadow); }
.erk-place-card > * { margin: 0 !important; }
.erk-place-card .wp-block-image img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.erk-place-card:hover .wp-block-image img { transform: scale(1.05); }
.erk-place-card-body { position: absolute !important; inset: auto 0 0 0; padding: 1.3rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.erk-place-card-body h3 { color: var(--erk-on-dark); margin: .5rem 0 0; }

/* Numbers */
.erk-stat { text-align: center; padding: 2rem 1rem; border-radius: var(--erk-radius); background: var(--erk-dark); color: var(--erk-on-dark); }
.erk-stat > * { margin: 0; }
.erk-stat-number { font-family: var(--wp--preset--font-family--playfair); font-size: 2.4rem; line-height: 1.2; color: var(--erk-light-accent); }

/* Photo banners (Cover blocks) */
.wp-block-cover .wp-block-heading,
.wp-block-cover h1, .wp-block-cover h2, .wp-block-cover h3 { color: var(--erk-white); }
.wp-block-cover { color: var(--erk-on-dark); }
.erk-banner { padding: clamp(4.5rem, 10vw, 6.5rem) var(--erk-gutter) clamp(3.5rem, 7vw, 5rem) !important; min-height: 0 !important; }
.erk-banner h1 { margin: 0 0 .3em; }
.erk-banner-sub { font-size: 1.15rem; color: var(--erk-on-dark); margin: 0; }

/* Home hero */
.erk-hero { padding: 6rem var(--erk-gutter) 0 !important; align-items: flex-end !important; overflow: visible !important; }
.erk-hero > .wp-block-cover__inner-container { width: 100%; }
.erk-hero-copy { padding-bottom: 2rem; }
.erk-hero-copy h1 { max-width: 14ch; margin: .2rem 0 1rem; }
.erk-hero-lead { font-size: 1.15rem; max-width: 56ch; color: var(--erk-on-dark); }
.erk-hero-copy .wp-block-buttons { margin-top: 1.6rem; }
.erk-hero-search { position: relative; z-index: 3; transform: translateY(50%); margin-top: 0 !important; }
.erk-hero + .erk-section { padding-top: calc(var(--erk-section) + 4rem); }
@media (max-width: 960px) {
	.erk-hero { min-height: 0 !important; padding-bottom: 2rem !important; }
	.erk-hero-search { transform: none; }
	.erk-hero + .erk-section { padding-top: var(--erk-section); }
}

/* Restaurant band on Home */
.erk-band { padding: 7rem var(--erk-gutter) !important; min-height: 0 !important; }
.erk-band-copy > * { max-width: 620px; }
.erk-band-copy p:not(.is-style-eyebrow) { color: var(--erk-on-dark); }

/* ==========================================================================
   Dining
   ========================================================================== */
.wp-block-table.erk-hours { margin: 1.5rem 0 0; }
.erk-hours table, .erk-menu-table table { border-collapse: collapse; width: 100%; table-layout: auto; }
.erk-hours td, .erk-menu-table td { border: 0; border-bottom: 1px solid var(--erk-line); padding: .8rem 0; vertical-align: top; }
.erk-hours tr:first-child td { border-top: 1px solid var(--erk-line); }
.erk-hours td:last-child, .erk-menu-table td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.erk-menu-col { background: var(--erk-white); padding: 1.8rem; border-radius: var(--erk-radius); }
.erk-menu-col > * { margin-top: 0; }
.erk-menu-col h3 { border-bottom: 2px solid var(--erk-accent); padding-bottom: .5rem; }
.erk-menu-table { margin: 0; }
.erk-menu-table td { border-bottom-style: dashed; padding: .75rem 0; font-size: .82rem; color: var(--erk-muted); line-height: 1.5; }
.erk-menu-table td strong { color: var(--wp--preset--color--contrast); font-size: 1rem; }
.erk-menu-table td:last-child { font-weight: 600; color: var(--erk-accent-dark); font-size: 1rem; }
.erk-menu-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Photo slider (a Group of Image blocks, made to slide by slider.js)
   ========================================================================== */
.erk-slider { position: relative; overflow: hidden; border-radius: var(--erk-radius); box-shadow: var(--erk-shadow); height: var(--slider-h, 520px); background: var(--erk-darkest); outline: none; }
.erk-slider.erk-h-600 { --slider-h: 600px; }
.erk-slider > .wp-block-image { margin: 0 !important; }
.erk-slider.is-ready > .erk-slider-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.erk-slider:not(.is-ready) > .wp-block-image:not(:first-child) { display: none; }
.erk-slider:not(.is-ready) > .wp-block-image:first-child, .erk-slide { position: relative; flex: 0 0 100%; height: 100%; }
.erk-slider .wp-block-image img { width: 100%; height: 100% !important; max-width: none; object-fit: cover; display: block; }
.erk-slider .wp-block-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 18, .95), rgba(12, 14, 18, 0) 65%); opacity: .77; pointer-events: none; }
.erk-slider-fade.is-ready > .erk-slider-track { display: block; position: relative; }
.erk-slider-fade.is-ready .erk-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.erk-slider-fade.is-ready .erk-slide.is-active { opacity: 1; z-index: 1; }
.erk-slider figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 2.5rem 3rem 3.4rem; color: var(--erk-white); max-width: 760px; text-align: left; font-family: var(--wp--preset--font-family--playfair); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.2; }
.erk-slider figcaption::before { content: ""; display: block; width: 48px; height: 3px; background: var(--erk-light-accent); margin-bottom: .9rem; border-radius: 2px; }
.erk-slide.is-active figcaption { animation: erkCaption .8s ease both .2s; }
@keyframes erkCaption { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.erk-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, .18); color: var(--erk-white); font-size: 2rem; line-height: 1; backdrop-filter: blur(4px); transition: .2s; }
.erk-slider-arrow:hover { background: var(--erk-accent); color: var(--erk-on-accent); }
.erk-slider-prev { left: 1.2rem; }
.erk-slider-next { right: 1.2rem; }
.erk-slider-dots { position: absolute; right: 2rem; bottom: 1.4rem; z-index: 3; display: flex; gap: .5rem; }
.erk-slider-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .55); transition: .3s; }
.erk-slider-dot.is-active { width: 28px; background: var(--erk-light-accent); }
@media (max-width: 600px) {
	.erk-slider { height: min(var(--slider-h, 520px), 70vh); }
	.erk-slider figcaption { padding: 1.5rem 1.3rem 3rem; }
	.erk-slider-arrow { width: 40px; height: 40px; font-size: 1.6rem; }
	.erk-slider-dots { right: auto; left: 50%; transform: translateX(-50%); bottom: 1rem; }
}

/* ==========================================================================
   Gallery grid with filters and full-screen viewer (gallery.js)
   ========================================================================== */
.erk-gallery { gap: 1rem; }
.erk-gallery > .wp-block-image { margin: 0; position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; cursor: zoom-in; }
.erk-gallery > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.erk-gallery > .wp-block-image:hover img { transform: scale(1.06); }
.erk-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .8rem 1rem; color: var(--erk-white); font-weight: 500; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: .3s; }
.erk-gallery > .wp-block-image:hover figcaption { opacity: 1; }
.erk-gallery > .is-hidden { display: none; }
.erk-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.erk-filter { border: 1px solid var(--erk-line); background: var(--erk-white); color: var(--wp--preset--color--contrast); padding: .55rem 1.2rem; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 500; }
.erk-filter.is-active, .erk-filter:hover { background: var(--erk-accent); color: var(--erk-on-accent); border-color: var(--erk-accent); }

.erk-viewer { position: fixed; inset: 0; background: rgba(12, 14, 18, .94); z-index: 100001; display: grid; place-items: center; padding: 2rem; }
.erk-viewer[hidden] { display: none; }
.erk-viewer img { max-height: 82vh; max-width: 90vw; border-radius: 8px; }
.erk-viewer button { position: absolute; background: rgba(255, 255, 255, .12); color: var(--erk-white); border: 0; font-size: 2.2rem; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; line-height: 1; }
.erk-viewer button:hover { background: var(--erk-accent); color: var(--erk-on-accent); }
.erk-viewer-close { top: 1.2rem; right: 1.2rem; }
.erk-viewer-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.erk-viewer-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.erk-viewer-caption { position: absolute; bottom: 1.2rem; left: 0; right: 0; text-align: center; color: var(--erk-white); margin: 0; }

/* ==========================================================================
   FAQ (Details blocks) and map
   ========================================================================== */
.erk-faq { max-width: 820px; margin-left: auto !important; margin-right: auto !important; }
.erk-faq > * + * { margin-top: .8rem !important; }
.erk-faq-item { border: 1px solid var(--erk-line); border-radius: 12px; background: var(--erk-white); }
.erk-faq-item summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.erk-faq-item summary::-webkit-details-marker { display: none; }
.erk-faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--erk-accent-dark); line-height: 1; }
.erk-faq-item[open] summary::after { content: "–"; }
.erk-faq-item[open] { border-color: var(--erk-accent); }
.erk-faq-item > p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--erk-muted); }

.erk-map iframe { display: block; width: 100%; height: var(--map-h, 380px); border: 0; border-radius: var(--erk-radius); box-shadow: var(--erk-shadow); }

/* ==========================================================================
   Gold booking band and footer
   ========================================================================== */
.erk-cta-band { padding: 3rem var(--erk-gutter); margin-top: 0; }
.erk-cta-inner { gap: 2rem; align-items: center !important; }
.erk-cta-text > * { margin: 0; }
.erk-cta-text h2 { font-size: 1.8rem; margin-bottom: .2em; }
.erk-cta-band, .erk-cta-text p, .erk-cta-text h2 { color: var(--erk-on-accent); }
.erk-cta-band .is-style-outline .wp-block-button__link { border-color: var(--erk-on-accent) !important; color: var(--erk-on-accent); }
.erk-cta-band .is-style-outline .wp-block-button__link:hover { background: var(--erk-on-accent); color: var(--erk-accent-dark); }
.erk-cta-band .is-style-green .wp-block-button__link:hover { background: var(--erk-darkest); border-color: var(--erk-darkest) !important; color: var(--erk-white); }
@media (max-width: 600px) { .erk-cta-inner { text-align: center; justify-content: center !important; } }

.erk-footer { padding: 4rem var(--erk-gutter) 0; font-size: .93rem; color: var(--erk-on-dark-soft) !important; margin-top: 0; }
.erk-footer a { color: var(--erk-on-dark-soft); text-decoration: none; }
.erk-footer a:hover { color: var(--erk-light-accent); }
.erk-footer-grid { gap: 2.5rem !important; padding-bottom: 3rem; }
.erk-footer-logo { margin: 0 0 1rem; }
.erk-footer-logo img { max-width: 100%; height: auto; }
h4.erk-footer-title { color: var(--erk-white); font-family: var(--wp--preset--font-family--inter); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1rem; }
ul.erk-footer-links { list-style: none; padding: 0; margin: 0; }
ul.erk-footer-links li { margin-bottom: .55rem; }
ul.erk-footer-links.erk-icon-list li { padding: 0 0 0 1.65em; }
ul.erk-footer-links .erk-ico::before { background: var(--erk-light-accent); top: .2em; }
.erk-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.2rem 0; margin-top: 0 !important; }
.erk-footer-bottom p { margin: 0; color: var(--erk-on-dark-soft); }

/* Floating WhatsApp button */
.erk-wa-float { position: fixed; right: 1.3rem; bottom: 1.3rem; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); z-index: 60; transition: transform .2s; }
.erk-wa-float:hover { transform: scale(1.08); color: #fff; }
.erk-wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Reveal on scroll (site.js) */
.erk-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.erk-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
	.erk-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Icons (line icons from the original design, used as CSS masks)
   ========================================================================== */
.erk-ico-wifi { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19.5' r='1'/%3E%3C/svg%3E"); }
.erk-ico-car { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14M3 17v-4l2-5h14l2 5v4'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E"); }
.erk-ico-food { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 3v8a3 3 0 0 0 6 0V3M7 3v18M17 3c-2 2-3 5-3 8h3v10'/%3E%3C/svg%3E"); }
.erk-ico-cup { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h13v5a6 6 0 0 1-6 6h-1a6 6 0 0 1-6-6zM17 10h2a2 2 0 0 1 0 4h-2M8 2v3M12 2v3'/%3E%3C/svg%3E"); }
.erk-ico-glass { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l-6 8zM12 11v9M8 21h8'/%3E%3C/svg%3E"); }
.erk-ico-clock { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.erk-ico-bell { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 18h16M6 18a6 6 0 0 1 12 0M12 9V7M10 7h4'/%3E%3C/svg%3E"); }
.erk-ico-sun { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M2 12h2M20 12h2M5 5l1.5 1.5M17.5 17.5 19 19M5 19l1.5-1.5M17.5 6.5 19 5'/%3E%3C/svg%3E"); }
.erk-ico-dumbbell { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 7v10M18 7v10M3 10v4M21 10v4M6 12h12'/%3E%3C/svg%3E"); }
.erk-ico-lock { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.erk-ico-family { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='6' r='2.5'/%3E%3Ccircle cx='16' cy='6' r='2.5'/%3E%3Cpath d='M4 21v-7a4 4 0 0 1 8 0v7M12 21v-7a4 4 0 0 1 8 0v7'/%3E%3C/svg%3E"); }
.erk-ico-nosmoke { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 5.6l12.8 12.8M7 13h7M16 13h1'/%3E%3C/svg%3E"); }
.erk-ico-phone { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-3 2a12 12 0 0 0 6 6l2-3 5 2v4a2 2 0 0 1-2 2A18 18 0 0 1 3 5a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.erk-ico-mail { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.erk-ico-pin { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-12a7 7 0 0 0-14 0c0 6 7 12 7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E"); }
.erk-ico-whatsapp { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.5-4A8 8 0 1 1 8 18.5z'/%3E%3Cpath d='M9 9c0 3 3 6 6 6l1-1.5-2-1-1 1c-1-.5-2-1.5-2.5-2.5l1-1-1-2z'/%3E%3C/svg%3E"); }
.erk-ico-bed { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18V7M3 14h18v4M21 14v-3a3 3 0 0 0-3-3h-7v6'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); }
.erk-ico-users { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-1a6 6 0 0 1 12 0v1M16 5a3 3 0 0 1 0 6M21 20v-1a5 5 0 0 0-3-4.5'/%3E%3C/svg%3E"); }
.erk-ico-check { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4 10-10'/%3E%3C/svg%3E"); }
.erk-ico-star { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.8 5.8 6.2.9-4.5 4.4 1 6.2L12 17.4 6.5 20.3l1-6.2L3 9.7l6.2-.9z'/%3E%3C/svg%3E"); }
.erk-ico-eye { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.erk-ico-heart { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-9-9a4.8 4.8 0 0 1 9-3 4.8 4.8 0 0 1 9 3c-2 4.6-9 9-9 9z'/%3E%3C/svg%3E"); }
.erk-ico-bus { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='14' rx='2'/%3E%3Cpath d='M4 11h16M8 17v3M16 17v3'/%3E%3Ccircle cx='8' cy='14' r='.6'/%3E%3Ccircle cx='16' cy='14' r='.6'/%3E%3C/svg%3E"); }
.erk-ico-binoculars { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6.5' cy='15.5' r='3.5'/%3E%3Ccircle cx='17.5' cy='15.5' r='3.5'/%3E%3Cpath d='M10 15.5h4M5 12l2-7h3v7M19 12l-2-7h-3v7'/%3E%3C/svg%3E"); }
.erk-ico-cloud { --erk-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18a4 4 0 0 1-.5-8A5.5 5.5 0 0 1 17 8.5 4.8 4.8 0 0 1 17 18z'/%3E%3Cpath d='M4 4l1.5 1.5M9 2v2'/%3E%3C/svg%3E"); }
