/*
File: styles-consolidated.css
Runningfish template - ALL site CSS in one file (front end + login).
Order matters: variables first, page-specific last.
Source of truth for styles. Do not re-add the modular files.
*/

/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
    /* COLORS */
    --color-1: #B63A24;
    --color-2: #1F3D2B;
    --color-3: #F3EAD8;
    --color-4: #4A2F22;
    --color-5: #8E2A17;
    --color-6: #16301F;
    
    --color-font-1: #4A2F22;
    --color-font-2: #6B5446;
    --color-font-3: #786250;
    --color-font-inverse: #fff; /* = inverse-1, kept for existing rules */
    --color-font-inverse-1: #FFFFFF;
    --color-font-inverse-2: #F3EAD8; /* cream text on dark sections (most used inverse in mockup) */
    --color-font-inverse-3: #C9BBA2; /* muted text on dark sections */

    --color-ui-1: #fff;
    --color-ui-2: #F3EAD8; /* cream section bg */
    --color-ui-3: #EADFC6; /* card / alt cream bg */
    --color-ui-4: #DFD0B4; /* borders + dividers */
    --color-ui-5: #1F3D2B; /* dark green section bg */
    --color-ui-6: #16301F; /* darkest green (footer) */

    /* OVERLAYS */
    --overlay-hero-scrim: linear-gradient(180deg, rgba(42, 28, 20, 0.10) 0%, rgba(42, 28, 20, 0.48) 55%, rgba(42, 28, 20, 0.90) 100%);
    --overlay-image: linear-gradient(180deg, rgba(49, 49, 49, 0.05) 0%, rgba(49, 49, 49, 0.85) 100%);

    /* TYPOGRAPHY */
    --line-height: 1.76; /* body paragraph 16/176% */
    --font-title: "Alfa Slab One", "Open Sans", "Arial", "Helvetica Neue", sans-serif; /* H1-H3 */
    --font-body: "Montserrat", "Open Sans", "Arial", "Helvetica Neue", sans-serif; /* body + H4-H6 */
    --font-interactive: "Montserrat", "Open Sans", "Arial", "Helvetica Neue", sans-serif;
    --font-accent: "Yellowtail", "Brush Script MT", cursive; /* script subheadings */

    --font-weight-light: 300; /* body copy */
    --font-weight-medium: 500; /* text links */
    --font-weight-semibold: 600; /* H4-H6, buttons, labels */
    --font-weight-bold: 700;

    /* TYPE SCALE (mockup @1440) */
    --font-size-h1: 3.625rem; /* 58px */
    --line-height-h1: 1.1;
    --letter-spacing-h1: -0.015em;
    --font-size-h2: 2.5rem; /* 40px */
    --line-height-h2: 1.16;
    --letter-spacing-h2: -0.01em;
    --font-size-h3: 1.75rem; /* 28px */
    --line-height-h3: 1.24;
    --letter-spacing-h3: -0.005em;
    --font-size-h4: 1.375rem; /* 22px, Montserrat 600 */
    --line-height-h4: 1.36;
    --font-size-h5: 1.125rem; /* 18px, Montserrat 600 */
    --line-height-h5: 1.44;
    --letter-spacing-h5: 0.02em;
    --font-size-h6: 0.875rem; /* 14px, Montserrat 600 uppercase */
    --line-height-h6: 1.5;
    --letter-spacing-h6: 0.12em;
    --font-size-subheading: 2.125rem; /* 34px Yellowtail */
    --line-height-subheading: 1.2;

    --font-size-body: 1rem; /* 16px */
    --font-size-body-large: 1.1875rem; /* 19px */
    --line-height-body-large: 1.68;
    --font-size-body-small: 0.8125rem; /* 13px */
    --line-height-body-small: 1.52;

    --font-size-button: 0.8125rem; /* 13px, 600, uppercase */
    --letter-spacing-button: 0.12em;
    --font-size-label: 0.6875rem; /* 11px, 600, uppercase */
    --letter-spacing-label: 0.16em;

    /* SIZING (base unit 1.5rem) */
    --size-xxsmall: 0.375rem; /* base / 4 */
    --size-xsmall: 0.5rem; /* base / 3 */
    --size-small: 0.75rem; /* base / 2 */
    --size-medium: 1.5rem; /* base */
    --size-large: 3rem; /* base * 2 */
    --size-xlarge: 4.5rem; /* base * 3 */
    --size-xxlarge: 6rem; /* base * 4 */

    /* CORNER RADIUS */
    --radius-button: 8px;
    --radius-card: 16px; /* cards and panels */
    --radius-image: 4px; /* all photography */
    --radius-feature: 24px; /* feature blocks */

    /* BUTTONS (180 x 48, 1.5px border on outline variants) */
    --button-height: 3rem; /* 48px */
    --button-height-small: 2.75rem; /* 44px, header button */
    --button-padding-x: 1.5rem; /* 24px minimum either side */
    --button-border: 1.5px;

    /* ELEVATION (espresso shadows, never neutral black) */
    --color-shadow: 42, 28, 20; /* #2A1C14 as rgb for rgba() */
    --shadow-flat: 0 0 0 1px var(--color-ui-4); /* 00, hairline instead of a shadow */
    --shadow-card: 0 2px 8px rgba(var(--color-shadow), 0.08); /* 01 */
    --shadow-raised: 0 6px 20px rgba(var(--color-shadow), 0.12); /* 02 */
    --shadow-overlay: 0 14px 40px rgba(var(--color-shadow), 0.16); /* 03 */
    --shadow-header: 0 0 7px rgba(0, 0, 0, 0.10); /* fixed header */

    /* FOCUS (2px deep-brick ring offset 2px) */
    --focus-ring: 2px solid var(--color-5);
    --focus-offset: 2px;

    /* SCRIM TYPE INSET */
    --scrim-inset: 2.25rem; /* 36px at 1440 */
    --scrim-inset-mobile: 1.25rem; /* 20px */

    --row-max-width: 1920px;
    --row-width: 90.09%;
    
    /* BREAKPOINTS (for reference in media queries) */
    --breakpoint-laptop: 1400px;
    --breakpoint-tablet: 980px;
    --breakpoint-smartphone: 767px;
    --breakpoint-smartphone-portrait: 479px;
    
    /* TRANSITIONS (160ms ease-out on hover, 240ms on movement, nothing bounces) */
    --transition-standard: all 0.16s ease-out;
    --transition-move: transform 0.24s ease-out, box-shadow 0.24s ease-out;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

