/* =====================================================================
   CONSOLIDATED HOMEPAGE CSS
   Replaces every inline <style> block that was scattered across the
   homepage blade file (there were 2 conflicting definitions of
   .tf-features-calc / .calc-card etc — that was the root cause of the
   design flipping between two different looks).

   Every rule below is scoped to a specific section class
   (.tf-slider.sl5, .tf-features-calc, .tes-category-job-grid,
   .university-grid) — nothing here touches body/html/bare tags, so it
   is safe to drop into your main stylesheet without affecting the rest
   of the site.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. HERO / SEARCH SECTION  (.tf-slider.sl5)
   --------------------------------------------------------------------- */

.tf-slider.sl5{
  position:relative;
  padding-bottom:90px; /* room for the floating search bar below the text */
  overflow-x:hidden; /* stop any decorative/absolute element from creating a horizontal scrollbar on mobile */
}

.tf-slider.sl5 *{ box-sizing:border-box; }

/* The .icon.ic1 / .icon.ic2 wrappers are empty (their <img> is commented
   out in the blade file) but the base theme still gives them an
   absolute position + shape, which is what shows up as the stray
   green/orange dots floating over the heading on mobile. Since there is
   no image inside them right now, we simply hide them until real icons
   are added back. */
.tf-slider.sl5 .icon.ic1,
.tf-slider.sl5 .icon.ic2{
  display:none;
}

.tf-slider.sl5 .heading{
  max-width:900px;
  margin:0 auto;
  padding:0 16px;
}

.tf-slider.sl5 .heading h2{
  font-size:clamp(26px, 3.6vw, 46px);
  line-height:1.25;
  font-weight:700;
  margin:0 0 20px;
}

.tf-slider.sl5 .heading p{
  max-width:680px;
  margin:0 auto;
  font-size:15.5px;
  line-height:1.65;
  opacity:.88;
  text-align:center;
}

.tf-slider.sl5 .form-sl{
  margin-top:40px;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
  padding:0 16px;
  width:100%;
}

.tf-slider.sl5 .row-group-search.home1.st{
  display:flex;
  align-items:stretch;
  gap:0;
  background:#FFFFFF;
  border-radius:14px;
  padding:8px;
  box-shadow:0 24px 50px -20px rgba(0,0,0,.45);
}

.tf-slider.sl5 .form-group-1,
.tf-slider.sl5 .form-group-2{
  flex:1;
  position:relative;
  display:flex;
  align-items:center;
  padding:14px 18px;
  border-right:1px solid #EDEDED;
}

.tf-slider.sl5 .form-group-1 .icon-search,
.tf-slider.sl5 .form-group-2 .icon-map-pin{
  flex:none;
  margin-right:10px;
  color:#2F4A3C;
  font-size:18px;
  line-height:1;
}

.tf-slider.sl5 .input-filter-search,
.tf-slider.sl5 .select-location{
  flex:1;
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  font-size:14.5px;
  color:#22301F;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  padding:6px 26px 6px 0;
  cursor:pointer;
  /* single custom chevron — the browser's own native arrow is what was
     causing the "double arrow" you saw; -webkit/-moz-appearance:none
     above removes that native one so only this svg arrow shows. */
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M6 9l6 6 6-6" stroke="%232F4A3C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat:no-repeat;
  background-position:right center;
}
.tf-slider.sl5 .input-filter-search::-ms-expand,
.tf-slider.sl5 .select-location::-ms-expand{
  display:none;
}

/* THEME USES THE jQuery "nice-select" PLUGIN, WHICH WRAPS EVERY <select>
   IN A .nice-select DIV AND COPIES THE ORIGINAL SELECT'S CLASSES ONTO
   THAT WRAPPER. THE PLUGIN ALSO DRAWS ITS OWN ARROW VIA ::after — THAT
   IS THE SECOND ARROW YOU WERE SEEING NEXT TO OUR CUSTOM SVG ONE. WE
   KILL THE PLUGIN'S ARROW HERE, SO ONLY OUR SVG ARROW REMAINS. */
.tf-slider.sl5 .nice-select.input-filter-search::after,
.tf-slider.sl5 .nice-select.select-location::after,
.tf-slider.sl5 .form-group-1 .nice-select::after,
.tf-slider.sl5 .form-group-2 .nice-select::after{
  display:none !important;
}
/* nice-select renders the visible text inside a child .current span —
   make sure it doesn't add its own extra padding/width quirks inside
   our pill layout. */
