/* Migrated from template/slofist-core.css. Remove that template file after verification. */
/* =========================================================
   SLOFIST CORE FRAMEWORK v1.0
   Joomla/T4 safe CSS. Load after template CSS.
   ========================================================= */

:root {
  --slo-red: #b60000;
  --slo-red-dark: #850000;
  --slo-black: #050505;
  --slo-dark: #111111;
  --slo-gray-900: #1d1d1d;
  --slo-gray-700: #444444;
  --slo-gray-500: #777777;
  --slo-gray-300: #dddddd;
  --slo-gray-100: #f5f5f5;
  --slo-white: #ffffff;
  --slo-shadow: 0 6px 18px rgba(0,0,0,.08);
  --slo-shadow-lg: 0 12px 32px rgba(0,0,0,.16);
  --slo-radius: 0px;
  --slo-font-heading: "Arial Narrow", "Roboto Condensed", "Oswald", Arial, sans-serif;
  --slo-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.slo-wrap,
.slo-wrap *,
.slo-wrap *::before,
.slo-wrap *::after {
  box-sizing: border-box;
}

.slo-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px 50px;
  color: var(--slo-dark);
  font-family: var(--slo-font-body);
}

.slo-full {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.slo-section {
  margin: 34px 0;
}

.slo-section-head {
  margin-bottom: 22px;
}

.slo-section-head h1,
.slo-section-head h2 {
  margin: 0;
  color: var(--slo-dark);
  font-family: var(--slo-font-heading);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
}

.slo-section-head h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
}

.slo-section-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}

.slo-section-head p {
  margin: 8px 0 0;
  color: var(--slo-gray-700);
  font-size: 1.12rem;
  line-height: 1.5;
}

/* HERO SYSTEM */
.slo-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-rows: 1fr 120px;
  overflow: hidden;
  color: var(--slo-white);
  background:
    linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.60) 14%, rgba(0,0,0,.22) 42%, rgba(0,0,0,.12) 72%, rgba(0,0,0,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.74) 24%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.08) 70%, rgba(0,0,0,0) 100%),
    url("/images/ffdic.png");
  background-repeat: no-repeat;
  background-size: auto 82%;
  background-position: 65% 88%;
  background-color: #000;
}

.slo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, #000 0%, rgba(0,0,0,.78) 11%, rgba(0,0,0,0) 28%),
    radial-gradient(circle at 72% 48%, rgba(255,255,255,.08), transparent 30%);
}

.slo-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  align-self: center;
  padding: 110px clamp(28px, 6vw, 80px) 40px;
}

