/* IC Napoli editorial presentation, 2026-09-14.
 * Existing text, photographs, links, controls and plugin behaviour are retained.
 * The editorial selector excludes the approved Home/About/native components.
 * Load after the legacy stylesheets. Font Awesome keeps its own font family.
 */
html:has(.main-wrapper.course-single-left-sidebar > .breadcrumb-bg) { scrollbar-gutter: stable; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) {
  --ie-ink: #0b2431;
  --ie-ink-2: #123746;
  --ie-paper: #f4f8f8;
  --ie-muted: #536b76;
  --ie-line: #d7e3e7;
  --ie-orange: #ff9800;
  --ie-cyan: #31c0b3;
  --ie-radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ie-ink);
  background: var(--ie-paper);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: auto;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg),
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) *,
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) *::before,
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) *::after { box-sizing: border-box; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container {
  width: min(1180px, calc(100% - 2rem));
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  margin-inline: auto;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section:not(.breadcrumb-bg) { padding: 3.5rem 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section:not(.breadcrumb-bg) + section { padding-top: 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(h1, h2, h3, h4, h5, h6) {
  font-family: inherit;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: var(--ie-ink);
  overflow-wrap: break-word;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) h2 { font-size: clamp(1.75rem, 4vw, 2.65rem); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) h3 { font-size: clamp(1.2rem, 2.5vw, 1.55rem); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) h4 { font-size: 1rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  color: var(--ie-muted);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.text-purple, .text-pink, .text-warning, .text-danger, .text-info, .text-success) { color: var(--ie-ink) !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .text-muted { color: var(--ie-muted) !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .text-justify { text-align: left !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) a { color: #087b72; text-underline-offset: .2em; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) a:hover { color: #075d57; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--ie-cyan);
  outline-offset: 3px;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) img { max-width: 100%; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-body { min-width: 0; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .text-truncate { overflow: visible; text-overflow: clip; white-space: normal; }

/* Keep the original inline background image, and change only its presentation. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > .breadcrumb-bg {
  position: relative;
  isolation: isolate;
  background-color: var(--ie-ink);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > .breadcrumb-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(5, 25, 34, .93), rgba(8, 34, 45, .72) 55%, rgba(8, 34, 45, .3));
  pointer-events: none;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > .breadcrumb-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ie-orange) 0 50%, var(--ie-cyan) 50%);
  pointer-events: none;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > .breadcrumb-bg > .container { position: relative; z-index: 1; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .breadcrumb-holder {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: auto;
  min-height: 290px;
  padding: 3.5rem 0;
  text-align: left;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .breadcrumb-holder > div { max-width: 100%; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .breadcrumb-title {
  margin: 0 0 1.1rem;
  color: #fff !important;
  font-size: clamp(2.2rem, 5.5vw, 4.25rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-align: left;
  text-transform: none;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .breadcrumb {
  justify-content: flex-start;
  gap: .2rem;
  margin: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.breadcrumb-item, .breadcrumb-item a, .breadcrumb-item::before) { color: #d9e8ed !important; font-size: .9rem; }

/* Editorial cards retain the existing card and Bootstrap grid markup. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card {
  width: 100%;
  margin-bottom: 1.4rem;
  border: 1px solid var(--ie-line);
  border-radius: var(--ie-radius);
  background: #fff !important;
  box-shadow: 0 10px 32px rgba(6, 35, 48, .055) !important;
  overflow: visible;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body {
  padding: clamp(1.35rem, 3vw, 2.2rem) !important;
  margin-bottom: 0 !important;
  background: #fff;
  border-color: var(--ie-line) !important;
  border-radius: 0 0 var(--ie-radius) var(--ie-radius) !important;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body.border-top-5 {
  border-top: 5px solid var(--ie-orange) !important;
  border-radius: var(--ie-radius) var(--ie-radius) 0 0 !important;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card > .card-body:last-child { border-bottom-right-radius: var(--ie-radius) !important; border-bottom-left-radius: var(--ie-radius) !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-title { margin: 0 0 1rem; text-transform: none !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-title:not(:first-child) { margin-top: 2rem; padding-top: 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body > p:last-child { margin-bottom: 0; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body > :is(ul, ol) { padding-left: 1.4rem; color: var(--ie-ink-2); line-height: 1.75; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body > .list-unstyled { padding-left: 0; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body > :is(ul, ol) > li { margin-bottom: .55rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body > img { display: block; height: auto; margin: 1.2rem 0; border-radius: 14px !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body > p.pt-md-5 { padding-top: 1rem !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-lg-12 > .card:not(:has(form)) { max-width: 980px; margin-inline: auto; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-img-top {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: .75rem;
  background: #fff;
  border-radius: var(--ie-radius) var(--ie-radius) 0 0;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-6 > .card { height: calc(100% - 1.4rem); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .badge { white-space: normal; line-height: 1.3; border-radius: 7px; font-size: .7rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .btn:not(.btn-link):not(.btn-squre) {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: .8rem 1.2rem;
  border: 1px solid transparent !important;
  border-radius: 13px;
  color: var(--ie-ink) !important;
  background: var(--ie-orange) !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: none !important;
  white-space: normal;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .btn:not(.btn-link):not(.btn-squre):hover { background: #ffad2c !important; color: var(--ie-ink) !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) a.btn[href*="wa.me/"] { color: #062b1a !important; background: #25d366 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) a.btn[href*="wa.me/"]:hover { background: #20c861 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card > .text-center { padding: 0 clamp(1.35rem, 3vw, 2.2rem) 1.6rem; margin-bottom: 0 !important; }

/* Existing sidebar titles, all statistics and every photograph remain visible. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > :is(.pb-4, .mb-4) > :is(.section-title, h3.bg-purple) {
  display: block;
  margin-bottom: 0 !important;
  padding: 1.1rem 1.2rem !important;
  border-radius: var(--ie-radius) var(--ie-radius) 0 0 !important;
  background: var(--ie-ink) !important;
  color: #fff !important;
  font-size: 1.05rem;
  line-height: 1.3;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 > .section-title h3 { margin: 0 !important; padding: 0 !important; color: #fff !important; font-size: 1.05rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > :is(.pb-4, .mb-4) > .border {
  border: 1px solid var(--ie-line) !important;
  border-top: 0 !important;
  border-radius: 0 0 var(--ie-radius) var(--ie-radius) !important;
  background: #fff;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 .media { align-items: flex-start; padding: 1.05rem !important; border-color: var(--ie-line) !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 .media:last-child { border-bottom: 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 .media h4 { margin: 0 0 .45rem; color: var(--ie-ink) !important; font-size: .87rem; line-height: 1.3; letter-spacing: .015em; text-transform: none !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 .media time { color: var(--ie-ink-2) !important; font-size: 1.07rem; font-weight: 800 !important; line-height: 1.35; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .icon-rounded-circle-medium {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin-right: .8rem !important;
  border-radius: 12px;
  background: #e5f6f3 !important;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .icon-rounded-circle-medium i { color: #087b72 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) .border > ul > li:has(> img) { padding: .8rem !important; border-color: var(--ie-line) !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) .border > ul > li > img { display: block; height: auto; border-radius: 12px !important; }

/* Existing filter and Isotope positioning are left under their script's control. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: .55rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: .3rem 0;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #filters .button {
  min-height: 44px;
  margin: 0;
  padding: .65rem 1rem;
  border: 1px solid #b7cad1;
  border-radius: 999px;
  background: #fff;
  color: var(--ie-ink);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.4;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
  box-shadow: none !important;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #filters .button:is(:hover, .is-checked) { border-color: var(--ie-ink); background: var(--ie-ink); color: #fff; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-hoverable { border: 1px solid var(--ie-line); border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(6, 35, 48, .06); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-hoverable > .position-relative { padding-bottom: 3.3rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-img { display: block; width: 100%; height: auto; padding: .45rem; object-fit: contain; transform: none !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-img-overlay {
  align-items: flex-end;
  justify-content: flex-end;
  padding: .75rem;
  visibility: visible;
  opacity: 1;
  background: transparent;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .btn-squre { width: 38px; height: 38px; padding: 0; line-height: 38px; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; background: var(--ie-ink); color: #fff; box-shadow: 0 3px 10px rgba(6,35,48,.18); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-img-overlay:is(:hover, :focus-visible) .btn-squre { background: var(--ie-orange); color: var(--ie-ink); }

/* Forms: visual rules preserve field types, constraints, names and POST handlers. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card:has(#request-form) > .card-header {
  padding: 1.5rem clamp(1.35rem, 3vw, 2.2rem) !important;
  border: 0;
  border-radius: var(--ie-radius) var(--ie-radius) 0 0 !important;
  color: #fff !important;
  background: var(--ie-ink) !important;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card:has(#request-form) > .card-header :is(h2, h3, h4, p) { margin: 0; color: #fff !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card:has(#request-form) > .card-body { border: 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .form-group { margin-bottom: 1.3rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form label { margin-bottom: .4rem; color: var(--ie-ink); font-size: .94rem; font-weight: 750; line-height: 1.5; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 49px;
  height: auto;
  padding: .75rem .9rem;
  border: 1px solid #adc3cc !important;
  border-radius: 12px !important;
  background: #fff;
  color: var(--ie-ink);
  box-shadow: none;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form textarea.form-control { min-height: 115px; resize: vertical; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .form-control:focus { border-color: #087b72 !important; box-shadow: 0 0 0 3px rgba(49,192,179,.15); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .checkbox { margin: .35rem 0 1.25rem; padding: 0; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .checkbox label { font-weight: 400; color: var(--ie-muted); line-height: 1.65; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form input[type="checkbox"] { accent-color: #087b72; width: 18px; height: 18px; margin-right: .4rem; vertical-align: middle; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .checkbox a { color: #087b72 !important; text-decoration: underline; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #request-form .btn:disabled { opacity: .6; cursor: not-allowed; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .alert { padding: 1rem 1.2rem; border-radius: 13px; font-size: .95rem; line-height: 1.65; }

/* FAQ collapse visibility and aria state continue to be managed by Bootstrap. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion { max-width: 980px; margin-inline: auto; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .card { margin-bottom: .9rem; border-radius: 16px; box-shadow: none !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .card-header { padding: 0; border: 0; border-radius: 16px !important; background: #fff !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .btn-link {
  min-height: 70px;
  padding: 1.3rem 3rem 1.3rem 1.4rem !important;
  border: 0;
  border-radius: 16px;
  color: var(--ie-ink) !important;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  text-transform: none !important;
  white-space: normal;
  position: relative;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .btn-link[aria-expanded="true"] { background: #e7f6f3; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .btn-link i { position: absolute; top: 1.7rem; right: 1.3rem; color: #087b72; font-size: .85rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .btn-link[aria-expanded="true"] i { transform: rotate(180deg); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .card-body { border: 0 !important; padding: 1.4rem !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .collapse { box-shadow: none !important; }

/* Partner descriptions, contact cards and embedded maps/readers. */
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .section-title { justify-content: flex-start !important; gap: .8rem; margin-bottom: 1.7rem !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .section-title h2 { text-align: left; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .section-title .shape { width: 7px; height: 32px; border-radius: 4px; background: var(--ie-orange) !important; transform: none; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.2rem !important;
  border: 1px solid var(--ie-line);
  border-radius: var(--ie-radius);
  background: #fff;
  box-shadow: none;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view > .media-img { flex: 0 0 180px; width: 180px; margin: 0; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view > .media-img img { width: 100%; height: auto; max-height: 180px; object-fit: contain; border-radius: 12px; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view .media-body { padding: 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view h3 { margin: 0 0 .8rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view h3 a { text-transform: none !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view p:last-child { margin-bottom: 0 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-4 > .media {
  display: flex;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 1rem;
  height: calc(100% - 1.25rem);
  margin-bottom: 1.25rem !important;
  padding: 1.5rem;
  border: 1px solid var(--ie-line);
  border-radius: var(--ie-radius);
  background: #fff;
}
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .icon-rounded-circle-large { flex: 0 0 48px; width: 48px; height: 48px; margin: 0 !important; line-height: 48px; border-radius: 14px; background: #e5f6f3 !important; box-shadow: none !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .icon-rounded-circle-large i { color: #087b72 !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-4 > .media h3 { margin: 0 0 .8rem !important; font-size: 1.2rem; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-4 > .media p { margin-bottom: 0; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-4 > .media a { overflow-wrap: anywhere; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) iframe { max-width: 100%; border-radius: var(--ie-radius); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .embed-responsive { border: 1px solid var(--ie-line); border-radius: var(--ie-radius); background: #fff; box-shadow: 0 10px 32px rgba(6,35,48,.055); }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .mb-9:has(> .row > .col-sm-4) { margin-bottom: 1.5rem !important; }
body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .mb-10:has(> iframe) { margin-bottom: 0 !important; }

/* Shared legacy footer only: no header or native footer selectors. */
body .element-footer,
body .element-footer .copyright { background-color: #0b2431 !important; background-image: none; }
body .element-footer { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body .element-footer .container { width: min(1180px, calc(100% - 2rem)); max-width: none; margin-inline: auto; padding-inline: 0; }
body .element-footer .copyright { padding: .75rem 0; }
body .element-footer p { color: #d9e8ed !important; line-height: 1.7; }
body .element-footer a { color: #fff; }
body .element-footer .list-inline { gap: .35rem; flex-wrap: wrap; }
@media (min-width: 768px) {
  body .element-footer .list-inline { padding-right: 3.5rem; }
}
body .element-footer .icon-rounded-circle-small,
body.ic-legacy-skin .element-footer .icon-rounded-circle-small { width: 28px; height: 28px; line-height: 28px; border: 0; border-radius: 50%; text-align: center; color: #fff; font-size: 1rem; display: inline-block; }
body .element-footer .icon-rounded-circle-small.bg-info,
body.ic-legacy-skin .element-footer .icon-rounded-circle-small.bg-info { background: #30b7a0 !important; }
body .element-footer .icon-rounded-circle-small.bg-pink,
body.ic-legacy-skin .element-footer .icon-rounded-circle-small.bg-pink { background: #c61773 !important; }
body .element-footer .icon-rounded-circle-small.bg-success,
body.ic-legacy-skin .element-footer .icon-rounded-circle-small.bg-success { background: #b5d56a !important; }
body .element-footer .icon-rounded-circle-small.bg-info:is(:hover, :focus),
body.ic-legacy-skin .element-footer .icon-rounded-circle-small.bg-info:is(:hover, :focus) { background: #5eaac9 !important; }
body .element-footer .icon-rounded-circle-small.bg-pink:is(:hover, :focus),
body.ic-legacy-skin .element-footer .icon-rounded-circle-small.bg-pink:is(:hover, :focus) { background: #e34b92 !important; }
body .element-footer .icon-rounded-circle-small.bg-success:is(:hover, :focus),
body.ic-legacy-skin .element-footer .icon-rounded-circle-small.bg-success:is(:hover, :focus) { background: #a1ca42 !important; }
body .element-footer .icon-rounded-circle-small i,
body.ic-legacy-skin .element-footer .icon-rounded-circle-small i { color: #fff !important; }
body .element-footer a:focus-visible { outline: 3px solid #31c0b3; outline-offset: 4px; }
body .element-footer > .color-bar .col { height: 4px; }
body .element-footer > .color-bar .col:nth-child(4n + 1) { background: #ff9800 !important; }
body .element-footer > .color-bar .col:nth-child(4n + 2) { background: #31c0b3 !important; }
body .element-footer > .color-bar .col:nth-child(4n + 3) { background: #ff3145 !important; }
body .element-footer > .color-bar .col:nth-child(4n + 4) { background: #9b3cc1 !important; }

/* Match the older opt-in skin's specificity on the two remaining skin pages. */
body.ic-legacy-skin .element-footer,
body.ic-legacy-skin .element-footer .copyright { background-color: #0b2431 !important; background-image: none; }
body.ic-legacy-skin .element-footer .copyright { padding: .75rem 0; }
body.ic-legacy-skin .element-footer p { color: #d9e8ed !important; line-height: 1.7; }

/* Retain the existing anchor, visibility and scroll behaviour. */
body:has(.element-footer) #back-to-top {
  width: 44px;
  height: 44px;
  line-height: 44px;
  border-radius: 13px;
  border: 1px solid #52707d;
  background: #0b2431 !important;
  color: #fff !important;
  box-shadow: 0 5px 16px rgba(6,35,48,.16);
}
body:has(.element-footer) #back-to-top i { color: inherit !important; }
body:has(.element-footer) #back-to-top:hover { background: #ff9800 !important; border-color: #ff9800; color: #0b2431 !important; }
body:has(.element-footer) #back-to-top:focus-visible { outline: 3px solid #31c0b3; outline-offset: 4px; }

@media (max-width: 991px) {
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-4 > .media { padding: 1.15rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view { gap: 1.2rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view > .media-img { flex-basis: 145px; width: 145px; }
}
@media (max-width: 767px) {
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section:not(.breadcrumb-bg) { padding: 2rem 0 !important; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .breadcrumb-holder { min-height: 220px; padding: 2.5rem 0; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .breadcrumb-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  /* Fit the outer Bootstrap gutters within the narrower mobile container. */
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .row,
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .mb-9 > .row:has(> .col-sm-4 > .media),
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-lg-9.order-md-1 > .row.wow:has(> .col-sm-6.col-lg-4 > .card) { margin-left: -8px; margin-right: -8px; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .row > [class*="col-"],
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .mb-9 > .row:has(> .col-sm-4 > .media) > .col-sm-4,
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-lg-9.order-md-1 > .row.wow:has(> .col-sm-6.col-lg-4 > .card) > .col-sm-6.col-lg-4 { padding-left: 8px; padding-right: 8px; }
  /* Reorder the existing outer columns only, never form rows or gallery items. */
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .row > :is(.col-lg-8, .col-lg-9).order-md-1 { order: 0 !important; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container > .row:has(> .order-md-1) > :is(.col-lg-3, .col-lg-4) { order: 1 !important; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 > .border:has(> .media + .media) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 > .border > .media { display: block; padding: 1rem !important; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 > .border > .media:nth-child(odd) { border-right: 1px solid var(--ie-line); }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) > .pb-4 > .border > .media:has(> iframe) { grid-column: 1 / -1; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .icon-rounded-circle-medium { margin-bottom: .6rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) :is(.col-lg-3, .col-lg-4) .border > ul:has(> li > img) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view { flex-direction: column; gap: 1rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .media-list-view > .media-img { flex: none; width: min(200px, 100%); }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .element-item { width: 50%; max-width: 50%; flex: 0 0 50%; padding-inline: 7px; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .grid { margin-inline: -7px; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #filters .button { padding: .6rem .8rem; font-size: .85rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #faq-accordion .btn-link { padding-left: 1.1rem !important; }
}
@media (max-width: 480px) {
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) > section > .container { width: calc(100% - 1.5rem); }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card-body { padding: 1.2rem !important; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card > .text-center { padding-inline: 1.2rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .card:has(#request-form) > .card-header { padding: 1.2rem !important; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-img { padding: .3rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .media-img-overlay { padding: .45rem; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) #gallery-grid .btn-squre { width: 31px; height: 31px; line-height: 31px; border-radius: 9px; }
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) .col-sm-4 > .media { flex-direction: row !important; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg),
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) *,
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) *::before,
  body .main-wrapper.course-single-left-sidebar:has(> .breadcrumb-bg) *::after { scroll-behavior: auto !important; transition: none !important; }
}
