/*
Theme Name:     Roman Events - Astra Child
Description:    Astra child theme.
Author:         Me
Template:       astra
Version:        0.9.1
*/

@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/dm-serif-display-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "DM Serif Display";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("assets/fonts/dm-serif-display-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("assets/fonts/manrope-latin-ext-variable.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("assets/fonts/manrope-latin-variable.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --color-navy-950: #061a2b;
    --color-navy-900: #08253b;
    --color-navy-700: #173d5c;
    --color-ice-500: #35c7ee;
    --color-ice-100: #eaf8fc;
    --color-gold-500: #d4a65e;
    --color-paper: #ffffff;
    --color-cloud: #f4f8fb;
    --color-text: #102e42;
    --color-muted: #607487;
    --radius-card: 18px;
    --radius-button: 999px;
    --container: 1240px;
    --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.re-home,
.re-home * {
    box-sizing: border-box;
}

.re-home {
    margin: 0;
    color: var(--color-text);
    background: var(--color-paper);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
}

.entry-content > .wp-block-group.re-home {
    max-width: none;
    padding: 0;
}

.re-home > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
}

.re-home :where(h1, h2, h3) {
    color: inherit;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

.re-home h1 {
    max-width: 14ch;
    font-size: clamp(2.75rem, 5.8vw, 5.5rem);
}

.re-home h2 {
    font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.re-home p {
    max-width: 68ch;
}

.re-home .re-container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.re-home .re-section {
    padding-block: clamp(48px, 7vw, 96px);
}

.re-home .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-button);
    color: var(--color-text);
    background: var(--color-ice-500);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.re-home :where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--color-ice-500);
    outline-offset: 4px;
    box-shadow: 0 0 0 7px var(--color-navy-950);
}

.re-home .wp-block-cover.re-hero.alignfull {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    min-height: 680px;
    margin: 0;
    padding: 128px 0 56px;
    overflow: hidden;
    color: var(--color-paper);
    background-color: var(--color-navy-950);
}

.re-home .re-hero > .wp-block-cover__image-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

.re-home .wp-block-cover.re-hero > .wp-block-cover__background.has-background-dim {
    position: absolute;
    inset: 0;
    opacity: 1;
    /* Cover saves an inline background color; the approved hero uses a gradient. */
    background: linear-gradient(90deg, rgba(6, 26, 43, 0.97) 0%, rgba(6, 26, 43, 0.87) 34%, rgba(6, 26, 43, 0.38) 68%, rgba(6, 26, 43, 0.1) 100%) !important;
}

.re-home .re-hero > .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
    width: 100%;
    color: inherit;
}

.re-home .re-hero-content {
    margin-block: 0;
}

/* Astra colors Cover paragraphs directly; keep the hero's own foreground. */
.re-home .wp-block-cover.re-hero .re-eyebrow,
.re-home .wp-block-cover.re-hero .re-hero-description,
.re-home .wp-block-cover.re-hero .re-highlight-title {
    color: var(--color-paper);
}

.re-home .wp-block-cover.re-hero .re-highlight-copy {
    color: #d5e0e9;
}

.re-home .re-eyebrow {
    margin: 0 0 18px;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.3em;
}

.re-home .re-hero-title {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: clamp(2.625rem, 4.2vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.re-home .re-hero .re-accent {
    color: var(--color-ice-500);
}

.re-home .re-hero-description {
    max-width: 600px;
    margin: 0 0 28px;
    font-size: clamp(1.0625rem, 1.5vw, 1.375rem);
    line-height: 1.5;
}

.re-home .re-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
}

.re-home .re-hero-actions .wp-block-button {
    margin: 0;
}

.re-home .re-hero-actions .wp-block-button__link {
    min-height: 54px;
    padding-inline: 28px;
}

.re-home .wp-block-button__link:hover {
    color: var(--color-text);
    background-color: var(--color-ice-100);
}

.re-home .re-hero .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link {
    border-color: var(--color-ice-100);
    color: var(--color-paper);
    background: transparent;
}

.re-home .re-hero .wp-block-buttons .wp-block-button.is-style-outline > .wp-block-button__link:hover {
    border-color: var(--color-ice-500);
    background: rgba(53, 199, 238, 0.12);
}

.re-home .re-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 760px;
    margin: 48px 0 0;
}

