/* ============================================
   SEARCH & FILTER PRO - FORM 242
   ============================================ */

/* =========================
   Form Layout & Structure
   ========================= */

/* Outer UL = flex container */
.searchandfilter[data-sf-form-id="242"] > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    justify-content: center;
}

/* Default: each field full width (stacked) */
.searchandfilter[data-sf-form-id="242"] > ul > li {
    list-style: none;
    flex: 0 0 100%;
    order: 1; /* baseline order */
}

/* =========================
   Career Path Checkbox Group
   ========================= */

/* Career Path checkbox group as toggle buttons */
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path {
    order: 1;
}

.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 10px;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path > ul > li {
    list-style: none;
}

/* Hide native checkbox */
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path input.sf-input-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Label becomes pill button */
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path label.sf-label-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 3px 3px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    color: white;
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path label.sf-label-checkbox:hover {
    border-color: #999;
}

.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path input.sf-input-checkbox:checked + label.sf-label-checkbox {
    background: #ffffff00;
    color: #E5E33B;
    border-color: #E5E33B;
}

.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path .sf-count {
    opacity: .7;
    font-size: .9em;
}

.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-career-path input.sf-input-checkbox:focus-visible + label.sf-label-checkbox {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* =========================
   Injected Heading
   ========================= */

/* Inject heading AFTER checkbox group, full width */
/* Pseudo-element is a real flex item, so it spans the whole row */
.searchandfilter[data-sf-form-id="242"] > ul::before {
    content: "Further refine your selection";
    text-align: center;
    flex: 0 0 100%;
    order: 2; /* sits after checkboxes (order:1) */
    display: block;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    margin-top: 4px;
    color: white;
    margin-bottom: -4px; /* optional: tighten gap before the select row */
}

/* =========================
   Select Fields (4 in a row)
   ========================= */

/* 4 selects in a row (responsive) */
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-course-level,
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-study-format,
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-subject-speciality,
.searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-course-modality {
    order: 3; /* sits under the injected heading */
    flex: 1 1 220px; /* wraps on smaller screens */
}

/* Force 4 columns on wider screens */
@media (min-width: 900px) {
    .searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-course-level,
    .searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-study-format,
    .searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-subject-speciality,
    .searchandfilter[data-sf-form-id="242"] > ul > li.sf-field-taxonomy-course-modality {
        flex: 0 0 calc(25% - 50px);
    }
}

/* Selects fill their column */
.searchandfilter[data-sf-form-id="242"] select.sf-input-select {
    width: 100%;
}

/* If there are any other fields, keep them after the select row */
.searchandfilter[data-sf-form-id="242"] > ul > li:not(.sf-field-taxonomy-career-path):not(.sf-field-taxonomy-course-level):not(.sf-field-taxonomy-study-format):not(.sf-field-taxonomy-subject-speciality):not(.sf-field-taxonomy-course-modality) {
    order: 4;
}

/* =========================
   Reset Button
   ========================= */

li.sf-field-reset {
    text-align: center;
    padding: 0px !important;
}

a.search-filter-reset {
    border: 1px solid;
    padding: 10px 25px;
    border-radius: 100px;
    font-size: 13px;
    opacity: 0.4;
    font-weight: 300;
    color: white;
}

a.search-filter-reset:hover {
    opacity: 1;
}

/* ============================================
   SEARCH & FILTER RESULTS - FORM 242
   ============================================ */

/* =========================
   Results Grid
   ========================= */

#search-filter-results-242 .courses-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 16px 0 0;
    align-items: stretch;
}

/* 1 column on mobile */
@media (max-width: 767px) {
    #search-filter-results-242 .courses-results-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   Course Card
   ========================= */

#search-filter-results-242 .courses-card {
    border: 2px solid #0b3a4a;
    border-radius: 24px;
    background: #fff;
    padding: 28px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* =========================
   Card Title
   ========================= */

#search-filter-results-242 .courses-card__title {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.2vw, 40px);
    line-height: 1.15;
}

#search-filter-results-242 .courses-card__title-link {
    color: inherit;
    text-decoration: none;
}

#search-filter-results-242 .courses-card__title-link:hover {
    text-decoration: underline;
}

body h3.courses-card__title a {
    font-family: 'DM Serif Display' !important;
    font-size: 36px;
}

/* =========================
   Card Pill Badge
   ========================= */

