.elementor-kit-9{--e-global-color-primary:#29629C;--e-global-color-secondary:#CBC3BE;--e-global-color-text:#3C3C3C;--e-global-color-accent:#F29900;--e-global-color-2c91dc1:#1F4E7E;--e-global-color-e6db1e0:#173A5E;--e-global-color-e797ca0:#E6EEF5;--e-global-color-a820215:#D98200;--e-global-color-bcb6f3e:#B36A00;--e-global-color-150d380:#FFF1D6;--e-global-color-cf7328c:#BEB5AF;--e-global-color-6ed77f6:#A59B95;--e-global-color-e2b4868:#F4F1EF;--e-global-typography-primary-font-family:"Montserrat";--e-global-typography-primary-font-weight:800;--e-global-typography-secondary-font-family:"Lato";--e-global-typography-secondary-font-weight:700;--e-global-typography-text-font-family:"Lato";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Lato";--e-global-typography-accent-font-weight:600;--e-global-typography-ba7db1f-font-family:"Lato";--e-global-typography-ba7db1f-font-weight:600;--e-page-transition-entrance-animation:e-page-transition-fade-out;--e-page-transition-exit-animation:e-page-transition-fade-in;--e-page-transition-animation-duration:1500ms;}.elementor-kit-9 button,.elementor-kit-9 input[type="button"],.elementor-kit-9 input[type="submit"],.elementor-kit-9 .elementor-button{background-color:var( --e-global-color-accent );font-weight:600;text-transform:none;color:#FFFFFF;border-radius:8px 8px 8px 8px;padding:16px 28px 17px 28px;}.elementor-kit-9 button:hover,.elementor-kit-9 button:focus,.elementor-kit-9 input[type="button"]:hover,.elementor-kit-9 input[type="button"]:focus,.elementor-kit-9 input[type="submit"]:hover,.elementor-kit-9 input[type="submit"]:focus,.elementor-kit-9 .elementor-button:hover,.elementor-kit-9 .elementor-button:focus{background-color:var( --e-global-color-a820215 );color:#FFFFFF;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-9 button,.elementor-kit-9 input[type="button"],.elementor-kit-9 input[type="submit"],.elementor-kit-9 .elementor-button{padding:14px 22px 14px 22px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =========================
   Hobart College – Angular UI Kit
   ========================= */

/* 1) Design tokens */
:root{
  /* Tune these to your Global Colours */
  --hc-blue: #0E4E82;
  --hc-blue-2: #1F6AA8;
  --hc-gold: #D9A441;
  --hc-grey: #E9EDF2;
  --hc-ink: #0B2236;

  --hc-border: rgba(11,34,54,.12);
  --hc-shadow: 0 10px 30px rgba(11,34,54,.08);

  --hc-pad: clamp(16px, 2.2vw, 28px);
  --hc-max: 1100px;

  --hc-slant: 26px;          /* diagonal depth */
  --hc-corner: 54px;         /* corner wedge size */
}

/* 2) Kill rounded corners globally (template feel) */
.elementor-widget-container *,
.elementor-button,
.elementor-accordion .elementor-tab-title,
.elementor-accordion .elementor-tab-content{
  border-radius: 0 !important;
}

/* 3) Consistent container “page width” helper */
.hc-inner{
  max-width: var(--hc-max);
  margin: 0 auto;
  padding: var(--hc-pad);
}

/* =========================
   SLANTED TITLE BANNER
   Apply to OUTER container: hc-banner
   Put your Heading inside (inner container optional)
   ========================= */
.hc-banner{
  position: relative;
  background: var(--hc-grey);
  overflow: hidden;
}

.hc-banner::before{
  content:"";
  position:absolute;
  inset: 0;
  background: var(--hc-blue);
  /* slanted right edge */
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
}

.hc-banner::after{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  width: 18%;
  height: 100%;
  background: rgba(255,255,255,.25);
  /* secondary slant layer */
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}

.hc-banner .elementor-heading-title,
.hc-banner p,
.hc-banner a{
  position: relative;
  z-index: 2;
  color: #fff;
}

.hc-banner .elementor-heading-title{
  letter-spacing: .2px;
}

/* =========================
   SECTION DIVIDER WEDGE
   Apply to OUTER container: hc-wedge
   Great as a thin strip between sections
   ========================= */
.hc-wedge{
  position: relative;
  overflow: hidden;
  background: var(--hc-grey);
  min-height: 64px;
}

.hc-wedge::before{
  content:"";
  position:absolute;
  inset: 0;
  background: var(--hc-blue-2);
  clip-path: polygon(0 0, 70% 0, 50% 100%, 0 100%);
}

.hc-wedge::after{
  content:"";
  position:absolute;
  inset: 0;
  background: var(--hc-gold);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 50% 100%);
  opacity: .95;
}