.re-home .re-highlights > .wp-block-column {
    position: relative;
    min-width: 0;
    margin: 0;
    padding-left: 44px;
}

.re-home .re-highlights > .wp-block-column::before {
    position: absolute;
    top: 2px;
    left: 0;
    width: 30px;
    height: 30px;
    content: "";
    background: var(--color-ice-500);
    mask: center / contain no-repeat 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.7'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m13-5v5h-5M4 20 20 4M13 4h7v7M4 13v7h7'/%3E%3C/svg%3E");
}

.re-home .re-highlights > .wp-block-column:nth-child(2)::before {
    mask-image: 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.7'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.re-home .re-highlights > .wp-block-column:nth-child(3)::before {
    mask-image: 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.7' stroke-linecap='round'%3E%3Cpath d='M12 2v20M3.34 7l17.32 10M3.34 17 20.66 7M8 4l4 3 4-3M8 20l4-3 4 3M3 11l5-2-1-5M21 13l-5 2 1 5M3 13l5 2-1 5M21 11l-5-2 1-5'/%3E%3C/svg%3E");
}

.re-home .re-highlight-title {
    margin: 0 0 6px;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.45;
}

.re-home .re-highlight-copy {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.65;
}

/* Default Group flow margins must not become offsets inside the lower grids. */
.re-home > .re-section,
.re-home :is(.re-audience-grid, .re-equipment-layout, .re-equipment-list, .re-gallery-grid, .re-step-list, .re-faq-layout, .re-faq-list) > * {
    min-width: 0;
    margin-block: 0;
}

.re-home .re-section h2 {
    max-width: 22ch;
    margin: 0 0 20px;
}

.re-home .re-section-copy {
    max-width: 60ch;
    margin: 0 0 40px;
    color: var(--color-muted);
}

.re-home .re-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 40px 0 32px;
}

.re-home .re-audience-card {
    padding: 28px 24px;
    border-top: 3px solid var(--color-ice-500);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    background: var(--color-cloud);
}

.re-home .re-audience-card h3,
.re-home .re-step h3 {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.re-home .re-audience-card p,
.re-home .re-step p {
    margin: 0;
    font-size: 1rem;
}

.re-home .re-equipment {
    background: var(--color-ice-100);
}

.re-home .re-equipment-layout,
.re-home .re-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(32px, 5vw, 88px);
}

.re-home .re-equipment-intro p {
    max-width: 44ch;
}

.re-home .re-equipment a {
    color: var(--color-navy-700);
    text-underline-offset: 4px;
}

.re-home .re-equipment-list {
    display: grid;
    border-top: 1px solid #9cbac6;
}

.re-home .re-equipment-list a {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 0;
    border-bottom: 1px solid #9cbac6;
    font-size: 1.125rem;
    font-weight: 600;
}

.re-home .re-gallery {
    color: var(--color-paper);
    background: var(--color-navy-900);
}

.re-home .re-gallery .re-section-copy {
    color: #d5e0e9;
}

.re-home .re-gallery-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.re-home .re-gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-card);
    object-fit: cover;
}

.re-home .re-gallery-grid figcaption {
    margin: 14px 0 0;
    color: #d5e0e9;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
}

.re-home .re-video-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #466377;
}

.re-home .re-video-link > * {
    margin-block: 0;
}

.re-home .re-video-link h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.re-home .re-step-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    counter-reset: inquiry-step;
}

.re-home .re-step::before {
    display: block;
    margin-bottom: 20px;
    color: var(--color-navy-700);
    font-family: var(--font-display);
    font-size: 2.5rem;
    line-height: 1;
    counter-increment: inquiry-step;
    content: counter(inquiry-step, decimal-leading-zero);
}

.re-home .re-faq {
    padding-top: 0;
}

.re-home .re-faq-list {
    display: grid;
    border-top: 1px solid #9cbac6;
}

.re-home .re-faq details {
    border-bottom: 1px solid #9cbac6;
}

.re-home .re-faq summary {
    min-height: 64px;
    padding: 20px 8px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
}

.re-home .re-faq summary:focus-visible {
    outline: 3px solid var(--color-navy-700);
    outline-offset: 3px;
}

.re-home .re-faq details p {
    margin: 0;
    padding: 0 8px 24px;
    font-size: 1rem;
}