.slo-kicker {
  color: var(--slo-red);
  font-family: var(--slo-font-heading);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.slo-hero h1 {
  margin: 0;
  font-family: Impact, "Arial Black", var(--slo-font-heading);
  font-size: clamp(5.5rem, 11vw, 10rem);
  line-height: .82;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .035em;
  color: #f5f5f5;
  text-shadow: 0 8px 30px rgba(0,0,0,.78);
}

.slo-hero h2 {
  margin: 18px 0 0;
  font-family: var(--slo-font-heading);
  font-size: clamp(1.25rem, 2.4vw, 2.1rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}

.slo-hero p {
  max-width: 560px;
  margin: 26px 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.45;
  color: #f1f1f1;
}

.slo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.slo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  background: var(--slo-red);
  color: #fff !important;
  border: 2px solid var(--slo-red);
  border-radius: var(--slo-radius);
  text-decoration: none !important;
  font-family: var(--slo-font-heading);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.slo-btn::after {
  content: "›";
  margin-left: 12px;
  font-size: 1.6rem;
  line-height: 1;
}

.slo-btn:hover,
.slo-btn:focus {
  background: var(--slo-red-dark);
  border-color: var(--slo-red-dark);
  transform: translateY(-2px);
}

.slo-btn.slo-btn-secondary {
  background: rgba(0,0,0,.25);
  border-color: #fff;
}

.slo-btn.slo-btn-secondary:hover,
.slo-btn.slo-btn-secondary:focus {
  background: #fff;
  color: #111 !important;
  border-color: #fff;
}

.slo-hero-features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 120px;
  background: rgba(5,5,5,.94);
  border-top: 1px solid rgba(255,255,255,.18);
}

.slo-feature-box {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px clamp(16px, 2.4vw, 30px);
  border-right: 1px solid rgba(255,255,255,.18);
}

.slo-feature-box:last-child { border-right: none; }
.slo-feature-box i { color: var(--slo-red); font-size: 2.25rem; }
.slo-feature-box h3 {
  margin: 0 0 5px;
  font-family: var(--slo-font-heading);
  font-size: clamp(.95rem, 1.2vw, 1.2rem);
  font-weight: 950;
  text-transform: uppercase;
  color: #fff;
}
.slo-feature-box p { margin: 0; color: #ddd; font-size: .9rem; line-height: 1.3; }

/* CARDS */
.slo-card,
.slo-panel {
  background: #fff;
  border: 1px solid var(--slo-gray-300);
  border-top: 5px solid var(--slo-red);
  box-shadow: var(--slo-shadow);
  padding: 24px;
}

.slo-card h2,
.slo-card h3,
.slo-panel h2,
.slo-panel h3 {
  margin: 0 0 12px;
  color: var(--slo-dark);
  font-family: var(--slo-font-heading);
  font-weight: 950;
  text-transform: uppercase;
  line-height: 1.1;
}

.slo-card p,
.slo-panel p { line-height: 1.6; color: #333; }

.slo-grid-2,
.slo-grid-3,
.slo-grid-4,
.slo-grid-auto {
  display: grid;
  gap: 22px;
}
.slo-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.slo-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.slo-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slo-grid-auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* DASHBOARD TILES */
.slo-tile-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.slo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--slo-gray-300);
  border-bottom: 5px solid currentColor;
  color: var(--slo-gray-700);
  text-decoration: none !important;
  box-shadow: var(--slo-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}

.slo-tile:hover,
.slo-tile:focus {
  transform: translateY(-4px);
  box-shadow: var(--slo-shadow-lg);
}

.slo-tile i { font-size: 3rem; margin-bottom: 14px; color: currentColor; }
.slo-tile h3 { margin: 0 0 6px; color: #111; font-family: var(--slo-font-heading); font-weight: 950; text-transform: uppercase; font-size: 1.15rem; }
.slo-tile p { margin: 0; color: #333; font-size: .95rem; line-height: 1.25; }
.slo-red { color: var(--slo-red) !important; }
.slo-blue { color: #062b55 !important; }
.slo-green { color: #176f32 !important; }
.slo-orange { color: #d95b00 !important; }
.slo-purple { color: #53148c !important; }
.slo-dark-icon { color: #333 !important; }

/* DAILY COURSE LAYOUT */
.slo-day-page { max-width: 1320px; margin: 0 auto; padding: 0 40px 50px; }
.slo-day-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 28px; align-items: start; }
.slo-day-left { display: flex; flex-direction: column; gap: 22px; }
.slo-day-main { min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.slo-mini-timeline {
  background: #fff;
  border: 1px solid var(--slo-gray-300);
  border-top: 5px solid var(--slo-red);
  padding: 20px;
  box-shadow: var(--slo-shadow);
  position: sticky;
  top: 100px;
}

.slo-mini-timeline h2 { margin: 0 0 16px; font-family: var(--slo-font-heading); font-size: 1.2rem; font-weight: 950; text-transform: uppercase; }
.slo-mini-time { display: block; position: relative; padding: 0 0 16px 22px; border-left: 3px solid var(--slo-red); color: #111; text-decoration: none !important; }
.slo-mini-time:last-child { padding-bottom: 0; }
.slo-mini-time::before { content: ""; position: absolute; left: -8px; top: 3px; width: 13px; height: 13px; background: var(--slo-red); border-radius: 50%; box-shadow: 0 0 0 4px #f4d6d6; }
.slo-mini-time strong { display: block; color: var(--slo-red); font-size: .95rem; }
.slo-mini-time span { display: block; font-weight: 800; line-height: 1.25; }

.slo-content-block {
  scroll-margin-top: 95px;
  border-left: 5px solid var(--slo-red);
  background: #fff;
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}
.slo-block-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 18px; align-items: start; margin-bottom: 14px; }
.slo-block-time { margin: 0 0 6px; color: var(--slo-red); font-weight: 900; }
.slo-block-title h3 { margin: 0; font-family: var(--slo-font-heading); font-size: 1.35rem; font-weight: 950; text-transform: uppercase; }
.slo-block-instructors { display: flex; flex-direction: column; gap: 8px; }
.slo-block-instructor { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: center; background: #f6f6f6; border: 1px solid #ddd; padding: 8px; }
.slo-block-instructor img { width: 54px; height: 54px; object-fit: cover; background: #ddd; }
.slo-block-instructor strong { display: block; color: #111; font-size: .95rem; }
.slo-block-instructor span { display: block; color: #555; font-size: .82rem; text-transform: uppercase; font-weight: 800; }
.slo-download-box { background: #f4f4f4; border: 1px dashed #bbb; padding: 14px; margin-top: 12px; }
.slo-download-box h4 { margin: 0 0 8px; color: #062b55; font-size: .95rem; text-transform: uppercase; font-weight: 900; }

/* CONTACT CARDS */
.slo-contact-search { margin-bottom: 26px; }
.slo-contact-search input { width: 100%; max-width: 520px; padding: 14px 16px; border: 2px solid #ccc; font-size: 1.05rem; }
.slo-contact-search input:focus { outline: none; border-color: var(--slo-red); box-shadow: 0 0 0 3px rgba(182,0,0,.15); }
.slo-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.slo-contact-card { background: #fff; border: 1px solid #ddd; border-top: 5px solid var(--slo-red); padding: 20px; box-shadow: var(--slo-shadow); }
.slo-contact-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #eee; margin-bottom: 16px; }
.slo-contact-card h2 { margin: 0 0 4px; font-size: 1.35rem; font-weight: 900; color: #111; }
.slo-contact-title { margin: 0 0 14px; color: var(--slo-red); font-weight: 900; text-transform: uppercase; font-size: .9rem; }
.slo-contact-card p { margin: 8px 0; }
.slo-contact-card a { color: #111; text-decoration: none; }
.slo-contact-card a:hover { color: var(--slo-red); text-decoration: underline; }

/* EVENT BOOKING READABILITY */
.eb-event,
.eb-event-container,
.eb-events .eb-event,
#eb-event-page,
.eb-event-page,
.eb-event-detail {
  font-family: var(--slo-font-body);
}

.eb-events .eb-event {
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 22px;
  border: 1px solid #ddd;
  border-top: 5px solid var(--slo-red);
  background: #fff;
  box-shadow: var(--slo-shadow);
}
.eb-event-title, .eb-title, .eb-events h2, .eb-events h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem) !important; line-height: 1.1; margin-bottom: 10px; font-weight: 900; text-transform: uppercase; }
.eb-event-image img, .eb-events img { max-height: 260px; width: 100%; object-fit: cover; }
.eb-description, .eb-event-description { font-size: 1rem; line-height: 1.6; max-width: 980px; }
.eb-description p, .eb-event-description p { margin-bottom: 12px; }
.eb-register-button, .eb-register-btn, .eb-event .btn-primary { padding: 10px 18px !important; min-height: 44px; font-size: .95rem; font-weight: 900; text-transform: uppercase; background: var(--slo-red) !important; border-color: var(--slo-red) !important; border-radius: 0 !important; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .slo-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slo-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .slo-hero { min-height: 820px; grid-template-rows: 1fr auto; background-size: auto 76%; background-position: 62% 72%; }
  .slo-hero-features { grid-template-columns: repeat(2, 1fr); height: auto; }
  .slo-feature-box { min-height: 115px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .slo-day-grid { grid-template-columns: 1fr; }
  .slo-mini-timeline { position: static; }
}

@media (max-width: 720px) {
  .slo-wrap, .slo-day-page { padding-left: 20px; padding-right: 20px; }
  .slo-tile-grid, .slo-grid-2, .slo-grid-3, .slo-grid-4 { grid-template-columns: 1fr; }
  .slo-block-header { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .slo-hero { min-height: auto; grid-template-rows: auto auto; background-size: cover; background-position: center top; }
  .slo-hero-content { padding: 115px 22px 34px; }
  .slo-hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .slo-actions { flex-direction: column; }
  .slo-btn { width: 100%; }
  .slo-hero-features { grid-template-columns: 1fr; }
  .slo-feature-box { min-height: auto; border-right: none; }
}


/* Migrated from template/ffd-portal.css. Remove that template file after verification. */
/* =====================================================
   FFDIC STUDENT PORTAL - SHARED CSS
   For Joomla articles / Custom HTML modules
===================================================== */

:root {
  --ffd-red: #b60000;
  --ffd-red-bright: #ff3030;
  --ffd-navy: #062b55;
  --ffd-dark: #050505;
  --ffd-gray: #f4f4f4;
  --ffd-border: #dddddd;
  --ffd-text: #111111;
  --ffd-muted: #555555;
  --ffd-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.ffd-dashboard,
.ffd-day-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px 50px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ffd-text);
}

.ffd-dashboard *,
.ffd-dashboard *::before,
.ffd-dashboard *::after,
.ffd-day-page *,
.ffd-day-page *::before,
.ffd-day-page *::after {
  box-sizing: border-box;
}

/* =====================================================
   SHARED HEADER
===================================================== */

.ffd-page-header,
.ffd-header {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 6 / 1;
  min-height: 165px;
  max-height: 240px;
  padding: clamp(22px, 3vw, 42px);
  overflow: hidden;
  background: #050505;
  border-bottom: 5px solid var(--ffd-red);
}

.ffd-page-header::before,
.ffd-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #000 0%,
    #000 34%,
    rgba(0,0,0,.82) 56%,
    rgba(0,0,0,.18) 100%
  );
  z-index: 1;
}

.ffd-page-logo,
.ffd-logo {
  position: relative;
  z-index: 3;
  width: clamp(95px, 10vw, 155px);
  height: auto;
  flex-shrink: 0;
}

.ffd-page-title,
.ffd-header-text {
  position: relative;
  z-index: 3;
  margin-left: clamp(18px, 3vw, 34px);
  color: #fff;
  min-width: 0;
}

.ffd-breadcrumb {
  margin-bottom: 8px;
  font-size: clamp(.75rem, 1vw, .95rem);
  font-weight: 700;
  color: #ddd;
}

.ffd-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.ffd-breadcrumb span {
  margin: 0 8px;
  color: var(--ffd-red-bright);
}

.ffd-course-label,
.ffd-day-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ffd-red-bright);
  font-size: clamp(.75rem, 1vw, 1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ffd-page-title h1,
.ffd-header-text h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .95;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}

.ffd-page-title p,
.ffd-header-text p {
  margin: 10px 0 0;
  font-size: clamp(.9rem, 1.8vw, 1.35rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.ffd-page-image,
.ffd-header-image {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  background: url("https://www.slofist.org/images/ffdicskullheader.png") center right / cover no-repeat;
  opacity: .92;
  z-index: 2;
}

/* =====================================================
   DASHBOARD
===================================================== */

.ffd-intro {
  padding: 28px 0 18px;
}

.ffd-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 900;
  text-transform: uppercase;
}

.ffd-intro p {
  margin: 4px 0 0;
  font-size: 1.15rem;
  color: #333;
}

.ffd-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.ffd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(145px, 13vw, 185px);
  padding: clamp(12px, 1.5vw, 18px);
  background: #fff;
  color: #3b3b3b;
  text-align: center;
  text-decoration: none;
  border: 1px solid #d7d7d7;
  border-radius: 2px;
  box-shadow: 0 5px 16px rgba(0,0,0,.08);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ffd-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: currentColor;
}

.ffd-card:hover,
.ffd-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
  border-color: currentColor;
  outline: none;
}

.ffd-card i {
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  margin-bottom: clamp(10px, 1.5vw, 16px);
  color: currentColor;
}

.ffd-card h3 {
  margin: 0 0 6px;
  font-size: clamp(.9rem, 1.25vw, 1.25rem);
  line-height: 1.08;
  font-weight: 950;
  text-transform: uppercase;
  color: #050505;
  overflow-wrap: anywhere;
}

.ffd-card p {
  max-width: 230px;
  margin: 0;
  font-size: clamp(.78rem, 1vw, .98rem);
  line-height: 1.22;
  color: #222;
}

.ffd-card::after {
  content: "›";
  margin-top: 10px;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 900;
  color: currentColor;
}

.ffd-card.red { color: #b60000; }
.ffd-card.orange { color: #d95b00; }
.ffd-card.blue { color: #004b93; }
.ffd-card.green { color: #176f32; }
.ffd-card.purple { color: #53148c; }
.ffd-card.navy { color: #062b55; }
.ffd-card.dark { color: #3b3b3b; }

/* =====================================================
   DAY NAVIGATION
===================================================== */

.ffd-day-nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
  padding: 0;
}

.ffd-day-nav a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
  border-bottom: 4px solid #555;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
}

.ffd-day-nav a:hover,
.ffd-day-nav a:focus {
  color: var(--ffd-red);
  border-bottom-color: var(--ffd-red);
}

.ffd-day-nav a.active {
  background: var(--ffd-red);
  color: #fff;
  border-color: var(--ffd-red);
}

/* =====================================================
   DAILY PAGE LAYOUT
===================================================== */

.ffd-day-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ffd-day-left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ffd-day-main {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.ffd-info-panel,
.ffd-alert-panel,
.ffd-side-panel,
.ffd-mini-timeline,
.ffd-course-content,
.ffd-content-block,
.ffd-block-instructor {
  background: #fff;
  border: 1px solid var(--ffd-border);
  box-shadow: var(--ffd-shadow);
}

.ffd-info-panel {
  padding: 22px;
  border-left: 5px solid var(--ffd-navy);
}

.ffd-info-panel h2,
.ffd-alert-panel h2,
.ffd-side-panel h2,
.ffd-mini-timeline h2,
.ffd-course-content > h2 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: #111;
}

.ffd-info-panel p {
  margin: 0;
  line-height: 1.5;
}

.ffd-alert-panel,
.ffd-side-panel,
.ffd-mini-timeline {
  padding: 20px;
}

.ffd-alert-panel {
  border-top: 5px solid var(--ffd-red);
  background: #fff7f7;
}

.ffd-side-panel {
  border-top: 5px solid var(--ffd-navy);
}

.ffd-alert-panel ul,
.ffd-side-panel ul {
  margin-bottom: 0;
}

/* Sidebar timeline */

.ffd-mini-timeline {
  border-top: 5px solid var(--ffd-red);
}

.ffd-mini-time {
  display: block;
  position: relative;
  padding: 0 0 16px 22px;
  border-left: 3px solid var(--ffd-red);
  color: #111;
  text-decoration: none;
}

.ffd-mini-time:last-child {
  padding-bottom: 0;
}

.ffd-mini-time::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 3px;
  width: 13px;
  height: 13px;
  background: var(--ffd-red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f4d6d6;
}

.ffd-mini-time strong {
  display: block;
  color: var(--ffd-red);
  font-size: .95rem;
}

.ffd-mini-time span {
  display: block;
  font-weight: 800;
  line-height: 1.25;
}

.ffd-mini-time:hover span,
.ffd-mini-time:focus span {
  color: var(--ffd-red);
  text-decoration: underline;
}

.ffd-mini-time.break {
  border-left-color: #555;
}

.ffd-mini-time.break::before {
  background: #555;
  box-shadow: 0 0 0 4px #ddd;
}

.ffd-mini-time.break strong {
  color: #555;
}

/* Course content blocks */

.ffd-course-content {
  width: 100%;
  border-top: 5px solid var(--ffd-red);
  padding: 24px;
}

.ffd-content-block {
  scroll-margin-top: 90px;
  border-left: 5px solid var(--ffd-red);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.ffd-content-block:last-child {
  margin-bottom: 0;
}

.ffd-block-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
}

.ffd-block-time {
  margin: 0 0 6px;
  color: var(--ffd-red);
  font-weight: 900;
}

.ffd-block-title h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.15;
  text-transform: uppercase;
  color: #111;
}

.ffd-block-instructors {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ffd-block-instructor {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  background: #f6f6f6;
  box-shadow: none;
}

.ffd-block-instructor img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  background: #ddd;
}

.ffd-block-instructor strong {
  display: block;
  color: #111;
  font-size: .95rem;
}

.ffd-block-instructor span {
  display: block;
  color: #555;
  font-size: .82rem;
  text-transform: uppercase;
  font-weight: 800;
}

.ffd-download-box {
  background: #f4f4f4;
  border: 1px dashed #bbb;
  padding: 14px;
  margin-top: 12px;
}

.ffd-download-box h4 {
  margin: 0 0 8px;
  font-size: .95rem;
  color: var(--ffd-navy);
  text-transform: uppercase;
}

.ffd-break-content {
  border-left-color: #555;
  background: #f6f6f6;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {
  .ffd-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ffd-day-grid {
    grid-template-columns: 1fr;
  }

  .ffd-day-left,
  .ffd-day-main {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .ffd-dashboard,
  .ffd-day-page {
    padding: 0 18px 34px;
  }

  .ffd-page-header,
  .ffd-header {
    aspect-ratio: 16 / 7;
    min-height: 220px;
    max-height: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .ffd-page-title,
  .ffd-header-text {
    margin: 16px 0 0;
  }

  .ffd-page-image,
  .ffd-header-image {
    width: 100%;
    opacity: .28;
  }

  .ffd-day-nav a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .ffd-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ffd-block-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ffd-card-grid {
    grid-template-columns: 1fr;
  }

  .ffd-day-nav a {
    flex: 1 1 100%;
  }
}
.ffd-contacts-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 40px 50px;
}

.ffd-section-head {
  margin-bottom: 22px;
}

.ffd-section-head h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
}

.ffd-section-head p {
  margin: 6px 0 0;
  font-size: 1.1rem;
  color: #444;
}

.ffd-contact-search {
  margin-bottom: 26px;
}

.ffd-contact-search input {
  width: 100%;
  max-width: 520px;
  padding: 14px 16px;
  border: 2px solid #ccc;
  font-size: 1.05rem;
}

.ffd-contact-search input:focus {
  outline: none;
  border-color: #b60000;
  box-shadow: 0 0 0 3px rgba(182,0,0,.15);
}

.ffd-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.ffd-contact-card {
  background: #fff;
  border: 1px solid #ddd;
  border-top: 5px solid #b60000;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.ffd-contact-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee;
  margin-bottom: 16px;
}

.ffd-contact-card h2 {
  margin: 0 0 4px;
  font-size: 1.35rem;
  font-weight: 900;
  color: #111;
}

.ffd-contact-title {
  margin: 0 0 14px;
  color: #b60000;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .9rem;
}

.ffd-contact-card p {
  margin: 8px 0;
}

.ffd-contact-card a {
  color: #111;
  text-decoration: none;
}

.ffd-contact-card a:hover {
  color: #b60000;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .ffd-contacts-page {
    padding: 24px 18px 40px;
  }
}


/* Migrated from template/slofist-ui.css. Remove that template file after verification. */
/* =========================================================
   SLOFIST UI DESIGN SYSTEM
   Public Pages / Forms / Cards / Alerts / Scholarship Pages
   ========================================================= */

/* -----------------------------
   1. Variables
----------------------------- */

:root {
  --slofist-red: #b60000;
  --slofist-red-dark: #850000;
  --slofist-blue: #062b55;
  --slofist-dark: #111111;
  --slofist-dark-2: #1d1d1d;
  --slofist-gray: #f5f5f5;
  --slofist-gray-2: #eeeeee;
  --slofist-border: #dddddd;
  --slofist-text: #333333;
  --slofist-muted: #666666;
  --slofist-white: #ffffff;

  --slofist-content-width: 1200px;
  --slofist-form-width: 980px;

  --slofist-radius: 6px;
  --slofist-shadow: 0 8px 22px rgba(0,0,0,.08);
  --slofist-shadow-heavy: 0 12px 30px rgba(0,0,0,.18);

  --slofist-font-heading: "Montserrat", Arial, sans-serif;
  --slofist-font-body: "Source Sans 3", "Inter", Arial, sans-serif;

  --space-xs: 8px;
  --space-sm: 14px;
  --space-md: 22px;
  --space-lg: 34px;
  --space-xl: 56px;
}

/* -----------------------------
   2. Base Typography
----------------------------- */

body {
  font-family: var(--slofist-font-body);
  color: var(--slofist-text);
}

.slofist-page,
.slofist-page p,
.slofist-section,
.slofist-card,
#userForm {
  font-size: 17px;
  line-height: 1.65;
}

.slofist-page h1,
.slofist-page h2,
.slofist-page h3,
.slofist-page h4,
.slofist-page-hero h1,
.slofist-card h3,
.slofist-section h2,
#userForm h2 {
  font-family: var(--slofist-font-heading);
}

/* -----------------------------
   3. Standard Page Wrapper
----------------------------- */

.slofist-page {
  max-width: var(--slofist-content-width);
  margin: 40px auto 70px;
  padding: 0 24px;
}

/* -----------------------------
   4. Universal Page Hero
----------------------------- */

.slofist-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: center;

  padding: 36px;
  margin: 32px 0;

  color: var(--slofist-white);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(135deg, #101010 0%, #1c1c1c 55%, #262626 100%);

  border-bottom: 6px solid var(--slofist-red);
  box-shadow: var(--slofist-shadow-heavy);
  overflow: hidden;
}

.slofist-page-hero img {
  width: 100%;
  max-width: 165px;
  display: block;
  margin: 0 auto;
  background: #fff;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.slofist-page-hero-icon {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--slofist-red);
  color: #fff;
  font-size: 34px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}

.slofist-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.slofist-page-hero p {
  margin: 12px 0 0;
  color: #e6e6e6;
  font-size: 1.18rem;
  line-height: 1.55;
}

.slofist-kicker {
  margin: 0 0 10px;
  color: #ff3030;
  font-size: .95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* -----------------------------
   5. Alert / Callout Blocks
----------------------------- */

.slofist-callout,
.slofist-dashboard-announcement {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 26px;
  margin: 28px 0;

  background: #fff8ea;
  border: 1px solid #ead7a2;
  border-left: 6px solid var(--slofist-red);
  box-shadow: var(--slofist-shadow);
}

.slofist-callout-icon,
.slofist-dashboard-announcement-icon {
  flex: 0 0 auto;
  color: var(--slofist-red);
  font-size: 34px;
  line-height: 1;
}

.slofist-callout h2,
.slofist-callout h3,
.slofist-dashboard-announcement h2 {
  margin: 0 0 8px;
  color: #111;
  font-family: var(--slofist-font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slofist-callout p,
.slofist-dashboard-announcement-body {
  margin: 0;
  color: #333;
  font-size: 17px;
  line-height: 1.6;
}

.slofist-dashboard-announcement a,
.slofist-callout a {
  color: var(--slofist-red);
  font-weight: 900;
}

/* Critical alert variation */

.slofist-dashboard-announcement.level-critical {
  background: #fff1f1;
  border-color: #e2b1b1;
  border-left-color: var(--slofist-red);
}

/* -----------------------------
   6. Cards
----------------------------- */

.slofist-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 34px 0;
}

.slofist-card {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 5px solid var(--slofist-red);
  padding: 26px;
  box-shadow: var(--slofist-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.slofist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.slofist-card i {
  color: var(--slofist-red);
  font-size: 38px;
  margin-bottom: 14px;
}

.slofist-card h3 {
  margin: 0 0 10px;
  color: #111;
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slofist-card p {
  margin: 0;
  color: #444;
}

/* -----------------------------
   7. Content Sections
----------------------------- */

.slofist-section {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 5px solid var(--slofist-red);
  padding: 32px;
  margin: 34px 0;
  box-shadow: var(--slofist-shadow);
}

.slofist-section h2 {
  margin: 0 0 20px;
  color: #111;
  font-size: 1.9rem;
  font-weight: 900;
  text-transform: uppercase;
  padding-left: 16px;
  border-left: 6px solid var(--slofist-red);
}

.slofist-section p:last-child {
  margin-bottom: 0;
}

/* -----------------------------
   8. Buttons
----------------------------- */

.slofist-btn,
a.slofist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 48px;
  padding: 13px 26px;

  background: var(--slofist-red);
  color: #fff !important;
  border: 2px solid var(--slofist-red);

  text-decoration: none !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: .2s ease;
}

.slofist-btn:hover,
.slofist-btn:focus {
  background: var(--slofist-red-dark);
  border-color: var(--slofist-red-dark);
  color: #fff !important;
}

.slofist-btn.secondary {
  background: transparent;
  color: var(--slofist-red) !important;
}

.slofist-btn.secondary:hover {
  background: var(--slofist-red);
  color: #fff !important;
}

/* -----------------------------
   9. Contact Page Helpers
----------------------------- */

.slofist-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.slofist-contact-card {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 5px solid var(--slofist-red);
  padding: 24px;
  box-shadow: var(--slofist-shadow);
}

.slofist-contact-card h3 {
  margin-top: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.slofist-contact-card i {
  color: var(--slofist-red);
  margin-right: 8px;
}

/* -----------------------------
   10. Scholarship Specific
----------------------------- */

.stoke-scholarship-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.stoke-hero {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 34px;
  align-items: center;

  margin: 36px 0 30px;
  padding: 36px;

  background:
    radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(135deg, #101010, #222);

  color: #fff;
  border-bottom: 6px solid var(--slofist-red);
  box-shadow: var(--slofist-shadow-heavy);
}

.stoke-hero-image img {
  width: 100%;
  max-width: 260px;
  display: block;
  background: #fff;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

.stoke-kicker {
  margin: 0 0 10px;
  color: #ff3030;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.stoke-hero h1 {
  margin: 0;
  color: #fff;
  font-family: var(--slofist-font-heading);
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.stoke-hero p {
  margin: 14px 0 0;
  color: #e8e8e8;
  font-size: 1.18rem;
  line-height: 1.55;
}

.stoke-story {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-left: 6px solid var(--slofist-red);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--slofist-shadow);
}

.stoke-story h2 {
  margin: 0 0 18px;
  color: #111;
  font-family: var(--slofist-font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stoke-story p {
  font-size: 17px;
  line-height: 1.7;
}

/* -----------------------------
   11. RSForm Pro Styling
----------------------------- */

#userForm {
  max-width: var(--slofist-form-width);
  margin: 36px auto 70px;
  padding: 36px;

  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 6px solid var(--slofist-red);
  box-shadow: var(--slofist-shadow);
}

#userForm h2 {
  margin: 0 0 24px;
  color: #111;
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
}

#userForm .rsform-block-head {
  background: #f7f7f7;
  border-left: 5px solid var(--slofist-red);
  padding: 18px 20px;
  margin-bottom: 26px;
  color: #333;
  line-height: 1.6;
}

#userForm .form-group {
  margin-bottom: 22px;
}

#userForm label,
#userForm .formControlLabel {
  color: #111;
  font-weight: 800;
  line-height: 1.35;
}

#userForm .formRequired {
  color: var(--slofist-red);
}

#userForm input[type="text"],
#userForm input[type="email"],
#userForm input[type="tel"],
#userForm input[type="file"],
#userForm textarea,
#userForm select,
#userForm .form-control {
  width: 100%;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  padding: 12px 14px;
  font-size: 1rem;
  line-height: 1.45;
  background: #fff;
}

#userForm textarea {
  min-height: 130px;
}

#userForm input:focus,
#userForm textarea:focus,
#userForm select:focus,
#userForm .form-control:focus {
  border-color: var(--slofist-red);
  box-shadow: 0 0 0 3px rgba(182,0,0,.15);
  outline: none;
}

#userForm .rsform-type-freetext {
  margin: 28px 0 12px;
  padding: 14px 18px;
  background: #f5f5f5;
  border-left: 5px solid var(--slofist-blue);
  color: #111;
  font-weight: 700;
  line-height: 1.55;
}

#userForm .help-block,
#userForm .formValidation {
  font-size: .9rem;
}

#Submit,
#userForm .rsform-submit-button,
#userForm .btn-primary {
  background: var(--slofist-red) !important;
  border: 2px solid var(--slofist-red) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 14px 30px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
}

#Submit:hover,
#userForm .rsform-submit-button:hover,
#userForm .btn-primary:hover {
  background: var(--slofist-red-dark) !important;
  border-color: var(--slofist-red-dark) !important;
}

/* Make Bootstrap 3 RSForm layout less stretched */
#userForm .form-horizontal .control-label,
#userForm .control-label {
  text-align: left;
}

#userForm .col-sm-3,
#userForm .col-sm-9 {
  float: none;
  width: 100%;
}

#userForm .formControls {
  margin-top: 6px;
}

/* -----------------------------
   12. Utility Classes
----------------------------- */

.slofist-center {
  text-align: center;
}

.slofist-muted {
  color: var(--slofist-muted);
}

.slofist-red {
  color: var(--slofist-red);
}

.slofist-shadow {
  box-shadow: var(--slofist-shadow);
}

.slofist-bg-gray {
  background: var(--slofist-gray);
}

.slofist-mt-lg {
  margin-top: var(--space-lg);
}

.slofist-mb-lg {
  margin-bottom: var(--space-lg);
}

/* -----------------------------
   13. Responsive
----------------------------- */

@media (max-width: 900px) {
  .slofist-page {
    padding: 0 18px;
  }

  .slofist-page-hero,
  .stoke-hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }

  .slofist-page-hero img,
  .stoke-hero-image img {
    margin: 0 auto;
    max-width: 210px;
  }

  .slofist-page-hero-icon {
    margin: 0 auto;
  }

  .slofist-callout,
  .slofist-dashboard-announcement {
    flex-direction: column;
  }

  #userForm {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .slofist-page-hero h1,
  .stoke-hero h1 {
    font-size: 2.1rem;
  }

  .slofist-card,
  .slofist-section,
  .stoke-story {
    padding: 22px;
  }
}
/* SLOFIST Contact Page */

.slofist-contact-page {
  max-width: 1100px;
  margin: 40px auto 70px;
  padding: 0 24px;
}

.slofist-contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.slofist-contact-action {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 5px solid var(--slofist-red);
  padding: 26px;
  box-shadow: var(--slofist-shadow);
}

.slofist-contact-action i {
  color: var(--slofist-red);
  font-size: 38px;
  margin-bottom: 14px;
}

.slofist-contact-action h2 {
  margin: 0 0 10px;
  font-family: var(--slofist-font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slofist-contact-action p {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.55;
}

.slofist-contact-action a {
  color: var(--slofist-red);
  font-weight: 900;
}

.slofist-contact-note {
  background: #fff8ea;
  border: 1px solid #ead7a2;
  border-left: 6px solid var(--slofist-red);
  padding: 24px;
  margin: 28px 0;
  box-shadow: var(--slofist-shadow);
}

.slofist-contact-note h2 {
  margin: 0 0 8px;
  font-family: var(--slofist-font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .slofist-contact-page {
    padding: 0 18px;
  }
}
.slofist-dashboard-announcement{

display:flex;
align-items:flex-start;
gap:22px;

padding:26px 30px;

margin:32px 0;

background:#fff8e8;

border-left:6px solid var(--slofist-red);

border-radius:6px;

box-shadow:
0 10px 22px rgba(0,0,0,.08);

}

.slofist-dashboard-announcement-icon{

width:58px;
height:58px;

display:flex;
justify-content:center;
align-items:center;

background:var(--slofist-red);

color:#fff;

border-radius:50%;

font-size:26px;

flex:none;

}

.slofist-dashboard-announcement h2{

margin:0 0 8px;

font-size:1.45rem;

font-weight:800;

text-transform:uppercase;

color:#111;

}

.slofist-dashboard-announcement-body{

font-size:17px;

line-height:1.7;

}

.slofist-dashboard-announcement a{

font-weight:700;

color:var(--slofist-red);

text-decoration:none;

}

.slofist-dashboard-announcement a:hover{

text-decoration:underline;

}
.slofist-dashboard-announcement{

display:flex;
align-items:flex-start;
gap:22px;

padding:26px 30px;

margin:32px 0;

background:#fff8e8;

border-left:6px solid var(--slofist-red);

border-radius:6px;

box-shadow:
0 10px 22px rgba(0,0,0,.08);

}

.slofist-dashboard-announcement-icon{

width:58px;
height:58px;

display:flex;
justify-content:center;
align-items:center;

background:var(--slofist-red);

color:#fff;

border-radius:50%;

font-size:26px;

flex:none;

}

.slofist-dashboard-announcement h2{

margin:0 0 8px;

font-size:1.45rem;

font-weight:800;

text-transform:uppercase;

color:#111;

}

.slofist-dashboard-announcement-body{

font-size:17px;

line-height:1.7;

}

.slofist-dashboard-announcement a{

font-weight:700;

color:var(--slofist-red);

text-decoration:none;

}

.slofist-dashboard-announcement a:hover{

text-decoration:underline;

}
/* =====================================================
   SLOFIST UNIVERSAL ALERT
   ===================================================== */

.slofist-dashboard-announcement{
    position:relative;

    display:flex;
    align-items:flex-start;
    gap:24px;

    margin:32px 0;
    padding:26px 30px;

    background:#fffdf8;

    border:1px solid #e4d6b2;
    border-left:8px solid var(--slofist-red);

    border-radius:8px;

    box-shadow:
        0 8px 22px rgba(0,0,0,.08);
}

.slofist-dashboard-announcement-icon{

    width:62px;
    height:62px;

    display:flex;
    justify-content:center;
    align-items:center;

    flex:none;

    background:var(--slofist-red);

    color:#fff;

    border-radius:50%;

    font-size:28px;

}

.slofist-dashboard-announcement h2{

    margin:0 0 8px;

    font-family:var(--slofist-font-heading);

    font-size:1.5rem;

    font-weight:800;

    color:#111;

    text-transform:uppercase;

}

.slofist-dashboard-announcement-body{

    font-size:17px;

    line-height:1.7;

    color:#333;

}

.slofist-dashboard-announcement-body a{

    color:var(--slofist-red);

    font-weight:700;

}

.slofist-dashboard-announcement-body a:hover{

    text-decoration:underline;

}

/* Variations */

.slofist-dashboard-announcement.level-info{

    border-left-color:#0066cc;

}

.slofist-dashboard-announcement.level-info
.slofist-dashboard-announcement-icon{

    background:#0066cc;

}

.slofist-dashboard-announcement.level-warning{

    border-left-color:#d68b00;

}

.slofist-dashboard-announcement.level-warning
.slofist-dashboard-announcement-icon{

    background:#d68b00;

}

.slofist-dashboard-announcement.level-success{

    border-left-color:#2f8f2f;

}

.slofist-dashboard-announcement.level-success
.slofist-dashboard-announcement-icon{

    background:#2f8f2f;

}

.slofist-dashboard-announcement.level-critical{

    border-left-color:var(--slofist-red);

}
/* Scholarship page sizing fix */

.stoke-scholarship-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.stoke-hero {
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 28px;
  margin: 24px auto 22px;
  max-width: 760px;
}

.stoke-hero-image img {
  max-width: 150px;
  padding: 6px;
}

.stoke-hero h1 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: .01em;
}

.stoke-hero p {
  font-size: 1rem;
  line-height: 1.45;
}

.stoke-kicker {
  font-size: .78rem;
  letter-spacing: .12em;
}

.stoke-story {
  max-width: 860px;
  margin: 0 auto 26px;
  padding: 24px;
}

.stoke-story h2 {
  font-size: 1.45rem;
}

.stoke-story p {
  font-size: 15.5px;
  line-height: 1.65;
}

#userForm {
  max-width: 1060px;
}

/* Optional: reduce Joomla article title */
.com_rsform h2,
#userForm > h2 {
  font-size: 1.6rem !important;
}

/* Mobile */
@media (max-width: 700px) {
  .stoke-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .stoke-hero-image img {
    margin: 0 auto;
  }

  .stoke-hero h1 {
    font-size: 2rem;
  }
}
/* =====================================================
   SLOFIST PHOCA DOWNLOAD STYLING
   ===================================================== */

.com_phocadownload #phoca-dl-category-box {
  max-width: 980px;
  margin: 36px auto 70px;
  padding: 0 20px;
}

.com_phocadownload .pd-category {
  background: #fff;
  border: 1px solid var(--slofist-border);
  border-top: 6px solid var(--slofist-red);
  box-shadow: var(--slofist-shadow);
  padding: 30px;
}

.com_phocadownload .pd-ctitle,
.com_phocadownload .ph-subheader {
  font-family: var(--slofist-font-heading);
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 6px solid var(--slofist-red);
}

.com_phocadownload .pd-category > .row {
  align-items: center;
  margin: 0 0 18px;
  padding: 18px 0;
  border-bottom: 1px solid #e5e5e5;
}

.com_phocadownload .pd-title {
  font-family: var(--slofist-font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
}

.com_phocadownload .pd-filename a {
  color: var(--slofist-red);
  font-weight: 700;
  text-decoration: none;
}

.com_phocadownload .pd-filename a:hover {
  text-decoration: underline;
}

.com_phocadownload .pd-button-box-bt {
  display: inline-block;
  margin: 4px 6px 4px 0;
}

.com_phocadownload .btn-success,
.com_phocadownload .btn-info,
.com_phocadownload .btn-primary {
  background: var(--slofist-red) !important;
  border: 2px solid var(--slofist-red) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 10px 18px !important;
  font-weight: 900 !important;
  text-transform: uppercase;
}

.com_phocadownload .btn-info {
  background: var(--slofist-blue) !important;
  border-color: var(--slofist-blue) !important;
}

.com_phocadownload .btn-success:hover,
.com_phocadownload .btn-primary:hover {
  background: var(--slofist-red-dark) !important;
  border-color: var(--slofist-red-dark) !important;
}

.com_phocadownload .pagination {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.com_phocadownload select.form-select {
  display: inline-block;
  width: auto;
  min-width: 180px;
  margin: 6px 12px 6px 6px;
  border-radius: 0;
  border: 1px solid #bbb;
}


/* =====================================================
   SLOFIST FAQ STYLING
   ===================================================== */

.com_content .jx-efaqs-wrapper {
  max-width: 1100px;
  margin: 36px auto 70px;
  padding: 0 20px;
}

.jx-efaqs-search-container {
  margin-bottom: 22px;
}

.jx-efaqs-search-input {
  width: 100%;
  min-height: 52px;
  border: 2px solid #ddd !important;
  border-radius: 0 !important;
  padding: 14px 48px 14px 18px !important;
  font-size: 1.05rem !important;
  box-shadow: var(--slofist-shadow);
}

.jx-efaqs-search-input:focus {
  border-color: var(--slofist-red) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(182,0,0,.14);
}

.jx-efaqs-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.jx-efaqs-expand-all,
.jx-efaqs-collapse-all,
.jx-efaqs-category-filter {
  background: #111 !important;
  border: 1px solid #ccc !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  font-family: var(--slofist-font-heading);
  font-weight: 800 !important;
  text-transform: uppercase;
}

.jx-efaqs-expand-all:hover,
.jx-efaqs-collapse-all:hover,
.jx-efaqs-category-filter:hover,
.jx-efaqs-category-filter.active {
  background: var(--slofist-red) !important;
  border-color: var(--slofist-red) !important;
  color: #fff !important;
}

.jx-efaqs-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.jx-efaqs-question {
  background: #111 !important;
  border: 1px solid var(--slofist-border) !important;
  border-top: 4px solid var(--slofist-red) !important;
  border-radius: 0 !important;
  margin-bottom: 4px !important;
  box-shadow: var(--slofist-shadow);
  overflow: hidden;
}

.jx-efaqs-title {
  background: #111 !important;
  color: #fff !important;
  padding: 18px 22px !important;
  font-family: var(--slofist-font-heading);
  font-size: 1.08rem;
  font-weight: 900 !important;
  text-transform: uppercase;
  border-left: none !important;
}

.jx-efaqs-question.is-active .jx-efaqs-title {
  background: var(--slofist-red) !important;
  color: #fff !important;
}

.faqs-icon-wrapper {
  background: var(--slofist-red);
  color: #fff;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.jx-efaqs-answer {
  background: #fff !important;
  border-top: 1px solid #ddd !important;
  padding: 24px 28px !important;
  font-size: 17px;
  line-height: 1.7;
  color: #333;
}

.jx-efaqs-answer p {
  margin-bottom: 14px;
}

.jx-efaqs-answer ul {
  margin: 12px 0 18px 24px;
}

.jx-efaqs-answer li {
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .com_phocadownload .pd-category {
    padding: 22px;
  }

  .com_phocadownload .pd-category > .row {
    display: block;
  }

  .jx-efaqs-title {
    font-size: .98rem;
  }

  .jx-efaqs-answer {
    padding: 20px !important;
  }
}
/* Homepage: Why Train With SLOFIST */

.slofist-home-why {
  background: #fff;
  padding: 10px 24px;
}

.slofist-home-why-inner {
  
  margin: 20px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.slofist-home-why-content h2 {
  margin: 0 0 20px;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(1rem, 2.5vw, 3.55rem);
  font-weight: 900;
  text-transform: uppercase;
  color: #111;
  position: relative;
}

.slofist-home-why-content h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  background: #b60000;
  margin-top: 12px;
}

.slofist-home-why-content p {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 28px;
}

.slofist-home-why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin-bottom: 32px;
}

.slofist-home-why-list div {
  font-size: 15.5px;
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.slofist-home-why-list i {
  color: #b60000;
  margin-right: 8px;
}

.slofist-outline-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  border: 1px solid #111;
  color: #111 !important;
  text-decoration: none !important;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.slofist-outline-btn:hover {
  background: #b60000;
  border-color: #b60000;
  color: #fff !important;
}

.slofist-home-why-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.slofist-home-why-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111;
  min-height: 190px;
}

.slofist-home-why-gallery img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.slofist-home-why-gallery a:hover img {
  transform: scale(1.05);
  opacity: 0.82;
}

@media (max-width: 900px) {
  .slofist-home-why-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .slofist-home-why-content {
    text-align: left;
  }

  .slofist-home-why-gallery {
    max-width: 720px;
  }
}

@media (max-width: 600px) {
  .slofist-home-why {
    padding: 42px 18px;
  }

  .slofist-home-why-list {
    grid-template-columns: 1fr;
  }

  .slofist-home-why-gallery {
    grid-template-columns: 1fr;
  }
}
/* Full-width featured testimonial band */

.slofist-testimonials-featured {
  width: 100%;
  background: #0d0d0d;
  color: #fff;
  padding: 34px 24px;
}

.slofist-testimonials-featured-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 34px;
  align-items: stretch;
}

/* Large left testimonial */

.slofist-testimonial-feature {
  position: relative;
  padding: 8px 28px 8px 72px;
  border-right: 1px solid rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slofist-quote-mark {
  position: absolute;
  left: 0;
  top: -8px;
  color: #c00000;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
  font-weight: 700;
}

.slofist-testimonial-feature-text {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.45;
  font-weight: 600;
  color: #fff;
}

.slofist-testimonial-author {
  color: #d8ab2f;
  font-weight: 800;
  font-size: .95rem;
}

.slofist-testimonial-author span {
  display: block;
  color: #bbb;
  font-weight: 500;
  margin-top: 2px;
}

/* Three compact testimonials */

.slofist-testimonial-small-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.slofist-testimonial-small {
  min-width: 0;
  padding-left: 18px;
  border-left: 3px solid #b60000;
}

.slofist-testimonial-small p {
  margin: 0 0 12px;
  color: #f0f0f0;
  font-size: .98rem;
  line-height: 1.5;
}

.slofist-testimonial-small footer {
  color: #d8ab2f;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Responsive */

@media (max-width: 950px) {
  .slofist-testimonials-featured-inner {
    grid-template-columns: 1fr;
  }

  .slofist-testimonial-feature {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
    padding-bottom: 28px;
  }
}

@media (max-width: 700px) {
  .slofist-testimonial-small-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .slofist-testimonial-feature {
    padding-left: 56px;
  }

  .slofist-quote-mark {
    font-size: 5.5rem;
  }

  .slofist-testimonial-feature-text {
    font-size: 1.15rem;
  }
}  }
}
/* WHAT SETS SLOFIST APART */
/* Full-width five-feature strip */

.slofist-feature-strip {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  padding: 24px 20px;
}

.slofist-feature-strip-inner {
  margin: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.slofist-feature-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 4px 16px;
  border-right: 1px solid #cfcfcf;
}

.slofist-feature-item:first-child {
  padding-left: 0;
}

.slofist-feature-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.slofist-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c00000;
  font-size: 2rem;
  line-height: 1;
}

.slofist-feature-item h3 {
  margin: 0 0 5px;
  color: #111;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .82rem;
  line-height: 1.18;
  font-weight: 900;
  text-transform: uppercase;
}

.slofist-feature-item p {
  margin: 0;
  color: #444;
  font-size: .78rem;
  line-height: 1.35;
}

/* Tablet */
@media (max-width: 1050px) {
  .slofist-feature-strip-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .slofist-feature-item:nth-child(3) {
    border-right: 0;
  }

  .slofist-feature-item:nth-child(4),
  .slofist-feature-item:nth-child(5) {
    border-top: 1px solid #ddd;
    padding-top: 22px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .slofist-feature-strip {
    padding: 18px;
  }

  .slofist-feature-strip-inner {
    grid-template-columns: 1fr;
  }

  .slofist-feature-item,
  .slofist-feature-item:first-child,
  .slofist-feature-item:last-child {
    padding: 16px 0;
    border-right: 0;
    border-top: 1px solid #ddd;
  }

  .slofist-feature-item:first-child {
    border-top: 0;
  }

  .slofist-feature-item h3 {
    font-size: .95rem;
  }

  .slofist-feature-item p {
    font-size: .9rem;
  }
}
/* Ready to Take the Next Step CTA */

.slofist-next-step {
  width: 100%;
  background:
    linear-gradient(90deg, #a90000 0%, #d00000 52%, #aa0000 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(0,0,0,.25);
  padding: 22px 24px;
}

.slofist-next-step-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.slofist-next-step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 4rem;
  
}

.slofist-next-step-copy h2 {
  margin: 0 0 4px;
  color: #fff;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(1.45rem, 1.3vw, 2rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
}

.slofist-next-step-copy p {
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  line-height: 1.45;
}

.slofist-next-step-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 24px;
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(255,255,255,.85);
  text-decoration: none !important;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}

.slofist-next-step-btn:hover,
.slofist-next-step-btn:focus {
  background: #fff;
  color: #a90000 !important;
  transform: translateY(-2px);
}

@media (max-width: 850px) {
  .slofist-next-step-inner {
    grid-template-columns: 56px 1fr;
  }

  .slofist-next-step-action {
    grid-column: 1 / -1;
    padding-left: 78px;
  }
}

@media (max-width: 600px) {
  .slofist-next-step {
    padding: 24px 18px;
  }

  .slofist-next-step-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .slofist-next-step-icon {
    margin: 0 auto;
  }

  .slofist-next-step-action {
    grid-column: auto;
    padding-left: 0;
  }

  .slofist-next-step-btn {
    width: 100%;
  }
}
#t4-home-3 {
padding-bottom: 0 !important;
padding-top: 0 !important;
}
/* =====================================================
   SLOFIST MAIN FOOTER
   ===================================================== */

.slofist-site-footer,
#t4-footer {
  width: 100%;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.035), transparent 28%),
    linear-gradient(135deg, #151515 0%, #090909 100%);
  color: #ddd;
  border-top: 1px solid rgba(255,255,255,.08);
}

/*
  Apply this class to the T4 footer row/container when possible.
  Otherwise use the fallback selectors farther below.
*/
.slofist-footer-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 32px;
  display: grid;
  grid-template-columns:
    minmax(220px, 1.25fr)
    minmax(150px, .8fr)
    minmax(170px, .9fr)
    minmax(250px, 1.2fr);
  gap: 42px;
  align-items: start;
}

/* Common footer headings */

.slofist-site-footer h2,
#t4-footer h2,
#t4-footer .module-title,
#t4-footer .module-title span {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .92rem;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .045em;
}

/* About column */

.slofist-footer-about h2 {
  color: #e32222 !important;
  font-size: 1.18rem !important;
}

.slofist-footer-about p {
  max-width: 290px;
  margin: 0;
  color: #bcbcbc;
  font-size: .88rem;
  line-height: 1.6;
}

.slofist-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.slofist-footer-social a {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none !important;
  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.slofist-footer-social a:hover,
.slofist-footer-social a:focus {
  background: #b60000;
  border-color: #b60000;
  transform: translateY(-2px);
}

/* Joomla footer menu modules */

#t4-footer .slofist-footer-menu,
#t4-footer ul.nav,
.slofist-site-footer .slofist-footer-menu {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

#t4-footer .slofist-footer-menu li,
#t4-footer ul.nav li,
.slofist-site-footer .slofist-footer-menu li {
  display: block;
  margin: 0;
  padding: 0;
}

#t4-footer .slofist-footer-menu a,
#t4-footer ul.nav a,
.slofist-site-footer .slofist-footer-menu a {
  position: relative;
  display: inline-block;
  padding: 4px 0 !important;
  color: #c9c9c9 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: .86rem;
  line-height: 1.35;
  text-decoration: none !important;
  transition:
    color .2s ease,
    padding-left .2s ease;
}

#t4-footer .slofist-footer-menu a:hover,
#t4-footer .slofist-footer-menu a:focus,
#t4-footer ul.nav a:hover,
#t4-footer ul.nav a:focus {
  color: #fff !important;
  padding-left: 7px !important;
}

#t4-footer .slofist-footer-menu a::before,
#t4-footer ul.nav a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: #d00000;
  transform: translateY(-50%);
  transition: width .2s ease;
}

#t4-footer .slofist-footer-menu a:hover::before,
#t4-footer ul.nav a:hover::before {
  width: 4px;
}

