/* Custom CSS for New Content Types */
.layout-article-content {
    padding-bottom: 50px;
}

/* Button Styling */
.slide__wrapper .btn--cardiff-secondary,
.block-08__main .btn--cardiff-secondary {
    font-size: 1em; /* Ensures consistent font size for secondary buttons */
}

/* Image Styling in Block-06 */
.block-06 .block-06__wrapper .block-06__wrapper-item img {
    border: 1px solid #a0a0a0 !important; /* Adds a subtle border around images */
}

/* WYSIWYG Editor Headings */
.block-wysiwyg h2, .block-wysiwyg .h2 {
    font-size: 21px;
    line-height: 26px;
    margin: 30px 0 10px;
}

.block-wysiwyg h3, .block-wysiwyg .h3 {
    font-size: 18px;
    line-height: 25px;
    margin: 30px 0 10px;
}

.block-wysiwyg h4, .block-wysiwyg .h4 {
    font-size: 17px;
    line-height: 25px;
    margin: 30px 0 10px;
}

.block-wysiwyg h5, .block-wysiwyg .h5 {
    font-size: 16px;
    line-height: 25px;
    margin: 30px 0 10px;
}
.section--block-08 .swiper-slide__wrapper h1 {
text-wrap: wrap;
    font-size: 2em;
    line-height: 1.3em;
    letter-spacing: -.8px;
margin-bottom: 12px;
  }

.section--block-08 .swiper-slide__wrapper h2 {
text-wrap: wrap;
    font-size: 2.1em;
    line-height: 1.2em;
    letter-spacing: -.8px;
  }

.section--block-08 .swiper-slide__wrapper h3 {
text-wrap: wrap;
font-size: 1.8rem;
 margin-top: 20px;
font-family: "Gotham book";
  }

 .section--block-08 .swiper-slide__wrapper p {
  color: #0a2a3d;
  margin: 30px 0;
  font-size: 1.4em;
  font-style: normal;
  font-weight: 500;
line-height: 1.3em;
  max-width: 555px;
font-family: "Gotham book";
margin-top: 0px;
}

.section--block-08.pb-0.mb-4 {
    margin-bottom: 45px!important;
  }

}


/* WYSIWYG Editor Headings for Large Screens */
@media (min-width: 1440px) {
    .block-wysiwyg h2, .block-wysiwyg .h2 {
        font-size: 22px;
        line-height: 25px;
        margin: 30px 0 10px;
    }

/* Remove the top margin if the h2 is the first element in the .block-wysiwyg container */
  .block-wysiwyg h2:first-child {
    margin-top: 0;
  }
}

/* Reset Bold Formatting on Links */
a strong, a b {
    font-weight: normal!important;
}

/* Target bold text in paragraphs (non-links) within .block-wysiwyg */
.block-wysiwyg p strong:not(a strong) {
    font-family: 'Gotham'; /* Apply the desired font */
}