.re-home .re-inquiry {
    color: var(--color-paper);
    background: var(--color-navy-950);
}

.re-home .re-inquiry .re-contact-intro h2 {
    color: var(--color-paper);
}

.re-home .re-inquiry .re-contact-form h2 {
    margin-bottom: 12px;
}

.re-home :is(#foto, #video, #oferta) {
    scroll-margin-top: 32px;
}

@media (max-width: 1023px) {
    .re-home .re-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .re-home .re-gallery-grid {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .re-home :is(.re-audience-grid, .re-equipment-layout, .re-gallery-grid, .re-step-list, .re-faq-layout) {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .re-home .re-audience-card {
        padding: 24px;
    }

    .re-home .re-step-list {
        gap: 32px;
    }

    .re-home .re-step::before {
        margin-bottom: 14px;
    }

    .re-home .re-video-link .wp-block-button,
    .re-home .re-video-link .wp-block-button__link {
        width: 100%;
    }
}

.ast-theme-transparent-header #masthead {
    font-family: var(--font-body);
}

.ast-theme-transparent-header #masthead .main-header-menu > .menu-item > .menu-link,
.ast-theme-transparent-header #masthead .site-title a {
    color: var(--color-paper);
}

.ast-theme-transparent-header #masthead .main-header-menu > .menu-item > .menu-link:hover,
.ast-theme-transparent-header #masthead .main-header-menu > .current-menu-item > .menu-link {
    color: var(--color-ice-500);
}

.ast-theme-transparent-header .ast-mobile-header-content,
.ast-theme-transparent-header .ast-mobile-popup-inner,
.ast-theme-transparent-header #ast-mobile-header .ast-builder-menu-mobile .main-header-menu,
.ast-theme-transparent-header #ast-mobile-header .ast-builder-menu-mobile .main-header-menu .menu-link,
.ast-theme-transparent-header #masthead .sub-menu {
    background-color: var(--color-navy-950);
}

.ast-theme-transparent-header #masthead .menu-link,
.ast-theme-transparent-header #masthead .menu-toggle,
.ast-theme-transparent-header .ast-mobile-popup-inner .menu-link {
    color: var(--color-paper);
}

@media (max-width: 1023px) {
    .re-home .wp-block-cover.re-hero.alignfull {
        padding-top: 120px;
    }

    .re-home .wp-block-cover.re-hero > .wp-block-cover__background.has-background-dim {
        background: linear-gradient(90deg, rgba(6, 26, 43, 0.94), rgba(6, 26, 43, 0.55)) !important;
    }

    .re-home .re-highlights {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .re-home .re-container {
        width: calc(100% - 40px);
    }

    .re-home .wp-block-cover.re-hero.alignfull {
        min-height: 760px;
        padding: 112px 0 48px;
    }

    .re-home .re-hero > .wp-block-cover__image-background {
        object-position: 62% center;
    }

    .re-home .wp-block-cover.re-hero > .wp-block-cover__background.has-background-dim {
        background: linear-gradient(180deg, rgba(6, 26, 43, 0.81), rgba(6, 26, 43, 0.76) 50%, rgba(6, 26, 43, 0.96)) !important;
    }

    .re-home .re-eyebrow {
        max-width: 30ch;
        margin-bottom: 16px;
        font-size: 0.625rem;
        letter-spacing: 0.23em;
    }

    .re-home .re-hero-title {
        font-size: clamp(2.375rem, 9vw, 3rem);
        line-height: 1.1;
    }

    .re-home .re-hero-description {
        font-size: 1.0625rem;
    }

    .re-home .re-hero-actions {
        gap: 10px;
    }

    .re-home .re-hero-actions .wp-block-button {
        width: 100%;
    }

    .re-home .re-hero-actions .wp-block-button__link {
        width: 100%;
    }

    .re-home .re-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }
}

.re-contact,
.re-contact * {
    box-sizing: border-box;
}

.entry-content > .wp-block-group.re-contact {
    max-width: none;
    margin-block: 0;
    padding: 168px 0 80px;
    color: var(--color-paper);
    background: var(--color-navy-950);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.re-contact > .wp-block-group__inner-container {
    width: 100%;
    max-width: none;
}

.re-contact .re-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas: "intro form" "details form";
    align-items: start;
    align-content: start;
    gap: 40px clamp(32px, 5vw, 88px);
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
}