/* Optional: add a tiny darker gold tip */
.hc-wedge.hc-wedge-tip::marker{ content:""; }
.hc-wedge.hc-wedge-tip{
  background: transparent;
}
.hc-wedge.hc-wedge-tip span,
.hc-wedge.hc-wedge-tip .elementor-widget-container{
  position: relative;
  z-index: 2;
}

/* =========================
   ANGULAR CARD
   Apply to a container: hc-card
   ========================= */
.hc-card{
  position: relative;
  background: #fff;
  border: 1px solid var(--hc-border);
  box-shadow: var(--hc-shadow);
  overflow: hidden;
}

.hc-card::after{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  width: var(--hc-corner);
  height: var(--hc-corner);
  background: var(--hc-gold);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* Subtle header strip option (apply alongside hc-card): hc-card-bar */
.hc-card.hc-card-bar::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 10px;
  background: linear-gradient(90deg, var(--hc-blue), var(--hc-blue-2));
}

/* =========================
   BUTTONS (square + angular hover)
   Apply to buttons: hc-btn
   ========================= */
.hc-btn .elementor-button{
  border-radius: 0 !important;
  background: var(--hc-blue);
  border: 2px solid var(--hc-blue);
  position: relative;
  overflow: hidden;
}

.hc-btn .elementor-button::after{
  content:"";
  position:absolute;
  inset: 0;
  background: var(--hc-gold);
  clip-path: polygon(100% 0, 75% 0, 100% 30%);
  opacity: 0;
  transition: opacity .2s ease;
}

.hc-btn .elementor-button:hover{
  background: #fff;
  color: var(--hc-blue);
}

.hc-btn .elementor-button:hover::after{
  opacity: 1;
}

/* =========================
   ACCORDION (square, bold titles)
   Apply to the Accordion widget wrapper: hc-accordion
   ========================= */
.hc-accordion .elementor-accordion .elementor-tab-title{
  background: #fff;
  border: 1px solid var(--hc-border);
  padding: 16px 18px;
  font-weight: 700;
  color: var(--hc-ink);
  position: relative;
}

.hc-accordion .elementor-accordion .elementor-tab-title::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width: 46px;
  height: 100%;
  background: var(--hc-grey);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}

.hc-accordion .elementor-accordion .elementor-tab-content{
  border: 1px solid var(--hc-border);
  border-top: 0;
  padding: 16px 18px 18px;
  background: #fff;
}

/* 4) Mobile tuning */
@media (max-width: 767px){
  :root{ --hc-corner: 42px; --hc-slant: 18px; }
  .hc-banner::after{ width: 26%; }
  .hc-wedge{ min-height: 54px; }
}
/* HARD STOP on rounded corners across templates */
:root{
  --hc-radius: 0px;
}

.elementor-button,
.elementor-widget-container img,
.elementor-widget-container .elementor-accordion,
.elementor-widget-container .elementor-accordion .elementor-tab-title,
.elementor-widget-container .elementor-accordion .elementor-tab-content,
.elementor-widget-container .e-con,
.elementor-widget-container .e-con-inner,
.elementor-widget-container .elementor-element,
.elementor-widget-container .elementor-icon,
.elementor-widget-container .elementor-icon-box-wrapper{
  border-radius: var(--hc-radius) !important;
}

/* =========================
   Hobart College – Quote Card (Angular)
   Class: hc-quote-card
   ========================= */

:root{
  /* If you've already set these elsewhere, keep them consistent */
  --hc-blue: #0E4E82;
  --hc-blue-2: #1F6AA8;
  --hc-gold: #D9A441;
  --hc-grey: #E9EDF2;
  --hc-ink: #0B2236;

  --hc-border: rgba(11,34,54,.14);
  --hc-shadow: 0 10px 28px rgba(11,34,54,.10);
}

/* Card base */
.hc-quote-card{
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  background: #fff;
  border: 1px solid var(--hc-border);
  box-shadow: var(--hc-shadow);
}

/* Ensure content stays above the decorative layers */
.hc-quote-card > .e-con-inner,
.hc-quote-card .elementor-widget-wrap{
  position: relative;
  z-index: 2;
}

/* Blue diagonal accent strip (left side) */
.hc-quote-card::before{
  content:"";
  position:absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 86px; /* adjust if needed */
  background: linear-gradient(180deg, var(--hc-blue), var(--hc-blue-2));
  clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%);
  z-index: 1;
  opacity: .98;
}

