/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

/* === ESE RED WHITE DESIGN START === */
:root {
  --primary-color: #c40000 !important;
  --fs-color-primary: #c40000 !important;
  --fs-color-secondary: #d01822 !important;
  --fs-color-success: #c40000 !important;
  --fs-color-alert: #b20000 !important;
  --ese-red: #c40000;
  --ese-red-soft: #ed1c24;
  --ese-red-dark: #8f0000;
  --ese-ink: #171111;
  --ese-muted: #6e5656;
  --ese-paper: #f7f2ee;
  --ese-paper-2: #fff7f4;
  --ese-white: #fff;
  --ese-yellow: #f5db34;
}

body {
  background: var(--ese-paper) !important;
  color: var(--ese-ink);
}

.red,
.header-nav a:hover,
.nav > li.active > a,
.nav > li > a:hover {
  color: var(--ese-red) !important;
}

.yellow {
  color: var(--ese-yellow) !important;
}

.button,
.button.primary,
button,
input[type="submit"] {
  border-radius: 999px !important;
}

.button.primary,
.button.is-primary,
.button.checkout,
.ux-search-submit {
  background: var(--ese-red) !important;
  border-color: var(--ese-red) !important;
  color: #fff !important;
}

.button.primary:hover,
.button.is-primary:hover {
  background: var(--ese-red-dark) !important;
  border-color: var(--ese-red-dark) !important;
}

.header-wrapper,
.header-main,
.header-bg-color {
  background: rgba(255,255,255,0.98) !important;
}

.header-main {
  border-bottom: 1px solid rgba(196,0,0,.16);
}

#top-bar,
.header-top,
.account-item,
.cart-item,
.wishlist-icon,
.header-search,
.header-newsletter-item,
.header-social-icons,
.header-nav .element-error,
.header-nav .search-form,
.header-nav .html {
  display: none !important;
}

#logo img {
  width: auto !important;
  max-width: 196px !important;
  max-height: 84px !important;
  object-fit: contain !important;
}

.header-nav a[rel="home"],
.header-nav img.header_logo,
.header-nav img.header-logo,
.header-nav img.header-logo-dark {
  display: none !important;
}

.header-main .nav > li > a {
  color: var(--ese-ink) !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
}

@media (min-width: 1200px) {
  .header-main .nav > li > a {
    font-size: 22px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

.page-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.section.ese-corner-frame,
.ese-corner-frame {
  position: relative;
  overflow: hidden;
}

.section.ese-corner-frame::before,
.ese-corner-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(var(--ese-red), var(--ese-red)) left top / 128px 6px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) left top / 6px 128px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) right top / 128px 6px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) right top / 6px 128px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) left bottom / 128px 6px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) left bottom / 6px 128px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) right bottom / 128px 6px no-repeat,
    linear-gradient(var(--ese-red), var(--ese-red)) right bottom / 6px 128px no-repeat;
  opacity: .95;
}

.section.ese-corner-frame .section-content,
.ese-corner-frame > * {
  position: relative;
  z-index: 2;
}

.ese-bg-pattern,
.section.ese-bg-pattern {
  background-color: #fff !important;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(196,0,0,.09), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(196,0,0,.09), transparent 30%),
    repeating-linear-gradient(135deg, rgba(196,0,0,.045) 0 12px, rgba(196,0,0,.018) 12px 26px, transparent 26px 54px) !important;
}

.ese-hero-red,
.section.ese-hero-red {
  background-color: #fff !important;
  background-image:
    linear-gradient(100deg, rgba(255,255,255,.98) 0 48%, rgba(196,0,0,.94) 48% 100%),
    repeating-linear-gradient(135deg, rgba(196,0,0,.09) 0 14px, rgba(196,0,0,.03) 14px 32px) !important;
}

.ese-soft,
.section.ese-soft {
  background: var(--ese-paper) !important;
}

.ese-red-band,
.section.ese-red-band {
  background: var(--ese-red) !important;
  color: #fff !important;
}

.ese-red-band h1,
.ese-red-band h2,
.ese-red-band h3,
.ese-red-band p {
  color: #fff !important;
}

