/*
  High Threat Training Group — Complete Arlo Plugin Custom CSS
  Paste into: Arlo Plugin > Custom CSS

  Includes:
  - High Threat Training brand colors and fonts.
  - Deep navy Arlo schedule background.
  - Oswald H1 / heading styling and Montserrat body text.
  - Classes H1 branding.
  - H2 signup-message styling.
  - Muted Gold registration / Register Interest buttons.
  - Centered Register Interest button text.
  - Muted Gold Reset button styling.
  - Date/location sizing fix so dates and cities are not cut off.
  - Strong date/location pipe separator styling for: 20-24 July | Searsboro.

  Important:
  - Do not include <style> tags in Arlo Custom CSS.
  - If the Google font @import is ignored by Arlo, load Oswald and Montserrat through WordPress, Elementor, or the theme font settings.
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Oswald:wght@600;700&display=swap');

/* Main Arlo Wrapper */
#arlo.arlo {
  background-color: #030B18 !important;
  color: #ffffff !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  padding: 28px;
  border-radius: 8px;
}

/* General Arlo Text */
#arlo,
#arlo p,
#arlo div,
#arlo span,
#arlo label,
#arlo select,
#arlo input,
#arlo textarea,
#arlo .normal-text,
#arlo .summary,
#arlo .location,
#arlo .duration,
#arlo .arlo-region-selector,
#arlo .display-filters,
#arlo .hide-filters {
  font-family: 'Montserrat', Arial, sans-serif !important;
  color: #f8f8f6 !important;
}

/* Classes H1 — High Threat Training Brand Style */
#arlo h1,
#arlo .arlo-category-title h1,
#arlo .classes-title {
  font-family: 'Oswald', Impact, sans-serif !important;
  color: #ffffff !important;
  font-size: clamp(42px, 7vw, 104px) !important;
  font-weight: 700 !important;
  line-height: 0.92em !important;
  letter-spacing: -0.25px;
  text-transform: uppercase;
  margin: 0 0 18px !important;
}

/* H2 Signup Message Under Classes */
#arlo .htg-classes-signup-message {
  font-family: 'Montserrat', Arial, sans-serif !important;
  color: #f8f8f6 !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 400 !important;
  line-height: 1.6em !important;
  max-width: 980px;
  margin: 0 0 34px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

#arlo .htg-classes-signup-message strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Category / Group Headings */
#arlo h2:not(.htg-classes-signup-message),
#arlo h3,
#arlo .name,
#arlo .name a,
#arlo .filter-toggle {
  font-family: 'Oswald', Impact, sans-serif !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

#arlo h2:not(.htg-classes-signup-message) {
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.05em;
  margin-top: 32px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid #a67c2d;
}

/* Class / Event Titles */
#arlo .name {
  margin-bottom: 10px;
}

#arlo .name a {
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15em;
  text-decoration: none !important;
}

#arlo .name a:hover,
#arlo .name a:focus {
  color: #a67c2d !important;
  text-decoration: none !important;
}

/* Schedule Details */
#arlo .summary,
#arlo .normal-text,
#arlo .duration,
#arlo .location {
  font-size: 16px;
  line-height: 1.6em;
}

#arlo .location {
  color: #b8babd !important;
  font-weight: 500;
}

/* Schedule Cards */
#arlo .schedule-item,
#arlo .schedule-item.bg-white {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(184, 186, 189, 0.28);
  border-left: 4px solid #a67c2d;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

#arlo .scheduled-dates {
  border-left: 1px solid rgba(184, 186, 189, 0.25);
  padding-left: 22px;
}

/* Date / Location Display Fix — prevents clipping and compact button behavior */
#arlo .scheduled-dates,
#arlo .scheduled-dates *,
#arlo .scheduled-dates a,
#arlo .scheduled-dates button,
#arlo .scheduled-dates .btn,
#arlo .scheduled-dates .normal-text,
#arlo .scheduled-dates .location {
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