/* DIVI LAYOUT OVERRIDES */
/* Hide focus ring for mouse/touch only; keyboard users keep it (ADA) */
*:focus:not(:focus-visible) {
    outline: 0 !important;
}

body {
    overflow-x: hidden; /* fallback for older browsers */
    overflow-x: clip; /* same result, doesn't break position: sticky */
}

.et_pb_section:not(.et_pb_fullwidth_section) {
    padding: var(--size-large) 0;
}

.et_pb_row {
    width: var(--row-width);
    max-width: var(--row-max-width);
    padding: var(--size-medium) 0;
}

.et_pb_module {
    margin-bottom: var(--size-medium);
}

.et_pb_module.et-last-child,
.et_pb_module:last-child {
    margin-bottom: 0;
}

.rf-centered--row {
    display: flex;
}

.rf-centered--row .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Removing extra space under gallery images */
.et_pb_gallery_image a {
    line-height: 0 !important;
}

#rf-body .rf-contact--blurb .et_pb_blurb_content {
    margin: 0;
}

/* TABLET AND MOBILE RESPONSIVE */
@media (max-width: 980px) {
    .rf-centered--row {
        flex-direction: column;
    }
    
    .rf-centered--row .et_pb_image {
        max-width: 500px;
    }
    
    .rf-centered--row .et_pb_column:first-child {
        margin-bottom: 3rem;
    }
    
    /* Flip the order of columns on tablet and mobile */
    .rf-flip {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .rf-flip .et_pb_column:last-child {
        margin-bottom: 3rem !important;
    }
    
    .rf-flip .et_pb_column:first-child {
        margin-bottom: 0px !important;
    }
}

/* ==========================================================================
   ANIMATION
   ========================================================================== */

/* DELAYED BLURB ENTRY */
#rf-body img {
    animation-fill-mode: both;
}

/* Progressive animation delays for column images - Desktop only */
@media only screen and (min-width: 981px) {
    #rf-body .et_pb_column:nth-child(2) img {
        animation-delay: 0.25s;
    }
    
    #rf-body .et_pb_column:nth-child(3) img {
        animation-delay: 0.5s;
    }
    
    #rf-body .et_pb_column:nth-child(4) img {
        animation-delay: 0.75s;
    }
    
    #rf-body .et_pb_column:nth-child(5) img {
        animation-delay: 1s;
    }
    
    #rf-body .et_pb_column:nth-child(6) img {
        animation-delay: 1.25s;
    }
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* HEADING STYLES */
body.et_divi_theme h1, 
body.et_divi_theme .h1 {
    font-family: var(--font-title);
    min-height: 0vw;
    font-size: var(--font-size-h1);
    font-size: clamp(2.5rem, calc(2.5rem + ((1vw - 0.48rem) * 2.6786)), 3.625rem);
    line-height: var(--line-height-h1);
    letter-spacing: var(--letter-spacing-h1);
}

body.et_divi_theme h1 span, 
body.et_divi_theme .h1 span {
    display: block;
}

body.et_divi_theme h2, 
body.et_divi_theme .h2 {
    font-family: var(--font-title);
    min-height: 0vw;
    font-size: var(--font-size-h2);
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 1.1905)), 2.5rem);
    line-height: var(--line-height-h2);
    letter-spacing: var(--letter-spacing-h2);
}

body.et_divi_theme h2 span, 
body.et_divi_theme .h2 span {
    display: block;
}

body.et_divi_theme h3, 
body.et_divi_theme .h3 {
    font-family: var(--font-title);
    min-height: 0vw;
    font-size: var(--font-size-h3); /* fixed: Alfa Slab never drops below 28px */
    line-height: var(--line-height-h3);
    letter-spacing: var(--letter-spacing-h3);
}

body.et_divi_theme h3 span, 
body.et_divi_theme .h3 span {
    display: block;
}

body.et_divi_theme h4, 
body.et_divi_theme .h4 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    min-height: 0vw;
    font-size: var(--font-size-h4);
    font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.2976)), 1.375rem);
    line-height: var(--line-height-h4);
}

body.et_divi_theme h4 span, 
body.et_divi_theme .h4 span {
    display: block;
}

body.et_divi_theme h5, 
body.et_divi_theme .h5 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    min-height: 0vw;
    font-size: var(--font-size-h5);
    font-size: clamp(1.0625rem, calc(1.0625rem + ((1vw - 0.48rem) * 0.1488)), 1.125rem);
    line-height: var(--line-height-h5);
    letter-spacing: var(--letter-spacing-h5);
}

body.et_divi_theme h5 span, 
body.et_divi_theme .h5 span {
    display: block;
}

body.et_divi_theme h6, 
body.et_divi_theme .h6 {
    font-family: var(--font-body);
    font-weight: var(--font-weight-semibold);
    min-height: 0vw;
    font-size: var(--font-size-h6);
    line-height: var(--line-height-h6);
    letter-spacing: var(--letter-spacing-h6);
    text-transform: uppercase;
}

body.et_divi_theme h6 span, 
body.et_divi_theme .h6 span {
    display: block;
}

/* BODY FONTS */
body.et_divi_theme,
body.et_divi_theme a,
body.et_divi_theme li {
    font-family: var(--font-body);
    line-height: var(--line-height);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-body);
}

body.et_divi_theme {
    color: var(--color-font-1);
}

#rf-body {
    font-family: var(--font-body);
    line-height: var(--line-height);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-body);
}

/* Bold / strong stays readable against the Light body */
body.et_divi_theme strong,
body.et_divi_theme b {
    font-weight: var(--font-weight-semibold);
}

/* Headings on cream use Primary text. :where() keeps specificity at Divi's level so module color settings still win */
:where(body.et_divi_theme) h1,
:where(body.et_divi_theme) h2,
:where(body.et_divi_theme) h3,
:where(body.et_divi_theme) h4,
:where(body.et_divi_theme) h5,
:where(body.et_divi_theme) h6 {
    color: var(--color-font-1);
}