.re-contact .re-contact-intro {
    grid-area: intro;
}

.re-contact .re-contact-intro h1 {
    margin: 0 0 24px;
    color: var(--color-paper);
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.2vw, 4rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.re-contact .re-contact-intro p {
    max-width: 43ch;
    margin: 0;
    color: #d5e0e9;
}

.re-contact .re-contact-form {
    grid-area: form;
    min-width: 0;
    margin: 0;
    padding: clamp(24px, 3.2vw, 44px);
    border-radius: var(--radius-card);
    color: var(--color-text);
    background: var(--color-paper);
}

.re-contact .re-contact-form h2 {
    margin: 0 0 12px;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 2.8vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
}

.re-contact .re-contact-form-help {
    margin: 0 0 28px;
    color: var(--color-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.re-contact .re-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 24px;
}

.re-contact .re-contact-field {
    display: block;
    min-width: 0;
    margin: 0;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.6;
}

.re-contact .re-contact-field-wide {
    grid-column: 1 / -1;
}

/* CF7 inserts paragraphs inside each field; the outer divs remain grid items. */
.re-contact .re-contact-field p {
    margin: 0;
}

.re-contact .re-contact-field label {
    display: block;
    margin: 0;
}

.re-contact .re-contact-field .wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.re-contact .wpcf7 :where(input[type="text"], input[type="email"], textarea) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #718796;
    border-radius: 8px;
    color: var(--color-text);
    background: var(--color-cloud);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.re-contact .wpcf7 textarea {
    min-height: 144px;
    resize: vertical;
}

.re-contact .re-contact-submit {
    position: relative;
    margin: 0;
}

.re-contact .wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 12px 44px;
    border: 2px solid transparent;
    border-radius: var(--radius-button);
    color: var(--color-navy-950);
    background: var(--color-ice-500);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}

.re-contact .wpcf7 input[type="submit"]:hover {
    background: var(--color-ice-100);
}

.re-contact .wpcf7 input[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.65;
}

.re-contact .wpcf7 .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 16px;
    margin: 0;
    transform: translateY(-50%);
}

.re-contact .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #9d2030;
    font-size: 0.875rem;
    font-weight: 400;
}

.re-contact .wpcf7 form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 12px;
    border-radius: 8px;
    color: var(--color-text);
    background: var(--color-cloud);
    font-size: 0.9375rem;
}

.re-contact .re-contact-privacy {
    margin: 20px 0 0;
    color: var(--color-muted);
    font-size: 0.8125rem;
}

.re-contact .re-contact-privacy a {
    color: var(--color-navy-700);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.re-contact .re-contact-details {
    grid-area: details;
    min-width: 0;
    margin: 0;
    padding-top: 28px;
    border-top: 1px solid var(--color-navy-700);
}

.re-contact .re-contact-details h2 {
    margin: 0 0 18px;
    color: var(--color-paper);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
}

.re-contact .re-contact-phone,
.re-contact .re-contact-email {
    margin: 0 0 10px;
}

.re-contact .re-contact-details a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--color-ice-500);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.re-contact .re-contact-details a:hover {
    color: var(--color-ice-100);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.re-contact .re-contact-phone a {
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    font-weight: 600;
    line-height: 1.35;
}

.re-contact .re-contact-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0 0;
    font-size: 0.9375rem;
}

.re-contact .re-contact-facts p {
    margin: 0;
    color: #d5e0e9;
}

/* Core flow spacing otherwise offsets the second Group inside this grid. */
.re-contact .re-contact-facts > .wp-block-group {
    margin-block-start: 0;
}

.re-contact .re-contact-facts .re-contact-detail-label {
    margin-bottom: 6px;
    color: var(--color-paper);
    font-weight: 600;
}

.re-contact a:focus-visible {
    outline: 3px solid var(--color-ice-500);
    outline-offset: 4px;
}

.re-contact .re-contact-form :where(a, input, textarea):focus-visible {
    outline: 3px solid var(--color-navy-700);
    outline-offset: 3px;
}

