@font-face {
    font-family: "CEP Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
}

@font-face {
    font-family: "CEP Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
}

:root {
    --cep-black: #080907;
    --cep-black-soft: #11120f;
    --cep-ink: #171812;
    --cep-paper: #f4f2ec;
    --cep-white: #fff;
    --cep-yellow: #f7bf00;
    --cep-signal: #f7bf00;
    --cep-red: #d32429;
    --cep-muted: #66675f;
    --cep-line: #d7d2c5;
    --cep-shell: 1320px;
    --cep-gutter: 24px;
    --cep-header-height: 84px;
    --cep-radius: 3px;
    --cep-display: "CEP Barlow Condensed", "Arial Narrow", sans-serif;
    --cep-body: "CEP Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--cep-header-height) + 20px);
}

body {
    min-width: 320px;
    margin: 0;
    padding: 0 !important;
    background: var(--cep-paper);
    color: var(--cep-ink);
    font-family: var(--cep-body);
    font-size: 16px;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.has-modal-open {
    overflow: hidden;
}

.wp-site-blocks {
    overflow: clip;
    padding: 0;
}

.wp-site-blocks > * {
    margin-block-start: 0;
}

img,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

figure,
blockquote,
dl,
dd {
    margin: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: inherit;
    font-family: var(--cep-display);
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 0.96;
}

p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background: var(--cep-yellow);
    color: var(--cep-black);
}

:where(a, button, input, select, textarea, video):focus-visible {
    outline: 3px solid var(--cep-yellow);
    outline-offset: 4px;
}

.cep-shell,
.cep-site-header__inner,
.cep-content-shell {
    width: min(var(--cep-shell), calc(100% - (var(--cep-gutter) * 2)));
    max-width: var(--cep-shell) !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
}

.cep-main,
.cep-archive,
.cep-entry,
.cep-gallery-page {
    margin: 0 !important;
}

.cep-screen-reader-text,
.screen-reader-text {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.cep-skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100000;
    padding: 12px 16px;
    border: 2px solid var(--cep-black);
    border-radius: var(--cep-radius);
    background: var(--cep-yellow);
    color: var(--cep-black);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

.cep-skip-link:focus {
    transform: translateY(0);
}

/* Header and navigation */
header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0 !important;
}

.cep-site-header {
    position: relative;
    z-index: 1;
    width: 100%;
    height: var(--cep-header-height);
    margin: 0 !important;
    border-bottom: 1px solid rgba(247, 191, 0, 0.18);
    background: var(--cep-black);
    color: var(--cep-white);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.cep-site-header.is-scrolled {
    background: rgba(8, 9, 7, 0.98);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.admin-bar header.wp-block-template-part {
    top: 32px;
}

.cep-site-header__inner {
    display: flex;
    height: var(--cep-header-height);
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 3vw, 46px);
}

.cep-logo {
    position: relative;
    z-index: 2;
    width: 116px !important;
    height: 116px !important;
    flex: 0 0 116px;
    align-self: flex-start;
    margin: 0 !important;
    transform: translateY(5px);
}

.cep-logo a,
.cep-logo img {
    display: block;
    width: 116px !important;
    height: 116px !important;
}

.cep-logo img {
    object-fit: contain;
    filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.32));
}

.cep-nav {
    min-width: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.cep-nav .wp-block-navigation__container {
    align-items: center;
    gap: clamp(11px, 1.25vw, 20px);
}

.cep-nav .wp-block-navigation-item {
    margin: 0;
}

.cep-nav .wp-block-navigation-item__content {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: 5px 0;
    color: var(--cep-white) !important;
    font-family: var(--cep-body);
    font-size: clamp(0.62rem, 0.72vw, 0.72rem);
    font-weight: 800;
    letter-spacing: 0.015em;
    line-height: 1.15;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.cep-nav .wp-block-navigation-item__content::after {
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    height: 2px;
    background: var(--cep-yellow);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transform-origin: left;
    transition: opacity 150ms ease, transform 150ms ease;
}

.cep-nav .wp-block-navigation-item__content:hover::after,
.cep-nav .current-menu-item > .wp-block-navigation-item__content::after,
.cep-nav .wp-block-navigation-item__content[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
}

.cep-nav .cep-nav-cta .wp-block-navigation-item__content {
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--cep-yellow);
    border-radius: var(--cep-radius);
    background: var(--cep-yellow);
    color: var(--cep-black) !important;
}

.cep-nav .cep-nav-cta .wp-block-navigation-item__content::after {
    display: none;
}

.cep-nav .cep-nav-cta .wp-block-navigation-item__content:hover {
    background: #ffd21a;
}

.cep-nav .wp-block-navigation__responsive-container-open,
.cep-nav .wp-block-navigation__responsive-container-close {
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--cep-radius);
    color: var(--cep-white);
}

.cep-nav .wp-block-navigation__responsive-container-open svg,
.cep-nav .wp-block-navigation__responsive-container-close svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

/* Shared section language */
.cep-section {
    position: relative;
    margin: 0 !important;
    padding-block: clamp(72px, 8vw, 112px);
    background: var(--cep-paper);
}

.cep-section--dark {
    background: var(--cep-black);
    color: var(--cep-white);
}

.cep-events-home,
.cep-booking,
.cep-contact {
    scroll-margin-top: var(--cep-header-height);
}

.cep-eyebrow,
.cep-kicker {
    margin: 0 0 9px;
    color: var(--cep-yellow);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.35;
    text-transform: uppercase;
}

.cep-section-title {
    margin-bottom: clamp(30px, 4vw, 48px);
}

.cep-section-title h2 {
    font-size: clamp(2.65rem, 4.9vw, 4.8rem);
    text-transform: uppercase;
}

.cep-section-title > span,
.cep-section-title > div > span {
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 13px;
    background: var(--cep-yellow);
}

.cep-section-title--center {
    text-align: center;
}

.cep-section-title--center > span {
    margin-inline: auto;
}

.cep-section-title--split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.cep-section-title--split > p {
    max-width: 460px;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
}

.cep-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.cep-button,
.wp-block-button__link,
.cep-outline-link,
.cep-text-link {
    border-radius: var(--cep-radius) !important;
}