body.et_divi_theme a {
    transition: var(--transition-standard);
}

/* Links inside headings and paragraphs */
body.et_divi_theme h1 a,
body.et_divi_theme h2 a,
body.et_divi_theme h3 a,
body.et_divi_theme h4 a,
body.et_divi_theme h5 a,
body.et_divi_theme h6 a,
body.et_divi_theme p a {
    color: var(--color-1) !important;
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
}

body.et_divi_theme h1 a:hover,
body.et_divi_theme h2 a:hover,
body.et_divi_theme h3 a:hover,
body.et_divi_theme h4 a:hover,
body.et_divi_theme h5 a:hover,
body.et_divi_theme h6 a:hover,
body.et_divi_theme p a:hover {
    color: var(--color-5) !important; /* deep brick: hover darkens, never lightens */
}

/* LARGE PARAGRAPH STYLE */
body.et_divi_theme .rf-paragraph--large,
body.et_divi_theme .rf-paragraph--large a {
    font-size: var(--font-size-body-large);
    font-size: clamp(1.0625rem, calc(1.0625rem + ((1vw - 0.48rem) * 0.2976)), 1.1875rem);
    line-height: var(--line-height-body-large);
}

#rf-body .rf-paragraph--large,
#rf-body .rf-paragraph--large a {
    font-size: var(--font-size-body-large);
    font-size: clamp(1.0625rem, calc(1.0625rem + ((1vw - 0.48rem) * 0.2976)), 1.1875rem);
    line-height: var(--line-height-body-large);
}

/* Standfirst / supporting copy color */
#rf-body .rf-paragraph--large {
    color: var(--color-font-2);
}

/* SMALL PARAGRAPH STYLE */
body.et_divi_theme .rf-paragraph--small,
body.et_divi_theme .rf-paragraph--small a {
    font-size: var(--font-size-body-small);
    line-height: var(--line-height-body-small);
}

#rf-body .rf-paragraph--small,
#rf-body .rf-paragraph--small a {
    font-size: var(--font-size-body-small);
    line-height: var(--line-height-body-small);
}

/* DARK LAYOUT */
body.et_divi_theme .et_pb_layout_dark {
    color: var(--color-font-inverse-2); /* cream type on dark grounds */
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/* BASE BUTTON STRUCTURE
   Anatomy: 180 x 48, radius 8, Montserrat SemiBold 13 caps +12%, 24px min side padding.
   Hover darkens the face (never lightens). Outline variants fill on hover. */
#rf-body .et_pb_button,
#rf-body .df-menu-button,
#rf-body .gform_button,
#rf-body [type=submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    min-height: var(--button-height);
    min-width: 11.25rem; /* 180px */
    border: none;
    border-radius: var(--radius-button);
    font-size: var(--font-size-button);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-button);
    padding: 0 var(--button-padding-x) !important;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-standard);
    font-family: var(--font-interactive);
    line-height: 1 !important;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
    /* Primary filled as base */
    color: var(--color-font-inverse-1);
    background-color: var(--color-1);
}

/* Kill Divi's button arrow icon so the label stays centred */
#rf-body .et_pb_button::after,
#rf-body .et_pb_button::before {
    display: none !important;
}

#rf-body .et_pb_button:hover,
#rf-body .df-menu-button:hover,
#rf-body .gform_button:hover,
#rf-body [type=submit]:hover {
    background-color: var(--color-5) !important;
    color: var(--color-font-inverse-1) !important;
    padding: 0 var(--button-padding-x) !important;
}

/* FOCUS: 2px deep-brick ring, offset 2px */
#rf-body .et_pb_button:focus-visible,
#rf-body .df-menu-button:focus-visible,
#rf-body .gform_button:focus-visible,
#rf-body [type=submit]:focus-visible {
    outline: var(--focus-ring) !important;
    outline-offset: var(--focus-offset);
}

/* DISABLED: face at 40%, label in muted text */
#rf-body .et_pb_button[disabled],
#rf-body .et_pb_button.rf-button--disabled,
#rf-body .gform_button[disabled],
#rf-body [type=submit][disabled] {
    opacity: 0.4;
    color: var(--color-font-3) !important;
    pointer-events: none;
    cursor: not-allowed;
}

/* PRIMARY (filled brick) */
#rf-body .rf-button--primary {
    color: var(--color-font-inverse-1);
    background-color: var(--color-1);
}

#rf-body .rf-button--primary:hover {
    background-color: var(--color-5) !important;
    color: var(--color-font-inverse-1) !important;
}

/* PRIMARY OUTLINE */
#rf-body .rf-button--outline {
    color: var(--color-1) !important;
    background-color: transparent;
    box-shadow: 0 0 0 var(--button-border) inset var(--color-1);
}

#rf-body .rf-button--outline:hover {
    background-color: var(--color-1) !important;
    color: var(--color-font-inverse-1) !important;
    opacity: 1 !important;
}

/* SECONDARY (filled forest) */
#rf-body .rf-button--secondary {
    color: var(--color-font-inverse-1);
    background-color: var(--color-2);
}

#rf-body .rf-button--secondary:hover {
    background-color: var(--color-6) !important;
    color: var(--color-font-inverse-1) !important;
}

/* SECONDARY OUTLINE */
#rf-body .rf-button--secondary-outline {
    color: var(--color-2) !important;
    background-color: transparent;
    box-shadow: 0 0 0 var(--button-border) inset var(--color-2);
}

#rf-body .rf-button--secondary-outline:hover {
    background-color: var(--color-2) !important;
    color: var(--color-font-inverse-1) !important;
}

/* INVERSE (for forest / espresso bands)
   No filled variant by design, so .rf-button--inverse is the cream outline too.
   Never use brick buttons on forest (2.1:1). */
#rf-body .rf-button--inverse,
#rf-body .rf-button--inverse-outline {
    color: var(--color-font-inverse-2) !important;
    background-color: transparent;
    box-shadow: 0 0 0 var(--button-border) inset var(--color-font-inverse-2);
}