/* Contact and logo column */

.slofist-footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 20px;
  align-items: start;
}

.slofist-footer-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slofist-footer-contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-bottom: 12px;
  color: #c7c7c7;
  font-size: .86rem;
  line-height: 1.5;
}

.slofist-footer-contact li i {
  color: #d00000;
  margin-top: 3px;
  text-align: center;
}

.slofist-footer-contact a {
  color: #ddd !important;
  text-decoration: none !important;
}

.slofist-footer-contact a:hover,
.slofist-footer-contact a:focus {
  color: #fff !important;
  text-decoration: underline !important;
}

.slofist-footer-logo {
  display: block;
  width: 82px;
}

.slofist-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
  transition: transform .2s ease;
}

.slofist-footer-logo:hover img {
  transform: translateY(-2px);
}

/* Bottom copyright and legal row */

.slofist-footer-bottom,
#t4-footer .slofist-footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 17px 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8f8f8f;
  font-size: .78rem;
}

.slofist-footer-bottom p {
  margin: 0;
}

.slofist-footer-bottom nav {
  display: flex;
  gap: 20px;
}

.slofist-footer-bottom nav a {
  color: #aaa !important;
  text-decoration: none !important;
}

.slofist-footer-bottom nav a:hover {
  color: #fff !important;
}