.ese-kicker-red {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  background: var(--ese-red);
  color: #fff !important;
  border-radius: 0;
  box-shadow: 7px 7px 0 rgba(196,0,0,.22);
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.ese-kicker-red.is-light {
  background: #fff;
  color: var(--ese-red) !important;
  box-shadow: 7px 7px 0 rgba(255,255,255,.36);
}

.ese-xl-title h1,
.ese-xl-title h2 {
  font-size: clamp(52px, 8.5vw, 118px);
  line-height: .88;
  letter-spacing: 0;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-section-title h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-copy p,
.ese-copy {
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.35;
  font-weight: 700;
}

.ese-logo-card {
  background: rgba(255,255,255,.94);
  border: 6px solid var(--ese-red);
  box-shadow: 14px 14px 0 rgba(196,0,0,.18);
  padding: clamp(18px, 3vw, 34px);
}

.ese-virus-card,
.ese-info-card,
.ese-way-card {
  background: #fff;
  border: 2px solid rgba(196,0,0,.18);
  border-top: 8px solid var(--ese-red);
  box-shadow: 0 10px 26px rgba(93,0,0,.08);
  padding: clamp(20px, 3vw, 32px);
  min-height: 100%;
}

.ese-info-card h3,
.ese-way-card h3 {
  color: var(--ese-red);
  font-weight: 950;
  text-transform: uppercase;
}

.ese-info-card p,
.ese-way-card p,
.ese-virus-card p {
  color: var(--ese-ink);
}

.ese-icon-badge,
.ese-event-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ese-red);
  color: #fff;
  flex: 0 0 auto;
}

.ese-icon-badge svg,
.ese-event-icon svg,
.ese-floating-events svg,
.ese-event-lines svg,
.ese-event-actions svg,
.ese-calendar-tabs svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ese-event-img img,
.event-img {
  filter: grayscale(100%) contrast(110%);
  transition: .35s ease;
}

.ese-event-img:hover img,
.event-box:hover .event-img {
  filter: grayscale(0%) contrast(112%) saturate(110%);
}

.ese-events-hero .section-bg-overlay {
  background: rgba(196,0,0,.18) !important;
}

.ese-hero-panel {
  max-width: 520px;
  padding: clamp(26px, 5vw, 54px);
  background: rgba(196,0,0,.90);
  color: #fff;
  box-shadow: 16px 16px 0 rgba(255,255,255,.30);
}

.ese-hero-panel h1,
.ese-hero-panel h2,
.ese-hero-panel p {
  color: #fff !important;
}

.ese-hero-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .96;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-floating-events {
  position: fixed;
  right: 16px;
  top: 50%;
  z-index: 9999;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--ese-red);
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 26px rgba(196,0,0,.30);
}

.ese-floating-events:hover {
  background: var(--ese-red-dark);
  color: #fff !important;
  transform: translateY(-50%) scale(1.04);
}

.ese-calendar-shell {
  display: grid;
  gap: 26px;
}

.ese-calendar-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ese-calendar-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 14px;
  border: 2px solid rgba(196,0,0,.20);
  background: #fff;
  color: var(--ese-red) !important;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none !important;
}

.ese-calendar-tabs a span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ese-calendar-tabs svg {
  width: 24px;
  height: 24px;
}

.ese-calendar-tabs a.is-active,
.ese-calendar-tabs a:hover {
  background: var(--ese-red);
  color: #fff !important;
}

.ese-calendar-heading h2 {
  margin-bottom: 6px;
  color: var(--ese-ink);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-calendar-heading p {
  margin: 0;
  color: var(--ese-muted);
  font-size: 18px;
  font-weight: 700;
}

.ese-calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ese-calendar-empty,
.ese-event-card {
  background: #fff;
  border: 2px solid var(--ese-red);
  border-top-width: 7px;
  box-shadow: 0 8px 22px rgba(93,0,0,.07);
}

.ese-calendar-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 28px;
}

.ese-event-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
}

.ese-event-card.is-featured {
  background: linear-gradient(180deg, #fff 0%, #fff8f6 100%);
}

.ese-event-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ese-event-date {
  display: inline-flex;
  align-items: center;
  color: var(--ese-red);
  font-weight: 950;
}

.ese-event-card h3 {
  margin: 0 0 11px;
  color: var(--ese-ink);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-event-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 13px;
}

.ese-event-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--ese-red);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-event-lines {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
}

.ese-event-lines p {
  margin: 0;
  color: var(--ese-ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 750;
}

.ese-event-lines p:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ese-event-lines svg {
  width: 18px;
  height: 18px;
  color: var(--ese-red);
}

.ese-event-excerpt {
  color: var(--ese-muted);
  font-size: 16px;
  line-height: 1.42;
}

.ese-event-excerpt p:last-child {
  margin-bottom: 0;
}

.ese-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
}

.ese-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border: 2px solid var(--ese-red);
  border-radius: 999px;
  font-weight: 950;
  text-transform: uppercase;
  text-decoration: none !important;
}

.ese-btn svg {
  width: 20px;
  height: 20px;
}

