:root{
  --qmul-blue: #0D3273;
  --qmul-gold:#FFD100;
  --qmul-gold-new: #B89631;
  --qmul-jade:#00B2A9;
  --qmul-purple:#6B2C91;
  --qmul-orange:#E87722;
  --qmul-grey-50:#F8F9FA;
  --qmul-grey-700: #f6f6f6; 
  --qmul-grey-900:#212529;
  

  --filter-border-color: #2F2552; 
  --filter-label-color: #33475a; 
  --filter-list-bg: #f1f1f6;     
}


*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%; scroll-behavior: smooth;} 

body{
  font-family: SourceSansPro, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Droid Sans", "Helvetica Neue", Fira Sans, sans-serif;
  color: var(--qmul-grey-900);
  font-size: 1rem;
  line-height: 1.38889;
  background:#fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; }

/* Accessibility utility class */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.vh { 
  border: none !important;
  clip: rect(0 0 0 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

/* Font heading classes */
.th-o {
  font-family: Oswald, Impact, Franklin Gothic Bold, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Droid Sans", "Helvetica Neue", Fira Sans, sans-serif;
  font-weight: 500;
}
.th-s1 { font-size: 3.3333rem; line-height: 1.142; } 
.th-s3 { font-size: 1.7778rem; line-height: 1.38889; } 
.th-s4 { font-size: 1.1667rem; line-height: 1.38889; } 
.th-b { font-weight: 600; }
.th-s2 { font-size: 1.7778rem;  line-height: 1.142; font-weight: 400; margin-top: 1.7778rem; margin-bottom: 1.7778rem; } 


/* --- CUSTOM HEADER --- */
.header{
  background:var(--qmul-blue); color:#fff; padding:1rem 1.25rem;
  position:sticky; top:0;
  box-shadow:0 2px 4px rgba(0,0,0,.08);
  min-height: 80px;
}
.header-content{
  max-width:100%; width: 100%; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.header-nav {
  display: flex; align-items: center; gap: 1.5rem; list-style: none;
}
.header-nav a {
  color: #fff; font-weight: 600; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .03em; padding: .5rem 0;
  border-bottom: 2px solid transparent; transition: border-color .2s;
}
.header-nav a:hover { border-bottom-color: var(--qmul-gold-new); }
.header-logo-link {
  display: flex; align-items: center; gap: 1.25rem;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.header-logo-crest {
  height: 50px; width: auto; background: #fff2; color: #fff; font-weight: bold;
  padding: .5rem 1rem; border-radius: 4px; display: flex;
  align-items: center; justify-content: center; font-size: .8rem;
  text-align: center; line-height: 1.2;
}
.header-logo-1785 { height: 45px; width: auto; }

/* --- HEADER ALIGNMENT & SEPARATOR FIX START --- */
/* Ensure the right-side nav items are vertically centered */
.header-nav.header-right {
  align-items: center;
}

/* Style the 'Find an expert' item to hold the separator */
.header-nav.header-right li:first-child {
  display: flex;
  align-items: center;
}

/* Create the white vertical separator line */
.header-nav.header-right li:first-child::after {
  content: "";
  display: block;
  width: 1.8px;               /* Thin crisp line */
  height: 16px;             /* Height of the line */
  background-color: #fff;   /* White color */
  margin-left: 1.5rem;      /* Space between 'Find an expert' text and line */
  opacity: 0.7;             /* Slight transparency */
  /* Note: The space to the right of the line is handled by the parent .header-nav 'gap: 1.5rem' */
}

/* Ensure the Search link (icon + text) is properly aligned */
.header-nav .search-link {
  display: flex; 
  align-items: center; 
  gap: 0.75rem; 
}
/* --- HEADER ALIGNMENT & SEPARATOR FIX END --- */

.header-nav .search-link svg { width: 20px; height: 20px; fill: #fff; }

/* Mobile Header Overrides */
@media (max-width: 991px) {
  .header-content {
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 0; 
  }
  .header-nav {
    display: none; 
  }
  .header-nav.header-right {
    display: flex; 
    width: 100%; 
    justify-content: space-around; 
    padding-top: 10px;
  }
  .header-logo-link {
    position: static; 
    transform: none; 
    margin: 0 auto; 
  }
  .header-logo-1785 { height: 35px; } 
  .header-nav .search-link span { display: none; } 
}
/* --- END CUSTOM HEADER --- */

/* --- CUSTOM HERO --- */
.hero{background:var(--qmul-blue);color:#fff;}
.hero-content{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:2rem;
  align-items:center;
}
.hero-text {
  max-width: 720px;
  text-align: left;
  margin: 0; 
}
.hero-text h1 {
  margin-bottom: 1.3333rem; 
  padding-left: 45px;
}
.hero-text p{
  font-size:1rem;
  opacity:.95;
  margin-bottom: 1.7778rem; 
  padding-left: 45px;
}

.hero-image {
  width: 598px; 
  height: 440px; 
  margin-left: auto; 
  position: relative;
  z-index: 10;
  transform: translateY(3rem) translateX(-2rem); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  overflow: hidden; 
}
.hero-image img {
  width: 100%;
  height: 100%; 
  object-fit: cover; 
}

/* Search box styles */
.search-box {
  display: flex; 
  background: transparent; 
  border-radius: 0; 
  overflow: visible; 
  max-width: 720px; 
  border: 0; 
  box-shadow: none; 
  margin: 0;
  padding-left: 45px;
}
.search-box input{
  flex:1;
  padding: 1rem;
  border:0;
  font-size: 1rem;
  color: #333;
  border-radius: 0; 
  box-shadow: 0 6px 18px rgba(0,0,0,.12); 
  text-align: left;
}
.search-box input:focus {
  outline: 2px solid var(--qmul-blue); 
}
.search-box button{
  background: #fff;
  color: var(--qmul-blue); 
  border:0;
  margin-left: 1rem; 
  padding: 0 1rem; 
  cursor:pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0; 
  box-shadow: 0 6px 18px rgba(0,0,0,.12); 
  transition: background-color 0.2s ease;
}
.search-box button:hover{
  background-color: #cea600; 
  color: #fff;
  filter: none;
}
.search-box .search-icon {
  width: 28px;
  height: 28px;
  fill: currentColor; 
}

/* Mobile Hero Overrides */
@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr; 
    padding: 0 1.25rem 2rem; 
  }
  .hero-text {
    order: 2; 
    text-align: center;
    max-width: 100%;
  }
  .hero-text h1,
  .hero-text p,
  .search-box {
    padding-left: 0; 
    margin-left: auto;
    margin-right: auto;
  }
  .hero-text h1 {
    font-size: 2.2rem; 
    margin-top: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .hero-image {
    order: 1; 
    width: 100%; 
    height: 250px; 
    transform: none; 
    box-shadow: none; 
    margin-bottom: 1rem;
  }
  .search-box {
    flex-direction: column; 
    gap: 0.75rem; 
    max-width: 90%;
  }
  .search-box button {
    margin-left: 0; 
    width: 100%; 
    padding: 0.75rem 1rem;
  }
}
/* --- END CUSTOM HERO --- */

/* badges */
.badge{
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 99px; 
  font-size: .75rem; 
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 1px solid var(--qmul-grey-900);
  color: var(--qmul-grey-900);
  background: transparent;
  line-height: 1.4;
}
.badge.jade,
.badge.purple,
.badge.orange,
.badge.news,
.badge.research,
.badge.blue {
  color: #fff;
  border-color: transparent; 
}
.badge.jade{background: #0C746A;} 
.badge.purple{background:#7B0E72;}
.badge.orange{background:#D35D0C;} 
.badge.news{background:#21376A;} 
.badge.research{background: #0C746A;}
.badge.blue{background:#21376A;} 


/* --- NEW MAIN LAYOUT --- */
.main-content-area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 1.25rem 2rem 1.25rem; 
  display: grid;
  grid-template-columns: 1fr; 
  gap: 2.5rem; 
  align-items: start;
  
}
@media (min-width: 992px) {
  .main-content-area {
    grid-template-columns: 250px 1fr; 
    align-items: start; 
  }
}
.filters-sidebar { width: 100%; }
.content-grid-area { width: 100%; }

/* Mobile Main Layout Overrides */
@media (max-width: 991px) {
  .main-content-area {
    grid-template-columns: 1fr; 
    padding: 2rem 1.25rem; 
    gap: 1rem; 
  }
}
/* --- END NEW MAIN LAYOUT --- */


/* --- FILTERS (Now in sidebar) --- */
.filters-content{
  width: 100%;
  position: sticky; 
  top: 100px; 
}
.filters-content .filters-title { 
  margin-bottom: 1rem; display: block;
  font-size: 1.1rem; font-weight: 700;
  color: #333;
}
.filters-container {
  display: flex; flex-direction: column; 
  align-items: stretch;  gap: 1rem;
}
.filter-buttons{
  display: flex; flex-direction: column;
  gap: 0.75rem; align-items: stretch; 
  margin-top: 1rem; 
}
.btn-primary{
  background:var(--qmul-blue); color:#fff; padding:.55rem 1.25rem; 
  border-radius:6px; border:0; cursor:pointer;
  font-weight:700; font-size: .95rem;
}
.btn-link {
  background: none; border: none; 
  color: var(--qmul-grey-900); 
  text-decoration: underline; cursor: pointer;
  font-size: .95rem; font-weight: 600;
  text-align: center; 
}


.list-unstyled {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.pl-1 {
  padding-left: .4444rem !important;
}
.facet-list {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.facet-list:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.facet-list .sidebar-heading {
  margin: 0; 
}
.facet-list .sidebar-heading summary {
  text-align: left;
  border: 1px solid var(--filter-border-color); /* Dark purple */
  font-size: 1rem; 
  letter-spacing: -.02em;
  line-height: 1.55;
  font-weight: 400; /* Lighter font weight */
  padding: 18px 15px; /* Compact padding */
  position: relative;
  background: #fff;
  color: var(--filter-label-color); /* Dark text */
  cursor: pointer;
  list-style: none; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.facet-list .sidebar-heading summary::-webkit-details-marker {
  display: none;
}

/* FIX: Chevron Up Icon */
.facet-list .sidebar-heading summary:after {
  position: relative;
  right: 8px;
  content: '';
  width: 12px;
  height: 12px;
  border-top: 2px solid #0D3273; /* Blue color */
  border-right: 2px solid #0D3273; 
  transform: rotate(-45deg); /* Points UP by default (open) */
  margin-top: 4px; 
  transition: transform 0.2s ease;
}
.facet-list details:not([open]) summary:after {
  transform: rotate(135deg); /* Points DOWN when closed */
  margin-top: -4px;
}

/* This is the filter list container */
.facet-list .collapse {
  background-color: var(--filter-list-bg); /* light grey bg */
  position: relative;
  display: block;
  border-top: none;
  padding: .625rem 0;
  box-shadow: none;
  overflow: auto;
  max-height: 14.375rem; 
  scrollbar-color: var(--qmul-blue) transparent;
  scrollbar-width: thin;
}
.facet-list details:not([open]) > .collapse {
    display: none;
}
.facet-list details[open] > .collapse {
    display: block;
}

.facet-list .collapse::-webkit-scrollbar { width: 8px; }
.facet-list .collapse::-webkit-scrollbar-track { background: var(--qmul-grey-50); }
.facet-list .collapse::-webkit-scrollbar-thumb { background-color: var(--qmul-blue); }

/* This is an individual filter item */
.facet-list .collapse .dropdown-item {
  margin-bottom: .25rem;
  padding: .2rem 0.2rem;
  display: flex;
  align-items: flex-start; 
  gap: .75rem;
}
.facet-list .collapse .dropdown-item input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.15em; 
  height: 1.15em;
  border: 1px solid #85898f; 
  border-radius: 2px; /* Square */
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  top: 0.15em; 
  background-color: white;
}
.facet-list .collapse .dropdown-item input[type="checkbox"]:checked {
  background-color: var(--qmul-blue);
  border-color: var(--qmul-blue);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="white"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>');
  background-size: 100%;
}
.facet-list .collapse .dropdown-item label {
  font-size: 0.875rem; 
  font-weight: 500;
  color: var(--qmul-grey-900);
  cursor: pointer;
  white-space: normal;
}
.facet-list .collapse .dropdown-item label .facet-name {
  font-weight: 700; /* BOLD text */
  color: #212529; /* Black text */
  text-transform: none; 
}

/* Mobile Filters Overrides */
@media (max-width: 991px) {
  .filters-content {
    position: static; 
    top: auto;
  }
  .filters-content .filters-title {
    display: none; 
  }
  .facet-list {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
/* --- END FILTERS --- */


/* --- SORTING DROPDOWN --- */
.sorting-controls .filter-accordion-wrapper {
  position: relative;
}
.sorting-controls .filter-accordion {
  border: 1px solid #ced4da; border-radius: 0;
  background: #fff;
  width: 100%;
  position: relative;
}
.sorting-controls .filter-accordion[open] { z-index: 11; }
.sorting-controls .filter-accordion summary {
  padding: .6rem .7rem; font-size: .95rem; font-weight: 500; 
  color: var(--qmul-grey-900); cursor: pointer; list-style: none; 
  display: flex; justify-content: space-between; align-items: center;
}
.sorting-controls .filter-accordion summary::-webkit-details-marker { display: none; }
.sorting-controls .filter-accordion summary::after {
  content: ''; display: inline-block; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid var(--qmul-blue); 
  margin-left: .5rem; transition: transform 0.2s;
}
.sorting-controls .filter-accordion[open] summary::after { transform: rotate(180deg); } 
.sorting-controls .checkbox-list-container {
  position: absolute;
  top: 100%; 
  right: 0; 
  z-index: 100; 
  width: 100%;
  background: #fff;
  border: 1px solid #ced4da;
  border-top: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  border-radius: 0 0 4px 4px;
  max-height: 200px; overflow-y: auto; padding: .5rem .75rem;
  scrollbar-width: thin; scrollbar-color: var(--qmul-blue) var(--qmul-grey-50);
}
.sorting-controls .checkbox-item { 
  padding:.3rem 0; display:flex; align-items:center; gap:.5rem; 
}
/* Sort Checkboxes */
.sorting-controls .checkbox-item input[type="checkbox"] {
  -webkit-appearance: none; appearance: none;
  width: 1.15em; height: 1.15em;
  border: 1px solid var(--qmul-grey-700);
  border-radius: 0; 
  margin: 0; cursor: pointer;
}
.sorting-controls .checkbox-item input[type="checkbox"]:checked {
  background-color: var(--qmul-blue);
  border-color: var(--qmul-blue);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="white"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.sorting-controls .checkbox-item label {
  font-weight: 500; color: var(--qmul-grey-900); font-size: .9rem;
  cursor: pointer; white-space: normal; 
}
/* --- END SORTING --- */


/* --- NEWS GRID & CARDS --- */
.news-section{ width: 100%; }
.sorting-controls{
  display: flex; justify-content: flex-end;
  margin-bottom: 1rem; align-items: center;
}
    
.news-grid{
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 2rem; 
}
@media (min-width: 576px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) { 
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card{
  background:#fff; border-radius: 0; border:1px solid #e9ecef;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
  display:flex;flex-direction:column;overflow:hidden;
  transition:transform .22s,box-shadow .22s;
}
.news-card:hover{transform:translateY(-6px);box-shadow:0 18px 48px rgba(13,50,115,.12)}
.news-image{
  height: 220px; 
  background:#eaeaea center/cover no-repeat; 
  position: relative;
}
.news-content{
  padding: 1.25rem; 
  display:flex;
  flex-direction:column;
  gap: 0.75rem; 
  flex-grow:1;
  background-color: var(--qmul-grey-700); 
}
.news-content h3 {
  color: #0c746a; 
  text-decoration: none;
  order: 1; 
  font-size: 1.1rem;
  font-weight: 600; 
  line-height: 1.3;
}
.news-card:hover .news-content h3 {
  text-decoration: underline;
}
.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  order: 2; 
}
.news-meta {
  font-size: 0.85rem;
  color: var(--qmul-grey-900); 
  margin-top: 0; 
  padding-top: 0;
  border-top: none;
  order: 2; 
}
.news-content .badge {
  order: 1; 
}

/* Event card consistency */
.card-type-event .card-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  order: 2;
}
.card-type-event .badge {
  order: 1;
}
.card-type-event .news-meta {
  border-top: none;
  color: var(--qmul-grey-900);
  font-weight: 600; 
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  text-align: center;
  margin-top: 0; 
  order: 2; 
  
}
.card-type-event h3 {
  order: 1; 
}

.card-type-video .news-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: var(--qmul-blue);
  border: none;
  border-radius: 50%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ffffff"><path d="M8 5v14l11-7z"/></svg>');
  background-repeat: no-repeat;
  background-position: 55% 50%; 
  background-size: 20px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
}
.news-card.card-type-video:hover .news-image::after {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* pagination */
.pagination{display:flex;justify-content:center;gap:.5rem;margin:2.25rem 0;flex-wrap:wrap}
.page-btn{padding:.5rem .75rem;border-radius:6px;border:1px solid #dee2e6;background:#fff;cursor:pointer}
.page-btn.active,.page-btn:hover{background:var(--qmul-blue);color:#fff;border-color:var(--qmul-blue)}

/* Mobile News Grid Overrides */
@media (max-width: 575px) {
  .news-grid { 
    grid-template-columns: 1fr; 
  }
  .news-card { 
    margin-bottom: 1rem; 
  }
  .news-content h3 {
    font-size: 1.05rem; 
  }
  .card-meta-row {
    flex-direction: row;
    align-items: flex-start;
  }
}
/* --- END NEWS GRID & CARDS --- */


/* --- RELATED LINKS SECTION --- */
.th-s2 { font-size: 1.7778rem;  line-height: 1.142; } 
.grid-related {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .grid-related {
    grid-template-columns: repeat(3, 1fr); 
    justify-items: center; 
  }
}

.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 1rem;
  height: 100%;
  text-decoration: none;
  border: 1px solid #dfe0e2;
  transition: all 0.2s ease;
  position: relative; 
  
  /* FIX: Fixed size for the card */
  width: 306px; 
  height: 341px;
  box-sizing: border-box; 
  overflow: hidden; 
}
/* Hover effect: Gold border + Gold outline */
.related-card:hover {
  border: 1px solid var(--qmul-gold); 
  outline: px solid var(--qmul-gold); 
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.related-card__title {
  color: var(--qmul-blue);
  font-weight: 700;
  font-size: 1.15rem; 
  margin-bottom: .4rem; 
  line-height: 1.2;
}

.related-card__text {
  color: var(--qmul-grey-900);
  margin-bottom: 1rem;
  flex-grow: 1;
  font-size: 0.9rem;
}

.related-card__image {
  width: 100%;
  position: relative;
  padding-bottom: 66.66%; 
  background: #fff; 
  flex-shrink: 0;
}
.related-card__image img {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FIX: Centering the heading text */
.slat--grey h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile Related Links Overrides */
@media (max-width: 767px) {
  .grid-related {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }
  .related-card {
    width: 100%; 
    height: auto; 
    max-width: 320px; 
    margin: 0 auto; 
  }
  .related-card__text {
    flex-grow: 0; 
  }
}
/* --- END RELATED LINKS SECTION --- */


/* --- FOOTER STYLES --- */
.slat {
  width: 100%;
  padding-left: .8889rem;
  padding-right: .8889rem;
  background-color: var(--qmul-grey-700);
}
.slat__container {
  max-width: 73.5556rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: -1px;
  padding-top: 1px;
  
}
.slat--blue {
  background-color: var(--qmul-blue); 
  color: #fff;
}
.footer {
  border-color: var(--qmul-gold-new); 
  border-top-width: 4px;
  padding: 3rem 1.25rem 2rem;
  font-size: .9rem;
  line-height: 1.7;
}
.footer__section {
  padding-top: 1.7778rem;
  padding-bottom: .4444rem;
}
.footer__section+.footer__section {
  border-top: 1px solid hsla(0, 0%, 100%, .5);
}
.footer__section:last-child {
  padding-bottom: 120px;
}
.footer__title {
  color: #fff;
  margin-bottom: .8889rem;
  font-size: 1.1667rem;
  font-weight: 600;
}
*+.footer__title {
  margin-top: .8889rem;
}
.footer__nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__nav-links li {
  margin-bottom: .8889rem;
}
.footer__nav-links a {
  color: #fff;
  text-decoration: none;
}
.footer__nav-links a:hover {
  text-decoration: underline;
}
.footer__group ul {
  -moz-columns: 2 200px;
  columns: 200px 2;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__group p {
  line-height: 1.6;
}
.footer-address { font-style: normal; } 

@media (min-width:992px) {
  .footer__groups {
    display: flex;
  }
  .footer__group--full {
    margin-bottom: 1.7778rem;
  }
  .footer__group--full ul {
    -moz-columns: 4;
    column-count: 4;
  }
  .footer__group--three-quarter {
    flex-basis: 75%;
    max-width: 75%;
  }
  .footer__group--three-quarter ul {
    -moz-columns: 3;
    column-count: 3;
  }
  .footer__group--quarter {
    padding-left: .8889rem;
    padding-right: .8889rem;
    flex-basis: 25%;
    max-width: 25%;
  }
}

/* Social Icons */
.social-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.mt-2 { margin-top: .8889rem; }
.mb-1 { margin-bottom: .4444rem; }

.social-list__service {
  margin-right: .8889rem;
}
.social-list--circled .social-list__service-link {
  display: flex;
  background-color: hsla(0,0%,100%,.2); 
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  width: 40px; 
  height: 40px;
  transition: color .2s ease, background .2s ease;
}
.social-list--circled .social-list__service-link:focus,
.social-list--circled .social-list__service-link:hover {
  background-color: hsla(0,0%,100%,.4); 
  color: #fff;
}
.social-list--circled .icon {
  width: 20px; 
  height: 20px;
  fill: #fff;
}
.icon {
  height: 1.38889em;
  width: 1.38889em;
  fill: currentColor;
}
.icon--blue {
  color: var(--qmul-blue);
}

/* Back to Top Button */
.btt {
  position: fixed;
  padding-left: .8889rem;
  padding-right: .8889rem;
  width: 100%;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  height: 0;
}
.btt__inner {
  max-width: 73.5556rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.btt__link {
  position: absolute;
  right: 0;
  z-index: 999;
  opacity: 1; 
  padding: 10px;
  background-color: #fff;
  bottom: 40px;
  pointer-events: all;
  transition: opacity .2s;
  color: var(--qmul-blue);
  border-radius: 8px; 
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btt__link .icon {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile Footer Overrides */
@media (max-width: 991px) {
  .footer__groups {
    display: block; 
  }
  .footer__group--three-quarter,
  .footer__group--quarter {
    flex-basis: auto;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .footer__group ul {
    columns: 1; 
  }
  .footer__group--full ul {
    columns: 1; 
  }
  .footer__section:last-child {
    padding-bottom: 80px; 
  }
}
/* --- END FOOTER STYLES --- */

  
/*t4 custom additions*/
  
  .clear.course-finder-widget__clear {
    display: none;
  }

  .badge.course { 
    background: #0C746A;
    color: #fff;
    border-color: transparent; 
  } 
    
  .badge.event { 
    background:#7B0E72;
    color: #fff;
    border-color: transparent;
  }
    
  .badge.webinar { 
    background:#D35D0C;
    color: #fff;
    border-color: transparent;
  } 
    
  .badge.news {
    background:#21376A;
    color: #fff;
    border-color: transparent;
  } 
    
  .badge.article {
    background:#21376A;
    color: #fff;
    border-color: transparent;
  }