.cep-button,
.wp-block-button__link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--cep-yellow);
    background: var(--cep-yellow);
    color: var(--cep-black) !important;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cep-button:hover,
.wp-block-button__link:hover {
    border-color: #ffd21a;
    background: #ffd21a;
    color: var(--cep-black) !important;
    transform: translateY(-2px);
}

.cep-button--ghost {
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(8, 9, 7, 0.18);
    color: var(--cep-white) !important;
}

.cep-button--ghost:hover {
    border-color: var(--cep-white);
    background: var(--cep-white);
}

.cep-play {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 0.55rem;
    line-height: 1;
}

.cep-outline-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--cep-white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.cep-outline-link:hover {
    border-color: var(--cep-yellow);
    background: var(--cep-yellow);
    color: var(--cep-black);
}

.cep-outline-link--dark {
    border-color: rgba(8, 9, 7, 0.55);
    color: var(--cep-black);
}

/* Hero */
.cep-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(640px, calc(100svh - var(--cep-header-height)), 790px);
    overflow: hidden;
    margin: 0 !important;
    background: var(--cep-black);
    color: var(--cep-white);
}

.cep-hero::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 5;
    height: 14px;
    background: var(--cep-paper);
    clip-path: polygon(0 66%, 4% 28%, 9% 63%, 14% 36%, 21% 73%, 28% 30%, 36% 68%, 44% 37%, 52% 72%, 61% 31%, 70% 65%, 79% 35%, 88% 70%, 94% 30%, 100% 58%, 100% 100%, 0 100%);
    content: "";
}

.cep-hero__media,
.cep-hero__scrim {
    position: absolute;
    inset: 0;
}

.cep-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 54%;
    scale: 1;
}

.cep-hero__scrim {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 5, 3, 0.96) 0%, rgba(4, 5, 3, 0.82) 25%, rgba(4, 5, 3, 0.31) 54%, rgba(4, 5, 3, 0.05) 78%),
        linear-gradient(0deg, rgba(4, 5, 3, 0.88) 0%, rgba(4, 5, 3, 0.04) 43%);
}

.cep-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: clamp(530px, calc(100svh - var(--cep-header-height) - 104px), 676px);
    align-items: center;
    padding-block: 48px 56px !important;
}

.cep-hero__copy {
    width: min(660px, 58vw);
}

.cep-hero__location {
    margin: 0 0 20px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.cep-hero h1 {
    margin: 0;
    font-size: clamp(5.7rem, 10vw, 9.35rem);
    letter-spacing: -0.025em;
    line-height: 0.78;
    text-transform: uppercase;
}

.cep-hero h1 span,
.cep-hero h1 strong {
    display: block;
    font: inherit;
}

.cep-hero h1 strong {
    margin-top: 0.08em;
    color: var(--cep-yellow);
}

.cep-hero__subtitle {
    margin: 27px 0 0;
    font-family: var(--cep-display);
    font-size: clamp(1.45rem, 2.5vw, 2.15rem);
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1.02;
    text-transform: uppercase;
}

.cep-hero__lead {
    max-width: 485px;
    margin: 17px 0 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(0.91rem, 1.1vw, 1.02rem);
    line-height: 1.62;
}

.cep-hero__facts {
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    z-index: 3;
    min-height: 94px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 9, 7, 0.89);
    backdrop-filter: blur(5px);
}

.cep-hero__facts-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 94px;
    align-items: center;
}

.cep-hero__facts p {
    display: grid;
    min-width: 0;
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 1px 13px;
    margin: 0;
    padding: 4px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.cep-hero__facts p:first-child {
    padding-left: 0;
}

.cep-hero__facts p:last-child {
    padding-right: 0;
    border-right: 0;
}

.cep-hero__facts p > span {
    grid-row: 1 / 3;
    color: var(--cep-yellow);
    font-family: var(--cep-display);
    font-size: 2.25rem;
    line-height: 1;
    text-align: center;
}

.cep-hero__facts strong,
.cep-hero__facts small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cep-hero__facts strong {
    align-self: end;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cep-hero__facts small {
    align-self: start;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.67rem;
}

/* Offers */
.cep-offers {
    background: var(--cep-paper);
}

.cep-offers__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.cep-offer {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    scroll-margin-top: calc(var(--cep-header-height) + 24px);
    border: 1px solid var(--cep-line);
    border-radius: var(--cep-radius);
    background: rgba(255, 255, 255, 0.48);
    transition: border-color 180ms ease, transform 180ms ease;
}

.cep-offer:hover {
    border-color: #a8a294;
    transform: translateY(-4px);
}

.cep-offer__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 2px 2px 0 0;
    background: #cbc7bb;
}

.cep-offer__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 9, 7, 0.25), transparent 44%);
    content: "";
}

.cep-offer__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.cep-offer:hover .cep-offer__media img {
    transform: scale(1.035);
}

.cep-offer__badge {
    position: relative;
    z-index: 2;
    display: grid;
    width: 48px;
    height: 48px;
    margin: -24px 0 0 18px;
    place-items: center;
    border: 2px solid var(--cep-paper);
    border-radius: var(--cep-radius);
    background: var(--cep-yellow);
    color: var(--cep-black);
    font-family: var(--cep-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.cep-offer__body {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.cep-offer h3 {
    min-height: 2em;
    font-size: clamp(1.45rem, 1.8vw, 1.8rem);
    line-height: 0.98;
    text-transform: uppercase;
}

.cep-offer__body > p {
    margin: 12px 0 20px;
    color: var(--cep-muted);
    font-size: 0.78rem;
    line-height: 1.62;
}

.cep-offer__body > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 10px 12px;
    border: 1px solid #9f9b90;
    border-radius: var(--cep-radius);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.cep-offer__body > a:hover {
    border-color: var(--cep-yellow);
    background: var(--cep-yellow);
}

/* Event cards */
.cep-events,
.cep-latest-posts {
    width: 100%;
}

.cep-events__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.cep-event-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--cep-radius);
    background: var(--cep-black-soft);
    color: var(--cep-white);
    transition: border-color 180ms ease, transform 180ms ease;
}

.cep-event-card:hover {
    border-color: rgba(247, 191, 0, 0.75);
    transform: translateY(-3px);
}

.cep-event-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #24251f;
}