#rf-body .rf-button--inverse:hover,
#rf-body .rf-button--inverse-outline:hover {
    background-color: var(--color-font-inverse-2) !important;
    color: var(--color-2) !important;
    opacity: 1 !important;
}

/* TEXT-ONLY BUTTONS (underlined label, no face) */
#rf-body .rf-button--text,
#rf-body .rf-button--secondary-text,
#rf-body .rf-button--inverse-text {
    background-color: transparent !important;
    min-width: 0;
    padding: 0 !important;
    text-decoration: underline;
    text-underline-offset: 0.35em;
    text-decoration-thickness: 1px;
    box-shadow: none;
}

#rf-body .rf-button--text {
    color: var(--color-1) !important;
}

#rf-body .rf-button--text:hover {
    color: var(--color-5) !important;
    padding: 0 !important;
}

#rf-body .rf-button--secondary-text {
    color: var(--color-2) !important;
}

#rf-body .rf-button--secondary-text:hover {
    color: var(--color-6) !important;
    padding: 0 !important;
}

#rf-body .rf-button--inverse-text {
    color: var(--color-font-inverse-2) !important;
}

#rf-body .rf-button--inverse-text:hover {
    color: var(--color-font-inverse-1) !important;
    padding: 0 !important;
}

/* SMALL (header) BUTTON, 160 x 44 */
#rf-body .rf-button--small {
    min-height: var(--button-height-small);
    min-width: 10rem;
}

/* NEWSLETTER BUTTON */
#rf-body .rf-button--newsletter {
    color: var(--color-font-inverse-2) !important;
    background-color: transparent;
}

#rf-body .rf-button--newsletter:hover {
    background-color: var(--color-font-inverse-2) !important;
    color: var(--color-2) !important;
    opacity: 1 !important;
}

/* MULTI-BUTTON LAYOUTS */
#rf-body .et_pb_button + .et_pb_button {
    margin-left: var(--size-medium);
}

/* ==========================================================================
   HEADER + NAVIGATION (incl. Divi Flash menu)
   ========================================================================== */

@media only screen and (min-width: 981px) {
    /* Regular dropdowns only - Divi Flash mega menus keep their own layout */
    .df-normal-menu-wrap .df-menu-wrap li.menu-item:not(.df-mega-menu) > ul.sub-menu:not(.df-mega-menu *) {
        width: auto !important;
        display: flex;
        flex-direction: column;
        white-space: nowrap;
    }
}

/* DIVI THEME BUILDER MENUS */
#rf-body .rf-centered-inline--menu .et_pb_menu__logo a:hover,
#rf-body .rf-left-aligned--menu .et_pb_menu__logo a:hover {
    opacity: 1;
}

#rf-body .rf-centered-inline--menu li a,
#rf-body .rf-left-aligned--menu li a {
    font-size: 1rem; /* Montserrat Bold 16, espresso */
    font-weight: var(--font-weight-bold);
    color: var(--color-font-1);
}

#rf-body .rf-centered-inline--menu li a:hover,
#rf-body .rf-left-aligned--menu li a:hover,
#rf-body .rf-centered-inline--menu li.current-menu-item > a,
#rf-body .rf-left-aligned--menu li.current-menu-item > a {
    color: var(--color-1);
    opacity: 1;
}

#rf-body .rf-centered-inline--menu .et_pb_menu__logo-wrap,
#rf-body .rf-left-aligned--menu .et_pb_menu__logo-wrap {
    margin-bottom: 0px;
}

#rf-body .rf-centered-inline--menu .et_pb_menu_inner_container,
#rf-body .rf-left-aligned--menu .et_pb_menu_inner_container {
    display: flex;
}

/* Mobile menu icon to X when open */
#rf-body .mobile_nav.opened .mobile_menu_bar::before {
    content: "\4d";
}

/* Header container width */
#main-header .container,
#top-header .container {
    max-width: 1400px;
    width: 90.09%;
}

/* Auto width for nav dropdowns - Desktop */
@media only screen and (min-width: 981px) {
    .nav li ul {
        width: fit-content;
        display: flex;
        flex-direction: column;
    }
    
    .nav li li {
        white-space: nowrap;
    }
    
    .nav li li a {
        width: auto !important;
    }
}

/* TOP HEADER */
#top-header .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#top-header #et-info-phone a {
    font-weight: 500;
    transition: var(--transition-standard);
}

#top-header #et-info-phone a:hover {
    opacity: 0.7;
}

#top-header a {
    font-size: 15px !important;
}

#top-header #et-secondary-menu {
    float: none;
}

/* MAIN HEADER */
#main-header .et_pb_menu__wrap {
    display: flex;
    justify-content: flex-end;
}

#main-header #menu-top-menu {
    display: flex;
    align-items: center;
}

#main-header #et-top-navigation {
    padding-top: 42px;
}

#main-header #logo {
    max-width: 25%;
}

/* MAIN MENU */
#main-header #top-menu {
    display: flex;
    align-items: center;
}

#main-header #top-menu li a {
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-font-1);
}

#main-header #top-menu li a:hover,
#main-header #top-menu li.current-menu-item > a {
    color: var(--color-1);
    opacity: 1;
}

/* Header ground + fixed/sticky shadow */
#main-header {
    background-color: var(--color-ui-2);
}

#main-header.et-fixed-header,
.et_pb_sticky.rf-header,
.rf-header.et_pb_sticky--top {
    box-shadow: var(--shadow-header) !important;
}

#main-header #top-menu li ul {
    width: auto;
}

#main-header #top-menu li ul a {
    width: auto;
    white-space: nowrap;
}

