.highlights .media-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    /* column-gap: 6%; */
    /* max-width: 1920px; */
    justify-content: space-between;
    margin-top: 1rem;
    width: 100%;
}

.highlights .media-container .image-container {
    position: relative;
    display: flex;
    height: auto;
    max-width: 500px;
    width: 100%;
    align-content: center;
    flex-wrap: wrap;
    aspect-ratio: 1 / 1;
    flex-direction: row;
}

.highlights .media-container .image-container .heading-wrapper {
    top: 71%;
    transition: none;
}

.highlights .media-container .image-container .heading-wrapper p {
    font-size: 1.6rem;
}

.highlights .media-container .image-container .image-wrapper {
    border-radius: 25px; /* height: 320px; */ /* min-width: 295px; */
    overflow: hidden;
    transition: aspect-ratio 0.3s ease; /* width: 500px; */
    aspect-ratio: 5 / 3.2;
}

.highlights .media-container .image-container .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlights .media-container .image-container a:focus .heading-wrapper h3, .highlights .media-container .image-container a:hover .heading-wrapper h3 {
    font-size: 2.5rem;
}

.highlights .media-container .image-container a:focus .heading-wrapper, .highlights .media-container .image-container a:hover .heading-wrapper {
    top: 81%;
}

.highlights .media-container .image-container a:focus .image-wrapper, .highlights .media-container .image-container a:hover .image-wrapper { /* height: 100%; */
}

.BG-container:not(.highlights) .media-container.landscape-container, .BG-container:not(.highlights) .media-container {
    /* height: auto; */
    max-width: calc(100vw - 40px);
}

.content-container {
    padding: 3vmin;
    width: 100%;
}

.mediaRight .content-container, .mediaLeft .content-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mediaRight .text-container, .mediaLeft .text-container {
    max-width: 100%;
}

.content-container:has(.media-container.portrait-container) {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

header .hero h1 {
    font-size: 3rem;
}

@media only screen and (max-width: 412px) {
  section.profile-container-fluid {
    flex-direction: column;
  }
  
  section.profile-container-fluid > .image {
	width: 100%;
  }
}

@media (max-width: 375px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    /*In This Section Menu*/
    .thisSection > a, .thisSection > a:active {
        color: #fff;
        display: block;
        letter-spacing: 1px;
        padding: 15px;
        text-decoration: none;
        word-spacing: 3px;
    }

    .thisSection a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: all 0.5s;
        position: relative;
        left: 20%;
    }

    .thisSection.active a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    #secondnav ul.secondNav-menu {
        display: none;
        height: 0;
        transition: all 0.35s ease;
    }

        #secondnav ul.secondNav-menu.active {
            display: block;
            height: auto;
            transition: all 0.35s ease;
        }

    header .hero {
        height: auto;
    }

    nav#topnav.expanded .menu-list {
        align-items: flex-start;
        height: 100vh;
    }

    #secondnav ul.secondNav-menu {
        flex-direction: column;
    }

        #secondnav ul.secondNav-menu li {
            display: inherit;
            width: auto;
        }

    .content-container, .BG-container.sideBySideTxt .content-container {
        flex-direction: column;
    }

    .CTA-button-container {
        margin: 0;
        row-gap: 1rem;
    }

    .three-button-CTA .CTA-button {
        margin: 0 0 1rem 0;
        padding: 0.7rem;
        max-width: calc(100vw - 40px);
        min-width: unset;
        font-size: 1.5rem;
    }

    .three-button-CTA h2 {
        font-size: 2.7rem;
        margin-bottom: 1rem;
    }

    section.profile-container-fluid {
        flex-direction: column;
        padding: 2rem;
        width: 100%;
    }

        section.profile-container-fluid > .image {
            margin-right: unset;
            width: 100%;
        }

    .profile {
        flex-direction: column;
    }

    .identifier .address li {
        font-size: 0.9rem;
    }
}