.ese-btn-red {
  background: var(--ese-red);
  color: #fff !important;
}

.ese-btn-outline {
  background: #fff;
  color: var(--ese-red) !important;
}

.absolute-footer {
  background: #fff !important;
  color: var(--ese-ink) !important;
  border-top: 1px solid rgba(196,0,0,.14);
}

.absolute-footer a {
  color: var(--ese-red) !important;
}

@media (max-width: 849px) {
  #logo img {
    max-width: 132px !important;
    max-height: 64px !important;
  }

  .section.ese-corner-frame::before,
  .ese-corner-frame::before {
    inset: 10px;
    background:
      linear-gradient(var(--ese-red), var(--ese-red)) left top / 70px 4px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) left top / 4px 70px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) right top / 70px 4px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) right top / 4px 70px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) left bottom / 70px 4px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) left bottom / 4px 70px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) right bottom / 70px 4px no-repeat,
      linear-gradient(var(--ese-red), var(--ese-red)) right bottom / 4px 70px no-repeat;
  }

  .ese-xl-title h1,
  .ese-xl-title h2 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .ese-hero-red,
  .section.ese-hero-red {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.98) 0 56%, rgba(196,0,0,.94) 56% 100%) !important;
  }

  .ese-hero-panel {
    box-shadow: 8px 8px 0 rgba(255,255,255,.32);
  }

  .ese-calendar-grid {
    grid-template-columns: 1fr;
  }

  .ese-calendar-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .ese-calendar-tabs a {
    flex: 0 0 auto;
  }

  .ese-floating-events {
    right: 12px;
    top: auto;
    bottom: 14px;
    transform: none;
    width: 54px;
    height: 54px;
  }

  .ese-floating-events:hover {
    transform: scale(1.04);
  }
}
/* === ESE RED WHITE DESIGN END === */

/* === ESE HERO MOBILE REFINEMENTS START === */
html,
body {
  overflow-x: hidden;
}

.ese-hero-red .section-content .row,
.ese-events-hero .section-content .row {
  max-width: 1180px !important;
}

.ese-custom-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  width: 100%;
}

.ese-custom-hero-copy {
  padding: clamp(28px, 5vw, 58px);
  background: var(--ese-red);
  color: #fff;
  box-shadow: 14px 14px 0 rgba(196,0,0,.16);
}

.ese-custom-hero-copy h1,
.ese-custom-hero-copy h2,
.ese-custom-hero-copy p {
  color: #fff !important;
}

.ese-custom-hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(50px, 7vw, 104px);
  line-height: .88;
  letter-spacing: 0;
  font-weight: 950;
  text-transform: uppercase;
}

.ese-custom-hero-copy p {
  max-width: 540px;
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.32;
  font-weight: 800;
}

.ese-custom-hero-copy .button {
  margin-top: 18px;
  border-color: #fff !important;
  color: #fff !important;
}

.ese-custom-hero-media {
  position: relative;
  display: grid;
  gap: 18px;
}

.ese-custom-hero-logo,
.ese-custom-hero-photo {
  background: #fff;
  border: 6px solid var(--ese-red);
  box-shadow: 14px 14px 0 rgba(196,0,0,.14);
}

.ese-custom-hero-logo {
  padding: clamp(18px, 3vw, 34px);
}

.ese-custom-hero-logo img,
.ese-custom-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.ese-custom-hero-photo {
  overflow: hidden;
}

.ese-custom-hero-photo img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: grayscale(100%) contrast(112%);
}

.ese-custom-hero-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ese-custom-hero-mini img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--ese-red);
  background: #fff;
  filter: grayscale(100%) contrast(112%);
}

.ese-hero-panel {
  max-width: min(540px, calc(100vw - 48px));
  box-sizing: border-box;
}

.ese-hero-panel h1 {
  overflow-wrap: anywhere;
}

@media (max-width: 849px) {
  .ese-custom-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ese-custom-hero-copy {
    padding: 28px;
    box-shadow: 8px 8px 0 rgba(196,0,0,.14);
  }

  .ese-custom-hero-copy h1 {
    font-size: clamp(38px, 14vw, 54px);
  }

  .ese-custom-hero-copy p {
    font-size: 18px;
  }

  .ese-custom-hero-mini {
    grid-template-columns: 1fr;
  }

  .ese-info-card,
  .ese-way-card {
    width: min(100%, calc(100vw - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .ese-event-card-top {
    align-items: flex-start;
  }

  .ese-event-date {
    justify-content: flex-end;
    text-align: right;
  }
}
/* === ESE HERO MOBILE REFINEMENTS END === */