/* Remove common T4 footer menu pill styling */

#t4-footer .nav-pills .nav-link {
  border-radius: 0 !important;
}

#t4-footer .nav-pills .nav-link.active,
#t4-footer .nav-pills .show > .nav-link {
  background: transparent !important;
  color: #fff !important;
}

/* T4 fallback when the footer row itself cannot receive
   .slofist-footer-main */

#t4-footer > .t4-section-inner > .t4-row {
  max-width: 1180px;
  margin: 0 auto;
}

/* Tablet */

@media (max-width: 1050px) {
  .slofist-footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 48px;
  }
}

/* Mobile */

@media (max-width: 680px) {
  .slofist-footer-main {
    grid-template-columns: 1fr;
    padding: 34px 20px 26px;
    gap: 30px;
  }

  .slofist-footer-about p {
    max-width: none;
  }

  .slofist-footer-contact {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .slofist-footer-logo {
    width: 76px;
  }

  .slofist-footer-bottom {
    padding: 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
/* =====================================================
   SLOFIST FOOTNAV — ACTUAL T4 MARKUP
   ===================================================== */

#t4-footnav {
  width: 100%;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.035), transparent 28%),
    linear-gradient(135deg, #181818 0%, #0c0c0c 100%);
  color: #d0d0d0;
  padding: 20px;
}

/* The actual row containing the four positions */
#t4-footnav > .t4-row {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto !important;
  padding: 42px 24px 34px;
  display: grid !important;
  grid-template-columns:
    minmax(210px, 1.15fr)
    minmax(145px, .75fr)
    minmax(165px, .85fr)
    minmax(260px, 1.25fr);
  gap: 42px;
  align-items: start;
}