/* If screen size is more than 376px wide and less than 400px */
@media (min-width: 376px) and (max-width: 400px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    /*In This Section Menu*/
    .thisSection > a, .thisSection > a:active {
        color: #fff;
        display: block;
        letter-spacing: 1px;
        padding: 15px;
        text-decoration: none;
        word-spacing: 3px;
    }

    .thisSection a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: all 0.5s;
        position: relative;
        left: 20%;
    }

    .thisSection.active a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    #secondnav ul.secondNav-menu {
        display: none;
        height: 0;
        transition: all 0.35s ease;
    }

        #secondnav ul.secondNav-menu.active {
            display: block;
            height: auto;
            transition: all 0.35s ease;
        }

    header .hero {
        height: auto;
    }

    nav#topnav.expanded .menu-list {
        align-items: flex-start;
    }

    #secondnav ul.secondNav-menu {
        flex-direction: column;
    }

        #secondnav ul.secondNav-menu li {
            width: auto;
        }

    .content-container, .BG-container.sideBySideTxt .content-container {
        flex-direction: column;
    }

    .three-button-CTA .CTA-button {
        margin: 0;
        padding: 0.7rem;
        max-width: calc(100vw - 40px);
        min-width: unset;
    }

    .three-button-CTA h2 {
        font-size: 2.7rem;
    }

    .profile {
        flex-direction: column;
    }
}

@media (min-width: 401px ) and (max-width: 500px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    /*In This Section Menu*/
    .thisSection > a, .thisSection > a:active {
        color: #fff;
        display: block;
        letter-spacing: 1px;
        padding: 15px;
        text-decoration: none;
        word-spacing: 3px;
    }

    .thisSection a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: all 0.5s;
        position: relative;
        left: 40%;
    }

    .thisSection.active a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    #secondnav ul.secondNav-menu {
        display: none;
        height: 0;
        transition: all 0.35s ease;
    }

        #secondnav ul.secondNav-menu.active {
            display: block;
            height: auto;
            transition: all 0.35s ease;
        }

    header .hero {
        height: auto;
    }

    nav#topnav.expanded .menu-list {
        align-items: flex-start;
    }

    #secondnav ul.secondNav-menu {
        flex-direction: column;
    }

        #secondnav ul.secondNav-menu li {
            width: auto;
        }

    .content-container, .BG-container.sideBySideTxt .content-container {
        flex-direction: column;
    }

    .three-button-CTA .CTA-button {
        margin: 0;
        padding: 0.7rem;
        max-width: calc(100vw - 40px);
        min-width: unset;
    }

    .three-button-CTA h2 {
        font-size: 3.5rem;
    }

    .profile {
        flex-direction: column;
    }
}

@media (min-width: 501px ) and (max-width: 800px) {
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    header .hero {
        height: 300px;
    }

    /*In This Section Menu*/
    .thisSection > a, .thisSection > a:active {
        background-color: var(--UHV-red);
        color: #fff;
        display: block;
        letter-spacing: 1px;
        padding: 15px;
        text-decoration: none;
        word-spacing: 3px;
    }

    .thisSection a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        transition: all 0.5s;
        position: relative;
        left: 40%;
    }

    .thisSection.active a > .fa-solid.fa-chevron-down {
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    #secondnav ul.secondNav-menu {
        display: none;
        height: 0;
        transition: all 0.35s ease;
    }

        #secondnav ul.secondNav-menu.active {
            display: block;
            height: auto;
            transition: all 0.35s ease;
        }

    .content-container, .BG-container.sideBySideTxt .content-container {
        flex-direction: column;
    }

    .three-button-CTA .CTA-button {
        margin: 0;
        padding: 0.7rem;
        max-width: calc(100vw - 40px);
        min-width: unset;
    }

    .three-button-CTA h2 {
        font-size: 5rem;
    }
}

/* Screens 810px and below */
@media only screen and (max-width: 810px) {
    header .hero {
        height: auto;
    }
}

@media (max-width: 800px) {
    .text-container .heading-container h3 {
        color: var(--UHV-black);
        font-size: 1.5rem;
        font-weight: 400;
        text-align: center;
        text-transform: uppercase;
        margin-bottom: 1rem;
    }

    .contact-us .contacts-container {
        grid-template-columns: 1fr;
    }
}

/* 801px and above */
@media only screen and (min-width: 801px) {
    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    header .hero {
        height: 400px;
    }
}

@media (max-width: 1023px) {
    /*.desktop-only { display: none; }
    .mobile-only { display: block; }*/

    section.expanding {
        display: none;
    }
}

