/*
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: #2E3E92;
    --color-2: #ED1C24;
    --color-3: #0F203B;
    --color-4: #CCDCFF;
    --color-5: #F68823;
    
    --color-font-1: #1F2125;
    --color-font-2: #393B40;
    --color-font-3: rgba(57, 59, 64, 0.6);
    --color-font-inverse: #fff;
    
    --color-ui-1: #fff;
    
    /* TYPOGRAPHY */
    --line-height: 1.5rem;
    --font-title: "Montserrat", "Open Sans", "Arial", "Helvetica Neue", sans-serif;
    --font-body: "Montserrat", "Open Sans", "Arial", "Helvetica Neue", sans-serif;
    --font-interactive: "Montserrat", "Open Sans", "Arial", "Helvetica Neue", sans-serif;
    
    /* SIZING */
    --size-xxsmall: 0.375rem; /* line-height / 4 */
    --size-xsmall: 0.5rem; /* line-height / 3 */
    --size-small: 0.75rem; /* line-height / 2 */
    --size-medium: 1.5rem; /* line-height */
    --size-large: 3rem; /* line-height * 2 */
    --size-xlarge: 4.5rem; /* line-height * 3 */
    --size-xxlarge: 6rem; /* line-height * 4 */
    
    --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 */
    --transition-standard: all 0.3s ease;
}

/* ==========================================================================
   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: 4rem;
    font-size: clamp(3rem, calc(3rem + ((1vw - 0.48rem) * 1.3889)), 4rem);
}

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: 3rem;
    font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 1.3889)), 3rem);
}

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: 2.25rem;
    font-size: clamp(1.5rem, calc(1.5rem + ((1vw - 0.48rem) * 1.0417)), 2.25rem);
}

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-title);
    min-height: 0vw;
    font-size: 1.5rem;
    font-size: clamp(1.25rem, calc(1.25rem + ((1vw - 0.48rem) * 0.3472)), 1.5rem);
}

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-title);
    min-height: 0vw;
    font-size: 1.25rem;
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.48rem) * 0.3472)), 1.25rem);
}

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-title);
    min-height: 0vw;
    font-size: 1rem;
    font-size: clamp(0.85rem, calc(0.85rem + ((1vw - 0.48rem) * 0.2083)), 1rem);
    line-height: var(--line-height);
}

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: 400;
    font-size: 1rem;
}

#rf-body {
    font-family: var(--font-body);
    line-height: var(--line-height);
    font-weight: 400;
    font-size: 1rem;
}

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: 700;
}

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-2) !important;
}

/* LARGE PARAGRAPH STYLE */
body.et_divi_theme .rf-paragraph--large,
body.et_divi_theme .rf-paragraph--large a {
    font-size: 1.3125rem;
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.3rem) * 0.5435)), 1.3125rem);
}

#rf-body .rf-paragraph--large,
#rf-body .rf-paragraph--large a {
    font-size: 1.3125rem;
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.3rem) * 0.5435)), 1.3125rem);
}

/* SMALL PARAGRAPH STYLE */
body.et_divi_theme .rf-paragraph--small,
body.et_divi_theme .rf-paragraph--small a {
    font-size: 0.875rem;
    line-height: 1.3125rem;
}

#rf-body .rf-paragraph--small,
#rf-body .rf-paragraph--small a {
    font-size: 0.875rem;
    line-height: 1.3125rem;
}

/* DARK LAYOUT */
body.et_divi_theme .et_pb_layout_dark {
    color: var(--color-font-inverse);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

/* BASE BUTTON STRUCTURE */
#rf-body .et_pb_button,
#rf-body .df-menu-button,
#rf-body .gform_button,
#rf-body [type=submit] {
    display: inline-flex;
    justify-content: center;
    position: relative;
    border: none;
    font-size: 1rem;
    font-size: clamp(0.85rem, calc(0.85rem + ((1vw - 0.48rem) * 0.2083)), 1rem);
    font-weight: 400;
    letter-spacing: 1px;
    padding: var(--size-small) var(--size-medium) !important;
    text-transform: capitalize;
    transition: var(--transition-standard);
    font-family: var(--font-interactive);
    line-height: var(--line-height) !important;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
    /* Primary button styles as base */
    color: var(--color-font-inverse);
    background-color: var(--color-1);
}

#rf-body .et_pb_button:hover,
#rf-body .df-menu-button:hover,
#rf-body .gform_button:hover,
#rf-body [type=submit]:hover {
    background-color: transparent !important;
    color: var(--color-1) !important;
    box-shadow: 0 0 0 0.125rem inset var(--color-1);
}

/* PRIMARY BUTTON */
#rf-body .rf-button--primary {
    color: var(--color-font-inverse);
    background-color: var(--color-1);
}