.tf-slider.sl5 .nice-select{
  width:100% !important;
  height:auto !important;
  line-height:normal !important;
  float:none !important;
  background:transparent !important;
  border:none !important;
  padding:6px 26px 6px 0 !important;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M6 9l6 6 6-6" stroke="%232F4A3C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') !important;
  background-repeat:no-repeat !important;
  background-position:right center !important;
}
.tf-slider.sl5 .nice-select .current{
  font-size:14.5px;
  color:#22301F;
  font-weight:400;
}
.tf-slider.sl5 .nice-select .list{
  width:100%;
  max-height:260px;
  overflow-y:auto;
}

.tf-slider.sl5 .form-group-4{
  flex:none;
  display:flex;
  align-items:center;
  padding:4px;
}

.tf-slider.sl5 .btn-find{
  background:#1F332A;
  color:#fff;
  border:none;
  border-radius:8px;
  padding:0 34px;
  height:52px;
  font-weight:600;
  font-size:14.5px;
  cursor:pointer;
  transition:background .2s ease;
}
.tf-slider.sl5 .btn-find:hover{ background:#2F4A3C; }

@media (max-width:767px){
  .tf-slider.sl5 .row-group-search.home1.st{
    flex-direction:column;
  }
  .tf-slider.sl5 .form-group-1,
  .tf-slider.sl5 .form-group-2{
    border-right:none;
    border-bottom:1px solid #EDEDED;
  }
  .tf-slider.sl5 .form-group-4{ padding-top:8px; }
  .tf-slider.sl5 .btn-find{ width:100%; }
}

@media (max-width:480px){
  .tf-slider.sl5{ padding-bottom:60px; }
  .tf-slider.sl5 .heading,
  .tf-slider.sl5 .form-sl{ padding:0 12px; }
  .tf-slider.sl5 .heading h2{ font-size:24px; margin-bottom:14px; }
  .tf-slider.sl5 .heading p{ font-size:14px; }
  .tf-slider.sl5 .form-group-1,
  .tf-slider.sl5 .form-group-2{ padding:10px 14px; }
  .tf-slider.sl5 .input-filter-search,
  .tf-slider.sl5 .select-location,
  .tf-slider.sl5 .nice-select .current{ font-size:14px; }
}


/* ---------------------------------------------------------------------
   2. FEATURES + CALCULATOR SECTION  (.tf-features-calc)
   --------------------------------------------------------------------- */

.tf-features-calc{
  --ink:#22301F;
  --parchment:#F3EEDE;
  --parchment-deep:#E7DEC6;
  --pine:#2F4A3C;
  --pine-dark:#1F332A;
  --terracotta:#B5651D;
  --terracotta-deep:#94501A;
  --gold:#C89B3C;
  --white:#FFFFFF;
  --line:#DED2B4;

  background:var(--parchment);
  padding:56px 0 64px;
  margin-top:56px; /* <-- the gap you asked for, between search bar and this section */
  font-family:'Inter',sans-serif;
  color:var(--ink);
  width:100%;
  overflow-x:hidden; /* safety net so this section can never open a horizontal scrollbar on mobile */
}

.tf-features-calc .tf-container{
  max-width:1180px;
  width:100%;
  margin:0 auto;
  padding:0 28px;
  box-sizing:border-box;
}

.tf-features-calc *{ box-sizing:border-box; }

/* icon strip */
.tf-features-calc .feature-icons-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:flex-start;
  padding:0 0 32px;
  margin-bottom:36px;
  border-bottom:1px solid var(--line);
  gap:20px 12px;
}
.tf-features-calc .feature-icon-item{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 150px;
  min-width:150px;
}
.tf-features-calc .feature-icon-item .icon{
  flex:none;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .25s ease, border-color .25s ease, transform .25s ease;
}
.tf-features-calc .feature-icon-item .icon svg{ width:22px; height:22px; display:block; }
.tf-features-calc .feature-icon-item .icon svg path,
.tf-features-calc .feature-icon-item .icon svg circle,
.tf-features-calc .feature-icon-item .icon svg rect{
  stroke:var(--pine);
  transition:stroke .25s ease;
}
.tf-features-calc .feature-icon-item:hover .icon{
  background:var(--pine);
  border-color:var(--pine);
  transform:translateY(-3px);
}
.tf-features-calc .feature-icon-item:hover .icon svg path,
.tf-features-calc .feature-icon-item:hover .icon svg circle,
.tf-features-calc .feature-icon-item:hover .icon svg rect{
  stroke:var(--white);
}
.tf-features-calc .feature-icon-item p{
  margin:0;
  font-size:13.5px;
  line-height:1.35;
  font-weight:600;
  color:var(--ink);
}