/* Button in navigation - Desktop */
@media (min-width: 981px) {
    #rf-body li.btn {
        display: flex;
        align-items: center;
    }
    
    /* "Book a table" in the header: primary filled, 160 x 44 */
    #rf-body li.btn a,
    #main-header li.btn a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: var(--button-height-small);
        min-width: 10rem;
        padding: 0 var(--button-padding-x) !important;
        border-radius: var(--radius-button);
        font-family: var(--font-interactive);
        font-size: var(--font-size-button) !important;
        font-weight: var(--font-weight-semibold);
        letter-spacing: var(--letter-spacing-button);
        text-transform: uppercase;
        line-height: 1;
        color: var(--color-font-inverse-1) !important;
        background-color: var(--color-1);
        transition: var(--transition-standard);
    }

    #rf-body li.btn a:hover,
    #main-header li.btn a:hover {
        background-color: var(--color-5) !important;
        color: var(--color-font-inverse-1) !important;
        opacity: 1 !important;
    }

    #rf-body li.btn a:focus-visible,
    #main-header li.btn a:focus-visible {
        outline: var(--focus-ring) !important;
        outline-offset: var(--focus-offset);
    }
}

/* TABLET AND MOBILE STYLES */
@media (max-width: 980px) {
    #rf-body .rf-centered-inline--menu .et_pb_menu__wrap,
    #rf-body .rf-left-aligned--menu .et_pb_menu__wrap {
        justify-content: flex-end;
    }
    
    #main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }
    
    #main-header .logo_container {
        position: static;
    }
    
    #main-header #et-top-navigation {
        padding-left: 0px !important;
    }
    
    #main-header .logo_container #logo {
        max-width: unset;
        max-height: 100px;
    }
    
    #main-header .et_header_style_split #logo {
        max-width: unset;
    }
    
    #main-header #et_search_icon,
    #main-header .select_page {
        display: none;
    }
    
    #main-header .mobile_menu_bar::before {
        color: var(--color-font-3);
        font-size: 3rem;
        position: absolute;
        transform: translate(-50px, -22px);
    }
    
    #main-header .mobile_nav {
        padding: 0 !important;
    }
    
    #main-header #et_mobile_nav_menu {
        margin: 0;
    }
}

@media (max-width: 767px) {
    #main-header #logo {
        max-width: 100%;
    }
}

/* Centered header style mobile adjustments */
@media (max-width: 980px) {
    .et_header_style_centered #main-header .container {
        display: block;
        text-align: left;
    }
    
    .et_header_style_centered #main-header div#et-top-navigation {
        position: absolute;
        bottom: auto;
        top: 0;
        padding-top: 0;
    }
    
    .et_header_style_centered #main-header #et_mobile_nav_menu {
        margin-top: 0;
    }
    
    .et_header_style_centered #main-header #et_mobile_nav_menu .mobile_nav {
        padding: 0;
    }
}

/* ==========================================================================
   FULLWIDTH HEADER
   ========================================================================== */

#rf-body .et_pb_fullwidth_header {
    padding: var(--size-large) 0;
}

#rf-body .et_pb_fullwidth_header_container {
    margin: auto;
    max-width: var(--row-max-width);
    width: var(--row-width);
}

@media screen and (max-width: 400px) {
    #rf-body .et_pb_fullwidth_header_container {
        margin-left: auto;
        margin-right: auto;
    }
    
    #rf-body .et_pb_fullwidth_header {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

/* MAIN FOOTER AREA (deep forest ground, cream type) */
#main-footer,
.rf-footer {
    background-color: var(--color-ui-6);
    color: var(--color-font-inverse-2);
}

#main-footer a,
.rf-footer a {
    color: var(--color-font-inverse-2);
}

#main-footer a:hover,
.rf-footer a:hover {
    color: var(--color-font-inverse-1);
}

#main-footer #footer-widgets {
    display: block;
    justify-content: center;
}

#main-footer .footer-widget {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}

#main-footer .footer-widget li {
    padding-left: 0;
}

#main-footer .footer-widget li::before {
    display: none;
}

#main-footer .footer-widget .widget_media_image {
    padding-bottom: 0;
    margin-bottom: 20px;
}

/* Desktop footer widgets */
@media screen and (min-width: 981px) {
    #main-footer #footer-widgets {
        display: flex;
    }
}

/* Tablet footer widgets */
@media screen and (max-width: 980px) {
    #main-footer #footer-widgets {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* BOTTOM BAR */
#footer-info {
    font-family: var(--font-body);
    line-height: var(--line-height);
    font-weight: var(--font-weight-light);
    font-size: var(--font-size-body-small);
    line-height: var(--line-height-body-small);
    color: var(--color-font-inverse-3);
    float: none;
    padding: var(--size-small) 0;
    text-align: center;
}

#footer-info a {
    font-size: 14px;
}

/* ==========================================================================
   FORMS + GRAVITY FORMS
   ========================================================================== */

/* Recaptcha Notice Styling */
.recaptcha {
    font-size: .8rem !important;
    opacity: .7;
}

.recaptcha * {
    font-size: .8rem !important;
}

/* GENERAL FORM OVERRIDES */
.gform_validation_errors {
    text-transform: none;
}

/* GRAVITY FORMS */
#et-main-area .gform_wrapper .gform_submission_error {
    font-family: var(--font-body);
    line-height: var(--line-height);
    font-weight: 400;
    font-size: 1rem;
}

#et-main-area .gform_wrapper input[type="number"],
#et-main-area .gform_wrapper input[type="text"],
#et-main-area .gform_wrapper input[type="tel"],
#et-main-area .gform_wrapper input[type="email"],
#et-main-area .gform_wrapper input[type="date"],
#et-main-area .gform_wrapper textarea,
#et-main-area .gform_wrapper select {
    border: 1px solid var(--color-ui-4) !important; /* warm hairline */
    border-radius: var(--radius-button);
    background-color: var(--color-ui-1);
    color: var(--color-font-1);
    font-family: var(--font-body);
    font-weight: var(--font-weight-light);
    transition: var(--transition-standard);
}

#et-main-area .gform_wrapper input:focus-visible,
#et-main-area .gform_wrapper textarea:focus-visible,
#et-main-area .gform_wrapper select:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
    border-color: var(--color-5) !important;
}

/* Field labels: UI/Label (Montserrat SemiBold 11 caps +16%) */
#et-main-area .gform_wrapper .gfield_label {
    font-family: var(--font-interactive);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-label);
    text-transform: uppercase;
    color: var(--color-font-2);
}

/* Hide required fields message */
.gform_heading {
    display: none;
}