/* Pure Rendering */
/* Margin spacing for Profile button */
.block-28 .block-28__spd-content .btn {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Specific overrides for elements within .rendering */
div.rendering h2.title {
    font-size: 1.2em;
  margin-bottom: 8px;
  font-family: "Gotham";
  color: #0a2a3d;
  line-height: 1.4em;

}

div.rendering p.type {
  font-style: italic;
  font-size: 0.9em;
}

div.rendering {
  font-size: 0.9em;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 20px;
  color: #000;
  font-weight: 300;
  font-family: "Gotham Book";
  width: 90%;
}

/* News Layout container making it wider, max width 1000px */
.layout-article-content {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* Ensure the video stays within the container */
.block-wysiwyg {
  overflow: hidden;
  position: relative;
}

/* Reset the float and margins */
.responsive-video {
  display: block;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 16/9;
  margin: 1rem auto; /* Centers the video */
  overflow: hidden;
  clip-path: inset(0 round 12px);
  background-color: #000;
}

@media (min-width: 768px) {
  .responsive-video {
    margin: 1rem auto; /* Center on larger screens too */
  }

/* Target the floated video only within the .block-wysiwyg section */
.block-wysiwyg .responsive-video.float-md-end {
  margin-left: 30px;
}
}

.layout-aside-article .block-03 .block-03__head  {
   border-bottom:2px solid #e5e5e5;
	margin-top: 3rem;
}

.layout-aside-article .block-03 .block-03__head h2 {
      font-family: "Copernicus Book";
	font-size: 1.7em;
  font-weight:600;
  margin-bottom:5px
}

@media (min-width: 768px) {
   .layout-aside-article .block-03 .block-03__head h2 {
    font-family: "Copernicus Book";
	font-size: 2em;
  font-weight:600;
   margin-bottom:5px
}
  
  .block-16.table-header {
  margin-bottom: 0px;
  padding-bottom: 23px;
  background: #f4f6fa;
  border-top: none;
  border-radius: 12px 12px 0 0;
}  
}


/* Adding border radius to block14 */
.block-14 {
  border-radius: 5px;
}

/* Removes last border of collection of accordions in block14 */
.block-14 .block-14__accordion:last-of-type {
  border-bottom: none; /* Removes the bottom border */
}

/* Adding hyperlink formatting to links on course page overviews */
.block-11 a {
    font-family: "Gotham";
    font-weight: 700;
    border-bottom: 2px solid #c1a4ff;
    padding: 3px 4px;
    line-height: 1
}
 
.block-11 a:hover {
    background: #c1a4ff
}

/* Targeting .intro class inside specific section */
.block-wysiwyg.container .intro {
 font-size: 1.1rem;
  line-height: 1.4em;
  margin-bottom: 1rem;
  font-family: "Gotham";

}

@media (min-width: 768px) {
  /* Targeting .intro class inside specific section */
.block-wysiwyg.container .intro {
    font-size: 1.4rem;
 	line-height: 1.3em;  
    margin-bottom: 1.4rem;
	font-family: "Gotham";

}
}

@media (max-width: 1600px) {
  .block-20998-cols__wrapper .three-col-title {
    font-style: normal;
    font-weight: normal;
    line-height: 1.5em;
 	margin-top: 10px;
     font-size: 1em;
  }
}


@media (min-width: 1600px) {
  .block-20998-cols__wrapper .three-col-title {
    font-style: normal;
    font-weight: normal;
    line-height: 1.3em;
 	margin-top: 10px;
    margin-bottom: 5px;
     font-size: 1.3em;
  }
}

/* Course Layout H2 About the Course */
.block-11 h2 {
  font-size: 2.2em;
  margin-bottom: 10px;
}

/* Course Layout widens the layout tp 1200px */
@media (max-width: 1599.98px) {
  .layout.layout-course-detail {
    max-width: 1200px;
  }
}

/* landing page style for intor text instead of H2 */
.block-wysiwyg p.lead {
  font-family: "Gotham";
  font-weight: 700;
  font-size:22px;
  line-height: 1.3em;
}

/* H1 of landing pages to balance the title to try and avoid orphans */
 .block-09-slider .slide__wrapper h1 {
    text-wrap: balance;
 }

/* News listings - size of suare image to 120px*/
.block-06 .block-06__wrapper .block-06__wrapper-item img {
  max-width: 120px;
  border-radius: 9.851px 9.851px 0 9.851px;
}


/* Gecko Widget Style Overrides - temp, to be actioned in Gecko once live*/
.GeckoEngagementWidget .WidgetContainer .WidgetComponent {
  margin-left: 0px !important;
}


/* Increase max height of hero image headers on wide displays to mitigate cropping */
@media (min-width: 1023.98px) {
  .block-09 .block-09__wrapper .slide .slide-image, 
  .block-09-slider .block-09-slider__wrapper .swiper-slide .slide-image {
    max-height: 600px;
	object-fit: cover;
    object-position: center 5%;
  }
}

@media (min-width: 1600px) {
  .block-09-slider .block-09-slider__wrapper .swiper-slide .slide-image, 
  .block-09-slider .block-09-slider__wrapper .swiper-slide .slide-image {
    max-height: 600px;
		object-fit: cover;
    object-position: center 5%;	
  }
}


/* Global Styles - Course H1 Yellow Wrapper */
.block-09 .slide__wrapper, .block-09-slider .slide__wrapper {
  max-width: 590px;
}

.block-09 .slide__wrapper h1, .block-09-slider .slide__wrapper h1 {
  margin-bottom: 5px!important;
}

/* Override Styles for Screen Widths Below 1439.98px - Course Title Block */
@media (max-width: 1439.98px) {
  .block-09 .slide__wrapper, .block-09-slider .slide__wrapper {
    padding: 50px 56px;
  }

  .block-09 .slide__wrapper h1, .block-09-slider .slide__wrapper h1 {
    font-size: 2.5em;
    line-height: 1.4em;
  }
}

/* Override Styles for Screen Widths Below 1200px */
@media (max-width: 1199.98px) {
  .block-09 .slide__wrapper, .block-09-slider .slide__wrapper {
    min-width: 200px;
    padding: 30px 20px 28px 36px;
    border-radius: 16px 16px 16px 0;
    left: 20px;
  }

  .block-09 .slide__wrapper h1, .block-09-slider .slide__wrapper h1 {
    line-height: 1.45em;
  }

.section--block-08 .swiper-slide__wrapper {
top: -4px;
    padding: 30px 40px;
    margin: 0px;
    border-radius: 0 0 16px;
}

.section--block-08 .swiper-teaser-main .swiper-slide .swiper-slide__image:nth-child(1) {
  max-height: 475px;
border-radius: 16px 16px 0 0 ;
}
}

@media (min-width: 800px) {

.section--block-08 .swiper-slide__wrapper h1 {
font-size: 3.2em;
line-height:1.4em;
text-wrap: balance;
margin-bottom: 0px;
}


.section--block-08 .swiper-slide__wrapper h2 {
font-size: 3em;
line-height:1.4em;
text-wrap: balance;
margin-bottom: -10px;
}

.section--block-08 .swiper-slide__wrapper p {
color: #0a2a3d;
  margin: 30px 0;
  font-size: 1.8em;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4em;
  max-width: 555px;
  margin: 10px 0 20px 0;
}

  .col-md-9 .intro mb-4 {
 font-weight: normal;
        font-family: "Copernicus Book";
        font-size: 1.4em;
        line-height: 1.5em;
 margin-bottom: 60px
  }
}


@media (min-width: 1200px) {

.section--block-08 .swiper-slide__wrapper {
top: -20px;
 padding: 45px;
max-width: 650px;
}

.section--block-08 .swiper-slide__wrapper h1 {
font-size: 3.2em;
line-height:1.2em;
text-wrap: balance;
margin-bottom: 0px;
}

/* New rule for larger font size when message is small */
.section--block-08 .swiper-slide__wrapper h1.larger-text {
    font-size: 4em;
  }


.section--block-08 .swiper-slide__wrapper h2 {
font-size: 3em;
line-height:1.4em;
text-wrap: balance;
margin-bottom: -10px;
}

.section--block-08 .swiper-slide__wrapper p {
color: #0a2a3d;
  margin: 30px 0;
  font-size: 1.8em;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4em;
  max-width: 555px;
  margin: 20px 0 25px 0;
}

.section--block-08 .swiper-teaser-main .swiper-slide .swiper-slide__image:nth-child(1) {
    max-height: 680px;
  }
}
}

/* Override Styles for Screen Widths Below 991.98px - Tablet Devices */
@media (max-width: 991.98px) {
  .block-09 .slide__wrapper, .block-09-slider .slide__wrapper {
    max-width: 520px;
    padding: 30px 20px 28px 36px;
  }
.block-09-slider .block-09-slider__main {
  position: relative;
  top: -40px;
}
}

/* Override Styles for Screen Widths Below 767.98px - Mobile Devices */
@media (max-width: 767.98px) {
  .block-09 .slide__wrapper h1, .block-09-slider .slide__wrapper h1 {
    font-size: 1.45em;
    line-height: 1.4em;
  }

/* Adjusting size of mobile header image on hero banners */
.block-09-slider .block-09-slider__wrapper .swiper-slide .slide-image {
  min-height: 320px;
  max-height: 320px;
  margin-bottom: -30px;
}
/* Adjusting size of mobile header image on course pages */
.block-09 .block-09__wrapper .slide .slide-image {
   min-height: 320px;
  max-height: 320px;
  margin-bottom: -30px;
}
/* Adjusting play button margin on mobile */
 .block-01 .block-01__wrapper .block-01__image .play-icon img {
    margin-bottom: 0px;
  }
/* Hide course search table header on mobile as its stacking */

.block-16__row.table-header {
        display: none!important;
}

/* Intro text on Landing Pages on mobile */
.col-md-9 .intro {
    font-weight: normal;
  font-family: "Copernicus Book";
  font-size: 1.4em;
  line-height: 1.5em;
}
  .col-md-9 .intro mb-4 {
 margin-bottom: 30px
  }

/* Fixing Page Hero header H1 to top of image with slight overlap */

.block-09-slider .container {
    padding: 0;
  }
  .block-09-slider {
    padding-top: 0px;
  }

  .block-09-slider .slide__wrapper {
    padding: 24px 20px 15px 30px!important;
    display: block;
    position: relative;
    top: 0;
    left: 20;
    max-width: 90%;
margin-bottom: -40px;
  }

/* Fixing Course Hero header H1 to top of image with slight overlap */

.block-09 {
    padding-top: 0px;
  }

.block-09 .slide__wrapper {
min-width: 20px;
border-radius: 16px 16px 16px 0;
left: 20px;
padding: 24px 20px 15px 30px;
display: block;
position: relative;
top: 0;
width: 90%;
margin-bottom: -20px;
}
}

/* Styles for Large Screens - Above 1440px */
@media (min-width: 1440px) {
  .block-09 .slide__wrapper, .block-09-slider .slide__wrapper {
    max-width: 590px;
  }

  .block-09 .slide__wrapper h1, .block-09-slider .slide__wrapper h1 {
    font-size: 2.67em;
    line-height: 1.3em;
  }

  .block-07 .swiper-blogs-listing .swiper-slide .swiper-slide__title {
    font-size: 1em;
    line-height: 1.4em;
    min-height: 120px;
    font-weight: 500;
  }
}


.block-22__wrapper .hero__image {
  width: 100%; /* Responsive full width */
  height: auto; /* Maintain aspect ratio */
  object-fit: cover; /* Crop the image to fit the container */
  object-position: center; /* Center the focus of the image */
  margin-left: auto;
  margin-right:auto;
}

/* CTA font size*/
.block-26__content p {
  font-size: 18px;
}

/* Widening Access Course styling adding buttons to courses*/
.wa-course {
padding: 30px;
background-color:#f4f6fa;
border-radius: 12px 12px 0 12px;
margin-top: 20px;
}

.wa-course h2 {
margin: 0px;
margin-bottom: 10px;
}

.wa-course .btn--cardiff-primary {
padding: 14px 28px;
border:none;
margin-top: 10px;
}

/* School carousel font size increase*/
.block-05-slider .block-05-slider__wrapper .swiper-block-05-slider .swiper-slide .btn {
  font-size: 1.17em;
  padding-left: 0;
  position: relative;
}

.block-wysiwyg .threecol-button a {
padding: 14px 28px;
border:none;
margin-top: 10px;
background: #ffcf48;
  font-size: 16px;
  font-style: normal;
font-weight: 700;
  line-height: 120%;
  border-radius: 6px 6px 0 6px;
text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
}


/* Course kis widgget padding so its not fullwidth, same width as container on mobile */

.kis-widget.vertical.responsive, .kis-widget.horizontal.responsive {
  height: calc(100% - 4px);
  width: calc(100% - 4px);
  max-height: 500px;
  padding: 23px;
}
}