@media (max-width: 1023px) {
    .re-contact .re-contact-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .entry-content > .wp-block-group.re-contact {
        padding: 152px 0 48px;
    }

    .re-contact .re-contact-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "intro" "form" "details";
        gap: 32px;
        width: calc(100% - 40px);
    }

    .re-contact .re-contact-intro h1 {
        margin-bottom: 20px;
        font-size: clamp(2.375rem, 9vw, 3rem);
    }

    .re-contact .re-contact-form {
        padding: 24px 20px;
    }

    .re-contact .re-contact-facts {
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .re-home .wp-block-button__link {
        transition: none;
    }
}

/* Shared native Astra Footer Builder; public copy stays in its editable controls. */
#colophon,
#colophon * {
    box-sizing: border-box;
}

#colophon {
    color: var(--color-ice-100);
    background: var(--color-navy-950);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
}

#colophon .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    padding: 56px 0 40px;
    border-top: 1px solid rgb(53 199 238 / 24%);
    background: var(--color-navy-950);
}

#colophon .site-below-footer-wrap[data-section="section-below-footer-builder"] {
    padding: 0;
    border: 0;
    background: var(--color-navy-950);
}

#colophon :is(.site-primary-footer-inner-wrap, .site-below-footer-inner-wrap) {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
    align-items: start;
    column-gap: clamp(24px, 4vw, 64px);
    row-gap: 32px;
}

#colophon .site-footer-section {
    min-width: 0;
    text-align: left;
}

#colophon :is(.ast-builder-layout-element, .footer-widget-area) {
    margin: 0;
}

#colophon :is(.ast-builder-html-element, .ast-footer-copyright) {
    width: 100%;
    color: inherit;
    text-align: left;
}

#colophon p {
    margin: 0;
}

#colophon a {
    display: inline-flex;
    min-height: 44px;
    max-width: 100%;
    align-items: center;
    color: var(--color-ice-100);
    overflow-wrap: anywhere;
    text-decoration: none;
}

#colophon #astra-footer-menu .menu-item > a {
    min-height: 44px;
    padding: 6px 0;
    color: var(--color-ice-100);
    background: transparent;
    font-size: 1rem;
    line-height: 1.5;
}

#colophon a:hover,
#colophon #astra-footer-menu .menu-item > a:hover {
    color: var(--color-ice-500);
    text-decoration: underline;
    text-underline-offset: 4px;
}

#colophon a:focus-visible {
    outline: 3px solid var(--color-ice-500);
    outline-offset: 4px;
}

#colophon .re-footer-logo {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
}

#colophon .re-footer-brand p {
    max-width: 32ch;
}

#colophon .re-footer-name {
    margin: 16px 0 8px;
    color: var(--color-paper);
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.2;
}

#colophon .re-footer-contact h2 {
    margin: 0 0 12px;
    color: var(--color-paper);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

#colophon .re-footer-contact a {
    color: var(--color-ice-500);
}

#colophon .re-footer-phone {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
}

#colophon .re-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 24px;
    padding-block: 20px;
    border-top: 1px solid rgb(234 248 252 / 24%);
    font-size: 0.875rem;
}

#colophon .re-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    max-width: 100%;
    /* Keep links and keyboard focus clear of Astra's fixed scroll-to-top control. */
    padding-inline-end: 56px;
}

/* Service content shared by the review draft and retained product route. */
.re-service,
.re-service * {
    box-sizing: border-box;
}

.entry-content > .wp-block-group.re-service {
    max-width: none;
    margin-block: 0;
    padding: 0;
    color: var(--color-text);
    background: var(--color-paper);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
}

.re-service .wp-block-group {
    margin-block: 0;
}

.re-service :is(h1, h2) {
    margin: 0 0 24px;
    color: inherit;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

.re-service h1 {
    max-width: 18ch;
    font-size: clamp(2.75rem, 5.5vw, 5.25rem);
}

.re-service h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.re-service p {
    max-width: 68ch;
    margin: 0 0 20px;
}

.re-service .re-service-container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.re-service .re-service-hero {
    padding: 184px 0 80px;
    color: var(--color-paper);
    background: var(--color-navy-950);
}

.re-service .re-service-hero p {
    max-width: 60ch;
    margin-bottom: 32px;
    color: #d5e0e9;
}

.re-service .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: var(--radius-button);
    color: var(--color-navy-950);
    background: var(--color-ice-500);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.re-service .wp-block-button__link:hover {
    background: var(--color-ice-100);
}

.re-service .re-service-section,
.re-service .re-service-offer {
    padding-block: clamp(48px, 7vw, 96px);
}

.re-service .re-service-configuration,
.re-service .re-service-gallery {
    background: var(--color-ice-100);
}

.re-service .re-service-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 88px);
}