/* Override Bootstrap column sizing */
#t4-footnav > .t4-row > .t4-col {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
  min-width: 0;
}

/* Hide empty positions cleanly */
#t4-footnav > .t4-row > .t4-col:empty {
  display: none;
}

/* Module titles */
#t4-footnav .module-title,
#t4-footnav .module-title span,
#t4-footnav h2 {
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .95rem;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

#t4-footnav .slofist-footer-about h2 {
  color: #e52626;
  font-size: 1.18rem;
}

/* About text */
#t4-footnav .slofist-footer-about p {
  max-width: 260px;
  margin: 0;
  color: #bcbcbc;
  font-size: .88rem;
  line-height: 1.6;
}

/* Social icons */
#t4-footnav .slofist-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

#t4-footnav .slofist-footer-social a {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  text-decoration: none !important;
}

#t4-footnav .slofist-footer-social a:hover {
  background: #b60000;
  border-color: #b60000;
}

/* Remove navbar behavior from footer menus */
#t4-footnav nav.navbar {
  display: block !important;
  padding: 0 !important;
  min-height: 0 !important;
}

#t4-footnav ul.navbar-nav,
#t4-footnav ul.slofist-footer-menu,
#t4-footnav .navbar-nav {
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#t4-footnav .navbar-nav > li,
#t4-footnav .slofist-footer-menu > li {
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Footer menu links */
#t4-footnav .navbar-nav .nav-link,
#t4-footnav .slofist-footer-menu .nav-link,
#t4-footnav .slofist-footer-menu a {
  display: block !important;
  padding: 5px 0 !important;
  color: #c8c8c8 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: .87rem;
  line-height: 1.35;
  text-decoration: none !important;
  white-space: normal;
}

