.custom-card-img {
	height: 200px; /* Set your desired height here */
	object-fit: cover;
}
a.a-card-title {
     line-height: normal;
}
 h1.mob {
     font-size: 2rem;
}
 .slider-msc{
     font-size: 25px;
     line-height: 32px;
     font-family: 'Gotham Light';
}
 h6.card-subtitle.mb-2.text-muted {
     line-height: inherit;
     color: #212529!important;
}
 #myCarousel .carousel-control-next {
     right: -37px!important;
}
 #myCarousel .carousel-control-prev {
     left: -37px!important;
}
 @media only screen and (min-width: 1024px) {
     .carousel-item img {
         max-width: 100%;
         height: 80vh;
         object-fit: cover;
    }
}
 @media only screen and (max-width: 768px) {
     #myCarousel .carousel-control-next {
         right: -51px!important;
    }
     #myCarousel .carousel-control-prev {
         left: -28px!important;
    }
}
 #loading {
     position: fixed;
     width: 100%;
     height: 100vh;
     background: #fff url('../loader.gif') no-repeat center center;
     z-index: 9999;
}
 .card-body.min-h {
     min-height: 326px;
}
 .card.border.border-primary {
     box-shadow: 0 2px 5px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%);
     transition: box-shadow .25s;
     border-color: #e9e9e9 !important;
}
 h3.botton-padding {
     display: inline-block;
     font-weight: 700;
     cursor: pointer;
     font-size: 18px;
     color: rgba(0, 0, 0, 0.9) !important;
     border: none;
     text-decoration: none;
     line-height: 1.5rem;
    /* color: red!important;
     */
     padding-top: 10px;
     margin-bottom: 7px;
}
 h3.botton-padding a {
     color: rgba(0, 0, 0, 0.9) !important;
}
 .b-grid-top p {
     color: rgba(0, 0, 0, 0.5);
     margin-top: 5px;
     line-height: 1.3em;
     font-size: 14px;
}
 .card-img-top {
     width: 100%;
     border-top-left-radius: calc(0 - 0);
     border-top-right-radius: calc(0 - 0);
    /*max-height: 201px;
    */
}
 img.card-img-top.event-img {
     max-height: 199px;
}
 h5.card-title.mb-1 {
     font-weight: 600;
     padding-bottom: 6px;
     line-height: 21px;
}
 .carousel {
     position: relative;
     z-index: 1;
}
 .dropdown-menu {
     position: relative;
     z-index: 2;
    /* Ensure dropdown menu appears above carousel */
}
 li.list-master {
     color: #fff;
     list-style: circle;
     font-size: 1rem;
     line-height: 15px;
     text-align: left;
}
 @media screen and (max-width: 768px) {
     #modile_hide {
         display: none !important;
    }
     h3.slider-h3 {
         font-size: 11px!important;
         font-weight: 300;
         margin-bottom: 13px;
         margin-top: 1px!important;
         line-height: 10px;
    }
     h1.mob.mar-5 {
         margin-bottom: 3px !important;
    }
}
 @media screen and (max-width: 500px) {
     img.wp-post-image {
         width: 314px;
    }
}
/* Remove the default arrow icons */
 #myCarousel .carousel-control-prev-icon, #myCarousel .carousel-control-next-icon {
     display: none;
}
/* Add the new arrow icons */
 #myCarousel .carousel-control-prev:before, #myCarousel .carousel-control-next:before {
     font-family: "FontAwesome";
    /* Use the FontAwesome font family */
     font-size: 37px;
    /* Set the font size of the icons */
     font-weight: bold;
    /* Use a normal font weight */
     line-height: 1;
    /* Set the line height of the icons */
     color: #cc3634;
    /* Set the color of the icons */
     content: '\f104';
    /* Use the Unicode value of the FontAwesome icon for the left arrow */
}
 #myCarousel .carousel-control-next:before {
     content: '\f105';
    /* Use the Unicode value of the FontAwesome icon for the right arrow */
}
 #myCarousel .carousel-control-prev-icon, #myCarousel .carousel-control-next-icon {
     background-color: black;
    /* Change the background color of the arrows */
}
 #myCarousel .carousel-control-prev-icon::before, #myCarousel .carousel-control-next-icon::before {
     color: white;
    /* Change the color of the arrow icons */
}
 #myCarousel .carousel-control-prev, #myCarousel .carousel-control-next {
     width: 50px;
    /* Set the width of the arrows */
     height: 50px;
    /* Set the height of the arrows */
     top: 50%;
    /* Vertically center the arrows */
     transform: translateY(-50%);
    /* Adjust the vertical position of the arrows */
}
 #myCarousel .carousel-control-prev {
     left: -60px;
    /* Position the left arrow outside the slider */
}
 #myCarousel .carousel-control-next {
     right: -60px;
    /* Position the right arrow outside the slider */
}
 h1.mob.mar-5 {
     margin-bottom: 6px !important;
}
 h1. div#post-carousel {
     height: 48vh;
}
 .carousel-indicators li {
     background-color: red;
     width: 12px;
     height: 12px;
}
 .carousel-indicators .active {
     width: 12px;
     height: 12px;
     margin: 0;
     background-color: #996d6d !important;
}
 h1 {
     font-family: 'Gotham Bold';
     font-size: 3em;
}
 a.btn.btn-primary.pd-l-r {
     padding: 2% 8%;
}
 .card-body {
     flex: 1 1 auto;
     padding: 1rem;
}
 .wordpress-image{
     width: 100%;
     height: 233px;
     max-width: 100%;
     aspect-ratio: 16/9;
     height: auto;
     object-fit: cover;
}
 img.article {
     height: 163px;
     width: 100%;
}
 h6.row--title.position-relative.text-center {
     font-size: 1.5rem;
}
 .carousel-item.Staff {
     height: 2vh!important;
}
 .article-image {
     background-size: cover;
     background-position: center;
     width: 100%;
     height: 233px;
     max-width: 100%;
     aspect-ratio: 7.5/8.5;
     height: auto;
     object-fit: cover;
}
 h5.card-title.mb-1 {
     font-weight: 600;
}
 .carousel-item img {
     max-width: 100%;
     height: 70vh;
    /* Half of the screen height */
     object-fit: cover;
    /* Ensures the image covers the entire slide */
}
/*.carousel-caption {
     position: absolute;
     bottom: 35px;
     left: 50%;
     transform: translateX(-50%);
     text-align: left;
     width: 70%;
}
*/
/* Adjust text alignment */
 .text-indent {
     text-align: center;
}
 .carousel-caption {
     background-color: rgb(204 54 52 / 80%);
     color: #fff;
    /* top: 15%;
    */
     bottom: 60px;
     left: 15%;
     padding: 35px;
     max-width: 500px;
     text-align: left;
     box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
 a.btn.btn-lg.btn-outline-white.mr-0.font-weight-bold.mt-3.footer-button.slider-banner-btn {
     padding: 8px !important;
     text-align: center;
}
 h3.slider-h3 {
     font-size: 18px;
     font-weight: 300;
}
 h3.slider-h3 {
     font-size: 15px;
     font-weight: 300;
     margin-bottom: 13px;
     margin-top: 5px;
}
 h4.font-none {
     font-size: 18px;
     margin-bottom: 5px !important;
}
 h2.sub-bold {
     font-size: 21px;
     margin-bottom: 2px ! Important;
     background-color: white;
     color: #d02929;
     width: 40%;
     padding-left: 10px;
}
 h1.mob.fw-bold.Lecture {
     margin-bottom: 10px !important;
}
 @media (max-width: 768px) {
    /* Apply different styles for screens up to 768px wide (typical tablet and mobile screens) */
     .article-image {
         height: 300px;
        /* Adjust the height as needed for mobile devices */
    }
     .wordpress-image{
         width:100%;
         height: 150px;
    }
     .mob-padding-0 {
         padding-bottom: 0px!important;
    }
     h1.mob {
         font-size: 1.9rem;
         padding-top: 21px;
         text-align: left;
    }
     div#carouselExampleIndicators {
         padding-top: 0px;
    }
     .navbar-default {
         background-color: #e7e7e738;
    }
     .carousel-caption {
         position: absolute;
         bottom: 35px;
         left: 50%;
         transform: translateX(-50%);
         text-align: left;
         width: 70%;
         height: fit-content;
         text-align:left;
    }
     .carousel-caption {
         position: absolute;
         bottom: 20px;
         left: 50%;
         transform: translateX(-50%);
         color: #fff;
         text-align: center;
    }
     .carousel-caption.d-none.d-md-block.d-mob {
         display: flow !important;
    }
     div#staff-corner-post {
         height: auto;
    }
}
 @media (max-width: 576px) {
    /* Show the arrow icons on mobile devices */
     #myCarousel .carousel-control-prev-icon, #myCarousel .carousel-control-next-icon {
         display: block;
         width: 25px;
        /* Adjust the width of the arrow icons */
         height: 25px;
        /* Adjust the height of the arrow icons */
         font-size: 25px;
        /* Adjust the font size of the arrow icons */
         color: black;
        /* Set the color of the arrow icons */
         background-color: white;
        /* Set the background color of the arrow icons */
         border-radius: 50%;
        /* Make the arrow icons circular */
         padding: 7px;
        /* Add padding to the arrow icons */
    }
     .wordpress-image{
         width:100%;
         height: 200px;
    }
     .carousel-caption.d-none.d-md-block.d-mob {
         display: flow !important;
    }
     div#staff-corner-post {
         height: auto;
    }
     h2.sub-bold {
         font-size: 21px;
         margin-bottom: 2px ! Important;
         background-color: white;
         color: #d02929;
         width: 79%;
         padding-left: 10px;
    }
}
 @media screen and (max-width: 480px){
     h2.sub-bold {
         font-size: 21px;
         margin-bottom: 2px ! Important;
         background-color: white;
         color: #d02929;
         width: 79%;
         padding-left: 10px;
    }
     .carousel-item.career-fair img {
         object-fit: cover;
         width: 100%;
         height: 65vh;
         object-position: 75% 5%;
         box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    }
     h4.font-none {
         font-size: 15px;
         margin-bottom: 5px !important;
    }
     h1.mob {
         font-size: 1.5rem!important;
         padding-top: 2px;
         text-align: left;
    }
     .carousel-caption.d-none.d-md-block.d-mob {
         display: flow !important;
    }
     div#staff-corner-post {
         height: auto;
    }
     a.btn.btn-lg.btn-outline-white.mr-0.font-weight-bold.mt-3.footer-button.slider-banner-btn {
         padding: 8px !important;
         text-align: center;
         margin-top: 2px !important;
    }
     .carousel .cr-item-container h1 {
         font-size: 1.2em !important;
    }
     .carousel-caption{
        /*padding-top: 75%;
        ;
        */
    }
     .h-100 {
         height: 100% !important;
    }
     h1.mob {
         font-size: 1.3rem;
         padding-top: 2px;
         text-align: left;
    }
     .slider-msc {
         font-size: 1rem;
         line-height: 20px;
         text-align: left;
    }
     .carousel-caption {
         position: absolute;
         bottom: 60px;
         left: 50%;
         padding: 21px!important;
         transform: translateX(-50%);
         text-align: left;
         width: 80%;
    }
     .carousel-item{
         height: 55vh;
    }
     .carousel-item img {
         object-fit: cover;
         width: 100%;
         height: 65vh;
         object-position: 60% 5%;
        /* Adjust the position as needed */
         box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    }
     .carousel-item img.galamsey {
         object-fit: cover;
         width: 100%;
         height: 65vh;
         object-position: 25% 5%;
        /* Adjust the position as needed */
         box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    }
     .mob-hi {
         padding-top: 5px !important;
    }
     .mob-pad {
         padding: 11px !important;
    }
     .col-md-12.mb-5.mobile-pd-0.staff-mob-pd {
    }
     .article-image {
         height: 146px;
    }
     ol.carousel-indicators.rounded.d-flex.justify-content-center {
         padding-top: 45px;
    }
     .col-md-12.mt-3.text-center.article-nad-paper {
         padding-bottom: 26px;
    }
     .carousel-item.active img.galamsey {
        /* First carousel: no specific object-position */
         object-fit: cover;
         width: 100%;
         height: 55vh;
         object-position: initial;
        /* or simply don't override */
         box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    }
}
/* Modern Styling specifically for Student and Staff Corner Carousels */
/* Target only these specific sections */
 #student-corner-post .card.shadow-sm, #staff-corner-post .card.shadow-sm {
     border: none;
     border-radius: 0 8px 8px 0;
     transition: box-shadow 0.3s ease;
     height: 100%;
}
 #student-corner-post .card.shadow-sm:hover, #staff-corner-post .card.shadow-sm:hover {
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
/* Article image styling */
 #student-corner-post .article-image, #staff-corner-post .article-image {
     min-height: 220px;
     width: 100%;
     border-radius: 8px 0 0 8px;
     transition: transform 0.3s ease;
     position: relative;
}
 #student-corner-post .article-image:after, #staff-corner-post .article-image:after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.6) 100%);
     border-radius: 8px 0 0 8px;
}
 #student-corner-post a:hover .article-image, #staff-corner-post a:hover .article-image {
     transform: scale(1.03);
}
/* Only target these specific section titles */
 #student-corner-post + .row--title, #staff-corner-post + .row--title, #student-corner-post ~ .row--title, #staff-corner-post ~ .row--title {
     font-size: 20px;
     font-weight: 700;
     position: relative;
     margin-bottom: 25px !important;
     padding-bottom: 10px;
     color: #333;
}
 #student-corner-post + .row--title:after, #staff-corner-post + .row--title:after, #student-corner-post ~ .row--title:after, #staff-corner-post ~ .row--title:after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 50%;
     transform: translateX(-50%);
     width: 50px;
     height: 3px;
     background-color: #e74c3c;
    /* Changed to reddish primary color */
     border-radius: 3px;
}
/* Card content styling */
 #student-corner-post .card-body, #staff-corner-post .card-body {
     padding: 20px;
     display: flex;
     flex-direction: column;
}
 #student-corner-post .card-title, #staff-corner-post .card-title {
     font-size: 18px;
     font-weight: 600;
     margin-bottom: 12px !important;
     line-height: 1.4;
}
 #student-corner-post .card-title a, #staff-corner-post .card-title a, #student-corner-post .a-card-title, #staff-corner-post .a-card-title {
     color: #2c3e50;
     text-decoration: none !important;
     transition: color 0.3s ease;
}
 #student-corner-post .card-title a:hover, #staff-corner-post .card-title a:hover, #student-corner-post .a-card-title:hover, #staff-corner-post .a-card-title:hover {
     color: #e74c3c;
    /* Changed to reddish primary color */
}
/* Enhanced Read more link styling */
 #student-corner-post .read-more-link, #staff-corner-post .read-more-link {
     margin-top: auto;
     display: inline-flex;
     align-items: center;
     color: #fff;
     background-color: #e74c3c;
    /* Changed to reddish primary color */
     font-weight: 600;
     font-size: 14px;
     transition: all 0.3s ease;
     text-decoration: none !important;
     padding: 6px 15px;
     border-radius: 30px;
     box-shadow: 0 3px 6px rgba(231, 76, 60, 0.2);
    /* Shadow with primary color */
}
 #student-corner-post .read-more-link i, #staff-corner-post .read-more-link i {
     margin-left: 5px;
     transition: transform 0.3s ease;
}
 #student-corner-post .read-more-link:hover, #staff-corner-post .read-more-link:hover {
     background-color: #c0392b;
    /* Darker version of primary color */
     transform: translateY(-2px);
     box-shadow: 0 5px 10px rgba(231, 76, 60, 0.3);
}
 #student-corner-post .read-more-link:hover i, #staff-corner-post .read-more-link:hover i {
     transform: translateX(4px);
}
/* Carousel indicators styling */
 #student-corner-post .carousel-indicators, #staff-corner-post .carousel-indicators {
     position: relative;
     margin-top: 5px;
     margin-bottom: 0;
}
 #student-corner-post .carousel-indicators li, #staff-corner-post .carousel-indicators li {
     width: 10px;
     height: 10px;
     border-radius: 50%;
     background-color: #ddd;
     opacity: 0.7;
     transition: all 0.3s ease;
     margin: 0 4px;
     cursor: pointer;
}
 #student-corner-post .carousel-indicators li.active, #staff-corner-post .carousel-indicators li.active {
     background-color: #e74c3c;
    /* Changed to reddish primary color */
     opacity: 1;
     width: 25px;
     border-radius: 5px;
}
/* More Articles link styling - significantly enhanced */
 #student-corner-post ~ .article-nad-paper a, #staff-corner-post ~ .article-nad-paper a {
     display: inline-block;
     padding: 10px 22px;
     background-color: #fff;
     border: 2px solid #e74c3c;
    /* Border with primary color */
     border-radius: 30px;
     color: #e74c3c;
    /* Text in primary color */
     font-weight: 600;
     text-decoration: none !important;
     transition: all 0.3s ease;
     box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
 #student-corner-post ~ .article-nad-paper a:hover, #staff-corner-post ~ .article-nad-paper a:hover {
     background-color: #e74c3c;
     color: white;
     transform: translateY(-3px);
     box-shadow: 0 6px 15px rgba(231, 76, 60, 0.25);
}
 #student-corner-post ~ .article-nad-paper a i, #staff-corner-post ~ .article-nad-paper a i {
     margin-left: 5px;
     transition: transform 0.3s ease;
}
 #student-corner-post ~ .article-nad-paper a:hover i, #staff-corner-post ~ .article-nad-paper a:hover i {
     transform: translateX(3px);
}
/* Responsive adjustments */
 @media (max-width: 767px) {
     #student-corner-post .article-image, #staff-corner-post .article-image {
         min-height: 180px;
         border-radius: 8px 8px 0 0;
    }
     #student-corner-post .article-image:after, #staff-corner-post .article-image:after {
         border-radius: 8px 8px 0 0;
    }
     #student-corner-post .card.shadow-sm, #staff-corner-post .card.shadow-sm {
         border-radius: 0 0 8px 8px;
    }
}
/* Enhanced More Articles Section */
 .article-nad-paper {
     margin-top: 25px !important;
     padding: 5px 0;
}
 .article-nad-paper a {
     display: inline-block;
     padding: 10px 25px;
     background: linear-gradient(45deg, #e74c3c, #c0392b);
     color: white !important;
     font-weight: 600;
     font-size: 16px;
     text-decoration: none !important;
     border-radius: 30px;
     box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
     transition: all 0.3s ease;
     position: relative;
     overflow: hidden;
     z-index: 1;
}
 .article-nad-paper a:before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 0;
     height: 100%;
     background: linear-gradient(45deg, #c0392b, #e74c3c);
     transition: all 0.5s ease;
     z-index: -1;
}
 .article-nad-paper a:hover:before {
     width: 100%;
}
 .article-nad-paper a:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}
 .article-nad-paper a i {
     margin-left: 8px;
     font-size: 15px;
     transition: all 0.3s ease;
}
 .article-nad-paper a:hover i {
     transform: translateX(4px);
}
 .list-icon p {
     margin: 0;
     padding: 4px 0;
     font-size: 1rem;
     color: white;
    /* Adjust depending on background */
}
 .list-icon i {
     margin-right: 8px;
     color: #ffffff;
    /* Gold for visibility, customize as needed */
}
 .carousel-item.frech img {
     object-position: 78% 5%;
}