.re-service .re-service-split > * {
    min-width: 0;
    margin-block: 0;
}

.re-service .re-service-equipment-links p {
    margin: 0;
    border-bottom: 1px solid #c4d7e0;
}

.re-service .re-service-equipment-links a {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding-block: 10px;
    color: var(--color-navy-700);
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.re-service .wp-block-image {
    margin: 32px 0 0;
}

.re-service .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 678;
}

.re-service .wp-element-caption {
    margin-top: 12px;
    color: var(--color-navy-700);
    font-size: 0.875rem;
}

.re-service .re-service-offer {
    scroll-margin-top: 24px;
    color: var(--color-paper);
    background: var(--color-navy-950);
}

.re-service .re-contact-privacy a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.re-service a:focus-visible {
    outline: 3px solid var(--color-ice-500);
    outline-offset: 4px;
}

.re-service a {
    transition: none;
}

.re-service .re-service-equipment-links a:focus-visible {
    outline-color: var(--color-navy-700);
}

@media (max-width: 767px) {
    .re-service .re-service-container {
        width: calc(100% - 40px);
    }

    .re-service .re-service-hero {
        padding: 152px 0 48px;
    }

    .re-service .re-service-split {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    #colophon .site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
        padding-block: 40px 32px;
    }

    #colophon :is(.site-primary-footer-inner-wrap, .site-below-footer-inner-wrap) {
        width: calc(100% - 40px);
    }

    #colophon .re-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Keep equipment portraits at their native ratio; the service photo stays wide. */
.re-remaining .re-service-gallery .wp-block-image img {
    width: auto;
    max-width: 100%;
    max-height: 560px;
    aspect-ratio: auto;
    margin-inline: auto;
}

.re-remaining .wp-element-caption {
    text-align: center;
}

.re-remaining .re-communication {
    padding-block: 40px;
    border-bottom: 1px solid #c4d7e0;
}

.re-remaining .re-communication:first-child {
    padding-top: 0;
}

.re-remaining .re-communication h2 {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.re-remaining .re-communication-date {
    color: var(--color-navy-700);
    font-size: 0.875rem;
}

.re-remaining .re-blog-empty {
    background: var(--color-ice-100);
}

/* The scenery is decorative. Project and equipment galleries keep their own photographs. */
.re-service .re-service-hero {
    --re-winter-scene: url("assets/images/winter-rink.webp");
    background-image:
        linear-gradient(90deg, rgb(6 26 43 / 96%) 0%, rgb(6 26 43 / 82%) 41%, rgb(6 26 43 / 16%) 83%),
        linear-gradient(180deg, rgb(6 26 43 / 60%) 0%, transparent 30%, rgb(6 26 43 / 15%) 100%),
        var(--re-winter-scene);
    background-position: center, center, 72% 58%;
    background-size: cover;
}

:is(.re-about, .re-blog, .re-press) .re-service-hero {
    --re-winter-scene: url("assets/images/winter-landscape.webp");
}

.re-equipment .re-service-hero {
    --re-winter-scene: url("assets/images/winter-gear.webp");
}

:is(.postid-8766, .postid-8767, .page-id-9493, .page-id-9494) .re-equipment .re-service-hero {
    --re-winter-scene: url("assets/images/winter-rink.webp");
}

.entry-content > .wp-block-group.re-contact {
    background-image:
        linear-gradient(180deg, rgb(6 26 43 / 60%) 0%, rgb(6 26 43 / 86%) 49%, var(--color-navy-950) 88%),
        url("assets/images/winter-landscape.webp");
    background-position: center, 70% center;
    background-size: cover;
}

@media (max-width: 767px) {
    .re-service .re-service-hero {
        background-image:
            linear-gradient(180deg, rgb(6 26 43 / 68%) 0%, rgb(6 26 43 / 74%) 55%, rgb(6 26 43 / 96%) 100%),
            var(--re-winter-scene);
        background-position: center, 76% center;
    }
}

.re-snow {
    position: fixed;
    z-index: 10;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.re-snow::before,
.re-snow::after {
    --re-snow-tile: 390px;
    position: absolute;
    inset: calc(-1 * var(--re-snow-tile)) 0 0 -24px;
    background: url("assets/images/snowflakes.svg") repeat 0 0 / var(--re-snow-tile) var(--re-snow-tile);
    animation: re-snowfall 19s linear -8s infinite;
    opacity: .66;
    content: "";
}

.re-snow::after {
    --re-snow-tile: 560px;
    background-position: 172px 96px;
    animation-duration: 34s;
    animation-delay: -22s;
    opacity: .42;
}

@keyframes re-snowfall {
    50% { transform: translate(22px, calc(var(--re-snow-tile) / 2)); }
    100% { transform: translateY(var(--re-snow-tile)); }
}

.re-snow-toggle {
    position: fixed;
    z-index: 11;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: max(14px, env(safe-area-inset-left));
    min-height: 44px;
    padding: 8px 13px;
    border: 1px solid #64839b;
    border-radius: var(--radius-button);
    background: var(--color-navy-950);
    color: var(--color-paper);
    font: 600 .8125rem/1.2 var(--font-body);
    cursor: pointer;
}

.re-snow-toggle::before {
    margin-inline-end: .4em;
    color: #b4c8d8;
    content: "\2744";
}

.re-snow-toggle[aria-pressed="true"]::before {
    color: var(--color-ice-500);
}

.re-snow-toggle:focus-visible {
    outline: 3px solid var(--color-ice-500);
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .re-snow::after { display: none; }
}

@media (prefers-reduced-motion: reduce), print {
    .re-snow,
    .re-snow-toggle { display: none; }
}

.entry-content > .re-media-gallery {
    max-width: none;
    margin: 0;
}

.re-media-gallery {
    color: var(--color-text);
    font: 400 1rem/1.65 var(--font-body);
}

.re-gallery-container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.re-gallery-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(152px, 14vw, 188px) 0 clamp(52px, 8vw, 104px);
    overflow: hidden;
    background: var(--color-navy-950);
    color: var(--color-paper);
}

.re-gallery-hero .re-gallery-hero-image,
.re-gallery-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
}