#t4-footnav .navbar-nav .nav-link:hover,
#t4-footnav .slofist-footer-menu a:hover {
  color: #fff !important;
  padding-left: 6px !important;
}

/* Footer menus should not act as dropdowns */
#t4-footnav .dropdown-toggle::after,
#t4-footnav .item-caret {
  display: none !important;
}

#t4-footnav .dropdown-menu {
  position: static !important;
  display: block !important;
  float: none !important;
  min-width: 0 !important;
  margin: 2px 0 6px 12px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#t4-footnav .dropdown-item {
  padding: 4px 0 !important;
  color: #aaa !important;
  background: transparent !important;
  font-size: .82rem;
}

/* Contact column */
#t4-footnav .slofist-footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 20px;
  align-items: start;
}

#t4-footnav .slofist-footer-contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#t4-footnav .slofist-footer-contact li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  margin-bottom: 12px;
  color: #c7c7c7;
  font-size: .86rem;
  line-height: 1.5;
}

#t4-footnav .slofist-footer-contact li i {
  color: #d00000;
  margin-top: 3px;
}

#t4-footnav .slofist-footer-contact a {
  color: #ddd !important;
  text-decoration: none !important;
}

#t4-footnav .slofist-footer-logo {
  display: block;
  width: 86px;
}

#t4-footnav .slofist-footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 110px;
  object-fit: contain;
}

/* Existing bottom copyright footer */
#t4-footer {
  background: #090909;
  color: #8f8f8f;
  border-top: 1px solid rgba(255,255,255,.12);
}

#t4-footer .t4-section-inner {
  max-width: 1180px;
  padding-top: 16px;
  padding-bottom: 16px;
}

#t4-footer .footer1 {
  font-size: .78rem;
}

/* Tablet */
@media (max-width: 1000px) {
  #t4-footnav > .t4-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 48px;
  }
}

/* Mobile */
@media (max-width: 650px) {
  #t4-footnav > .t4-row {
    grid-template-columns: 1fr;
    padding: 34px 20px 28px;
    gap: 30px;
  }

  #t4-footnav .slofist-footer-about p {
    max-width: none;
  }

  #t4-footnav .slofist-footer-contact {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  #t4-footnav .slofist-footer-logo {
    width: 76px;
  }
}
.slofist-legal{

padding:70px 0;

}

.slofist-legal-grid{

display:grid;

grid-template-columns:260px 1fr;

gap:60px;

}

.slofist-legal aside{

position:sticky;

top:120px;

align-self:start;

}

.slofist-legal nav{

background:#fafafa;

border:1px solid #e7e7e7;

padding:24px;

}

.slofist-legal nav ul{

margin:0;

padding:0;

list-style:none;

}

.slofist-legal nav li{

margin-bottom:14px;

}

.slofist-legal nav a{

font-weight:700;

color:#444;

text-decoration:none;

}

.slofist-legal nav a:hover{

color:#c00000;

}

.slofist-legal article h2{

margin-top:60px;

padding-bottom:10px;

border-bottom:3px solid #c00000;

}

.slofist-legal article p{

line-height:1.8;

color:#555;

}
.slofist-why-title{
    border-left:6px solid #c00000;
    padding-left:22px;
}
.slofist-why-text{
    position:relative;
    overflow:hidden;
}

.slofist-why-text::before{
    content:"";
    position:absolute;
    inset:0;

    background:url("/images/invback.png")
        center center / 75% no-repeat;

    opacity:.035;

    pointer-events:none;
}
.slofist-gallery{
    position:relative;
}

.slofist-gallery::before{
    content:"";

    position:absolute;

    width:85%;

    height:85%;

    background:#c00000;

    opacity:.08;

    filter:blur(70px);

    z-index:-1;

    right:-20px;

    top:30px;
}

/*==================================================
  WHY TRAIN WITH SLOFIST
==================================================*/

.slofist-why-premium{
    position:relative;
    padding:90px 0;
    overflow:hidden;
    background:#f6f6f6 url("/images/invback.png") center center no-repeat;
    background-size:cover;
}

.slofist-why-premium::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,.88);
    pointer-events:none;
}

.slofist-why-premium-inner{
    position:relative;
    z-index:2;
    max-width:1400px;
    margin:auto;
    padding:0 30px;

    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:70px;
    align-items:center;
}