.cep-event-card__media::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 9, 7, 0.4), transparent 52%);
    content: "";
}

.cep-event-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.cep-event-card:hover .cep-event-card__image {
    transform: scale(1.035);
}

.cep-event-card__date {
    z-index: 2;
    display: flex;
    width: 64px;
    min-height: 70px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 18px 18px 0;
    padding: 7px 5px;
    border-radius: 2px;
    background: var(--cep-yellow);
    color: var(--cep-black);
    font-family: var(--cep-display);
    font-weight: 700;
    line-height: 0.92;
    text-align: center;
    text-transform: uppercase;
}

.cep-event-card.has-media .cep-event-card__date {
    position: absolute;
    top: 0;
    left: 0;
}

.cep-event-card__date-day {
    font-size: 1.75rem;
}

.cep-event-card__date-month {
    margin-top: 3px;
    font-size: 0.88rem;
}

.cep-event-card__date-year {
    margin-top: 4px;
    font-family: var(--cep-body);
    font-size: 0.55rem;
    font-weight: 800;
}

.cep-event-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.cep-event-card__title {
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
    line-height: 0.98;
    text-transform: uppercase;
}

.cep-event-card__title a {
    color: inherit;
    text-decoration: none;
}

.cep-event-card__title a:hover {
    color: var(--cep-yellow);
}

.cep-event-card__excerpt {
    margin: 10px 0 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.55;
}

.cep-event-card__location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: auto 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.72rem;
}

.cep-event-card__location span {
    color: var(--cep-yellow);
    font-size: 1.05rem;
}

.cep-events__empty,
.cep-latest-posts__empty,
.cep-empty-state {
    margin: 0;
    padding: 34px;
    border: 1px solid currentColor;
    border-radius: var(--cep-radius);
    color: inherit;
    font-size: 0.92rem;
    text-align: center;
    opacity: 0.76;
}

.cep-events__pagination,
.cep-pagination {
    margin-top: 40px;
}

.cep-events__pagination .page-numbers,
.cep-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cep-events__pagination a,
.cep-events__pagination span,
.cep-pagination a,
.cep-pagination span {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--cep-line);
    border-radius: var(--cep-radius);
    text-decoration: none;
}

.cep-events__pagination .current,
.cep-pagination .current,
.cep-events__pagination a:hover,
.cep-pagination a:hover {
    border-color: var(--cep-yellow);
    background: var(--cep-yellow);
    color: var(--cep-black);
}

/* Gallery preview */
.cep-gallery-preview {
    padding-bottom: clamp(64px, 7vw, 94px);
}

.cep-gallery-preview__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.cep-gallery-preview__item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--cep-radius);
    background: #c8c5bc;
}

.cep-gallery-preview__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 480ms cubic-bezier(0.2, 0.65, 0.3, 1), filter 180ms ease;
}

.cep-gallery-preview__item:hover img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
}

.cep-gallery-preview__item > span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 8px;
    border-radius: 2px;
    background: var(--cep-yellow);
    color: var(--cep-black);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Blog cards */
.cep-blog-home {
    padding-top: 0;
}

.cep-latest-posts__grid,
.cep-blog-query .wp-block-post-template,
.cep-content-shell .wp-block-post-template {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.cep-post-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    margin: 0 !important;
    border: 1px solid var(--cep-line);
    border-radius: var(--cep-radius);
    background: rgba(255, 255, 255, 0.46);
    transition: border-color 180ms ease, transform 180ms ease;
}

.cep-post-card:hover {
    border-color: #a8a294;
    transform: translateY(-3px);
}

.cep-post-card__media,
.cep-post-card > .wp-block-post-featured-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    margin: 0 !important;
    background: #cac7bd;
}

.cep-post-card__media img,
.cep-post-card > .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 480ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.cep-post-card:hover .cep-post-card__media img,
.cep-post-card:hover > .wp-block-post-featured-image img {
    transform: scale(1.035);
}

.cep-post-card__body,
.cep-post-card > *:not(.wp-block-post-featured-image) {
    padding-inline: 20px;
}

.cep-post-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding-block: 20px 22px;
}

.cep-post-card__body > * {
    margin-block-start: 0;
}

.cep-post-card__body time,
.cep-post-card .wp-block-post-date {
    margin: 0 0 9px;
    color: var(--cep-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cep-post-card h2,
.cep-post-card h3,
.cep-post-card .wp-block-post-title {
    margin: 0;
    font-size: clamp(1.7rem, 2.4vw, 2.3rem) !important;
    line-height: 0.98;
    text-transform: uppercase;
}

.cep-post-card h2 a,
.cep-post-card h3 a,
.cep-post-card .wp-block-post-title a {
    color: inherit;
    text-decoration: none;
}

.cep-post-card h2 a:hover,
.cep-post-card h3 a:hover,
.cep-post-card .wp-block-post-title a:hover {
    color: #8c6a00;
}

.cep-post-card__body > p,
.cep-post-card .wp-block-post-excerpt {
    margin: 12px 0 20px;
    color: var(--cep-muted);
    font-size: 0.8rem;
    line-height: 1.58;
}

.cep-post-card .wp-block-post-excerpt__more-text {
    margin-top: 15px;
}

.cep-post-card__read,
.cep-post-card .wp-block-post-excerpt__more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: var(--cep-ink);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.cep-post-card__read:hover,
.cep-post-card .wp-block-post-excerpt__more-link:hover {
    color: #896800;
}

/* Booking section shell */
.cep-booking__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(560px, 1.28fr);
    align-items: start;
    gap: clamp(42px, 6vw, 88px);
}

.cep-booking__intro {
    position: sticky;
    top: calc(var(--cep-header-height) + 32px);
}

.cep-booking__intro h2 {
    max-width: 520px;
    font-size: clamp(3rem, 5.2vw, 5.15rem);
    text-transform: uppercase;
}

.cep-booking__intro > p:not(.cep-eyebrow, .cep-booking__direct) {
    max-width: 500px;
    margin: 24px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.94rem;
}

.cep-booking__intro ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.cep-booking__intro li {
    position: relative;
    padding: 10px 0 10px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
}

.cep-booking__intro li::before {
    position: absolute;
    top: 12px;
    left: 0;
    color: var(--cep-yellow);
    content: "→";
    font-weight: 800;
}

.cep-booking__direct {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 30px 0 0;
    font-size: 0.78rem;
}

.cep-booking__direct a {
    color: var(--cep-yellow);
    font-family: var(--cep-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.cep-booking__form {
    padding: clamp(25px, 3.8vw, 48px);
    border-radius: var(--cep-radius);
    background: var(--cep-paper);
    color: var(--cep-ink);
}

.cep-plugin-fallback {
    padding: 28px;
    border: 1px solid var(--cep-line);
    background: var(--cep-white);
}

/* Contact */
.cep-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(42px, 7vw, 100px);
}

.cep-contact__copy h2 {
    font-size: clamp(3.3rem, 6.3vw, 6.25rem);
    text-transform: uppercase;
}

.cep-contact__copy > p:not(.cep-eyebrow) {
    max-width: 540px;
    margin: 24px 0;
    color: var(--cep-muted);
}

.cep-contact__copy dl {
    margin: 28px 0 32px;
    border-top: 1px solid var(--cep-line);
}

.cep-contact__copy dl > div {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--cep-line);
}

.cep-contact__copy dt {
    color: var(--cep-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cep-contact__copy dd {
    font-size: 0.82rem;
    font-weight: 700;
}

.cep-contact__copy dd a {
    text-decoration: none;
}

.cep-contact__map {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--cep-radius);
    background: #b9b8ad;
    color: var(--cep-white);
}

.cep-contact__map::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 9, 7, 0.66), transparent 52%);
    content: "";
}