/* MAILCHIMP NEWSLETTER SIGNUP */
/* HORIZONTAL NEWSLETTER CODE */
#et-main-area .gform_wrapper .gf_simple_horizontal {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 838px;
    width: 100%;
    min-height: var(--size-large); /* can grow so validation messages show */
}

#et-main-area .gform_wrapper .gf_simple_horizontal * {
    margin: 0 auto;
    max-width: 838px;
    width: 100%;
}

/* Fixed height on the field + button only, not on wrappers or error messages */
#et-main-area .gform_wrapper .gf_simple_horizontal input,
#et-main-area .gform_wrapper .gf_simple_horizontal button,
#et-main-area .gform_wrapper .gf_simple_horizontal [type=submit] {
    height: var(--size-large);
}

#et-main-area .gform_wrapper .gf_simple_horizontal .gfield {
    padding: 0;
}

#et-main-area .gform_wrapper .gf_simple_horizontal input {
    padding: var(--size-small) var(--size-medium);
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

#et-main-area .gform_wrapper .gf_simple_horizontal input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#et-main-area .gform_wrapper .gf_simple_horizontal .gform_footer {
    position: absolute;
    width: 25%;
    right: 0;
}

#et-main-area .gform_wrapper .gf_simple_horizontal #gform_submit_button_2 {
    color: #fff !important;
    background-color: transparent;
    height: fit-content;
    border-left: 1px solid white;
}

#et-main-area .gform_wrapper .gf_simple_horizontal #gform_submit_button_2:hover {
    background-color: #fff !important;
    color: #000000 !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 0.0625rem inset #fff;
}

/* ==========================================================================
   SOCIAL ICONS [rf_social_media]
   ========================================================================== */

.rf-social-icons-inline .ul-social-et {
    display: flex;
    list-style-type: none;
    padding: 0;
}

.rf-social-icons-inline .ul-social-et .et-social-icon {
    margin: 0 var(--size-medium) 0 0;
}

.rf-social-icons-inline .ul-social-et .et-social-icon:last-child {
    margin: 0;
}

.rf-social-icons-inline .ul-social-et .et-social-icon a {
    font-size: var(--size-medium);
    width: 2.75rem; /* size-large - .25rem */
    height: 2.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    border-style: solid;
    border-width: .125rem;
}

.rf-social-icons-inline .ul-social-et .et-social-icon a::before {
    position: relative;
}

/* Accessibility hidden class for screen readers */
.rf-social-icons-inline .ul-social-et .et-social-icon span {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ==========================================================================
   NEWS
   ========================================================================== */

#rf-body .rf-news--header .header-content .et_pb_module_header {
    font-size: 3rem;
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 1.3889)), 3rem) !important;
}

#rf-body .rf-news .entry-featured-image-url {
    max-width: 550px;
}

#rf-body .rf-news .entry-title {
    line-height: 0.5em;
}

#rf-body .rf-news .entry-title a {
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0px;
    text-transform: none;
    font-size: 1.5rem !important;
    font-family: var(--font-title);
}

#rf-body .rf-news a.more-link {
    /* Button outline styles */
    color: var(--color-1) !important;
    background-color: transparent;
    box-shadow: 0 0 0 var(--button-border) inset var(--color-1);
    /* Button base styles */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: var(--button-height);
    border: none;
    border-radius: var(--radius-button);
    font-weight: var(--font-weight-semibold);
    padding: 0 var(--button-padding-x) !important;
    text-transform: uppercase;
    transition: var(--transition-standard);
    font-family: var(--font-interactive);
    line-height: 1 !important;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
    letter-spacing: var(--letter-spacing-button);
    margin-top: 1.5rem;
    font-size: var(--font-size-button);
}

#rf-body .rf-news a.more-link:hover {
    background-color: var(--color-1) !important;
    color: var(--color-font-inverse-1) !important;
    opacity: 1 !important;
}

#rf-body .rf-news .entry-featured-image-url img {
    border-radius: var(--radius-image);
}

#rf-body .et_pb_post_content h1,
#rf-body .et_pb_post_content h2,
#rf-body .et_pb_post_content h3,
#rf-body .et_pb_post_content h4,
#rf-body .et_pb_post_content h5,
#rf-body .et_pb_post_content h6 {
    text-transform: capitalize;
}

/* ==========================================================================
   HOME PAGE
   ========================================================================== */

#rf-body .rf-home--slider .et_pb_container {
    max-width: 1400px;
}

/* ==========================================================================
   MARANELLA ELEMENTS + EFFECTS (from the Figma "Customize" page)
   Add these classes in Divi > Advanced > CSS Class.
   ========================================================================== */

/* PAGE GROUND: cream is the default background */
body.et_divi_theme,
body.et_divi_theme #page-container,
body.et_divi_theme #main-content {
    background-color: var(--color-ui-2);
}

/* SCRIPT SUBHEADING (Yellowtail 34, forest): names a course, never a sentence */
#rf-body .rf-subheading,
#rf-body .rf-subheading h2,
#rf-body .rf-subheading h3,
#rf-body .rf-subheading p {
    font-family: var(--font-accent);
    font-weight: 400;
    font-size: var(--font-size-subheading);
    font-size: clamp(1.75rem, calc(1.75rem + ((1vw - 0.48rem) * 0.8929)), 2.125rem);
    line-height: var(--line-height-subheading);
    letter-spacing: 0;
    text-transform: none;
    color: var(--color-2);
}

/* ITEM NAME: SemiBold caps +12%, matches dish names on the printed menu */
#rf-body .rf-item-name {
    font-family: var(--font-interactive);
    font-size: var(--font-size-h6);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-h6);
    line-height: var(--line-height-h6);
    text-transform: uppercase;
    color: var(--color-font-1);
}

/* PRICE: brick */
#rf-body .rf-price {
    font-family: var(--font-interactive);
    font-weight: var(--font-weight-semibold);
    color: var(--color-1);
}

/* CAPTION / META: muted */
#rf-body .rf-caption {
    font-size: var(--font-size-body-small);
    line-height: var(--line-height-body-small);
    color: var(--color-font-3);
}

