ul.sidebar-nav li.active a, ul.sidebar-nav li.active a:hover, ul.sidebar-nav li.active a:visited, ul.sidebar-nav li.active a:active {
     background-color: #fff;
     color: black;
}
 .text .two-col .html-content p:first-of-type {
     margin-top: 0;
     margin-block-start: 0;
}
 .grid-buttons a {
     padding: 10px;
}
 .sitemap h2, .sitemap h3, .sitemap h4, .sitemap h5, .sitemap h6 {
     margin: 0;
     padding: 0;
}
 .sitemap h2:after, .sitemap h3:after, .sitemap h4:after, .sitemap h5:after, .sitemap h6:after {
     display: none;
}
 h3.filter-label {
     line-height: normal;
}
 h3.filter-label:after {
     content: none;
}
/**************Card with Image style***************/
 .resource-link-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 20px;
     padding: 40px;
     max-width: 1200px;
     margin: auto;
}
 .resource-link-column {
     width: 250px;
     text-align: center;
     overflow: hidden;
     border-radius: 8px;
     box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .resource-link-column a {
     text-decoration: none;
     display: block;
     color: white;
}
 .resource-link-column img {
     width: 100%;
     height: auto;
     display: block;
     border-top-left-radius: 8px;
     border-top-right-radius: 8px;
     transition: filter 0.3s ease;
}
 .resource-link-text-box {
     background-color: #740f2f;
     color: white;
     padding: 15px;
     font-size: 1.1em;
     border-bottom-left-radius: 8px;
     border-bottom-right-radius: 8px;
}
/* Hover Effects */
 .resource-link-column:hover {
     transform: scale(1.05);
     box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}
 .resource-link-column:hover img {
     filter: brightness(0.8);
}
/* Responsive Design */
 @media (max-width: 1024px) {
     .resource-link-column {
         width: 45%;
    }
}
 @media (max-width: 768px) {
     .resource-link-column {
         width: 100%;
    }
}
/*********END of Card with Image Style******************/
/******Fact Cards*****************/
 .facts-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 20px;
     padding: 40px;
     max-width: 1200px;
     margin: auto;
}
 .fact-heading {
     font-size: 1.563rem;
     color: #740f2f;
     font-weight: bold;
}
 .fact-box {
     background-color: #f2f2f2;
     border-radius: 10px;
     padding: 20px;
     flex: 1 1 calc(33.3% - 20px);
    /* Adjusts size based on number of boxes */
     max-width: 300px;
     min-width: 200px;
     text-align: center;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .fact-box:hover {
     transform: scale(1.05);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
 .fact-box i {
     font-size: 2.5rem;
     color: maroon;
     margin-bottom: 10px;
}
 .fact-box h3 {
     font-size: 1.25rem;
     color: #333;
     margin-bottom: 8px;
}
 .fact-box p {
     font-size: 1rem;
     color: #555;
}
/* Responsive Design */
 @media (max-width: 1024px) {
     .fact-box {
         flex: 1 1 calc(50% - 20px);
        /* 2 columns on tablets */
    }
}
 @media (max-width: 600px) {
     .fact-box {
         flex: 1 1 100%;
        /* Full width on smaller screens */
    }
}
/**********END of Fact Cards Styling*********************/
/************Card with Icon****************************/
 .about-tamusa-container {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 20px;
     padding: 40px;
     max-width: 1200px;
     margin: auto;
}
 .about-box {
     background-color: white;
     border: 2px solid black;
     padding: 20px;
     flex: 1 1 calc(25% - 20px);
    /* 4 boxes per row */
     max-width: 300px;
     min-width: 200px;
     text-align: center;
     box-shadow: none;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .about-box:hover {
     transform: scale(1.05);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
 .about-box i {
     font-size: 40px;
     color: black;
     margin-bottom: 10px;
}
 .about-box-heading {
     font-size: 25px;
     color: black;
     margin-bottom: 8px;
     text-decoration: none;
     font-weight: bold;
}
 .about-box p {
     font-size: 16px;
     color: black;
}
/* Responsive Design */
 @media (max-width: 1024px) {
     .about-box {
         flex: 1 1 calc(50% - 20px);
        /* 2 columns on tablets */
    }
}
 @media (max-width: 600px) {
     .about-box {
         flex: 1 1 100%;
        /* Full width on smaller screens */
    }
}
/**************END of Card with Icon Styling********************/
/**** Social Media Block Styling ****/
 .social-media-container {
     position: relative;
    /* Establish a positioning context */
}
/* ::before holds the background image */
 .social-media-container::before {
     display: none;
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-image: url(https://resources.tamusa.edu/employees/brand-guide/images/graphic-elements/Pattern-black.png);
     background-size: contain;
     background-repeat: repeat;
     background-position: center;
     z-index: -2;
     opacity: .2;
}
/* ::after holds the gradient overlay */
 .social-media-container::after {
     display: none;
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
     pointer-events: none;
     z-index: -1;
}
 .social-media-sect .sec {
     width: 100%;
     display: block;
}
 .social-media-sect .img-section {
     display: grid;
     grid-template-columns: 1fr;
     justify-items: center;
    /*align-items: center;
     */
     grid-gap: 2em;
}
 .social-media-sect {
     margin-top: 6em;
     display: flex;
     flex-direction: column-reverse;
     gap: 20px;
}
 .social-media-sect .body-section {
     display: flex;
     flex-direction: column;
     gap: 20px;
}
 .social-media-sect .img-container {
     width: 300px;
     height: 300px;
    /*outline: solid 1px black;
     */
     position: relative;
}
 .social-media-sect .social-img {
     width: 300px;
     height: 300px;
     object-fit: cover;
     border-bottom: 15px solid #740f2f;
     z-index: 1 !important;
     position: relative;
     transition: all .3s ease;
}
 .social-media-sect .img-container:hover>.social-img, .social-media-sect .img-container:focus-within .social-img {
     transform: translateY(-1.7rem);
}
 .social-media-sect .img-container:hover>.social-link, .social-media-sect .social-link:focus {
     opacity: 1;
     transform: translateY(0rem);
     pointer-events: auto;
    /*visibility: visible;
     */
}
 .social-media-sect .icon-section {
     align-content: center;
     margin: 16px 0px;
}
 .social-media-sect .social-link {
     transform: translateY(1rem);
     opacity: 0;
    /*visibility: hidden;
     */
     transition: all .3s ease;
     position: absolute;
     bottom: 0;
     text-align: center;
     width: 100%;
     line-height: 1.0 !important;
     pointer-events: none;
     text-decoration: underline;
}
 .social-media-sect .social-icons ul {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     text-align: center;
     gap: 20px;
     justify-content: center;
}
 .social-media-sect .social-icons ul li {
     display: inline-block;
     justify-content: center;
}
 .social-media-sect .social-icons ul li a {
     display: inline-block;
     text-align: center;
     color: black;
     font-size: x-large;
     width: 56px;
     height: 56px;
    /* padding-top: 4px;
     */
     border: 2px solid black;
     border-radius: 100%;
     text-decoration: none;
     align-content: center;
}
 .social-media-sect .social-icons ul li a:hover {
     color: white;
     background-color: black;
     border: 2px solid black;
}
 @media (min-width: 576px) {
     .social-media-sect {
         flex-direction: column;
    }
     .social-media-container::after {
         display: block;
    }
     .social-media-container::before {
         display: block;
    }
     .social-media-sect .img-section {
         grid-template-columns: 1fr 1fr;
    }
     .social-media-sect .img-container {
         width: 250px;
         height: 250px;
    }
     .social-media-sect .social-img {
         width: 250px;
         height: 250px;
    }
}
 @media (min-width: 768px) {
     .social-media-sect .img-container {
         width: 300px;
         height: 300px;
    }
     .social-media-sect .social-img {
         width: 300px;
         height: 300px;
    }
}
 @media (min-width: 1150px) {
     .social-media-sect .img-container {
         width: 250px;
         height: 250px;
    }
     .social-media-sect .social-img {
         width: 250px;
         height: 250px;
    }
     .social-media-sect .body-section {
         flex-direction: row;
    }
     .social-media-sect .img-section {
         grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
 @media (min-width: 1350px) {
     .social-media-sect .img-container {
         width: 300px;
         height: 300px;
    }
     .social-media-sect .social-img {
         width: 300px;
         height: 300px;
    }
     .social-media-sect .text-section, .icon-section {
         width: 50%;
    }
}
 @media (min-width: 1500px) {
     .social-media-sect .img-section {
         grid-gap: 5em;
    }
}
/**** End of Social Media Block Styling ****/
/*****************CARD TEASER BTNS *************/
 .blackBtnTeaser {
     background-color: #030000 !important;
     color: #FFFFFF !important;
}
 .maroonBtnTeaser {
     background-color: #740f2f !important;
     color: #FFFFFF !important;
}
 .whiteBtnTeaser {
     background-color: #FFFFFF !important;
     color: #030000 !important;
}
/***** MAROON HERO CSS *****/
 .hero .message-wrap-updated {
     position: absolute;
     top: 0;
     bottom: 20px;
     right: 0;
     left: 0;
}
 .hero .message-wrap-updated .inner {
     max-width: 90rem;
     margin-left: auto;
     margin-right: auto;
     padding: 0 15px;
     display: flex;
     flex-direction: column;
     justify-content: flex-end;
     height: 100%;
}
 @media (min-width: 91.875rem) {
     .hero .message-wrap-updated .inner {
         padding: 0;
    }
}
 .hero .message-wrap-updated .inner .message {
     color: #fff;
     padding-top: 20px;
     text-shadow: 2px 2px 5px rgb(0, 0, 0);
     padding: 20px;
     background-color: #740f2f;
     border-radius: 25px 25px 0 0 ;
     width: 50%;
     margin-left: -90px;
     text-align:left;
     opacity: 90%;
     margin-bottom:-1.25rem;
}
 @media (max-width: 576px) {
     .hero .message-wrap-updated .inner .message {
         width: fit-content;
         margin-left: 0px;
    }
}
 @media (min-width: 48rem) 
/* 768px */
 {
     .hero .message-wrap-updated .inner .message {
         width: 50%;
         margin-bottom: -1.25rem;
        /*margin-left: -90px;
         */
        /*move hero more to the left*/
    }
}
 @media (max-width: 1630px) and (min-width: 576px) {
     .hero .message-wrap-updated .inner .message {
         width: 50%;
         margin-bottom: -1.25rem;
         margin-left: 0px;
        /*reset breakpoint for smaller viewports*/
    }
}
 .hero .message-wrap-updated .inner .message .supertitle {
     font-size: 14px;
}
 @media (min-width: 48rem) {
     .hero .message-wrap-updated .inner .message .supertitle {
         font-size: 20px;
    }
}
 @media (min-width: 62rem) {
     .hero .message-wrap-updated .inner .message .supertitle {
         font-size: 30px;
    }
}
 @media (min-width: 90rem) {
     .hero .message-wrap-updated .inner .message .supertitle {
         font-size: 32px;
    }
}
 .hero .message-wrap-updated .inner .message .title {
     font-size: 16px;
     padding-bottom: 20px;
     font-weight: 700;
     color: #fff;
     text-shadow: 6px 6px 4px #000000;
     text-transform: uppercase;
}
 @media (min-width: 48rem) {
     .hero .message-wrap-updated .inner .message .title {
         font-size: 25px;
         margin-bottom: 0;
    }
}
 @media (min-width: 62rem) {
     .hero .message-wrap-updated .inner .message .title {
         font-size: 50px;
         line-height: 55px;
    }
}
 @media (min-width: 90rem) {
     .hero .message-wrap-updated .inner .message .title {
         font-size: 40px;
         line-height: 50px;
    }
}
 .hero .message-wrap-updated .inner .message .subtitle {
     font-size: 11px;
     font-weight: 700;
     text-transform: uppercase;
     padding-bottom: 10px;
}
 @media (min-width: 48rem) {
     .hero .message-wrap-updated .inner .message .subtitle {
         font-size: 18px;
         line-height: 18px;
    }
}
 @media (min-width: 62rem) {
     .hero .message-wrap-updated .inner .message .subtitle {
         font-size: 28px;
         line-height: 28px;
         margin-top: 30px;
    }
}
 @media (min-width: 90rem) {
     .hero .message-wrap-updated .inner .message .subtitle {
         font-size: 36px;
         line-height: 36px;
    }
}
 .hero .message-wrap-updated .inner .message .addthis_toolbox {
     margin-top: 20px;
}
 .hero .message-wrap-updated .inner .message .addthis_toolbox .custom_images a img {
     width: 80px;
}
 .hero .message-wrap-updated .inner .message .breadcrumbs {
     padding: 20px 0;
}
 .hero .message-wrap-updated .inner .message .buttons a {
     display: block;
     text-align: center !important;
     text-transform: uppercase;
     font-weight: 400;
     font-size: 0.875rem;
     margin-bottom: 10px;
     padding: 20px;
     color: #fff;
     background-color: #000000;
     max-width: 240px;
     text-shadow: none;
}
 .hero .message-wrap-updated .inner .message .buttons a:last-child {
     margin-bottom: 0;
}
 .hero .message-wrap-updated .inner .message .btn {
     font-size: 12px;
     padding: 3px 10px;
     text-shadow: none;
}
 @media (min-width: 62rem) {
     .hero .message-wrap-updated .inner .message .btn {
         font-size: 16px;
         padding: 10px 20px;
    }
}
 .hero.home .message-wrap-updated .inner, .hero.landing .message-wrap .inner {
     padding-bottom: 50px;
}
 @media (min-width: 48rem) {
     .hero.home .message-wrap-updated .inner .message, .hero.landing .message-wrap .inner .message {
         width: 100%;
    }
}
 .hero.home .message-wrap-updated .inner .message .subtitle, .hero.landing .message-wrap .inner .message .subtitle {
     margin-bottom: 20px;
}
 .hero.home .message-wrap-updated .inner {
     justify-content: center;
}
 .hero.home .message-wrap-updated .inner .message {
     padding-top: 20px;
}
 @media (min-width: 62rem) {
     .hero.home .message-wrap-updated .inner .message {
         padding-top: 100px;
         width: 50%;
    }
}
 .hero.home .message-wrap-updated .inner .message .title {
     text-align: center;
}
 @media (min-width: 48rem) {
     .hero.home .message-wrap-updated .inner .message .title {
         text-align: left;
    }
}
 .hero.home .message-wrap-updated .inner .message .subtitle {
     text-align: center;
}
 @media (min-width: 48rem) {
     .hero.home .message-wrap-updated .inner .message .subtitle {
         text-align: left;
    }
}
 .hero.home .message-wrap-updated .inner .message .buttons {
     text-align: center;
     display: block;
     max-width: 400px;
     margin: 0 auto;
}
 @media (min-width: 48rem) {
     .hero.home .message-wrap-updated .inner .message .buttons {
         text-align: left;
         margin: 0;
    }
}
 .hero.home .message-wrap-updated .inner .message .buttons a {
     margin: 0 auto 10px auto;
}
 @media (min-width: 48rem) {
     .hero.home .message-wrap-updated .inner .message .buttons a {
         text-align: left;
         margin: 0 0 10px 0;
    }
}
 .hero.landing .message-wrap-updated .inner .message .buttons {
     justify-content: flex-start;
     max-width: 400px;
}
 .hero.landing .message-wrap-updated .inner .message .buttons a {
     font-size: 0.8125rem;
     padding: 10px;
     max-width: auto;
}
/**********************End MAROON HERO**********************/
/*****************TAB Components***********/
 .tabs {
     width: 100%;
     max-width: 100%;
}
 .tab-buttons {
     display: flex;
     flex-wrap: wrap;
     border: 1px solid #ccc;
     width: 100%;
     border-radius: 10px 10px 0 0 !important;
     background-color: black;
}
 .tab-button:first-child{
     border-radius: 10px 10px 0 0 !important;
}
 .tab-button:last-child{
     border-radius: 0 10px 0 0 !important;
}
 .tab-button {
     flex: 1;
     padding: 12px;
     cursor: pointer;
     background: black;
     color: white;
     border: none;
     outline: none;
     text-align: center;
     border-radius: 0 10px 0 0;
     transition: background 0.3s;
}
 .tab-button.active {
     background: #740f2f;
     color: white;
}
 .tab-button:focus-visible {
     outline: 2px solid red !important;
     z-index: 1;
}
 .tab-content {
     display: none;
     padding: 20px;
     border: 1px solid #ccc;
     background: white;
     width: 100%;
     box-sizing: border-box;
}
 .tab-content.active {
     display: block;
}
 @media (max-width: 600px) {
     .tab-button {
         flex-basis: 100%;
    }
     .tab-button:first-child{
         border-radius: 10px 10px 0 0 !important;
    }
     .tab-button:last-child{
         border-radius: 0 0px 0 0 !important;
    }
}
/**********************END TABS COMPONENT*********************/
/**************PROGRAM SEARCH COMPONENT***************/
 .program-search h2 {
     color: white !important;
}
 .program-btn {
     background-color: black;
     color: white;
     font-size: 1rem;
     border-radius: 10px;
     border: none;
}
 .program-btn:hover {
     background-color: rgb(90, 90, 90) !important;
     color: white !important;
     text-decoration: underline;
}
 .program-btn-filter {
     background-color: black !important;
     color: white !important;
     width: 145px;
     height: 130px;
     border: none;
     transition: all 0.2s ease;
     outline-offset: -8px;
     outline: solid 2px #fff;
}
 .program-btn-filter:hover {
     background-color: rgb(90, 90, 90) !important;
     outline-offset: 5px;
     border-color: #fff;
     text-decoration: underline;
}
 .program-btn-filter:focus:not(:focus-visible) {
     outline: solid 2px #ff6b6b;
     outline-offset: -8px;
}
 .program-search {
     background-color: #740f2f;
     padding: 1rem;
     color: #fff;
}
 .program-container{
     width: 85%;
     margin-left: auto;
     margin-right: auto;
}
 .input-group {
     display: block;
}
 .program-item {
     display: block;
     text-align: center;
     max-width: 250px;
    /*width: fit-content;
     */
}
 .program-name {
     font-weight: bold;
     padding-top: 0.5rem;
}
 .program-grid {
     display: grid;
     justify-content: center;
     grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)) !important;
     gap: 50px;
     padding: 20px;
}
 .program-image {
     width: 230px;
     border-radius: 10px;
     transition: ease-in-out 0.5s;
     box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}
 #more[disabled] {
     visibility: hidden;
     cursor: not-allowed;
}
 .program-image:hover {
     transform: scale(1.05);
}
 .card-actions {
     margin: 8px;
     display: grid;
     gap: 5px;
     padding: 16px;
     justify-content: space-evenly;
     align-items: center;
}
 .card-actions span {
     font-size: 1rem;
}
 @media screen and (max-width: 1024px) {
     .program-grid {
         grid-template-columns: auto auto auto;
    }
}
 @media screen and (max-width: 768px) {
     .row {
         display: grid;
         padding: 15px;
    }
     .program-image {
         width: 100%;
    }
     .program-grid {
         grid-template-columns: auto auto;
    }
}
 @media screen and (max-width: 550px) {
     .program-grid {
         grid-template-columns: auto;
    }
     .program-image {
         width: 100%;
    }
}
/*************END PROGRAM SEARCH COMPOENNT**************/
/********* Start of Meet the Team component *********/
 .meet-the-team .wrapper {
     display: flex;
     justify-content: space-evenly;
     flex-wrap: wrap;
}
 .meet-the-team .team-card {
     flex: 1 1 calc(35% - 20px);
     min-width: 260px;
     margin: 20px 10px;
     max-width: 292px;
}
 .meet-the-team .team-card .img img {
     border-bottom: solid 15px #740f2f;
     object-fit: cover;
     width: 100%;
     height: 292px;
}
 .meet-the-team .text {
     padding: 0px;
}
 .meet-the-team .date {
     display: inline;
     font-size: 0.75rem;
     font-family: Oswald, sans-serif;
     text-transform: uppercase;
}
 .meet-the-team .text h3 {
     margin-top: 1px;
}
 .meet-the-team .js-accordion__header.accordion__title {
     display: none;
}
 .meet-the-team .js-accordion__panel ul li span {
     line-height: 1.6;
}
/********* End of Meet the Team component *********/
/********* Start of new template components *********/
/* for large screens */
 @media (min-width: 62rem) {
     .right-rail {
         flex: 0 0 350px;
         -ms-flex: 0 0 350px;
         width: 350px;
         border-left: 2px solid #d9d6d6;
         padding: 40px 0px 40px 20px;
         margin-left: 20px;
    }
     .right-half {
         flex: 0 0 50%;
         -ms-flex: 0 0 50%;
         width: 50%;
         border-left: 2px solid #d9d6d6;
         padding: 40px 0px 40px 20px;
         margin-left: 20px;
    }
}
/* INFORMATION CARD COMPONENT */
 .information-card {
     display: grid;
     border: 1px solid #ccc;
     min-height: 300px;
     position: relative;
     color: white;
     padding: 30px;
     background: linear-gradient(-135deg, #740f2f, #d4145a);
     max-width: 300px;
     margin: 45px auto;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
 #gray {
     background: linear-gradient(-135deg, #414141, #838383);
     color: white;
}
 #black {
     background: linear-gradient(-135deg, #000000, #434343);
     color: white;
}
 #maroon {
     background: linear-gradient(-135deg, #740f2f, #d4145a);
     color: white;
}
 .information-card h3 {
     margin-bottom: 12px;
     font-size: 2em;
     color: white;
}
 .information-card p {
     margin-bottom: 8px;
     font-size: 1.2em;
     letter-spacing: 0.5px;
}
 .information-card a {
     display: inline-block;
     margin-top: 15px;
     font-size: 1em;
     font-weight: bold;
     padding: 15px 35px;
     border: 2px solid #ffffff00;
     background-color: white;
     color: #740f2f;
     text-decoration: none;
     transition: 0.3s ease;
}
 .information-card a:hover {
     border: 2px solid #ccc;
     color: white;
     background-color: #740f2f00;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
 .information-card .card-footer {
     justify-self: center;
     bottom: 20px;
}
/* CONTACT CARD COMPONENT */
 .contact-card {
     border: 1px solid #ccc;
     position: relative;
     border-radius: 8px;
     padding: 30px;
     width: 300px;
     justify-self: center;
     max-width: 300px;
     margin: 45px 15px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
 .contact-card h3 {
     margin-bottom: 12px;
     font-size: 1.5em;
     color: #740f2f;
}
 .contact-card p {
     margin-bottom: 8px;
     font-size: 1em;
     color: #555;
}
 .contact-card p:first-of-type {
     font-weight: bold;
}
 .contact-card a {
     color: #740f2f;
}
 .contact-card a:hover {
     color: #5a0b22;
     text-decoration: none;
}
 .contact-card .card-footer {
     position: absolute;
     width: calc(100% - 60px);
     text-align: center;
}
 .contact-card .card-footer .contact {
     display: inline-block;
     font-weight: bold;
     margin-top: 15px;
     padding: 10px 15px;
     background-color: #740f2f;
     color: white;
     text-decoration: none;
     border-radius: 4px;
     transition: 0.3s ease;
}
 #maroonCard {
     background-color: #740f2f;
}
 #maroonCard:hover {
     border: 1px solid #ccc;
     color: #740f2f;
     background-color: white;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
 #grayCard {
     background-color: #585858;
}
 #grayCard:hover {
     border: 1px solid #ccc;
     color: #740f2f;
     background-color: white;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
 #blackCard {
     background-color: #000000;
}
 #blackCard:hover {
     border: 1px solid #ccc;
     color: #740f2f;
     background-color: white;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* default */
 .right-rail {
     padding-top: 30px;
}
 .right-half {
     padding-top: 30px;
}
/********* End of new template components *********/
/******** 50/50 CAROUSEL **********/
 .carousel-container {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}
/* Carousel Item */
 .fifty_fifty_item {
     position: relative;
     width: 700px;
     height: 350px;
     display: flex;
     justify-content: center;
     align-items: center;
}
/* Left */
 .fifty_fifty_left {
     position: relative;
     width: 350px;
     height: 350px;
     background-blend-mode: plus-darker;
     display: inline-block;
}
 .fifty_fifty_left img {
     width: 100%;
     height: auto;
}
/* Right - Black */
 .fifty_fifty_right_black {
     position: relative;
     width: 350px;
     height: 350px;
     margin-left: -46px;
     display: inline-block;
     background-image: url('../images/50-50-Component-Black.png');
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
}
/* Right - Gray */
 .fifty_fifty_right_gray {
     position: relative;
     width: 350px;
     height: 350px;
     margin-left: -46px;
     display: inline-block;
     background-image: url('../images/50-50-Component-Gray.png');
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
}
 .fifty_fifty_right_gray .fifty_fifty_title h2 {
     color: #000;
}
 .fifty_fifty_right_gray .fifty_fifty_content {
     color: #000;
}
/* Right - Maroon */
 .fifty_fifty_right_maroon {
     position: relative;
     width: 350px;
     height: 350px;
     margin-left: -46px;
     display: inline-block;
     background-image: url('../images/50-50-Component-Maroon.png');
     background-position: center;
     background-repeat: no-repeat;
     background-size: cover;
}
/* Content Group - Title & Content */
 .fifty_fifty_content_group {
     padding: 1rem 0.5rem 2.5rem 0.5rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
}
/* Title */
 .fifty_fifty_title {
     width: 270px;
}
 .fifty_fifty_title h2 {
     font-family: 'Oswald';
     font-style: normal;
     font-weight: 700;
     font-size: 20px;
     color: #fff;
}
/* Content */
 .fifty_fifty_content {
     width: 270px;
     font-family: 'Vollkorn';
     font-style: normal;
     font-weight: 500;
     font-size: 15px;
     color: #fff;
}
/* Buttons */
 .fifty_fifty_buttons {
     position: absolute;
    /* anchor the whole control group */
     right: 50px;
     bottom: 16px;
     display: flex;
     gap: 8px;
     z-index: 2;
}
 .fifty_fifty_button_left, .fifty_fifty_button_right {
     padding: 0.25rem;
     cursor: pointer;
}

.fifty_fifty_carousels {
    margin: 10px;
}

/* Media */
/* =========================== Mobile layout (≤ 430px) =========================== */
 @media (max-width: 430px) {
    /* Make the container stretch full width */
     .carousel-container {
         width: 100%;
         align-items: center;
    }
    /* The group wrapper from fifty_fifty_format */
     .fifty_fifty_carousels {
         width: 100%;
         overflow: hidden;
        /* needed for horizontal sliding */
    }
    /* Each slide fills the mobile viewport width and stacks vertically */
     .fifty_fifty_item {
         width: 100%;
         max-width: 430px;
         height: auto;
         display: flex;
         flex-direction: column;
         align-items: stretch;
    }
    /* Left image block */
     .fifty_fifty_left {
         width: 100%;
         height: auto;
         display: block;
    }
     .fifty_fifty_left img {
         width: 100%;
         height: auto;
         display: block;
    }
    /* Right colored blocks (black/gray/maroon) */
     .fifty_fifty_right_black, .fifty_fifty_right_gray, .fifty_fifty_right_maroon {
         width: 100%;
         height: auto;
         margin-left: 0;
        /* remove desktop overlap */
         display: block;
         background-position: center;
         background-repeat: no-repeat;
         background-size: cover;
    }
     .fifty_fifty_right_black {
         background-image: url('../images/50-50-Component-Black-mobile.png');
    }
     .fifty_fifty_right_gray {
         background-image: url('../images/50-50-Component-Gray-mobile.png');
    }
     .fifty_fifty_right_maroon {
         background-image: url('../images/50-50-Component-Maroon-mobile.png');
    }
    /* Content widths expand to full width on mobile */
     .fifty_fifty_content_group {
         padding: 2rem;
         align-items: flex-start;
    }
     .fifty_fifty_title, .fifty_fifty_content {
         width: 100%;
    }
    /* Nudge buttons in a bit on small screens */
     .fifty_fifty_buttons {
         right: 8px;
         bottom: 8px;
    }
}

/************** Link Grid Spacing Fix ************/
 .link-grid ul {
    /* I noticed that the link grids in big components don't like the sizing of the grid, so I reverted it and kept the gap */
     /*display: grid !important;*/
     /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;*/
    /* Adjust 250px as needed */
     gap: 12px !important;
    /* Adjust gap as needed */
}
 