.cep-contact__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.cep-contact__map:hover img {
    transform: scale(1.025);
}

.cep-contact__map > span {
    position: absolute;
    right: 24px;
    bottom: 22px;
    left: 24px;
    z-index: 2;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0 13px;
}

.cep-contact__map b {
    display: grid;
    width: 42px;
    height: 42px;
    grid-row: 1 / 3;
    place-items: center;
    border-radius: 50%;
    background: var(--cep-yellow);
    color: var(--cep-black);
    font-size: 1.4rem;
}

.cep-contact__map strong {
    align-self: end;
    font-family: var(--cep-display);
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
}

.cep-contact__map small {
    align-self: start;
    color: rgba(255, 255, 255, 0.75);
}

/* Page and archive heroes */
.cep-page-hero {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding-block: clamp(80px, 10vw, 142px) clamp(68px, 8vw, 108px);
    background:
        linear-gradient(115deg, rgba(247, 191, 0, 0.08), transparent 33%),
        repeating-linear-gradient(135deg, transparent 0 28px, rgba(255, 255, 255, 0.018) 28px 29px),
        var(--cep-black);
    color: var(--cep-white);
}

.cep-blog-archive,
.cep-page-hero--blog,
.cep-page-hero--events,
.cep-page-hero--gallery {
    isolation: isolate;
}

.cep-page-hero::after {
    position: absolute;
    right: -7vw;
    bottom: -1px;
    width: 44vw;
    height: 5px;
    background: var(--cep-yellow);
    content: "";
    transform: skewX(-35deg);
}

.cep-page-hero h1 {
    max-width: 980px;
    font-size: clamp(3.9rem, 8vw, 8rem);
    line-height: 0.86;
    text-transform: uppercase;
}

.cep-page-hero .cep-eyebrow {
    margin-bottom: 14px;
}

.cep-page-hero > .cep-shell > p:last-child {
    max-width: 680px;
    margin: 25px 0 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
}

.cep-archive__content {
    padding-block: clamp(64px, 8vw, 108px) !important;
}

.cep-event-archive .cep-event-card {
    box-shadow: 0 9px 24px rgba(8, 9, 7, 0.08);
}

.cep-event-archive .cep-events__pagination a,
.cep-event-archive .cep-events__pagination span {
    color: var(--cep-ink);
}

/* Gallery page and video */
#video,
#cep-fotografije {
    scroll-margin-top: calc(var(--cep-header-height) + 18px);
}

.cep-video-section .cep-section-title {
    align-items: end;
}

.cep-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--cep-radius);
    background: #000;
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.35);
}

.cep-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.cep-gallery-section {
    padding-top: clamp(70px, 8vw, 104px);
}

.cep-media-gallery {
    width: min(var(--cep-shell), calc(100% - (var(--cep-gutter) * 2)));
    margin-inline: auto;
}

.cep-media-gallery__grid {
    columns: 4 260px;
    column-gap: 12px;
}

.cep-media-gallery__item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 12px;
    break-inside: avoid;
    border-radius: var(--cep-radius);
    background: #cbc8be;
    vertical-align: top;
}

.cep-media-gallery__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: inherit;
}

.cep-media-gallery__image {
    width: 100%;
    height: auto;
    aspect-ratio: var(--cep-gallery-ratio, auto);
    object-fit: cover;
    transition: filter 180ms ease, transform 480ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.cep-media-gallery__link:hover .cep-media-gallery__image {
    filter: saturate(1.08) contrast(1.025);
    transform: scale(1.025);
}

.cep-media-gallery__zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: var(--cep-radius);
    background: rgba(8, 9, 7, 0.7);
    color: var(--cep-white);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.cep-media-gallery__link:hover .cep-media-gallery__zoom,
.cep-media-gallery__link:focus-visible .cep-media-gallery__zoom {
    opacity: 1;
    transform: translateY(0);
}

.cep-media-gallery__empty {
    padding: 52px 24px;
    border: 1px solid var(--cep-line);
    text-align: center;
}

.cep-media-gallery__return {
    display: inline-block;
    margin-top: 14px;
    font-weight: 800;
}

.cep-gallery-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid var(--cep-line);
}

.cep-gallery-pagination__previous,
.cep-gallery-pagination__more {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    border: 1px solid var(--cep-ink);
    border-radius: var(--cep-radius);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
}

.cep-gallery-pagination__previous {
    justify-self: start;
}