#rf-body .rf-button--primary:hover {
    background-color: transparent !important;
    color: var(--color-1) !important;
    box-shadow: 0 0 0 0.125rem inset var(--color-1);
}

/* OUTLINE BUTTON */
#rf-body .rf-button--outline {
    color: var(--color-1) !important;
    background-color: transparent;
    height: fit-content;
    box-shadow: 0 0 0 0.125rem inset var(--color-1);
}

#rf-body .rf-button--outline:hover {
    background-color: var(--color-1) !important;
    color: #fff !important;
    opacity: 1 !important;
}

/* SECONDARY BUTTON */
#rf-body .rf-button--secondary {
    color: var(--color-font-inverse);
    background-color: var(--color-2);
}

#rf-body .rf-button--secondary:hover {
    background-color: transparent !important;
    color: var(--color-2) !important;
    box-shadow: 0 0 0 0.125rem inset var(--color-2);
}

/* SECONDARY OUTLINE BUTTON */
#rf-body .rf-button--secondary-outline {
    color: var(--color-2);
    background-color: var(--color-font-inverse);
    box-shadow: 0 0 0 0.125rem inset var(--color-2);
}

#rf-body .rf-button--secondary-outline:hover {
    background-color: var(--color-2) !important;
    color: var(--color-font-inverse) !important;
    box-shadow: 0 0 0 0.125rem inset var(--color-2);
}

/* INVERSE BUTTON */
#rf-body .rf-button--inverse {
    color: var(--color-2) !important;
    background-color: var(--color-font-inverse);
    height: fit-content;
    box-shadow: 0 0 0 0.125rem inset #fff;
}

#rf-body .rf-button--inverse:hover {
    background-color: transparent;
    color: #fff !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 0.125rem inset #fff;
}

/* INVERSE OUTLINE BUTTON */
#rf-body .rf-button--inverse-outline {
    color: #fff !important;
    background-color: transparent;
    height: fit-content;
    box-shadow: 0 0 0 0.125rem inset #fff;
}

#rf-body .rf-button--inverse-outline:hover {
    background-color: #fff !important;
    color: #000000 !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 0.125rem inset #fff;
}

/* NEWSLETTER BUTTON */
#rf-body .rf-button--newsletter {
    color: #fff !important;
    background-color: transparent;
    height: fit-content;
}

#rf-body .rf-button--newsletter:hover {
    background-color: #fff !important;
    color: #000000 !important;
    opacity: 1 !important;
    box-shadow: 0 0 0 0.0625rem inset #fff;
}

/* 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: 1.3125rem;
    font-size: clamp(0.75rem, calc(0.75rem + ((1vw - 0.48rem) * 0.6944)), 1.25rem);
}

#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: clamp(0.75rem, calc(0.75rem + ((1vw - 0.48rem) * 0.6944)), 1.25rem);
}

#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;
    }
    
    #rf-body li.btn a {
        color: var(--color-1) !important;
        background-color: transparent;
        height: fit-content;
        padding: var(--size-medium) var(--size-medium) !important;
        box-shadow: 0 0 0 0.0625rem inset var(--color-1);
    }
    
    #rf-body li.btn a:hover {
        background-color: var(--color-1) !important;
        color: var(--color-font-inverse) !important;
        opacity: 1 !important;
    }
    
    #main-header li.btn a {
        color: var(--color-font-inverse) !important;
        background-color: var(--color-1);
        height: fit-content;
    }
    
    #main-header li.btn a:hover {
        background-color: transparent !important;
        color: var(--color-1) !important;
        box-shadow: 0 0 0 0.125rem inset var(--color-1);
        opacity: 1 !important;
    }
}

/* 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 */
#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: 400;
    font-size: 0.875rem;
    line-height: 1.3125rem;
    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 { 
    border: 1px solid #bbb !important;
}

/* 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;
    height: fit-content;
    box-shadow: 0 0 0 0.125rem inset var(--color-1);
    /* Button base styles */
    display: inline-flex;
    justify-content: center;
    position: relative;
    border: none;
    font-weight: 400;
    padding: var(--size-small) var(--size-medium) !important;
    text-transform: capitalize;
    transition: var(--transition-standard);
    font-family: var(--font-interactive);
    line-height: var(--line-height) !important;
    text-align: center;
    text-shadow: none;
    cursor: pointer;
    letter-spacing: 2px;
    margin-top: 1.5rem;
    font-size: 1rem;
    font-size: clamp(.875rem, calc(.875rem + ((1vw - 0.48rem) * 0.2083)), 1rem);
}

#rf-body .rf-news a.more-link:hover {
    background-color: var(--color-1) !important;
    color: #fff !important;
    opacity: 1 !important;
}

#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;
}

/* ==========================================================================
   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);
    }
}