/* UI LABEL: meta and form labels only (not for eyebrows above headings) */
#rf-body .rf-label {
    font-family: var(--font-interactive);
    font-size: var(--font-size-label);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-label);
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--color-font-2);
}

/* --------------------------------------------------------------------------
   SURFACES / BANDS (put on a Divi section)
   -------------------------------------------------------------------------- */

#rf-body .rf-bg--white { background-color: var(--color-ui-1) !important; }
#rf-body .rf-bg--cream { background-color: var(--color-ui-2) !important; }
#rf-body .rf-bg--deep-cream { background-color: var(--color-ui-3) !important; } /* alternating bands */
#rf-body .rf-bg--brick { background-color: var(--color-1) !important; }
#rf-body .rf-bg--forest { background-color: var(--color-ui-5) !important; }
#rf-body .rf-bg--deep-forest { background-color: var(--color-ui-6) !important; }

/* Inverse type on dark bands: cream body, white headings, muted meta.
   Brick never sits on forest, so links go cream. */
#rf-body .rf-bg--forest,
#rf-body .rf-bg--deep-forest,
#rf-body .rf-bg--brick {
    color: var(--color-font-inverse-2);
}

#rf-body .rf-bg--forest :where(h1, h2, h3, h4, h5, h6),
#rf-body .rf-bg--deep-forest :where(h1, h2, h3, h4, h5, h6),
#rf-body .rf-bg--brick :where(h1, h2, h3, h4, h5, h6) {
    color: var(--color-font-inverse-2);
}

#rf-body .rf-bg--forest .rf-subheading,
#rf-body .rf-bg--forest .rf-subheading :where(h2, h3, p),
#rf-body .rf-bg--deep-forest .rf-subheading,
#rf-body .rf-bg--deep-forest .rf-subheading :where(h2, h3, p) {
    color: var(--color-font-inverse-2);
}

#rf-body .rf-bg--forest .rf-caption,
#rf-body .rf-bg--deep-forest .rf-caption,
#rf-body .rf-bg--forest .rf-label,
#rf-body .rf-bg--deep-forest .rf-label {
    color: var(--color-font-inverse-3);
}

#rf-body .rf-bg--forest p a,
#rf-body .rf-bg--deep-forest p a,
#rf-body .rf-bg--brick p a {
    color: var(--color-font-inverse-2) !important;
}

#rf-body .rf-bg--forest p a:hover,
#rf-body .rf-bg--deep-forest p a:hover,
#rf-body .rf-bg--brick p a:hover {
    color: var(--color-font-inverse-1) !important;
}

/* --------------------------------------------------------------------------
   ELEVATION (4 levels only)
   -------------------------------------------------------------------------- */

#rf-body .rf-elevation--flat { box-shadow: var(--shadow-flat); }
#rf-body .rf-elevation--card { box-shadow: var(--shadow-card); }
#rf-body .rf-elevation--raised { box-shadow: var(--shadow-raised); }
#rf-body .rf-elevation--overlay { box-shadow: var(--shadow-overlay); }

/* Hover lift: card (01) to raised (02), 240ms because it moves */
#rf-body .rf-hover-lift {
    box-shadow: var(--shadow-card);
    transition: var(--transition-move);
}

#rf-body .rf-hover-lift:hover {
    box-shadow: var(--shadow-raised);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   CARDS, PANELS, FEATURE BLOCKS
   -------------------------------------------------------------------------- */

/* Card: white lifted off cream, 16px radius, 01 shadow */
#rf-body .rf-card {
    background-color: var(--color-ui-1);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    padding: var(--size-medium);
}

/* Flat card: hairline, no shadow */
#rf-body .rf-card--flat {
    background-color: var(--color-ui-1);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-flat);
    overflow: hidden;
    padding: var(--size-medium);
}

/* Card with a full-bleed image on top */
#rf-body .rf-card--media {
    padding: 0;
}

#rf-body .rf-card--media .et_pb_image,
#rf-body .rf-card--media .et_pb_image_wrap,
#rf-body .rf-card--media img {
    border-radius: 0;
    margin-bottom: 0;
}

#rf-body .rf-card--media .et_pb_text {
    padding: var(--size-medium);
}

/* Panel: 16px radius, usually on a band color */
#rf-body .rf-panel {
    border-radius: var(--radius-card);
    overflow: hidden;
    padding: var(--size-large);
}

/* Feature block: 24px radius */
#rf-body .rf-feature {
    border-radius: var(--radius-feature);
    overflow: hidden;
}

@media (max-width: 767px) {
    #rf-body .rf-panel {
        padding: var(--size-medium);
    }
}

/* --------------------------------------------------------------------------
   DIVIDERS + RULES
   -------------------------------------------------------------------------- */

/* Warm hairline (never type) */
#rf-body .rf-divider,
#rf-body .rf-divider .et_pb_divider_internal {
    border-color: var(--color-ui-4) !important;
}

#rf-body hr.rf-divider {
    border: 0;
    border-top: 1px solid var(--color-ui-4);
}

/* Brick section rule */
#rf-body .rf-rule--brick,
#rf-body .rf-rule--brick .et_pb_divider_internal {
    border-color: var(--color-1) !important;
}

/* Hairline between stacked rows (menu items, hours) */
#rf-body .rf-hairline-bottom {
    border-bottom: 1px solid var(--color-ui-4);
}

#rf-body .rf-hairline-top {
    border-top: 1px solid var(--color-ui-4);
}

/* Hovered row (deep cream) */
#rf-body .rf-row-hover {
    transition: var(--transition-standard);
}

#rf-body .rf-row-hover:hover {
    background-color: var(--color-ui-3);
}

/* --------------------------------------------------------------------------
   IMAGES: 4px radius on all photography, four ratios
   -------------------------------------------------------------------------- */

#rf-body .rf-img img,
#rf-body .rf-img .et_pb_image_wrap,
#rf-body .et_pb_gallery_image img {
    border-radius: var(--radius-image);
}

#rf-body .rf-ratio--16x9 img,
#rf-body .rf-ratio--4x3 img,
#rf-body .rf-ratio--1x1 img,
#rf-body .rf-ratio--4x5 img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-image);
}