/* Gold corner wedge (top right) */
.hc-quote-card::after{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background: var(--hc-gold);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

/* Quote text styling (safe defaults) */
.hc-quote-card .elementor-widget-text-editor,
.hc-quote-card blockquote,
.hc-quote-card p{
  color: var(--hc-ink);
}

/* Optional: quote icon styling */
.hc-quote-icon{
  position: relative;
  z-index: 2;
}
.hc-quote-icon svg,
.hc-quote-icon i{
  color: var(--hc-blue);
}

/* Optional: author line styling */
.hc-quote-author{
  font-weight: 700;
  color: var(--hc-blue);
}

/* Remove any rounded edges from inside elements too */
.hc-quote-card *{
  border-radius: 0 !important;
}

/* Mobile tuning */
@media (max-width: 767px){
  .hc-quote-card::before{ width: 64px; }
  .hc-quote-card::after{ width: 52px; height: 52px; }
}
/* Keep wedge shapes contained */
.hc-wedge{
  position: relative !important;
  overflow: hidden !important;   /* THIS is the big fix */
  isolation: isolate;            /* prevents weird stacking with footer */
  z-index: 1;
}

/* Make sure the pseudo elements don't drift */
.hc-wedge::before,
.hc-wedge::after{
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Any real content inside sits above the shapes */
.hc-wedge > *{
  position: relative;
  z-index: 2;
}
/* Nicer corner wedge */
.hc-quote-card::after{
  width: 78px;
  height: 78px;
  transform: translate(8px, -8px);
  opacity: .95;
}

/* Kill any weird haze/shadow/overlay on the section */
.hc-clean-bg{
  background: #fff !important;
  box-shadow: none !important;
  filter: none !important;
}

.hc-clean-bg::before,
.hc-clean-bg::after{
  box-shadow: none !important;
  filter: none !important;
  opacity: 1; /* prevent accidental dimming */
}

.hc-clean-bg .elementor-background-overlay{
  display: none !important;
}

/* Wedge should be crisp, no haze */
.hc-wedge{
  box-shadow: none !important;
  filter: none !important;
  background-color: transparent !important;
}

/* Remove header shadow if theme adds one */
header, .site-header, .elementor-location-header{
  box-shadow: none !important;
}

/* Keep wedge shapes contained */
.hc-wedge{
  position: relative !important;
  overflow: hidden !important;   /* THIS is the big fix */
  isolation: isolate;            /* prevents weird stacking with footer */
  z-index: 1;
}

/* Make sure the pseudo elements don't drift */
.hc-wedge::before,
.hc-wedge::after{
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Any real content inside sits above the shapes */
.hc-wedge > *{
  position: relative;
  z-index: 2;
}
/* Ensure footer doesn't sit on top of previous section */
footer, .site-footer{
  position: relative;
  z-index: 0;
}
.hc-panel{
  position: relative;
}
.hc-panel::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 8px;
  background: linear-gradient(90deg, var(--hc-blue), var(--hc-blue-2));
}
.hc-panel > *{
  position: relative;
  z-index: 2;
}


/* =========================
   Hobart College – Angular Panels + Tabs
   ========================= */

:root{
  --hc-blue: #0E4E82;
  --hc-blue-2: #1F6AA8;
  --hc-gold: #D9A441;
  --hc-grey: #E9EDF2;
  --hc-ink: #0B2236;

  --hc-border: rgba(11,34,54,.16);
  --hc-shadow: 0 10px 26px rgba(11,34,54,.08);
}

/* A clean angular panel wrapper */
.hc-panel{
  border-radius: 0 !important;
  background: #fff;
  border: 1px solid var(--hc-border);
  box-shadow: var(--hc-shadow);
  overflow: hidden;
}

/* =========================
   Tabs widget styling
   Class on Tabs widget: hc-tabs
   ========================= */
.hc-tabs{
  border-radius: 0 !important;
}

/* Remove rounded corners + default Elementor tab styling */
.hc-tabs .elementor-tabs-wrapper,
.hc-tabs .elementor-tab-title,
.hc-tabs .elementor-tab-content{
  border-radius: 0 !important;
}

/* Tabs bar: keep it light, not grey heavy */
.hc-tabs .elementor-tabs-wrapper{
  border-bottom: 1px solid var(--hc-border);
  padding: 10px 12px 0;
  background: #fff;
}

/* Tab buttons */
.hc-tabs .elementor-tab-title{
  position: relative;
  border: 1px solid transparent !important;
  margin: 0 10px 0 0;
  padding: 12px 16px !important;
  color: var(--hc-ink);
  font-weight: 700;
  background: transparent;
}

/* Hover: subtle, crisp */
.hc-tabs .elementor-tab-title:hover{
  color: var(--hc-blue);
}

/* Active tab: angular "notch" + stronger colour */
.hc-tabs .elementor-tab-title.elementor-active{
  color: var(--hc-blue);
}

/* Active tab indicator: diagonal notch under the label */
.hc-tabs .elementor-tab-title.elementor-active::after{
  content:"";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 10px;
  background: linear-gradient(90deg, var(--hc-blue), var(--hc-blue-2));
  clip-path: polygon(0 100%, 92% 100%, 100% 0, 0 0);
}

/* Content area */
.hc-tabs .elementor-tabs-content-wrapper{
  background: #fff;
}

.hc-tabs .elementor-tab-content{
  border: 0 !important;
  padding: 22px 22px 26px !important;
  color: var(--hc-ink);
}

/* Mobile: tabs often wrap, keep it tidy */
@media (max-width: 767px){
  .hc-tabs .elementor-tab-title{
    margin: 0 8px 8px 0;
    padding: 10px 12px !important;
  }
  .hc-tabs .elementor-tab-content{
    padding: 18px 16px 22px !important;
  }
}

/* =========================
   Hobart College – Video Resources
   ========================= */

:root{
  --hc-blue: #0E4E82;
  --hc-blue-2: #1F6AA8;
  --hc-gold: #D9A441;
  --hc-grey: #E9EDF2;
  --hc-ink: #0B2236;

  --hc-border: rgba(11,34,54,.18);
}

/* Section cleanup */
.hc-video-section{
  background: #fff;
}

/* Card base */
.hc-video-card{
  border-radius: 0 !important;
  background: #fff;
  border: 1px solid var(--hc-border);
  box-shadow: none !important; /* remove soft card shadow */
  overflow: hidden;
  position: relative;
}

/* Remove rounding from video embeds */
.hc-video-card iframe,
.hc-video-card video,
.hc-video-card .elementor-video{
  border-radius: 0 !important;
}

/* Subtle angular accent: top bar (editorial, not decorative) */
.hc-video-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 6px;
  background: linear-gradient(90deg, var(--hc-blue), var(--hc-blue-2));
}

/* Ensure content sits above accent */
.hc-video-card > *{
  position: relative;
  z-index: 2;
}

/* Video spacing */
.hc-video-card .elementor-widget-video{
  margin-bottom: 14px;
}

/* Heading styling inside cards */
.hc-video-card h3,
.hc-video-card h4{
  color: var(--hc-ink);
  margin-top: 6px;
}

/* Hover: very restrained, not floaty */
.hc-video-card:hover{
  border-color: var(--hc-blue);
}

/* =========================
   Hobart College – Navigation Cards
   ========================= */

:root{
  --hc-blue: #0E4E82;
  --hc-blue-2: #1F6AA8;
  --hc-gold: #D9A441;
  --hc-ink: #0B2236;
  --hc-border: rgba(11,34,54,.16);
}

/* Grid alignment (works with flex/grid/columns) */
.hc-nav-grid{
  position: relative;
}

/* Card base: square, crisp */
.hc-nav-card{
  position: relative;
  border-radius: 0 !important;
  background: #fff;
  border: 1px solid var(--hc-border);
  box-shadow: none !important;
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
}

/* Make the whole card feel clickable */
.hc-nav-card:hover{
  border-color: var(--hc-blue);
  transform: translateY(-1px);
}

/* Subtle brand bar at top (clean, not wedgey) */
.hc-nav-card::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 6px;
  background: linear-gradient(90deg, var(--hc-blue), var(--hc-blue-2));
}