@media (min-width: 801px) and (max-width: 1550px) {
    .contact-us .contacts-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* landscape orientation */
/*@media only screen and (min-width: 320px) and (max-width: 780px) and (orientation: landscape) {
    nav#topnav { padding: 0.6rem; }
    nav#topnav .logo img { max-width: 120px; }
    nav#topnav.expanded ul.menu-list a { line-height: 0.8rem; font-size: 1rem; }
    nav#topnav.expanded .menu-list { align-items: flex-end; background-color: #ffffff; box-shadow: rgb(0 0 0 / 30%) 0px 8px 10px -3px inset, rgb(0 0 0 / 30%) 0px 3px 10px 3px; color: #000000; display: flex; flex-direction: column; max-height: 300px; padding: 1rem 1rem 1rem 0; position: fixed; row-gap: 0.8rem; transition: max-height 0.4s ease-in-out; width: 100%; }
    .text-container h2 { font-size: 3rem; }
    .text-container h3 { font-size: 3rem; }
}*/
/* portrait orientation */
/*@media only screen and (min-width : 320px) and (max-width : 780px) and (orientation : portrait) {
    nav#topnav { padding: 0.6rem; }
    nav#topnav .logo img { max-width: 120px; }
    nav#topnav.expanded ul.menu-list a { line-height: 0.8rem; font-size: 1rem; }
    nav#topnav.expanded .menu-list { align-items: flex-end; background-color: #ffffff; box-shadow: rgb(0 0 0 / 30%) 0px 8px 10px -3px inset, rgb(0 0 0 / 30%) 0px 3px 10px 3px; color: #000000; display: flex; flex-direction: column; max-height: 300px; padding: 1rem 1rem 1rem 0; position: fixed; row-gap: 0.8rem; transition: max-height 0.4s ease-in-out; width: 100%; }
    .text-container h2 { font-size: 2.7rem; }
    .text-container h3 { font-size: 1.5rem; }
    .CTA-button { margin: 0; width: 100vw; text-wrap: balance; }

    @media only screen and (max-width: 374px) {
        nav#topnav img.logo { max-width: 150px; }

        .text-container h2 { }

        .contact-details h3.contact-name { font-size: clamp(1rem, 5vw, 1.5rem); font-size: 4.9vw; }

        .leftCorner { margin: 20px 0 20px 20px; }

        .rightCorner { margin: 0; }


        .three-button-CTA h2 { font-size: 4rem; }
    }

*/
@media only screen and (min-width: 375px) {
    .highlights .media-container .image-container .heading-wrapper p {
        font-size: 2.2rem;
    }

    .highlights .media-container .image-container {
    }

    .highlights .media-container {
    }

    header .hero h1 {
        font-size: 2rem;
    }

    nav#topnav img.logo {
        max-width: 150px;
    }

    nav#topnav.expanded ul.menu-list a {
        font-size: clamp(1rem,5.5vw,1.5rem);
        margin: 0;
        padding: 1rem;
    }
}