/*============================
 Trusted Banner
=============================*/

.slofist-trusted-banner{

    display:flex;
    align-items:center;
    gap:12px;

    margin-bottom:18px;

    color:#c49a2c;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.82rem;
}

.slofist-banner-line{

    flex:1;

    height:1px;

    background:#d9d9d9;
}

/*============================
 Heading
=============================*/

.slofist-why-title-wrap{

    display:flex;

    gap:22px;

    margin-bottom:22px;
}

.slofist-why-title-accent{

    width:6px;

    background:#b80000;

    border-radius:6px;
}

.slofist-why-title-wrap h2{

    margin:0;

    font-size:3.5rem;

    line-height:1.05;

    font-weight:900;

    text-transform:uppercase;

    color:#111;
}

.slofist-why-title-wrap h2 span{

    color:#b80000;
}

.slofist-why-tagline{

    color:#b80000;

    font-size:1.3rem;

    font-weight:700;

    margin:0 0 28px;
}

.slofist-why-intro{

    font-size:1.12rem;

    line-height:1.9;

    color:#444;

    margin-bottom:40px;

    max-width:700px;
}

/*============================
 Benefit Cards
=============================*/

.slofist-why-benefits{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin-bottom:40px;
}

.slofist-why-benefit{

    display:flex;

    align-items:center;

    gap:18px;

    padding:18px 20px;

    background:white;

    border-radius:10px;

    border-left:4px solid #b80000;

    box-shadow:0 10px 30px rgba(0,0,0,.07);

    transition:.25s;
}

.slofist-why-benefit:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.slofist-why-benefit-icon{

    width:54px;

    height:54px;

    border-radius:50%;

    background:#b80000;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.2rem;

    flex-shrink:0;
}

.slofist-why-benefit h3{

    margin:0;

    font-size:1rem;

    font-weight:700;

    color:#111;
}

/*============================
 Button
=============================*/

.slofist-why-premium-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 34px;

    background:#b80000;

    color:white;

    text-decoration:none;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

    border-radius:4px;

    transition:.25s;
}

.slofist-why-premium-btn:hover{

    background:#830000;

    color:#fff;

    transform:translateY(-3px);
}

/*============================
 Gallery
=============================*/

.slofist-why-premium-gallery{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    position:relative;
}

.slofist-why-premium-gallery::before{

    content:"";

    position:absolute;

    width:80%;

    height:80%;

    right:-40px;

    top:40px;

    background:#b80000;

    opacity:.06;

    filter:blur(70px);

    z-index:0;
}

.slofist-why-photo{

    position:relative;

    display:block;

    overflow:hidden;

    border-radius:8px;

    box-shadow:0 20px 50px rgba(0,0,0,.18);

    z-index:2;
}

.slofist-why-photo img{

    display:block;

    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

    transition:.45s;
}

.slofist-why-photo:hover img{

    transform:scale(1.08);
}

.slofist-photo-caption{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:12px 16px;

    background:rgba(0,0,0,.78);

    color:white;

    text-transform:uppercase;

    font-weight:700;

    font-size:.82rem;

    letter-spacing:1px;
}

.slofist-photo-zoom{

    position:absolute;

    right:14px;

    top:14px;

    width:44px;

    height:44px;

    border-radius:50%;

    background:rgba(184,0,0,.9);

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1rem;

    opacity:0;

    transition:.3s;
}

.slofist-why-photo:hover .slofist-photo-zoom{

    opacity:1;
}

/*============================
 Mission Strip
=============================*/

.slofist-mission-strip{

    position:relative;

    z-index:2;

    margin-top:70px;

    text-align:center;
}

.slofist-mission-heading{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:18px;

    margin-bottom:18px;

    color:#b80000;

    text-transform:uppercase;

    font-weight:800;

    letter-spacing:2px;
}

.slofist-mission-heading span{

    width:90px;

    height:2px;

    background:#d8d8d8;
}

.slofist-mission-strip p{

    max-width:900px;

    margin:auto;

    font-size:1.2rem;

    line-height:1.8;

    color:#333;

    font-style:italic;
}

/*============================
 Responsive
=============================*/

@media (max-width:1100px){

.slofist-why-premium-inner{

    grid-template-columns:1fr;

}

.slofist-why-title-wrap h2{

    font-size:2.8rem;
}

}

@media (max-width:768px){

.slofist-why-premium{

    padding:70px 0;
}

.slofist-why-title-wrap{

    gap:14px;
}

.slofist-why-title-wrap h2{

    font-size:2.2rem;
}

.slofist-why-benefits{

    grid-template-columns:1fr;
}

.slofist-why-premium-gallery{

    grid-template-columns:1fr;
}

.slofist-banner-line{

    display:none;
}

.slofist-trusted-banner{

    justify-content:center;
}

}

/*new why*/
/* =====================================================
   WHY TRAIN WITH SLOFIST — CORRECTED LAYOUT
   ===================================================== */

.slofist-why-premium {
  position: relative;
  overflow: hidden;
  padding: 58px 0 0;
  background:
    url("/images/invback.png")
    center center / cover no-repeat;
}

/* Make the forensic background visible without hurting readability */
.slofist-why-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .58);
  pointer-events: none;
}

.slofist-why-premium-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 52px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 52px;
  align-items: center;
}

/* Left column */

.slofist-why-premium-copy {
  min-width: 0;
}

.slofist-trusted-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #9d7300;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.slofist-banner-line {
  width: 34px;
  flex: 0 0 34px;
  height: 1px;
  background: #b70000;
}

.slofist-trusted-label {
  display: inline-block;
  padding: 8px 14px;
  color: #fff;
  background: #a90000;
  clip-path: polygon(
    4% 0,
    96% 0,
    100% 50%,
    96% 100%,
    4% 100%,
    0 50%
  );
}

.slofist-trusted-banner i {
  color: #9d0000;
  font-size: .7rem;
}

/* Heading */

.slofist-why-title-wrap {
  display: grid;
  grid-template-columns: 6px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  margin: 0 0 20px;
}

.slofist-why-title-accent {
  display: block;
  width: 6px;
  background: #b70000;
}

.slofist-why-title-wrap h2 {
  margin: 0;
  color: #101010;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: .98;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.025em;
}

.slofist-why-title-wrap h2 span {
  color: #b70000;
}

.slofist-why-tagline {
  margin: 0 0 22px;
  padding-bottom: 14px;
  color: #9b6b00;
  font-size: 1.06rem;
  line-height: 1.4;
  font-weight: 800;
  font-style: italic;
  border-bottom: 2px solid rgba(157, 115, 0, .55);
}

.slofist-why-intro {
  max-width: 620px;
  margin: 0 0 28px;
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
}

/* Benefit tiles */

.slofist-why-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.slofist-why-benefit {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;

  min-height: 74px;
  padding: 12px 14px;

  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .08);
  border-left: 4px solid #b70000;
  border-radius: 6px;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .08);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.slofist-why-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .13);
}

.slofist-why-benefit-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #b70000;
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
}

.slofist-why-benefit h3 {
  margin: 0;
  color: #111;
  font-size: .93rem;
  line-height: 1.25;
  font-weight: 900;
}

/* Button */

.slofist-why-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 50px;
  padding: 13px 24px;

  color: #fff !important;
  background: #b70000;
  border: 2px solid #b70000;
  border-radius: 0;

  text-decoration: none !important;
  font-size: .88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;

  box-shadow: 0 6px 16px rgba(183, 0, 0, .22);

  transition:
    background .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.slofist-why-premium-btn:hover,
.slofist-why-premium-btn:focus {
  color: #fff !important;
  background: #810000;
  border-color: #810000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(129, 0, 0, .28);
}

/* Right-side gallery */

.slofist-why-premium-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-self: center;
}

.slofist-why-premium-gallery::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 82%;
  right: -32px;
  top: 34px;
  background: rgba(183, 0, 0, .10);
  filter: blur(60px);
  z-index: 0;
}

.slofist-why-photo {
  position: relative;
  z-index: 1;
  display: block;
  overflow: hidden;

  min-height: 220px;
  background: #111;

  border: 3px solid rgba(255, 255, 255, .95);
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .20);
}

.slofist-why-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition:
    transform .35s ease,
    opacity .35s ease;
}

.slofist-why-photo:hover img {
  transform: scale(1.045);
  opacity: .9;
}

.slofist-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;

  min-height: 42px;
  padding: 9px 44px 9px 12px;

  background: rgba(0, 0, 0, .86);
  border-left: 4px solid #b70000;

  color: #fff;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .69rem;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.slofist-photo-zoom {
  position: absolute;
  right: 10px;
  bottom: 8px;

  width: 30px;
  height: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 0;

  font-size: 1rem;
  opacity: .9;
  z-index: 3;
}

.slofist-why-photo:hover .slofist-photo-zoom {
  opacity: 1;
}

/* Mission strip */

.slofist-mission-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 26px 24px;

  color: #fff;
  background:
    linear-gradient(rgba(8, 8, 8, .94), rgba(8, 8, 8, .94)),
    url("/images/invback.png")
    center center / cover no-repeat;

  border-top: 1px solid rgba(255, 255, 255, .08);
}

.slofist-mission-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.slofist-mission-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 9px;
  color: #d3a72b;
}

.slofist-mission-heading span {
  width: 78px;
  height: 1px;
  background: #9d7300;
}

.slofist-mission-heading strong {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.slofist-mission-strip p {
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
  font-size: 1.05rem;
  line-height: 1.55;
  font-style: italic;
}

/* Tablet */

@media (max-width: 1050px) {
  .slofist-why-premium-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .slofist-why-premium-gallery {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
  }

  .slofist-why-photo,
  .slofist-why-photo img {
    min-height: 240px;
    height: 240px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .slofist-why-premium {
    padding-top: 42px;
  }

  .slofist-why-premium::before {
    background: rgba(255, 255, 255, .76);
  }

  .slofist-why-premium-inner {
    padding: 0 18px 38px;
  }

  .slofist-trusted-banner {
    justify-content: center;
  }

  .slofist-banner-line {
    display: none;
  }

  .slofist-why-title-wrap {
    gap: 14px;
  }

  .slofist-why-title-wrap h2 {
    font-size: 2.25rem;
  }

  .slofist-why-benefits {
    grid-template-columns: 1fr;
  }

  .slofist-why-premium-gallery {
    grid-template-columns: 1fr;
  }

  .slofist-why-photo,
  .slofist-why-photo img {
    min-height: 230px;
    height: 230px;
  }

  .slofist-mission-heading span {
    width: 42px;
  }
}
/* =========================================================
   WHY TRAIN WITH SLOFIST
   MATCHED TO FINAL RENDERING
   ========================================================= */

.slofist-why-premium {
  position: relative;
  overflow: hidden;
  padding: 32px 0 0;
  background:
    url("/images/home/invback.png")
    center center / cover no-repeat;
}

/* Keep the background visible */
.slofist-why-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.42);
  pointer-events: none;
}