#search-filter-results-242 .courses-card__pill {
    display: inline-block;
    margin: 0 0 18px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #111;
    color: #f2d400;
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
    width: fit-content;
}

/* =========================
   Card Meta Information
   ========================= */

#search-filter-results-242 .courses-card__meta {
    margin: 0 0 22px;
}

#search-filter-results-242 .courses-card__row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    margin: 8px 0;
}

#search-filter-results-242 .courses-card__row dt {
    font-weight: 700;
}

#search-filter-results-242 .courses-card__row dd {
    margin: 0;
}

/* =========================
   Card Button
   ========================= */

#search-filter-results-242 .courses-card__btn {
    margin-top: auto; /* pins to bottom */
    align-self: flex-start; /* left align */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    min-width: 220px;
    border-radius: 999px;
    background: #006b7a;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
}

#search-filter-results-242 .courses-card__btn:hover {
    filter: brightness(0.95);
}

/* ============================================
   GENERAL SEARCH & FILTER STYLES
   ============================================ */

.searchandfilter ul {
    display: flex;
    padding: 0px;
    gap: 20px;
}

.searchandfilter ul li select {
    width: 240px !important;
}

.searchandfilter select.sf-input-select {
    min-width: 170px;
    border: 0px;
    border-radius: 0px;
    padding: 10px;
    font-size: 15px;
    color: #5b5b5b;
}

/* =========================
   Home Search Results
   ========================= */

ul.home-search-results-list {
    list-style: none;
    padding: 0px;
}

.total-found {
    color: #e5e33b;
    font-size: 17px;
    font-weight: 300;
    margin-bottom: 10px;
}

li.home-search-result a {
    color: white;
    font-size: 20px;
    line-height: 36px;
    text-decoration: underline;
    font-weight: 300;
}

.sf-empty-state {
    color: white;
    font-size: 18px;
    font-weight: 300;
}

.sf-empty-state a {
    color: #e5e33b;
    text-decoration: underline;
}

/* ============================================
   OTHER COMPONENT STYLES
   ============================================ */

/* =========================
   Apply Link
   ========================= */

.apply-link {
    padding: 15px 23px !important;
    border-left: 2px solid white !important;
    border-right: 2px solid white !important;
    margin: 0px !important;
}

/* =========================
   AJAX Search Dropdown
   ========================= */

.ajax-search-dropdown {
    margin-top: 7px;
    border-radius: 10px;
    border: 0px;
}

/* =========================
   Mega Menu Item
   ========================= */

li#mega-menu-item-133 {
    margin: 0px 22px 0px 22px !important;
}

/* =========================
   Elementor Element
   ========================= */

.elementor-element.elementor-element-1187a40.e-con-full.e-flex.e-con.e-child {
    max-width: 25%;
}

/* =========================
   Main Content Area
   ========================= */

main {
    min-height: calc(100vh - 882px);
}

/* =========================
   Glass Effect
   ========================= */

.glass {
    background: rgb(255 255 255 / 0%);
    box-shadow: 0 8px 70px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(20px);
    /* overflow: hidden; */
}


p#breadcrumbs span {
    margin: 0px 10px;
}



.hub-contacts-tabs__bio {
    color: #1f2a33;
    line-height: 1.6;
    overflow-y: scroll;
    max-height: 200px;
}



/* Elementor text editor: remove default bullets + padding */
.arrow-list ul{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Increase space between icon and text */
.arrow-list ul li{
  position: relative;
  padding-left: 2.2em;  /* gap control */
}

/* Font Awesome 6 arrow bullet */
.arrow-list ul li::before{
  content: "\f061";              /* fa-arrow-right */
  font-family: "Font Awesome 6 PRO";
  font-weight: 900;              /* SOLID (use 300 for LIGHT if available) */
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.9em;
  color: currentColor;
}


a.course-apply-button.course-apply-button--active {
    background: #e5e33b !important;
    border-radius: 100px !important;
    color: #04344e !important;
}

span.course-apply-button.course-apply-button--disabled {
    border-radius: 100px !important;
}

a.course-application-button.course-application-button--active.course-application-button--enabled {
    border-radius: 100px !important;
    background: #e5e33b !important;
    color: #04344e !important;
}
a.course-application-button.course-application-button--active.course-application-button--enabled:hover {
    background: #04344e ! IMPORTANT;
    color: white !important;
}
a.course-apply-button.course-apply-button--active.course-apply-button--enabled:hover {
    background: #04344e !important;
    color: white !important;
}