/* If Arlo renders dates as clickable items, keep them text-like rather than button-like. */
#arlo .scheduled-dates a,
#arlo .scheduled-dates button,
#arlo .scheduled-dates .btn {
  align-items: flex-start !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f8f8f6 !important;
  display: block !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  height: auto !important;
  justify-content: flex-start !important;
  letter-spacing: 0 !important;
  line-height: 1.55em !important;
  margin: 0 0 12px !important;
  min-height: 0 !important;
  padding: 0 0 12px !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  width: 100% !important;
}

#arlo .scheduled-dates .normal-text {
  color: #ffffff !important;
  display: block !important;
  font-weight: 600 !important;
  line-height: 1.55em !important;
  margin-bottom: 2px !important;
}

#arlo .scheduled-dates .location {
  color: #b8babd !important;
  display: block !important;
  font-weight: 500 !important;
  line-height: 1.55em !important;
}

/* Strong Inline Date / City Output: 20-24 July | Searsboro */
#arlo .scheduled-dates .event-date-location,
#arlo .event-date-location {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.55em !important;
  color: #ffffff !important;
}

#arlo .scheduled-dates .event-date-location .date-location-separator,
#arlo .event-date-location .date-location-separator {
  display: inline !important;
  margin: 0 !important;
  color: #a67c2d !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

#arlo .scheduled-dates .event-date-location .location-inline,
#arlo .scheduled-dates .event-date-location span.location.location-inline,
#arlo .event-date-location .location-inline,
#arlo .event-date-location span.location.location-inline {
  display: inline !important;
  color: #b8babd !important;
  font-weight: 500 !important;
  white-space: normal !important;
}

/* Filters Area */
#arlo .arlo-schedule-filters {
  background-color: rgba(31, 36, 39, 0.42);
  border: 1px solid rgba(184, 186, 189, 0.25);
  border-radius: 6px;
  padding: 18px;
  margin-bottom: 20px;
}

#arlo .arlo-region-selector {
  margin-bottom: 20px;
}

/* Filter Fields */
#arlo select,
#arlo textarea,
#arlo input[type='text'],
#arlo input[type='search'],
#arlo input[type='email'],
#arlo input[type='tel'],
#arlo input[type='number'] {
  background-color: #1f2427 !important;
  color: #ffffff !important;
  border: 1px solid #8a8d8f !important;
  border-radius: 4px;
  font-family: 'Montserrat', Arial, sans-serif !important;
}

#arlo select:focus,
#arlo textarea:focus,
#arlo input:focus {
  border-color: #a67c2d !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(166, 124, 45, 0.25) !important;
}

/* Display Filters / Hide Filters Toggle */
#arlo .filter-toggle {
  align-items: center !important;
  background-color: #a67c2d !important;
  background-image: none !important;
  border: 1px solid #a67c2d !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  letter-spacing: 1.6px;
  line-height: 1.15em !important;
  margin-bottom: 20px;
  min-height: 46px;
  padding: 12px 20px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase;
  width: 100%;
}

#arlo .filter-toggle:hover,
#arlo .filter-toggle:focus {
  background-color: #8c6825 !important;
  border-color: #8c6825 !important;
  color: #ffffff !important;
}

/* Registration / Register Interest Buttons Only */
#arlo .arlo-register-button,
#arlo .arlo-event-registration-button,
#arlo .arlo-registration-button,
#arlo .arlo-register-interest,
#arlo .arlo-register-interest-button,
#arlo a[href*='register'],
#arlo a[href*='registration'],
#arlo a[href*='interest'],
#arlo a[href*='checkout'],
#arlo a[href*='booking'],
#arlo a[href*='cart'] {
  align-items: center !important;
  background-color: #a67c2d !important;
  background-image: none !important;
  border: 1px solid #a67c2d !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  letter-spacing: 1.6px;
  line-height: 1.15em !important;
  min-height: 42px;
  padding: 12px 20px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: normal !important;
}