.cep-gallery-pagination__more {
    justify-self: end;
    border-color: var(--cep-yellow);
    background: var(--cep-yellow);
}

.cep-gallery-pagination__previous:hover,
.cep-gallery-pagination__more:hover {
    border-color: var(--cep-black);
    background: var(--cep-black);
    color: var(--cep-white);
}

.cep-gallery-pagination__status {
    color: var(--cep-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

/* Single events and editorial pages */
.cep-event-single {
    padding-block: clamp(72px, 9vw, 120px);
    background: var(--cep-paper);
}

.cep-event-single__header {
    margin-bottom: 46px !important;
}

.cep-event-single__header h1 {
    max-width: 980px;
    font-size: clamp(4rem, 8.7vw, 8.5rem);
    line-height: 0.86;
    text-transform: uppercase;
}

.cep-event-details {
    display: grid;
    max-width: 820px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
    border-block: 1px solid var(--cep-line);
}

.cep-event-details p {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 16px 20px 16px 0;
}

.cep-event-details p + p {
    padding-left: 20px;
    border-left: 1px solid var(--cep-line);
}

.cep-event-details span {
    color: var(--cep-muted);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.cep-event-details time,
.cep-event-details strong {
    font-family: var(--cep-display);
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
}

.cep-event-single__image {
    width: min(var(--cep-shell), calc(100% - (var(--cep-gutter) * 2)));
    max-width: var(--cep-shell) !important;
    overflow: hidden;
    aspect-ratio: 16 / 8.5;
    margin: 0 auto !important;
    border-radius: var(--cep-radius);
}

.cep-event-single__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cep-event-single__content {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    padding-top: 48px !important;
}

.cep-event-single__content .wp-block-post-content,
.cep-entry__content .wp-block-post-content {
    color: #30312d;
    font-size: 1.03rem;
    line-height: 1.78;
}

.cep-event-single__content .wp-block-post-content > * + *,
.cep-entry__content .wp-block-post-content > * + * {
    margin-top: 1.45em;
}

.cep-event-single__content .wp-block-post-content h2,
.cep-entry__content .wp-block-post-content h2 {
    margin-top: 1.3em;
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    text-transform: uppercase;
}

.cep-event-single__content .wp-block-post-content h3,
.cep-entry__content .wp-block-post-content h3 {
    margin-top: 1.4em;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.cep-event-single__content .wp-block-buttons {
    margin-top: 36px;
}

.cep-entry__back {
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--cep-line);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cep-entry__back a {
    text-decoration: none;
}

.cep-single,
.cep-page-entry {
    padding-block: clamp(72px, 9vw, 120px) !important;
    background: var(--cep-paper);
}

.cep-entry__header {
    width: min(840px, calc(100% - (var(--cep-gutter) * 2)));
    max-width: 840px !important;
    margin: 0 auto 38px !important;
}

.cep-entry__header .wp-block-post-title {
    margin: 0;
    font-size: clamp(3.6rem, 8vw, 7.2rem) !important;
    line-height: 0.88;
    text-transform: uppercase;
}

.cep-entry__date {
    margin: 0 0 14px;
    color: var(--cep-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cep-entry__header .cep-entry__date {
    margin-top: 17px;
}

.cep-entry__image {
    width: min(var(--cep-shell), calc(100% - (var(--cep-gutter) * 2)));
    max-width: var(--cep-shell) !important;
    overflow: hidden;
    aspect-ratio: 16 / 8.5;
    margin: 0 auto 48px !important;
    border-radius: var(--cep-radius);
}

.cep-entry__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cep-entry__content {
    width: min(840px, calc(100% - (var(--cep-gutter) * 2)));
    max-width: 840px !important;
    margin: 0 auto !important;
}

.cep-page-entry .cep-entry__content {
    padding-top: 10px !important;
}

.cep-entry__terms {
    margin-top: 42px;
    padding-top: 20px;
    border-top: 1px solid var(--cep-line);
    font-size: 0.75rem;
}

.cep-entry__terms a {
    font-weight: 800;
}

.cep-content-shell,
.cep-not-found {
    padding-block: clamp(72px, 9vw, 120px) !important;
}

.cep-content-shell > .wp-block-query-title,
.cep-not-found h1 {
    margin-bottom: 42px;
    font-size: clamp(3.8rem, 8vw, 7.5rem) !important;
    text-transform: uppercase;
}

.cep-not-found {
    min-height: 62vh;
}

.cep-not-found .cep-kicker {
    font-family: var(--cep-display);
    font-size: 1.4rem;
}

/* Conversion strip and footer */
.cep-conversion {
    margin: 0;
    background: var(--cep-yellow);
    color: var(--cep-black);
}

.cep-conversion__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 0.9fr);
    min-height: 112px;
    align-items: stretch;
}

.cep-conversion__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid rgba(8, 9, 7, 0.27);
    text-decoration: none;
    transition: background-color 160ms ease;
}

.cep-conversion__item:hover {
    background: rgba(255, 255, 255, 0.18);
}

.cep-conversion__icon {
    display: grid;
    width: 48px;
    height: 48px;
    grid-row: 1;
    place-items: center;
    font-family: var(--cep-display);
    font-size: 2.1rem;
    line-height: 1;
}

.cep-conversion__item > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.cep-conversion__item strong {
    font-family: var(--cep-display);
    font-size: 1.55rem;
    line-height: 1;
    text-transform: uppercase;
}

.cep-conversion__item small {
    margin-top: 6px;
    font-size: 0.68rem;
    line-height: 1.35;
}

.cep-conversion__brush {
    position: relative;
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    margin: 0;
    padding: 18px 32px;
    color: var(--cep-white);
    text-align: center;
    transform: rotate(-1deg);
}

.cep-conversion__brush::before {
    position: absolute;
    inset: 13px 0;
    z-index: -1;
    background: var(--cep-black);
    clip-path: polygon(4% 8%, 19% 2%, 35% 7%, 52% 1%, 70% 6%, 96% 2%, 100% 23%, 97% 47%, 100% 72%, 95% 96%, 70% 91%, 52% 99%, 32% 93%, 7% 99%, 0 79%, 4% 54%, 0 28%);
    content: "";
}

.cep-conversion__brush span,
.cep-conversion__brush strong {
    font-family: var(--cep-display);
    font-size: 1.7rem;
    line-height: 0.9;
    text-transform: uppercase;
}

.cep-conversion__brush strong {
    color: var(--cep-yellow);
    font-size: 2rem;
}

.cep-footer {
    margin: 0 !important;
    padding: 0 !important;
    background: var(--cep-black);
    color: var(--cep-white);
}

.cep-footer__main {
    display: grid;
    grid-template-columns: 1.05fr 1.1fr 0.85fr 1.05fr 1.15fr;
    gap: 0;
    padding-block: 52px 42px !important;
}

.cep-footer__brand,
.cep-footer__column {
    min-width: 0;
    padding: 0 26px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.cep-footer__brand {
    padding-left: 0;
}

.cep-footer__column:last-child {
    padding-right: 0;
    border-right: 0;
}

.cep-footer__brand img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.cep-footer__column h2 {
    margin: 0 0 17px;
    color: var(--cep-white);
    font-size: 1.28rem;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.cep-footer__column p,
.cep-footer__column address,
.cep-footer__column li {
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.72rem;
    font-style: normal;
    line-height: 1.72;
}

.cep-footer__column p {
    margin: 12px 0 0;
}

.cep-footer__note {
    margin-top: 18px !important;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.cep-footer__column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cep-footer__column li + li {
    margin-top: 4px;
}

.cep-footer__column a {
    color: inherit;
    text-decoration: none;
}

.cep-footer__column a:hover {
    color: var(--cep-yellow);
}

.cep-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cep-footer__social a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--cep-radius);
    color: var(--cep-white);
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cep-footer__map {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 0 10px;
    min-height: 88px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--cep-radius);
    background: rgba(255, 255, 255, 0.05);
}

.cep-footer__map > span {
    grid-row: 1 / 3;
    color: var(--cep-yellow);
    font-size: 1.8rem;
}

.cep-footer__map strong {
    align-self: end;
    color: var(--cep-white);
    font-size: 0.75rem;
    text-transform: uppercase;
}

.cep-footer__map small {
    align-self: start;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.58rem;
}

.cep-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 16px 22px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.cep-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.62rem;
}

.cep-footer__bottom a {
    color: inherit;
}

.cep-whatsapp {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 900;
    display: inline-flex;
    width: 58px;
    height: 58px;
    min-width: 58px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: var(--cep-white);
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.26),
        inset 0 0 0 1px rgba(255, 255, 255, 0.22);
    text-decoration: none;
    touch-action: manipulation;
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.cep-whatsapp svg {
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
    fill: currentColor;
}

.cep-whatsapp:hover {
    background: #1fbd59;
    color: var(--cep-white);
    box-shadow:
        0 15px 34px rgba(0, 0, 0, 0.32),
        inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    transform: translateY(-2px) scale(1.03);
}

.cep-whatsapp:active {
    transform: translateY(0) scale(0.97);
}

/* Reveal motion */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cep-offers__grid [data-reveal]:nth-child(2),
.cep-gallery-preview__grid [data-reveal]:nth-child(2) {
    transition-delay: 50ms;
}

.cep-offers__grid [data-reveal]:nth-child(3),
.cep-gallery-preview__grid [data-reveal]:nth-child(3) {
    transition-delay: 100ms;
}

.cep-offers__grid [data-reveal]:nth-child(4),
.cep-gallery-preview__grid [data-reveal]:nth-child(4) {
    transition-delay: 150ms;
}

.cep-offers__grid [data-reveal]:nth-child(5),
.cep-gallery-preview__grid [data-reveal]:nth-child(5) {
    transition-delay: 200ms;
}

.cep-gallery-preview__grid [data-reveal]:nth-child(6) {
    transition-delay: 250ms;
}

/* Tablet */
@media (min-width: 701px) {
    .cep-hero {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .cep-hero__media img {
        width: 100%;
        max-width: 100%;
        object-position: 50% 54%;
        scale: 1;
    }

    .cep-hero__facts {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-bottom: 13px;
    }
}

@media (min-width: 961px) and (max-height: 850px) {
    .cep-hero__inner {
        padding-block: 40px 42px !important;
    }

    .cep-hero__copy {
        width: min(760px, 62vw);
    }

    .cep-hero__location {
        margin-bottom: 12px;
    }

    .cep-hero h1 {
        font-size: clamp(5.3rem, 8vw, 7.6rem);
        line-height: 0.8;
    }

    .cep-hero__subtitle {
        margin-top: 18px;
    }

    .cep-hero__lead {
        margin: 13px 0 18px;
    }
}

@media (max-width: 1180px) {
    .cep-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
        display: none !important;
    }

    .cep-nav .wp-block-navigation__responsive-container-open {
        display: inline-flex !important;
        margin-left: auto;
    }

    .cep-nav .wp-block-navigation__responsive-container.is-menu-open {
        position: fixed;
        inset: 0;
        z-index: 100000;
        display: flex !important;
        width: 100%;
        height: 100dvh;
        padding: 24px;
        background: var(--cep-black) !important;
        color: var(--cep-white) !important;
    }

    .cep-nav .wp-block-navigation__responsive-dialog,
    .cep-nav .wp-block-navigation__responsive-container-content {
        width: 100%;
        height: 100%;
    }

    .cep-nav .wp-block-navigation__responsive-container-close {
        position: absolute;
        top: 18px;
        right: 18px;
        display: inline-flex;
    }

    .cep-nav .wp-block-navigation__responsive-container-content {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        padding: 70px 0 24px !important;
    }

    .cep-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
        display: flex !important;
        width: min(620px, 100%);
        align-items: stretch !important;
        flex-direction: column;
        gap: 0;
    }

    .cep-nav .wp-block-navigation-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .cep-nav .wp-block-navigation-item__content {
        width: 100%;
        min-height: 48px;
        padding: 5px 0;
        font-family: var(--cep-display);
        font-size: clamp(1.45rem, 3.2vh, 2.45rem);
        letter-spacing: 0;
        line-height: 1;
    }

    .cep-nav .wp-block-navigation-item__content::after {
        display: none;
    }

    .cep-nav .cep-nav-cta {
        margin-top: 14px;
        border: 0;
    }

    .cep-nav .cep-nav-cta .wp-block-navigation-item__content {
        width: auto;
        min-height: 52px;
        justify-content: center;
        padding: 0 20px;
        font-family: var(--cep-body);
        font-size: 0.74rem;
    }

    .cep-offers__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cep-footer__main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .cep-footer__brand {
        grid-column: 1 / -1;
        padding: 0 0 30px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .cep-footer__brand img {
        width: 120px;
        height: 120px;
    }

    .cep-footer__column:nth-of-type(1) {
        padding-left: 0;
    }
}

@media (min-width: 1181px) {
    .cep-nav .wp-block-navigation__responsive-container {
        position: static !important;
        display: block !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .cep-nav .wp-block-navigation__responsive-container-open,
    .cep-nav .wp-block-navigation__responsive-container-close {
        display: none !important;
    }
}

@media (max-width: 960px) {
    .cep-hero__copy {
        width: min(620px, 76vw);
    }

    .cep-hero__facts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 9px !important;
    }

    .cep-hero__facts p:nth-child(2) {
        border-right: 0;
    }

    .cep-hero__facts p:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .cep-hero__facts p:first-child,
    .cep-hero__facts p:nth-child(3) {
        padding-left: 0;
    }

    .cep-hero__facts p:nth-child(2),
    .cep-hero__facts p:last-child {
        padding-right: 0;
    }

    .cep-hero__facts,
    .cep-hero__facts-grid {
        min-height: 164px;
    }

    .cep-hero__inner {
        min-height: 570px;
        padding-bottom: 176px !important;
    }

    .cep-events__grid,
    .cep-latest-posts__grid,
    .cep-blog-query .wp-block-post-template,
    .cep-content-shell .wp-block-post-template {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cep-gallery-preview__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cep-booking__layout {
        grid-template-columns: 1fr;
    }

    .cep-booking__intro {
        position: static;
    }

    .cep-contact__grid {
        grid-template-columns: 1fr;
    }

    .cep-contact__copy {
        max-width: 660px;
    }

    .cep-contact__map {
        aspect-ratio: 16 / 8.7;
    }

    .cep-conversion__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cep-conversion__brush {
        grid-column: 1 / -1;
        min-height: 90px;
    }

    .cep-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cep-footer__brand {
        grid-column: 1 / -1;
    }

    .cep-footer__column {
        padding: 28px 24px;
        border-right: 1px solid rgba(255, 255, 255, 0.13);
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .cep-footer__column:nth-of-type(odd) {
        padding-left: 0;
    }

    .cep-footer__column:nth-of-type(even) {
        padding-right: 0;
        border-right: 0;
    }

    .cep-footer__column:nth-last-child(-n + 2) {
        border-bottom: 0;
    }
}

@media (min-width: 701px) and (max-width: 960px) {
    .cep-hero__inner {
        padding-bottom: 56px !important;
    }
}

@media (max-width: 782px) {
    .admin-bar header.wp-block-template-part {
        top: 46px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    :root {
        --cep-gutter: 16px;
        --cep-header-height: 68px;
    }

    .cep-site-header__inner {
        gap: 18px;
    }

    .cep-logo,
    .cep-logo a,
    .cep-logo img {
        width: 86px !important;
        height: 86px !important;
    }

    .cep-logo {
        flex-basis: 86px;
        transform: translateY(2px);
    }

    .cep-nav .wp-block-navigation__responsive-container.is-menu-open {
        overflow: hidden !important;
        padding:
            16px max(16px, env(safe-area-inset-right))
            max(16px, env(safe-area-inset-bottom))
            max(16px, env(safe-area-inset-left)) !important;
    }

    .cep-nav .is-menu-open :is(
        .wp-block-navigation__responsive-close,
        .wp-block-navigation__responsive-dialog
    ) {
        height: 100% !important;
        min-height: 0 !important;
    }

    .cep-nav .is-menu-open .wp-block-navigation__responsive-container-content {
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        justify-content: flex-start !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        gap: 0 !important;
        padding: 56px 0 16px !important;
    }

    .cep-nav .is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
        width: 100% !important;
        min-width: 0 !important;
        align-items: stretch !important;
        gap: 0 !important;
        row-gap: 0 !important;
    }

    .cep-nav .is-menu-open .wp-block-navigation-item {
        min-width: 0;
        align-items: stretch !important;
    }

    .cep-nav .is-menu-open .wp-block-navigation-item__content {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 7px 0;
        font-size: clamp(1.36rem, 6.8vw, 1.75rem);
        line-height: 1.05;
        white-space: normal;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .cep-nav .is-menu-open .wp-block-navigation-item__label {
        max-width: 100%;
    }

    .cep-nav .is-menu-open .cep-nav-cta {
        margin-top: 12px;
    }

    .cep-nav .is-menu-open .cep-nav-cta .wp-block-navigation-item__content {
        width: 100%;
        min-height: 48px;
        padding-inline: 14px;
    }

    .cep-section {
        padding-block: 66px;
    }

    .cep-section-title {
        margin-bottom: 28px;
    }

    .cep-section-title h2 {
        font-size: clamp(2.5rem, 12vw, 3.65rem);
    }

    .cep-section-title--split {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .cep-section-title--split > p {
        font-size: 0.84rem;
    }

    .cep-outline-link {
        min-height: 44px;
    }

    .cep-hero {
        min-height: 820px;
    }

    .cep-hero__media img {
        object-position: 52% 54%;
    }

    .cep-hero__scrim {
        background:
            linear-gradient(90deg, rgba(4, 5, 3, 0.94), rgba(4, 5, 3, 0.38) 80%),
            linear-gradient(0deg, rgba(4, 5, 3, 0.93) 0%, rgba(4, 5, 3, 0.12) 62%);
    }

    .cep-hero__inner {
        min-height: 820px;
        align-items: flex-start;
        padding-top: 70px !important;
        padding-bottom: 230px !important;
    }

    .cep-hero__copy {
        width: 100%;
    }

    .cep-hero__location {
        margin-bottom: 16px;
        font-size: 0.66rem;
    }

    .cep-hero h1 {
        font-size: clamp(4.15rem, 19vw, 6.15rem);
        line-height: 0.8;
    }

    .cep-hero__subtitle {
        margin-top: 22px;
        font-size: 1.45rem;
    }

    .cep-hero__lead {
        max-width: 430px;
        margin-block: 15px 21px;
        font-size: 0.86rem;
    }

    .cep-hero .cep-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cep-hero .cep-button {
        width: 100%;
    }

    .cep-hero__facts {
        min-height: 196px;
    }

    .cep-hero__facts-grid {
        min-height: 196px;
    }

    .cep-hero__facts p {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 1px 8px;
        padding: 11px 10px;
    }

    .cep-hero__facts p > span {
        font-size: 1.6rem;
    }

    .cep-hero__facts strong {
        font-size: 0.6rem;
    }

    .cep-hero__facts small {
        font-size: 0.55rem;
    }

    .cep-offers__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .cep-offer__body {
        padding: 15px;
    }

    .cep-offer h3 {
        font-size: 1.48rem;
    }

    .cep-offer__body > p {
        font-size: 0.72rem;
    }

    .cep-event-card__body {
        padding: 18px;
    }

    .cep-gallery-preview__grid {
        display: flex;
        overflow-x: auto;
        margin-inline: calc(var(--cep-gutter) * -1);
        padding: 0 var(--cep-gutter) 10px;
        scroll-padding-inline: var(--cep-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .cep-gallery-preview__item {
        min-width: min(72vw, 310px);
        flex: 0 0 min(72vw, 310px);
        scroll-snap-align: start;
    }

    .cep-booking__form {
        padding: 22px 18px;
    }

    .cep-contact__copy dl > div {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .cep-contact__map {
        aspect-ratio: 4 / 3;
    }

    .cep-page-hero {
        padding-block: 72px 66px;
    }

    .cep-page-hero h1 {
        font-size: clamp(3.55rem, 17vw, 5.4rem);
    }

    .cep-page-hero > .cep-shell > p:last-child {
        font-size: 0.86rem;
    }

    .cep-video-frame {
        width: calc(100% + (var(--cep-gutter) * 2));
        margin-left: calc(var(--cep-gutter) * -1);
        border-inline: 0;
        border-radius: 0;
    }

    .cep-media-gallery__grid {
        columns: 2 145px;
        column-gap: 8px;
    }

    .cep-media-gallery__item {
        margin-bottom: 8px;
    }

    .cep-media-gallery__zoom {
        right: 7px;
        bottom: 7px;
        width: 34px;
        height: 34px;
        opacity: 1;
        transform: none;
    }

    .cep-gallery-pagination {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .cep-gallery-pagination__status {
        grid-column: 1 / -1;
        grid-row: 1;
        text-align: center;
    }

    .cep-gallery-pagination__previous,
    .cep-gallery-pagination__more {
        width: 100%;
        justify-content: center;
        font-size: 0.62rem;
    }

    .cep-event-single__header h1 {
        font-size: clamp(3.7rem, 17vw, 6rem);
    }

    .cep-event-details {
        grid-template-columns: 1fr;
    }

    .cep-event-details p + p {
        padding-left: 0;
        border-top: 1px solid var(--cep-line);
        border-left: 0;
    }

    .cep-event-single__image {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    .cep-entry__header,
    .cep-entry__content {
        width: calc(100% - 32px);
    }

    .cep-entry__image {
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 0;
    }

    .cep-conversion__grid {
        grid-template-columns: 1fr;
    }

    .cep-conversion__item {
        min-height: 88px;
        padding: 17px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(8, 9, 7, 0.23);
    }

    .cep-conversion__brush {
        grid-column: auto;
    }

    .cep-footer__main {
        grid-template-columns: 1fr;
        padding-block: 42px 24px !important;
    }

    .cep-footer__brand {
        grid-column: auto;
        padding-bottom: 28px;
    }

    .cep-footer__column,
    .cep-footer__column:nth-of-type(odd),
    .cep-footer__column:nth-of-type(even) {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    }

    .cep-footer__column:last-child {
        border-bottom: 0;
    }

    .cep-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .cep-whatsapp {
        right: max(14px, env(safe-area-inset-right));
        bottom: max(14px, env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
    }
}

@media (max-width: 700px) and (max-height: 640px) {
    .cep-nav .wp-block-navigation__responsive-container.is-menu-open {
        padding:
            10px 12px max(10px, env(safe-area-inset-bottom)) !important;
    }

    .cep-nav .wp-block-navigation__responsive-container-close {
        top: 10px;
        right: 12px;
    }

    .cep-nav .is-menu-open .wp-block-navigation__responsive-container-content {
        padding: 52px 0 10px !important;
    }

    .cep-nav .is-menu-open .wp-block-navigation-item__content {
        min-height: 42px;
        padding-block: 5px;
    }

    .cep-nav .is-menu-open .cep-nav-cta {
        margin-top: 8px;
    }

    .cep-nav .is-menu-open .cep-nav-cta .wp-block-navigation-item__content {
        min-height: 44px;
    }
}

@media (max-width: 520px) {
    .cep-offers__grid,
    .cep-events__grid,
    .cep-latest-posts__grid,
    .cep-blog-query .wp-block-post-template,
    .cep-content-shell .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }

    .cep-offer h3 {
        min-height: 0;
        font-size: 1.8rem;
    }

    .cep-media-gallery__grid {
        columns: 1;
    }

    .cep-contact__map > span {
        right: 16px;
        bottom: 15px;
        left: 16px;
    }
}

@media (max-width: 380px) {
    .cep-hero h1 {
        font-size: 3.75rem;
    }

    .cep-hero__subtitle {
        font-size: 1.25rem;
    }

    .cep-hero__lead {
        font-size: 0.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .cep-hero__media img {
        scale: 1;
    }
}

@media (scripting: none) {
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (forced-colors: active) {
    .cep-button,
    .wp-block-button__link,
    .cep-nav .cep-nav-cta .wp-block-navigation-item__content,
    .cep-event-card__date,
    .cep-offer__badge,
    .cep-whatsapp {
        border: 2px solid ButtonText;
    }
}