/* Course accreditations overrides */

.block-13 {
	margin: 40px 0 50px 0;
	padding: 0px;
}

.block-13 img {
	display: block;

}

.block-13 .swiper-slide .swiper-slide__subtitle {
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.34em;
	text-transform: none;
	margin-bottom: 0;
}


.block-13 .swiper-slide__image {
	margin: 0 auto 10px;
}

.block-13 .swiper-slide .d-flex {

align-items: center;       /* Center the items horizontally */
  justify-content: center;   /* Center the content vertically if needed */
  text-align: center;        /* Centers the text inside the container */
  width: 100%;    
flex-direction: column;          
}


.block-13 .swiper-slide .swiper-slide__image {
	display: block;
	margin: 0 auto 10px;
}

.block-13 .swiper-slide .swiper-slide__title {
	display: block;
	text-align: center;
	margin: 10px;
}

.block-13 .swiper-slide .swiper-slide__subtitle {
margin-top:10px;
}

.block-13 .swiper-slide .swiper-slide__image {
	display: block;
	margin: 0 auto 10px;
	height: 100px;
	width: auto;
	object-fit: contain;
	max-width: 150px;
}

.block-13 .swiper-slide .swiper-slide__image {
	max-width: 150px;
	margin: auto;
	border-radius: 5.326px;
	border: 2px solid #f4f6fa;
}