#arlo .arlo-register-button:hover,
#arlo .arlo-register-button:focus,
#arlo .arlo-event-registration-button:hover,
#arlo .arlo-event-registration-button:focus,
#arlo .arlo-registration-button:hover,
#arlo .arlo-registration-button:focus,
#arlo .arlo-register-interest:hover,
#arlo .arlo-register-interest:focus,
#arlo .arlo-register-interest-button:hover,
#arlo .arlo-register-interest-button:focus,
#arlo a[href*='register']:hover,
#arlo a[href*='register']:focus,
#arlo a[href*='registration']:hover,
#arlo a[href*='registration']:focus,
#arlo a[href*='interest']:hover,
#arlo a[href*='interest']:focus,
#arlo a[href*='checkout']:hover,
#arlo a[href*='checkout']:focus,
#arlo a[href*='booking']:hover,
#arlo a[href*='booking']:focus,
#arlo a[href*='cart']:hover,
#arlo a[href*='cart']:focus {
  background-color: #030B18 !important;
  background-image: none !important;
  border-color: #8c6825 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Reset Button — Muted Gold */
#arlo input[type='reset'],
#arlo input[value='Reset'],
#arlo input[value='RESET'],
#arlo input[value='reset'],
#arlo button[type='reset'],
#arlo button[aria-label*='Reset'],
#arlo button[title*='Reset'],
#arlo a[title*='Reset'],
#arlo a[href*='reset'],
#arlo .arlo-schedule-filters input[type='reset'],
#arlo .arlo-schedule-filters input[value='Reset'],
#arlo .arlo-schedule-filters input[value='RESET'],
#arlo .arlo-schedule-filters button[type='reset'],
#arlo .arlo-schedule-filters button[aria-label*='Reset'],
#arlo .arlo-schedule-filters button[title*='Reset'],
#arlo .arlo-schedule-filters a[title*='Reset'],
#arlo .arlo-schedule-filters a[href*='reset'],
#arlo .arlo-schedule-filters .reset,
#arlo .arlo-schedule-filters .arlo-reset,
#arlo .arlo-schedule-filters .arlo-filter-reset,
#arlo .arlo-schedule-filters .arlo-reset-filters {
  align-items: center !important;
  background-color: #062B5F !important;
  background-image: none !important;
  border: 1px solid #a67c2d !important;
  border-radius: 4px !important;
  color: #ffffff !important;
  display: inline-flex !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  justify-content: center !important;
  letter-spacing: 1.6px !important;
  line-height: 1.15em !important;
  min-height: 42px !important;
  padding: 12px 20px !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: normal !important;
}

#arlo input[type='reset']:hover,
#arlo input[type='reset']:focus,
#arlo input[value='Reset']:hover,
#arlo input[value='Reset']:focus,
#arlo button[type='reset']:hover,
#arlo button[type='reset']:focus,
#arlo a[href*='reset']:hover,
#arlo a[href*='reset']:focus,
#arlo .arlo-schedule-filters .reset:hover,
#arlo .arlo-schedule-filters .reset:focus,
#arlo .arlo-schedule-filters .arlo-reset:hover,
#arlo .arlo-schedule-filters .arlo-reset:focus,
#arlo .arlo-schedule-filters .arlo-filter-reset:hover,
#arlo .arlo-schedule-filters .arlo-filter-reset:focus,
#arlo .arlo-schedule-filters .arlo-reset-filters:hover,
#arlo .arlo-schedule-filters .arlo-reset-filters:focus {
  background-color: #8c6825 !important;
  background-image: none !important;
  border-color: #8c6825 !important;
  color: #ffffff !important;
}

/* If the Reset background is still forced white, at least keep the text/border Muted Gold. */
#arlo .arlo-schedule-filters input[type='reset'][style*='background'],
#arlo .arlo-schedule-filters input[value='Reset'][style*='background'],
#arlo .arlo-schedule-filters button[type='reset'][style*='background'],
#arlo .arlo-schedule-filters .reset[style*='background'],
#arlo .arlo-schedule-filters .arlo-reset[style*='background'],
#arlo .arlo-schedule-filters .arlo-filter-reset[style*='background'],
#arlo .arlo-schedule-filters .arlo-reset-filters[style*='background'] {
  color: #a67c2d !important;
  border-color: #a67c2d !important;
}