#rf-body .rf-ratio--16x9 img { aspect-ratio: 16 / 9; } /* hero, full-bleed bands */
#rf-body .rf-ratio--4x3 img { aspect-ratio: 4 / 3; } /* standard content image */
#rf-body .rf-ratio--1x1 img { aspect-ratio: 1 / 1; } /* grid tiles, dish cards */
#rf-body .rf-ratio--4x5 img { aspect-ratio: 4 / 5; } /* portrait, mobile hero */

/* Image zoom inside a card on hover (subtle, no bounce) */
#rf-body .rf-img-zoom {
    overflow: hidden;
}

#rf-body .rf-img-zoom img {
    transition: transform 0.24s ease-out;
}

#rf-body .rf-img-zoom:hover img {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   HERO SCRIM: espresso 10 / 48 / 90%, type in the bottom third, never centred
   Put .rf-scrim on a section/row/column with a background image.
   -------------------------------------------------------------------------- */

#rf-body .rf-scrim {
    position: relative;
    isolation: isolate;
}

#rf-body .rf-scrim::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-hero-scrim);
    pointer-events: none;
    z-index: 0;
}

#rf-body .rf-scrim > * {
    position: relative;
    z-index: 1;
}

#rf-body .rf-scrim,
#rf-body .rf-scrim :where(h1, h2, h3, h4, h5, h6, p),
#rf-body .rf-scrim .rf-subheading,
#rf-body .rf-scrim .rf-subheading :where(h2, h3, p) {
    color: var(--color-font-inverse-2);
}

/* Bottom-third, left-aligned content */
#rf-body .rf-scrim--bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#rf-body .rf-scrim--bottom .et_pb_row {
    padding-left: var(--scrim-inset);
    text-align: left;
}

@media (max-width: 767px) {
    #rf-body .rf-scrim--bottom .et_pb_row {
        padding-left: var(--scrim-inset-mobile);
    }
}

/* Image overlay (grey gradient from the file, for image tiles) */
#rf-body .rf-overlay {
    position: relative;
    isolation: isolate;
}

#rf-body .rf-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--overlay-image);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

#rf-body .rf-overlay > * {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   COMPONENTS
   -------------------------------------------------------------------------- */

/* Avatar: 96px circle, reviews only */
#rf-body .rf-avatar img,
#rf-body img.rf-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

/* Map: desaturated toward cream + forest, never default Google blue */
#rf-body .rf-map,
#rf-body .rf-map iframe,
#rf-body .rf-map .et_pb_map {
    border-radius: var(--radius-card);
    overflow: hidden;
}

#rf-body .rf-map iframe,
#rf-body .rf-map .et_pb_map {
    filter: grayscale(1) sepia(0.35) hue-rotate(60deg) saturate(0.6) contrast(0.95) brightness(1.02);
}

/* Logo: minimum width 160px (use the M mark below that) */
#rf-body .rf-logo img {
    min-width: 10rem;
}

/* --------------------------------------------------------------------------
   MOTION SAFETY
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    #rf-body *,
    #rf-body *::before,
    #rf-body *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    #rf-body .rf-hover-lift:hover,
    #rf-body .rf-img-zoom:hover img {
        transform: none;
    }
}

/* ==========================================================================
   LOGIN PAGE (scoped to body.login, harmless on front end)
   ========================================================================== */

body.login {
    background-color: var(--color-ui-1);
    color: var(--color-font-2);
    font-size: 1rem;
    line-height: var(--line-height);
    display: flex;
}

body.login::after {
    content: "";
    display: block;
    height: 100%;
    flex-grow: 1;
    background-color: var(--color-1);
    background-size: cover;
    background-position: center;
}

#login {
    width: 50%;
    min-width: 480px;
    padding: var(--size-large) var(--size-xxlarge);
    min-height: 100vh;
    box-sizing: border-box;
    background-color: var(--color-ui-1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

#login #loginform {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

#login h1 {
    margin-top: auto;
}

#login h1 a {
    height: 197px;
    width: 260px;
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 0;
    margin-bottom: 0;
}

#login a {
    color: var(--color-1);
    transition: var(--transition-standard);
}

#login label {
    line-height: var(--line-height);
    margin-bottom: 0;
    color: var(--color-font-3);
}

#login input {
    transition: var(--transition-standard);
}

#login input[type=text],
#login input[type=password] {
    font-size: 1rem;
    line-height: var(--line-height);
    padding: var(--size-small) var(--size-medium);
    background: transparent;
    border-radius: 0;
    color: var(--color-font-2);
    border-color: var(--color-font-3);
}

#login input[type=text]:focus,
#login input[type=password]:focus {
    box-shadow: 0 0 0 1px var(--color-1);
}

#login input[type=checkbox] {
    border-color: var(--color-font-3);
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
}

#login button.wp-hide-pw {
    height: 3rem;
    width: 3rem;
    top: 1px;
    right: 1px;
    color: var(--color-1);
}

#login input[type=submit] {
    font-size: 1rem;
    line-height: var(--line-height);
    padding: var(--size-small) var(--size-medium);
    color: var(--color-font-inverse);
    text-transform: uppercase;
    background-color: var(--color-1) !important;
    border-color: var(--color-1) !important;
    border-radius: 0;
}

#login input[type=submit]:hover {
    background-color: var(--color-2) !important;
    border-color: var(--color-2) !important;
}

#login p.submit::after {
    content: "";
    visibility: hidden;
    display: block;
    clear: both;
}

#login .itsec-pwls-login-fallback {
    position: static;
    margin-top: 10px;
}

#login #backtoblog,
#login #nav {
    padding: 0;
}

#login #backtoblog a,
#login #nav a {
    color: var(--color-font-3);
}

#login #backtoblog a:hover,
#login #nav a:hover {
    color: var(--color-1);
}

#login .privacy-policy-page-link {
    margin: auto 0 0;
    justify-self: flex-end;
}

/* TABLET AND MOBILE RESPONSIVE */
@media (max-width: 767px) {
    #login {
        width: 100%;
        min-width: 0;
        padding: var(--size-large);
    }
}

@media (max-width: 480px) {
    #login {
        padding: var(--size-large) var(--size-medium);
    }
}