.re-gallery-hero .re-gallery-hero-image {
    object-fit: cover;
    object-position: 64% 55%;
}

.re-gallery-hero::after {
    background: linear-gradient(90deg, var(--color-navy-950) 3%, rgb(6 26 43 / 89%) 38%, rgb(6 26 43 / 42%) 86%);
    content: "";
}

.re-media-gallery :is(h1, h2) {
    margin: 0 0 20px;
    color: inherit;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
}

.re-gallery-hero h1 { font-size: clamp(3.25rem, 8vw, 6.5rem); }
.re-gallery-hero p { max-width: 40ch; margin: 0 0 24px; font-size: clamp(1rem, 2vw, 1.25rem); }
.re-gallery-section h2 { font-size: clamp(2.2rem, 4.6vw, 3.75rem); }

.re-gallery-jumps { display: flex; flex-wrap: wrap; gap: 10px; }
.re-gallery-jumps a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid rgb(234 248 252 / 65%);
    border-radius: var(--radius-button);
    background: var(--color-navy-950);
    color: var(--color-paper);
    font-weight: 600;
    text-decoration: none;
}
.re-gallery-jumps a span { color: var(--color-ice-500); font-variant-numeric: tabular-nums; }

.re-gallery-section {
    padding-block: clamp(44px, 6vw, 80px);
    scroll-margin-top: 24px;
    background: var(--color-ice-100);
}