/* calculator cards */
.tf-features-calc .calc-cards-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.tf-features-calc .calc-card{
  position:relative;
  display:flex;
  background:var(--white);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 20px 40px -26px rgba(34,48,31,0.30);
  border:1px solid var(--line);
}
.tf-features-calc .calc-card-image{
  flex:0 0 40%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.tf-features-calc .cost-card .calc-card-image{ background:var(--parchment-deep); }
.tf-features-calc .scholarship-card .calc-card-image{ background:#EBEFE7; order:2; }
.tf-features-calc .calc-card-image svg{ width:100%; height:auto; max-height:200px; display:block; }
.tf-features-calc .calc-card-content{ flex:1; padding:32px 28px; position:relative; }

.tf-features-calc .calc-card-content::before{
  content:"";
  position:absolute;
  top:0; bottom:0; left:0;
  border-left:2px dashed var(--line);
}
.tf-features-calc .scholarship-card .calc-card-content::before{
  left:auto; right:0; border-left:none; border-right:2px dashed var(--line);
}
.tf-features-calc .calc-card-content::after{
  content:"";
  position:absolute;
  left:-9px; top:50%;
  width:18px; height:18px;
  border-radius:50%;
  background:var(--parchment);
  box-shadow:0 -74px 0 var(--parchment), 0 74px 0 var(--parchment);
}
.tf-features-calc .scholarship-card .calc-card-content::after{ left:auto; right:-9px; }

.tf-features-calc .calc-card-content h3{
  font-family:'Fraunces', Georgia, serif;
  font-weight:500;
  font-size:22px;
  margin:0 0 10px;
  color:var(--ink);
  line-height:1.25;
}
.tf-features-calc .calc-card-content p{
  margin:0 0 20px;
  font-size:14px;
  color:#5C5A4C;
  line-height:1.5;
}

.tf-features-calc .calc-form-group{ margin-bottom:14px; }

.tf-features-calc .calc-select{
  width:100%;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background:var(--parchment) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M6 9l6 6 6-6" stroke="%2322301F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center;
  border:1px solid var(--line);
  border-radius:10px;
  padding:13px 40px 13px 16px;
  font-family:'Inter',sans-serif;
  font-size:14px;
  color:var(--ink);
  cursor:pointer;
  transition:border-color .2s ease, box-shadow .2s ease;
  max-width:100%;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.tf-features-calc .calc-select::-ms-expand{
  display:none;
}

/* Same nice-select double-arrow fix as the hero selects — see the big
   comment in section 1 above for why this is necessary. */
.tf-features-calc .nice-select.calc-select::after{
  display:none !important;
}
.tf-features-calc .nice-select.calc-select{
  width:100% !important;
  height:auto !important;
  line-height:normal !important;
  float:none !important;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  background:var(--parchment) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"><path d="M6 9l6 6 6-6" stroke="%2322301F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat right 14px center !important;
  border:1px solid var(--line) !important;
  border-radius:10px !important;
  padding:13px 40px 13px 16px !important;
}
.tf-features-calc .nice-select.calc-select .current{
  font-family:'Inter',sans-serif;
  font-size:14px;
  color:var(--ink);
  font-weight:400;
}
.tf-features-calc .nice-select.calc-select .list{
  width:100%;
  max-height:260px;
  overflow-y:auto;
}
.tf-features-calc .calc-select:focus{
  outline:none;
  border-color:var(--pine);
  box-shadow:0 0 0 3px rgba(47,74,60,.15);
}

.tf-features-calc .calc-btn{
  margin-top:8px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:10px;
  padding:14px 20px;
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:14.5px;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease;
}
.tf-features-calc .calc-btn:hover{ transform:translateY(-2px); }

.tf-features-calc .btn-cost{
  background:var(--terracotta);
  color:var(--white);
  box-shadow:0 14px 24px -12px rgba(181,101,29,.55);
}
.tf-features-calc .btn-cost:hover{ background:var(--terracotta-deep); }

.tf-features-calc .btn-scholarship{
  background:var(--pine);
  color:var(--white);
  box-shadow:0 14px 24px -12px rgba(47,74,60,.55);
}
.tf-features-calc .btn-scholarship:hover{ background:var(--pine-dark); }

.tf-features-calc .btn-icon{ display:flex; }

/* result cards */
.tf-features-calc .calc-result{
  margin-top:18px;
  padding:18px;
  background:var(--parchment);
  border:1px solid var(--line);
  border-radius:12px;
}
.tf-features-calc .calc-result h4{
  font-family:'Fraunces', Georgia, serif;
  font-size:16px;
  margin:0 0 10px;
  color:var(--ink);
}
.tf-features-calc .calc-result-coverage{
  font-size:13px;
  color:var(--pine);
  font-weight:600;
  margin:0 0 10px;
}
.tf-features-calc .calc-result-list{ list-style:none; margin:0 0 12px; padding:0; }
.tf-features-calc .calc-result-list li{
  display:flex;
  justify-content:space-between;
  font-size:13.5px;
  padding:6px 0;
  border-bottom:1px dashed var(--line);
  color:#5C5A4C;
}
.tf-features-calc .calc-result-list li strong{ color:var(--ink); }
.tf-features-calc .calc-result-total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:10px;
  font-weight:700;
  color:var(--pine);
}
.tf-features-calc .calc-result-empty{ font-size:13px; color:#8a8672; }

@media (max-width:900px){
  .tf-features-calc .calc-cards-row{ grid-template-columns:1fr; }
  .tf-features-calc .calc-card{ flex-direction:column; }
  .tf-features-calc .scholarship-card .calc-card-image{ order:0; }
  .tf-features-calc .calc-card-content::before,
  .tf-features-calc .calc-card-content::after{ display:none; }
  .tf-features-calc .calc-card-image{ padding:26px; }
}
@media (max-width:640px){
  .tf-features-calc .feature-icons-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    justify-content:stretch;
    border-bottom:none;
    padding-bottom:0;
  }
  .tf-features-calc .feature-icon-item{
    flex:none;
    min-width:0;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:12px;
    padding:12px 10px;
    gap:10px;
  }
  .tf-features-calc .feature-icon-item .icon{
    width:38px;
    height:38px;
  }
  .tf-features-calc .feature-icon-item .icon svg{ width:19px; height:19px; }
  .tf-features-calc .feature-icon-item p{ font-size:12.5px; }
}

@media (max-width:480px){
  .tf-features-calc{ padding:40px 0 48px; margin-top:36px; }
  .tf-features-calc .tf-container{ padding:0 16px; }
  .tf-features-calc .calc-cards-row{ gap:20px; }
  .tf-features-calc .calc-card-content{ padding:22px 18px; }
  .tf-features-calc .calc-card-content h3{ font-size:19px; }
  .tf-features-calc .calc-card-content p{ font-size:13.5px; word-wrap:break-word; }
  .tf-features-calc .calc-card-image{ padding:18px; }
  .tf-features-calc .calc-card-image svg{ max-height:150px; }
  .tf-features-calc .calc-select,
  .tf-features-calc .nice-select.calc-select{ font-size:13.5px !important; padding:12px 36px 12px 14px !important; }
  .tf-features-calc .calc-btn{ font-size:14px; padding:13px 16px; }
  .tf-features-calc .feature-icons-row{ gap:10px; }
  .tf-features-calc .feature-icon-item{ padding:10px 8px; gap:8px; }
  .tf-features-calc .feature-icon-item .icon{ width:34px; height:34px; }
  .tf-features-calc .feature-icon-item .icon svg{ width:17px; height:17px; }
  .tf-features-calc .feature-icon-item p{ font-size:12px; }
}


/* ---------------------------------------------------------------------
   3. BROWSE BY COURSES GRID  (.tes-category-job-grid)
   --------------------------------------------------------------------- */

.tes-category-job-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
  width:100%;
}
.tes-category-job-grid .job-category-box{
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background-color:#f2f2f2;
  border-radius:8px;
  padding:24px 20px;
  box-sizing:border-box;
  transition:box-shadow .3s ease, transform .3s ease;
}
.tes-category-job-grid .job-category-box:hover{
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transform:translateY(-3px);
}
.tes-category-job-grid .job-category-header h1{
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  margin-bottom:10px;
}
.tes-category-job-grid .job-category-header h1 a{ color:#111; text-decoration:none; }
.tes-category-job-grid .job-category-header p{ color:#888; font-size:14px; margin-bottom:16px; }
.tes-category-job-grid .btn-category-job{
  color:#1a9c6b;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
.tes-category-job-grid .btn-category-job:hover{ color:#147a54; }

@media (max-width:768px){
  .tes-category-job-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:480px){
  .tes-category-job-grid{ grid-template-columns:1fr; }
}


/* ---------------------------------------------------------------------
   4. FEATURED UNIVERSITIES GRID  (.university-grid)
   --------------------------------------------------------------------- */

/* .university-grid sits directly inside a bare Bootstrap <div class="row">
   with no <div class="col-*"> wrapper — Bootstrap's default .row has
   -15px left/right margins meant to be offset by column padding. Without
   that column, the grid gets pushed 15px past the container on each
   side, which is a common cause of horizontal-scroll on mobile. */
.jobs-section .content-tab .row{
  margin-left:0;
  margin-right:0;
}

.university-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:20px;
  width:100%;
  box-sizing:border-box;
}

@media (max-width:600px){
  /* On narrow phones minmax(260px,...) can still be wider than the
     available width once padding is subtracted — force a single
     column so cards never get clipped/overflow horizontally. */
  .university-grid{ grid-template-columns:1fr; }
}
@media (max-width:480px){
  .university-card{ flex-wrap:wrap; padding:14px; gap:12px; }
  .university-meta{ gap:18px; }
}
.university-card{
  display:flex;
  align-items:center;
  gap:15px;
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:18px;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
  box-sizing:border-box;
  width:100%;
}
.university-card .university-logo{
  flex-shrink:0;
  width:70px;
  height:70px;
  border-radius:50%;
  overflow:hidden;
  border:1px solid #f0f0f0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
.university-card .university-logo img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  object-fit:contain !important;
  object-position:center;
}
.university-content{ flex:1; min-width:0; }
.university-name{ font-size:15px; font-weight:700; margin:0 0 2px 0; color:#1a1a1a; line-height:1.3; }
.university-city{ font-size:12px; color:#888; margin:0 0 12px 0; }
.university-meta{ display:flex; gap:30px; flex-wrap:wrap; }
.meta-block{ display:flex; flex-direction:column; }
.meta-label{ font-size:11px; color:#999; margin-bottom:3px; white-space:nowrap; }
.meta-value{ font-size:13px; font-weight:600; color:#1a1a1a; white-space:nowrap; }


/* ---------------------------------------------------------------------
   5. BROWSE BY COURSES GRID  (.course-grid)
   --------------------------------------------------------------------- */
/* NOTE: the blade file uses .course-grid / .course-card / .course-card-media
   etc for the "Browse by Courses" section, but no CSS for those exact
   classnames existed anywhere in the stylesheets you sent me — that is
   a big part of why this section looked/behaved oddly on mobile. Added
   here, fully responsive and same-height cards as the comment in the
   blade file describes. */

.course-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
  width:100%;
  box-sizing:border-box;
}
.course-grid *{ box-sizing:border-box; }

.course-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:1px solid #ECECEC;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  box-shadow:0 10px 24px -18px rgba(0,0,0,.25);
  transition:box-shadow .25s ease, transform .25s ease;
}
.course-card:hover{
  box-shadow:0 16px 32px -16px rgba(0,0,0,.25);
  transform:translateY(-3px);
}

.course-card-media{
  position:relative;
  width:100%;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#f2f2f2;
}
.course-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.course-card-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  font-weight:700;
  color:#fff;
}
.course-card-placeholder.variant-0{ background:linear-gradient(135deg,#2F4A3C,#4a6b56); }
.course-card-placeholder.variant-1{ background:linear-gradient(135deg,#1F332A,#2F4A3C); }
.course-card-placeholder.variant-2{ background:linear-gradient(135deg,#3B5A48,#6b7a5a); }
.course-card-placeholder.variant-3{ background:linear-gradient(135deg,#22301F,#3B5A48); }

.course-duration-badge{
  position:absolute;
  top:12px;
  right:12px;
  background:rgba(255,255,255,.92);
  color:#22301F;
  font-size:12px;
  font-weight:600;
  padding:5px 10px;
  border-radius:999px;
}

.course-card-body{
  flex:1;
  display:flex;
  flex-direction:column;
  padding:18px 18px 20px;
}
.course-card-title{
  font-size:16.5px;
  font-weight:700;
  line-height:1.35;
  color:#1a1a1a;
  margin:0 0 8px;
}
.course-card-desc{
  flex:1;
  font-size:13.5px;
  line-height:1.55;
  color:#777;
  margin:0 0 16px;
}
.course-card-cta{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:14px;
  font-weight:600;
  color:#1a9c6b;
  margin-top:auto;
}
.course-card:hover .course-card-cta{ color:#147a54; }

.course-empty-state{
  grid-column:1 / -1;
  text-align:center;
  padding:40px 16px;
  color:#888;
}
.course-empty-state span{ display:block; font-size:12.5px; margin-top:6px; }

@media (max-width:1024px){
  .course-grid{ grid-template-columns:repeat(3, 1fr); }
}
@media (max-width:768px){
  .course-grid{ grid-template-columns:repeat(2, 1fr); gap:18px; }
}
@media (max-width:480px){
  .course-grid{ grid-template-columns:1fr; gap:16px; }
  .course-card-body{ padding:14px 16px 16px; }
  .course-card-title{ font-size:15.5px; }
}