.block-07 .swiper-blogs-listing .swiper-slide .swiper-slide__image {
  min-height: 206px;
  max-height: 320px;
 
}

/* End of course accreditations overrides */

/* Mobile menu navigaiton adjustment */
.breadcrumbs .breadcrumbs-item a, .breadcrumbs .breadcrumbs-item span {
  text-decoration: underline!important;
font-size: 15px;
}

.breadcrumbs .breadcrumbs-item a:hover {
  text-decoration: none !important; /* Removes underline on hover */
}
.breadcrumbs .breadcrumbs-item {
  font-size: 15px;
}

/* Mobile menu navigaiton adjustment */
@media (max-width: 1199.98px) {
  .megamenu .tab-pane .tab-pane__nav .tab-pane__nav--item {
    width: 100%!important;
  }
}

/* Embed iframe styles */
.embed-responsive iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
.custom-iframe {
    border-radius: 16px 16px 0 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

/* Block 01 edits */
.block-01 .block-01__wrapper .block-01__content p {
  margin-bottom: 10px;
}

.block-01 .block-01__wrapper .block-01__content p a {
  font-family: "Gotham";
  font-weight: 700;
  border-bottom: 2px solid #c1a4ff;
  padding: 3px 4px;
  line-height: 1;
}
.block-01 .block-01__wrapper .block-01__content p a:hover {
background-color: #c1a4ff;
}

.block-05-slider .block-05-slider__wrapper .swiper-block-05-slider .swiper-slide .btn {
  line-height: 1.23em;
  text-align: left;
}



/* ===========================
   Landing Page CSS
   =========================== */

/* ====== Call to Action Section (Pink Background) ====== */
.block-26__wrapper h2 {
    font-weight: 600;
    font-family: "Copernicus";
}

/* ====== Landing Page Introduction Text ====== */
.intro {
    font-weight: normal;
    font-family: "Copernicus Book";
    font-size: 1.6em;
    line-height: 1.5em;
}

.block-wysiwyg h2.subheading{
  font-family: "Copernicus Book" !important;
  font-weight: 400 !important;
  font-size: 2.2em !important;
  font-style: normal !important;
  margin: 40px 0;
} 

/* 3 Column Image container to be relaced */
.image-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px 16px 0 16px;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

/* 3 Column Image container to be relaced */
.image-container img, 
.image-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 16px;
}


  .block-20998-cols__wrapper .three-col-title {
    font-style: normal;
    font-weight: 500;
    font-family: "Gotham";
    font-size: 1.2em;
    padding: 5px 0;
  }