.re-media-gallery :is(.re-gallery-photo-grid, .re-gallery-video-grid) {
    display: grid;
    gap: clamp(10px, 2vw, 20px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.re-gallery-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.re-gallery-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.re-gallery-photo-grid a,
.re-gallery-poster {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-navy-900);
}

.re-gallery-photo-grid a { aspect-ratio: 4 / 3; }
.re-gallery-poster { aspect-ratio: 16 / 9; }
.re-gallery-photo-grid img,
.re-gallery-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.re-gallery-more { margin-top: 18px; }
.re-gallery-more summary {
    width: fit-content;
    padding: 12px 18px;
    border: 1px solid #9db5c5;
    border-radius: 8px;
    color: var(--color-navy-950);
    font-weight: 600;
    cursor: pointer;
}
.re-gallery-more[open] summary { margin-bottom: 18px; }

.re-gallery-videos { background: var(--color-navy-950); color: var(--color-paper); }
.re-gallery-video-grid a {
    display: grid;
    gap: 6px;
    padding-bottom: 10px;
    color: var(--color-paper);
    font-weight: 600;
    text-decoration: none;
}

.re-gallery-poster::before,
.re-gallery-poster::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
}
.re-gallery-poster::before { width: 48px; height: 48px; border-radius: 50%; background: var(--color-ice-500); }
.re-gallery-poster::after {
    width: 13px;
    height: 16px;
    margin-left: 2px;
    background: var(--color-navy-950);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.re-gallery-viewer {
    box-sizing: border-box;
    width: min(calc(100% - 24px), 1060px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    border: 1px solid #496783;
    border-radius: 14px;
    background: var(--color-navy-950);
    color: var(--color-paper);
}
.re-gallery-viewer::backdrop { background: rgb(3 13 23 / 86%); }
.re-gallery-viewer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 14px;
}
.re-gallery-viewer-bar p { margin: 0; }
.re-gallery-viewer-bar .re-gallery-credit { font-size: .875rem; color: #bfd5e3; }
.re-gallery-viewer-bar button {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #7694ab;
    border-radius: 8px;
    background: var(--color-navy-900);
    color: var(--color-paper);
    font: 600 .875rem var(--font-body);
}
.re-gallery-viewer [hidden] { display: none; }
.re-gallery-stage {
    display: grid;
    place-items: center;
    min-height: 160px;
    background: #020d16;
}
.re-gallery-stage :is(img, video) {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 68dvh;
    object-fit: contain;
}
.re-gallery-stage video { width: 100%; }
.re-media-gallery :is(a, summary, button):focus-visible {
    outline: 3px solid var(--color-navy-700);
    outline-offset: 3px;
}
.re-media-gallery :is(.re-gallery-hero, .re-gallery-videos, .re-gallery-viewer) :focus-visible {
    outline-color: var(--color-ice-500);
}

@media (max-width: 999px) {
    .re-gallery-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
    .re-gallery-hero::after { background: linear-gradient(90deg, rgb(6 26 43 / 92%), rgb(6 26 43 / 58%)); }
    .re-gallery-photo-grid,
    .re-gallery-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .re-gallery-viewer-bar { padding-inline: 10px; }
}

.re-press .re-press-archive {
    background: #edf3f4;
}

.re-press .re-press-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(20px, 3vw, 38px);
}

.re-press .re-press-clipping {
    min-width: 0;
    padding: clamp(22px, 3.5vw, 44px);
    border: 1px solid #c7c0b1;
    border-top: 5px double var(--color-navy-900);
    background: #fffcf6;
    box-shadow: 0 10px 24px rgb(6 26 43 / 7%);
    color: #172a38;
    overflow-wrap: break-word;
}

.re-press .re-press-masthead {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    min-height: 68px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #c7c0b1;
}

.re-press .re-press-masthead .wp-block-image {
    margin: 0;
    mix-blend-mode: multiply;
}

.re-press .re-press-masthead img {
    width: auto;
    height: auto;
    max-width: min(170px, 100%);
    max-height: 55px;
    aspect-ratio: auto;
    object-fit: contain;
}

.re-press .re-press-logo-ele img {
    width: 140px;
    height: 55px;
    object-fit: cover;
}

.re-press .re-press-source {
    margin: 0;
    color: #714336;
    font-size: .8125rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.re-press .re-press-clipping h2 {
    margin-bottom: 20px;
    font-size: clamp(1.8rem, 2.8vw, 2.65rem);
    line-height: 1.1;
}

.re-press .re-press-clipping h3 {
    margin: 24px 0 8px;
    color: inherit;
    font: 400 1.35rem/1.2 var(--font-display);
}

.re-press .re-press-clipping > :is(p, ul) {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.65;
}

.re-press .re-press-clipping > ul {
    padding-inline-start: 1.35em;
}

.re-press .re-press-clipping > :last-child { margin-bottom: 0; }
.re-press .re-press-clipping li + li { margin-top: .35em; }
.re-press .re-press-clipping a { color: var(--color-navy-700); text-underline-offset: .18em; }

@media (max-width: 959px) {
    .re-press .re-press-grid { grid-template-columns: minmax(0, 1fr); }
}