/* ==============================
   Hobart College – Navigation Cards
   Strip changes colour on hover
   ============================== */

.hc-nav-card{
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

/* Top strip – default (Primary Blue) */
.hc-nav-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 6px;
  background: var(--e-global-color-primary);
  transition: background .15s ease;
}

/* Hover – Accent Orange */
.hc-nav-card:hover::before{
  background: var(--e-global-color-accent);
}

/* Optional: subtle border reinforcement */
.hc-nav-card:hover{
  border-color: var(--e-global-color-accent);
}

/* Keep content above strip */
.hc-nav-card > *{
  position: relative;
  z-index: 2;
}


/* Ensure inner content stays above accents */
.hc-nav-card > *{
  position: relative;
  z-index: 2;
}

/* Title inside card */
.hc-nav-title,
.hc-nav-card .elementor-heading-title{
  color: var(--hc-ink);
  margin: 0;
}

/* Remove any inherited rounded styling from inner widgets */
.hc-nav-card *{
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =====================================================
   HOBART COLLEGE – FEATURE CARDS (FINAL, CLEAN VERSION)
   ===================================================== */

/* Feature card container */
.hc-feature-card{
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0;
  box-shadow: none;
  padding: 24px 28px;
  overflow: hidden;

  transition: border-color .15s ease;
}

/* Remove any inherited rounding/shadows inside */
.hc-feature-card *{
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Top strip – default state (Primary Blue) */
.hc-feature-card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height: 6px;

  background: var(--e-global-color-primary);
  transition: background .15s ease;
}

/* Hover state – Accent Orange */
.hc-feature-card:hover::before{
  background: var(--e-global-color-accent);
}

/* Optional but recommended: reinforce hover with border */
.hc-feature-card:hover{
  border-color: var(--e-global-color-accent);
}

/* Ensure content stays above the strip */
.hc-feature-card > *{
  position: relative;
  z-index: 2;
}

/* Icon styling – clean, square, no gold */
.hc-feature-icon{
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,.15);
}