.image-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px 16px 0 16px;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

/* Add 22px space between image and text */
.block-20998-cols__side .image-container + div {
    margin-top: 15px;
}

/* Ensure all titles have the same base styling */
.three-col-title {
    font-size: 20px;
    font-weight: bold;
    color: #333; /* Consistent text color */
    display: block;
}

/* Apply underline only when it's a link */
.block-20998-cols__wrapper a.three-col-title {
    text-decoration: underline; /* Underline only for actual links */
}

/* Prevent underline on spans inside .three-col-title */
.block-20998-cols__wrapper span.three-col-title {
    text-decoration: none !important; /* Ensures no underline */
}

/* ====== News Listing Section ====== */

/* Adjust News Listing Images */
.block-06 .block-06__wrapper .block-06__wrapper-item img {
    width: 120px;
    max-width: 120px;
    border-radius: 9.851px 9.851px 0 9.851px;
}

/* Adjust News Listing Headings */
.block-06 .block-06__top h2,
.block-06 .block-06__top .h2 {
    font-size: 2.3em;
}

/* Change Background for News Listing (Except for .block-06__clean) */
.block-06:not(.block-06__clean) {
    background: #f4f6fa;
    margin-bottom: 0px !important;
}

/* ====== Hero Image Styling ====== */

/* Media Queries */