.slofist-why-premium-inner {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 54px 22px;

  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(620px, 1.12fr);
  gap: 48px;
  align-items: center;
}

/* ---------------------------------------------------------
   LEFT COLUMN
   --------------------------------------------------------- */

.slofist-why-premium-copy {
  min-width: 0;
}

.slofist-trusted-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #9d0000;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.slofist-banner-line {
  width: 34px;
  height: 1px;
  flex: 0 0 34px;
  background: #a60000;
}

.slofist-trusted-label {
  display: inline-block;
  padding: 8px 18px;
  color: #fff;
  background: #a90000;
  clip-path: polygon(
    4% 0,
    96% 0,
    100% 50%,
    96% 100%,
    4% 100%,
    0 50%
  );
}

.slofist-trusted-banner i {
  color: #990000;
  font-size: .66rem;
}

/* Heading */

.slofist-why-title-wrap {
  display: grid;
  grid-template-columns: 7px minmax(0, 1fr);
  gap: 20px;
  margin: 0 0 14px;
  align-items: stretch;
}

.slofist-why-title-accent {
  display: block;
  background: #b60000;
}

.slofist-why-title-wrap h2 {
  margin: 0;
  color: #111;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: clamp(3rem, 4.3vw, 5.3rem);
  line-height: .94;
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.slofist-why-title-wrap h2 span {
  color: #b60000;
}

.slofist-why-tagline {
  max-width: 620px;
  margin: 0 0 12px 27px;
  padding-bottom: 11px;
  color: #a77700;
  border-bottom: 2px solid rgba(167,119,0,.55);
  font-size: 1.05rem;
  line-height: 1.35;
  font-style: italic;
  font-weight: 800;
}

.slofist-why-intro {
  max-width: 610px;
  margin: 0 0 18px 27px;
  color: #222;
  font-size: .98rem;
  line-height: 1.55;
}

/* Benefits */

.slofist-why-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0 0 16px 27px;
}

.slofist-why-benefit {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;

  min-height: 66px;
  padding: 10px 12px;

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.11);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.slofist-why-benefit:hover {
  transform: none;
  box-shadow: 0 5px 12px rgba(0,0,0,.14);
}

.slofist-why-benefit-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b60000;
  color: #fff;
  border-radius: 50%;
  font-size: .9rem;
}

.slofist-why-benefit h3 {
  margin: 0;
  color: #111;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 900;
}

/* Button */

.slofist-why-premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-height: 48px;
  margin-left: 27px;
  padding: 12px 26px;

  color: #fff !important;
  background: #b60000;
  border: 0;
  border-bottom: 3px solid #d0a02b;
  border-radius: 0;

  text-decoration: none !important;
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;

  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

.slofist-why-premium-btn:hover,
.slofist-why-premium-btn:focus {
  background: #8b0000;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ---------------------------------------------------------
   RIGHT GALLERY
   --------------------------------------------------------- */

.slofist-why-premium-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-self: center;
}

.slofist-why-premium-gallery::before {
  display: none;
}

.slofist-why-photo {
  position: relative;
  display: block;
  overflow: hidden;

  min-height: 245px;
  background: #111;

  border: 3px solid #fff;
  border-radius: 0;
  box-shadow: 0 3px 8px rgba(0,0,0,.28);
}

.slofist-why-photo img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform .3s ease;
}

.slofist-why-photo:hover img {
  transform: scale(1.03);
}

.slofist-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;

  min-height: 40px;
  padding: 8px 42px 8px 13px;

  background: rgba(0,0,0,.88);
  border-left: 5px solid #d00000;

  color: #fff;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.slofist-photo-zoom {
  position: absolute;
  right: 11px;
  bottom: 8px;

  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  background: transparent;
  font-size: 1rem;
  opacity: .9;
  z-index: 3;
}

/* ---------------------------------------------------------
   MISSION STRIP
   --------------------------------------------------------- */

.slofist-mission-strip {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 17px 24px 20px;

  color: #fff;
  background:
    linear-gradient(rgba(8,8,8,.95), rgba(8,8,8,.95)),
    url("/images/invback.png")
    center center / cover no-repeat;

  border-top: 1px solid rgba(255,255,255,.08);
}

.slofist-mission-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.slofist-mission-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 4px;
  color: #d3a72b;
}

.slofist-mission-heading span {
  width: 78px;
  height: 1px;
  background: #9d7300;
}

.slofist-mission-heading strong {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .22em;
}

.slofist-mission-strip p {
  max-width: 780px;
  margin: 0 auto;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  font-style: italic;
}

/* ---------------------------------------------------------
   LARGE DESKTOP
   --------------------------------------------------------- */

@media (min-width: 1450px) {
  .slofist-why-photo,
  .slofist-why-photo img {
    min-height: 265px;
    height: 265px;
  }
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1150px) {
  .slofist-why-premium-inner {
    grid-template-columns: 1fr;
    max-width: 980px;
    gap: 30px;
  }

  .slofist-why-premium-gallery {
    width: 100%;
  }

  .slofist-why-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {
  .slofist-why-premium {
    padding-top: 26px;
  }

  .slofist-why-premium::before {
    background: rgba(255,255,255,.60);
  }

  .slofist-why-premium-inner {
    padding: 0 18px 20px;
  }

  .slofist-trusted-banner {
    justify-content: center;
  }

  .slofist-banner-line {
    display: none;
  }

  .slofist-why-title-wrap {
    grid-template-columns: 5px minmax(0, 1fr);
    gap: 12px;
  }

  .slofist-why-title-wrap h2 {
    font-size: 2.6rem;
  }

  .slofist-why-tagline,
  .slofist-why-intro,
  .slofist-why-benefits,
  .slofist-why-premium-btn {
    margin-left: 17px;
  }

  .slofist-why-benefits {
    grid-template-columns: 1fr;
  }

  .slofist-why-premium-gallery {
    grid-template-columns: 1fr;
  }

  .slofist-why-photo,
  .slofist-why-photo img {
    min-height: 220px;
    height: 220px;
  }

  .slofist-mission-heading span {
    width: 40px;
  }
}
.slofist-why-premium {
  background:
    #f4f4f4
    url("/images/invback.png")
    center top / cover no-repeat;
}
/* Hero next-course date */

.slofist-hero-next-course {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: #fff;
}

.slofist-hero-next-course-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d00000;
  border: 2px solid #d00000;
  font-size: 1rem;
}

.slofist-hero-next-course-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.slofist-hero-next-course-label {
  color: #d6a62b;
  font-family: var(--slofist-font-heading, Montserrat, Arial, sans-serif);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.slofist-hero-next-course-date {
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}
.slofist-hero-v2 {
background-position: 100% 88% !important;
}
.slofist-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.18) 1%, rgba(0,0,0,0) 8%), radial-gradient(circle at 62% 38%, rgba(255,255,255,.1), transparent 90%);
}
.slofist-hero-content h1 {
  margin: 0;
  font-family: "Impact", "Arial Black", "Roboto Condensed", sans-serif;
  font-size: clamp(5.5rem, 9vw, 10rem);
  line-height: .82;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .035em;
  color: #f5f5f5;
  text-shadow: 0 8px 30px rgba(0,0,0,.78);
}
.slofist-mission-strip{
    position:relative;
}

.slofist-mission-strip::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:8px;
    background:linear-gradient(
        to right,
        #8d0000,
        #c60000,
        #e31b1b,
        #c60000,
        #8d0000
    );
}
.hero-banner{
    position:relative;
    overflow:hidden;
    background:#000;
}

.hero-bg{
    display:block;
    width:100%;
    height:auto;
}

/* Dark overlay */

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.45) 42%,
        rgba(0,0,0,.10) 65%,
        rgba(0,0,0,.20) 100%
    );
    pointer-events:none;
}

/* ---------- SLOFIST watermark ---------- */

.hero-watermark{

    position:absolute;

    left:43%;

    top:49%;

    transform:translate(-50%,-50%);

    width:89%;

    max-width:680px;

    min-width:220px;

    opacity:.22;

    mix-blend-mode:screen;

    filter:
        grayscale(.15)
        saturate(.85)
        brightness(.90)
        contrast(1.05);

    pointer-events:none;

    z-index:2;
}

/* Hero text */

.hero-content{

    position:absolute;

    left:5%;

    top:50%;

    transform:translateY(-50%);

    z-index:5;

    max-width:540px;
}

.slofist-404{

display:grid;

grid-template-columns:1fr 1fr;

min-height:80vh;

background:#0d0d0d;

color:#fff;

}

.slofist-404-left{

padding:90px;

display:flex;

flex-direction:column;

justify-content:center;

}

.case-tag{

display:inline-block;

background:#b60000;

padding:8px 18px;

font-weight:700;

letter-spacing:2px;

margin-bottom:30px;

}

.slofist-404 h1{

font-size:7rem;

line-height:1;

margin:0;

}

.slofist-404 h2{

font-size:2.5rem;

margin-bottom:20px;

}

.slofist-404 p{

font-size:1.2rem;

line-height:1.8;

color:#cfcfcf;

max-width:620px;

}

.case-card{

margin-top:40px;

background:#151515;

border-left:5px solid #b60000;

padding:30px;

}

.case-card ul{

margin:0;

padding-left:18px;

}

.case-card li{

margin-bottom:10px;

}

.buttons{

margin-top:45px;

display:flex;

gap:20px;

flex-wrap:wrap;

}

.slofist-404-right{

position:relative;

overflow:hidden;

}

.slofist-404-right img{

width:100%;

height:100%;

object-fit:cover;

opacity:.45;

filter:grayscale(100%);

}

.evidence-marker{

position:absolute;

right:120px;

bottom:80px;

width:110px;

height:110px;

background:#d8b23d;

color:#111;

font-size:3rem;

font-weight:900;

display:flex;

align-items:center;

justify-content:center;

transform:rotate(-8deg);

box-shadow:0 10px 25px rgba(0,0,0,.45);

}

.slofist-evaluation-standard .slofist-evaluation-status {
  border: solid 1.5px;
  background: #ffffff !important;
}
.slofist-block-time {padding: 0rem .32rem !important;}
.slofist-main-timeline-block::after {
  left: -30px !important;
  top: 28.8px !important;
}
.slofist-block-time::before {
 
  width: 36px !important;
}