/* General Links */
#arlo a {
  color: #ffffff !important;
}

#arlo a:hover,
#arlo a:focus {
  color: #a67c2d !important;
}

/* Keep Registration Button Link Text White */
#arlo a[href*='register'],
#arlo a[href*='register']:hover,
#arlo a[href*='register']:focus,
#arlo a[href*='registration'],
#arlo a[href*='registration']:hover,
#arlo a[href*='registration']:focus,
#arlo a[href*='interest'],
#arlo a[href*='interest']:hover,
#arlo a[href*='interest']:focus,
#arlo a[href*='checkout'],
#arlo a[href*='checkout']:hover,
#arlo a[href*='checkout']:focus,
#arlo a[href*='booking'],
#arlo a[href*='booking']:hover,
#arlo a[href*='booking']:focus,
#arlo a[href*='cart'],
#arlo a[href*='cart']:hover,
#arlo a[href*='cart']:focus {
  color: #ffffff !important;
}

/* Icons */
#arlo i.fa,
#arlo [class^='icons8-'],
#arlo [class*=' icons8-'] {
  color: #a67c2d !important;
}

#arlo .btn-expand.mobile {
  color: #a67c2d !important;
  text-decoration: none !important;
}

/* Empty State / Pagination / Powered By */
#arlo .arlo-no-events,
#arlo .arlo-no-event-text {
  color: #f8f8f6 !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
}

#arlo .arlo-pagination,
#arlo .arlo-schedule-pagination {
  margin-top: 24px;
}

#arlo .arlo-powered-by {
  opacity: 0.75;
}

/* Tablet */
@media (max-width: 1024px) {
  #arlo h1,
  #arlo .arlo-category-title h1,
  #arlo .classes-title {
    font-size: clamp(60px, 7vw, 74px) !important;
  }
}

/* Mobile */
@media (max-width: 767px) {
  #arlo.arlo {
    padding: 16px;
    border-radius: 6px;
  }

  #arlo h1,
  #arlo .arlo-category-title h1,
  #arlo .classes-title {
    font-size: clamp(42px, 12vw, 52px) !important;
  }

  #arlo .htg-classes-signup-message {
    font-size: 16px !important;
    margin-bottom: 26px !important;
  }

  #arlo h2:not(.htg-classes-signup-message) {
    font-size: 30px;
  }

  #arlo .name a {
    font-size: 20px;
  }

  #arlo .scheduled-dates {
    border-left: none;
    margin-top: 16px;
    padding-left: 0;
  }

  #arlo .filter-toggle,
  #arlo .arlo-register-button,
  #arlo .arlo-event-registration-button,
  #arlo .arlo-registration-button,
  #arlo .arlo-register-interest,
  #arlo .arlo-register-interest-button,
  #arlo input[type='reset'],
  #arlo button[type='reset'],
  #arlo a[href*='register'],
  #arlo a[href*='registration'],
  #arlo a[href*='interest'],
  #arlo a[href*='checkout'],
  #arlo a[href*='booking'],
  #arlo a[href*='cart'] {
    width: 100%;
  }
}

/* Registration-button fallback outside #arlo; intentionally limited to registration-specific classes. */
.arlo-register-button,
.arlo-event-registration-button,
.arlo-registration-button,
.arlo-register-interest,
.arlo-register-interest-button {
  align-items: center !important;
  background-color: #a67c2d !important;
  background-image: none !important;
  border-color: #a67c2d !important;
  color: #ffffff !important;
  display: inline-flex !important;
  justify-content: center !important;
  text-align: center !important;
}

.arlo-register-button:hover,
.arlo-register-button:focus,
.arlo-event-registration-button:hover,
.arlo-event-registration-button:focus,
.arlo-registration-button:hover,
.arlo-registration-button:focus,
.arlo-register-interest:hover,
.arlo-register-interest:focus,
.arlo-register-interest-button:hover,
.arlo-register-interest-button:focus {
  background-color: #8c6825 !important;
  background-image: none !important;
  border-color: #8c6825 !important;
  color: #ffffff !important;
}