/* ====== Mobile Devices (up to 767px) ====== */
@media only screen and (max-width: 767px) {
    .block-09-slider .slide__wrapper {
        padding: 2.4em;
    }
}

/* ====== Tablet Devices (768px to 1023px) ====== */
@media only screen and (min-width: 768px) and (max-width: 1023.98px) {
    .block-09-slider .slide__wrapper {
        padding: 3em;
        min-width: 76%;
        max-width: 76%;
    }
}

/* ====== Large Screens (1024px and above) ====== */
@media only screen and (min-width: 1024px) {
    /* Adjust Three Column Section Titles */
    .block-20998-cols__wrapper .three-col-title {
        font-style: normal;
        font-weight: 500;
        font-family: "Gotham";
        font-size: 1.2em;
        padding: 5px 0;
    }

    /* Adjust Width for Three Column Section */
    .block-20998-cols__wrapper {
       /*   width: 95% !important; */
        margin-bottom: 40px;
    }

    /* Adjust Hero Section Padding */
    .block-09-slider .slide__wrapper {
        padding: 3.3em;
    }

    /* Adjust Heading Styles in Content Sections */
    .block-01 .block-01__wrapper .block-01__content h2 {
        line-height: 1.4em;
        text-wrap: balance;
        hyphens: auto;
    }

    /* Adjust Call to Action Background */
    .block-26 {
        background-color: #f3e8ec;
        padding: 4em 0;
    }

    /* Style for Secondary Buttons */
    .btn--cardiff-secondary {
        font-size: 0.95em;
        font-style: normal;
        font-weight: 700;
        padding: 11.25px 24px;
        border-radius: 6px 6px 0 6px;
        color: #fff;
        background: #0a2a3d;
    }
 	/* Style for Small Message Box White Background */
	.block-wysiwyg .message {
 	  	color: #0a2a3d;
		border-radius: 12px 12px 0 12px;
 		 border: .75px solid #0a2a3d;
 	 	padding: 1.2em;
 	 	font-size: 1.1em;
 	 	margin-bottom: 50px;
 	 	margin-top: 0px;
 	 	text-align: center;
}
	.block-wysiwyg .message a {
  	 display:inline;
}
}
	/* Style for Footer Social icons*/
.accordion-body--social img {
    width: 25px; 
    height: auto; 
    display: inline-block;
}

	/* Style for embedded iframes in News items*/
.block-wysiwyg .embed-responsive iframe {
    border-radius: 10px; /* Adjust the value for more or less curvature */
    margin: 20px 0; /* 20px top and bottom, 0 left and right */
}

	/* Style for inline links*/
.block-wysiwyg a {
  display: inline;
}

	/* Style for remving li blue marker on lists*/

.block-wysiwyg ul ul li::marker  {
  color:transparent;
}

/* Style for small logo - need adding to TinyMCE*/

.small-logo {
max-width: 150px;

}

/* Style for paragraph text in page header*/

.block-09-slider .slide__wrapper p {
margin: 10px 0 20px 0;
  font-size: 1.3em;
}

@media (max-width: 1439.98px) {
  .block-09-slider .slide__wrapper p {
  margin: 10px 0 20px 0;
  font-size: 1.1em;
  }
}

/* Style for remvoing empty h4 Tag from course message*/
.block-10__wrapper-title:empty {
    display: none;
}

.block-10__wrapper p a {
  color: #ffcf48;
  text-decoration: underline;
}

.block-10__wrapper p a:hover,
.block-10__wrapper p a:focus,
.block-10__wrapper p a:active,
.block-10__wrapper p a:visited {
  color: #ffcf48;
  text-decoration: none;
}