@media only screen and (min-width: 425px) {
    header .hero h1 {
        font-size: 2rem;
    }

    .highlights .media-container .image-container .heading-wrapper p {
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 576px) {
    .BG-container:not(.highlights) .media-container.landscape-container,
    .BG-container:not(.highlights) .media-container {
        max-width: 600px; /* max-height: 600px; */ /* width: 100%; */
    }

    .BG-container:not(.highlights) .media-container.portrait-container {
        width: unset;
    }
}

@media only screen and (min-width : 667px) {
}

@media only screen and (min-width: 768px) {

    .content-container {
        padding: 3rem 4.5rem;
    }

    .corner-container {
        display: flex;
        flex-direction: column;
    }

    .greenTexture.leftCorner .corner-container::before, .greenTexture.rightCorner .corner-container::before {
        background-image: url('/media/tamuv/college-of-education/images/greenTexture-FoldedCorner.png');
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        content: '';
        height: 82px;
        position: absolute;
        width: 68px;
    }

    .greyTexture.leftCorner .corner-container::before, .greyTexture.rightCorner .corner-container::before {
        background-image: url('/media/tamuv/college-of-education/images/foldedCorner.png');
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        content: '';
        height: 82px;
        position: absolute;
        width: 68px;
    }

    .leftCorner .corner-container {
        background-position: left;
    }

    .leftCorner .corner-container::before {
        left: 0;
    }

    .leftCorner {
        margin: 2rem 0 2rem 2rem;
    }

    .leftCorner, .rightCorner {
        position: relative;
    }

    .rightCorner .corner-container::before {
        right: 0;
        transform: scaleX(-1);
    }

    .rightCorner {
        margin: 2rem 2rem 2rem 0;
    }

    .testimonial.rightCorner .content-container {
        padding-left: 2rem;
        padding-right: 0;
    }

    .testimonial.leftCorner .content-container {
        padding-left: 0;
        padding-right: 2rem;
    }

    .testimonial.greenTexture.leftCorner::before {
        background-image: url('/media/tamuv/college-of-education/images/greenTexture-FoldedCorner.png');
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        content: '';
        height: 82px;
        left: 0;
        position: absolute;
        width: 68px;
    }

    .testimonial.greenTexture.rightCorner::before {
        background-image: url('/media/tamuv/college-of-education/images/greenTexture-FoldedCorner.png');
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        content: '';
        height: 82px;
        position: absolute;
        right: 0;
        transform: scaleX(-1);
        width: 68px;
    }

    .testimonial.greyTexture.leftCorner::before {
        background-image: url('/media/tamuv/college-of-education/images/foldedCorner.png');
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        content: '';
        height: 82px;
        left: 0;
        position: absolute;
        width: 68px;
    }

    .testimonial.greyTexture.rightCorner::before {
        background-image: url('/media/tamuv/college-of-education/images/foldedCorner.png');
        background-repeat: no-repeat;
        background-size: contain;
        bottom: 0;
        content: '';
        height: 82px;
        position: absolute;
        right: 0;
        transform: scaleX(-1);
        width: 68px;
    }
}

@media only screen and (min-width: 992px) {
    .content-container:has(.media-container.portrait-container) {
        display: flex;
        flex-direction: row;
    }
}

@media only screen and (min-width: 1024px) {

    header .hero h1 {
        font-size: 4rem;
    }

    header .hero {
        height: auto;
    }

    .highlights .media-container {
        flex-direction: row;
        column-gap: 6%;
        justify-content: center;
        align-content: center;
        align-items: center;
    }

    .highlights .media-container .image-container {
        max-width: 29%;
    }
}

@media only screen and (min-width: 1200px) {
    .desktop-only { display: block; }
    .mobile-only { display: none; }
    .desktop-only.divider { display: inline; }

    .mediaLeft .content-container {
        display: flex;
        flex-direction: row;
    }

    .mediaRight .content-container {
        display: flex;
        flex-direction: row-reverse;
    }

    .mediaLeft .media-container, .mediaLeft .text-container,
    .mediaRight .media-container, .mediaRight .text-container {
        width: 50%;
    }

    .highlights .media-container .image-container {
        position: relative;
        display: flex;
        height: auto;
        max-width: 500px;
        width: 30%;
        align-content: center;
        flex-wrap: wrap;
        aspect-ratio: 1 / 1;
        overflow: visible;
    }
}

/* If screen size is more than 1365px wide */
@media only screen and (min-width: 1365px) {
    nav#topnav .burger {
        display: none;
    }

    nav#topnav ul.menu-list {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: flex-end;
        max-height: initial;
        position: static;
        width: 100%;
    }
}

@media only screen and (min-width: 1366px) {
    .highlights .media-container {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        column-gap: 6%;
        justify-content: space-between;
    }

    nav#topnav ul.menu-list li a{
        font-size: 1rem;
    }
}

@media only screen and (min-width: 1500px) {
    .content-container.media-right {
        flex-direction: row;
    }

    BG-container:not(.highlights) .content-container:not(.media-right) .media-container:has(img) {
        display: flex;
        flex-direction: row;
    }

    nav#topnav ul.menu-list li a {
        font-size: 1.3rem;
    }
    /*    nav#topnav .burger {
        display: none;
    }

    nav#topnav ul.menu-list {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: flex-end;
        max-height: initial;
        position: static;
        width: 100%;
    }*/
}

@media only screen and (min-width: 1600px) {
}

@media only screen and (min-width: 1920px) {
}

@media only screen and (min-width: 2560px) {
}