/* Icon colour */
.hc-feature-icon svg,
.hc-feature-icon i{
  color: var(--e-global-color-primary);
}

/* Heading inside card */
.hc-feature-card .elementor-heading-title{
  margin: 0 0 6px 0;
  color: var(--e-global-color-text);
}

/* Body text inside card */
.hc-feature-card .elementor-widget-text-editor{
  color: var(--e-global-color-text);
  opacity: .9;
}

/* Mobile spacing */
@media (max-width: 767px){
  .hc-feature-card{
    padding: 20px 18px;
  }
}

/* =====================================================
   HOBART COLLEGE – RESOURCE CARDS (CTA-ONLY, CLEAN)
   Classes: hc-resource-card, hc-resource-btn
   ===================================================== */

.hc-resource-card{
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  padding: 18px 18px 20px;

  transition: border-color .15s ease;
}

/* Remove inherited rounding/shadows */
.hc-resource-card *{
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Optional: very subtle hover border (keeps it interactive without overlays) */
.hc-resource-card:hover{
  border-color: var(--e-global-color-primary);
}

/* Video/Embed: square + tidy spacing */
.hc-resource-card .elementor-widget-video,
.hc-resource-card .elementor-wrapper{
  border-radius: 0 !important;
  overflow: hidden;
  margin-bottom: 14px;
}

/* Heading + text */
.hc-resource-card .elementor-heading-title{
  margin: 0 0 8px 0;
  color: var(--e-global-color-text);
}

.hc-resource-card .elementor-widget-text-editor{
  color: var(--e-global-color-text);
  opacity: .9;
}

/* CTA Button – clear, square, consistent */
.hc-resource-btn .elementor-button{
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--e-global-color-primary);
  border: 2px solid var(--e-global-color-primary);
  color: #ffffff;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

/* Button hover – Accent */
.hc-resource-btn .elementor-button:hover{
  background: var(--e-global-color-brand-orange-hover);
  border-color: var(--e-global-color-brand-orange-hover);
  color: #ffffff;
}


/* Mobile spacing */
@media (max-width: 767px){
  .hc-resource-card{
    padding: 16px 16px 18px;
  }
}

.hc-resource-btn .elementor-button{
  transition: background .15s ease, border-color .15s ease;
}


.hero-slide-wrapper {
  position: relative;
}

/* ================================
   HOBART COLLEGE – HERO CONTENT ROTATOR
   Video background + rotating CTAs
   ================================ */

/* Wrapper holds height so hero doesn’t collapse */
.hero-slide-wrapper{
  position: relative;
  min-height: clamp(300px, 30vh, 460px);
}

/* Base slide state */
.hero-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Animation timing
   Total loop: 15s
   3 slides = 5s each
   Transitions are fast and clean
*/
.hero-slide-1{
  animation: heroCycle 15s infinite;
}
.hero-slide-2{
  animation: heroCycle 15s infinite 5s;
}
.hero-slide-3{
  animation: heroCycle 15s infinite 10s;
}

@keyframes heroCycle{
  /* Hidden */
  0%{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Slower fade in */
  4%{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Hold */
  28%{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Slower fade out */
  32%{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Stay hidden */
  100%{
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


/* Mobile: stop rotation, show first slide only */
@media (max-width: 767px){
  .hero-slide-wrapper{
    min-height: clamp(260px, 24vh, 360px);
  }

  .hero-slide-2,
  .hero-slide-3{
    display: none;
  }

  .hero-slide-1{
    animation: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
  }
}/* End custom CSS */