.js-open-search {
    border-radius: 50%;
    background-color: #ffcf48!important;
    padding: 10px;
}

/* Styles for tidying unordered list in staff profiles*/
.block-28__spd-content ul  {
  margin-top: 0;
  margin-bottom: 1rem;
  list-style: none;
  padding-left: 0px;
  font-family: "Gotham Book";
  font-size: 15px;
}


.block-28__spd-content ul li::before {
  content: '';
  background: url(../svg/block-wysiwyg-dot.svg) center no-repeat;
    background-size: auto;
  background-size: 18px 27px;
  width: 18px;
  height: 27px;
  display: block;
  position: absolute;
  left: 0;
  top: -2px;
}

.block-28__spd-content ul li {
  position: relative;
  padding-left: 33px;
   margin-bottom: 10px;
}
.block-28__spd-content li, . block-28__spd-wrapper ol li {
  color: #0a2a3d;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 1px;
}

/* Styles for right floated embedded video*/
.align-right-video {
    width: 450px;
    float: right;
    margin: 0 0 1em 1em;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 0;
}

.align-right-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

@media (max-width: 768px) {
    .align-right-video {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 auto 1em;
    }
}

/* Accessibility Fixes*/

/* Ensure focus is clearly visible */
.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    outline: 3px solid #005ea5;      /* High-contrast visible outline */
    outline-offset: 2px;             /* Keeps outline from touching element edges */
    border-radius: 4px;              /* Optional: softens the outline corners */
}

/* Optional: Add subtle hover and active states for consistent feedback */
.navbar-toggler:hover {
    background-color: rgba(0, 94, 165, 0.05); /* Light visual cue on hover */
}

.navbar-toggler:active {
    background-color: rgba(0, 94, 165, 0.15); /* Slightly darker on click */
}


/* Focus styles for both navigation buttons */
.swiper-button-prev:focus,
.swiper-button-prev:focus-visible,
.swiper-button-next:focus,
.swiper-button-next:focus-visible {
    outline: 3px solid #005ea5;      /* Strong visible focus color */
    outline-offset: 4px;             /* Offsets outline from SVG */
    border-radius: 4px;              /* Optional: soft corners */
}

/* Optional hover and active visual cues */
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(0, 94, 165, 0.05);
}

.swiper-button-prev:active,
.swiper-button-next:active {
    background-color: rgba(0, 94, 165, 0.15);
}

/* Form inouts boxshadow removal and adding outline */

input:focus,
textarea:focus,
select.form-select:focus {
    outline: 2px solid #005ea5;
    box-shadow: none;
}

/* Apply strong focus style to all buttons and links with .btn class */
.btn:focus,
.btn:focus-visible,
a.btn:focus,
a.btn:focus-visible {
    outline: 2px solid #005ea5;        /* High-contrast visible color */
}

/* Optional: remove weak outline or box-shadow from Bootstrap or theme */
.btn:focus {
    box-shadow: none;
}

/* remove padding from large carousel when inversed */
@media (max-width: 1799.98px) {
  .inverse .block-01 .block-01__wrapper .block-01__content h2 {
    padding-left: 0;
  }
}

/* Clearing TopNav Banner */

/* Desktop styles */
@media (min-width: 768px) {
  .clearing-headerbar {
    background: #0a2a3d;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
	position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 12;
  }

  .top-text {
   font-size: 1.65em;
    font-family: "Gotham";
    line-height: 1.4em;
  }

  .top-tel a {
    font-size: 1.65em;;
    color: #ffcf48;
    font-family: "Gotham";
    text-decoration: underline;
    line-height: 1.4em;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
.clearing-headerbar {
    background: #0a2a3d;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 10px;
  }
 .top-text {
    font-size: 1.4em;
    font-family: "Gotham";
    line-height: 1.2em;
  }

  .top-tel a {
    font-size: 1.4em;
    color: #ffcf48;
    font-family: "Gotham";
    text-decoration: underline;
    line-height: 1.2em;
  }
}

/* Responsive Video wrapper */
.responsive-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 16px;
}

.responsive-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}







