@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Zalando+Sans:ital,wght@0,200..900;1,200..900&display=swap');

main {
    font-family: "Zalando Sans", sans-serif;
    color: #4e1c57;
    font-size: 1.2rem;
    overflow: inherit;
}

.tagline {
    display: block;
    text-align: center;
}

.tagline span {
    font-size: 3rem;
}

.tagline .goanywhere {
    font-size: 4rem;
    line-height: 4.6rem;
}

.tagline .starthere {
    font-family: "FSAlbert";
    color: #fff;
    padding: 0 12px 0 12px;
    line-height: 2.6rem;
}

.tagline .starthere::before {
    background-color: #ed9a22;
}

h1 {
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 4rem;
  color: #fff;
  margin-bottom: 16px;
}

h2 {
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 3rem;
    color: #ed9a22;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.mm-header {
    position: relative;
    background: rgba(78, 28, 87, 1);
    background-image: linear-gradient(45deg, rgba(240, 78, 84, 1) 20%, rgba(78, 28, 87, 1) 120%);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    padding-top: 150px;
    padding-bottom: 150px;
    min-height: 80vh;
}

.mm-header::before {
    position: absolute;
    content: '';
    top: 1.5rem;
    right: 0;
    bottom: 0;
    width: 60%;
    background-image: url('https://www.bradfordcollege.ac.uk/wp-content/uploads/2026/09/mmteach7.png');
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
}

.mm-header::after {
    position: absolute;
    content: '';
    width: 25%;
    height: 60%;
    bottom: 0;
    right: 0;
    background-color: #fff;
    clip-path: polygon(100% 0%, 0% 50%, 0% 100%, 100% 100%);
    background-image: url('https://www.bradfordcollege.ac.uk/wp-content/uploads/2026/04/MM-Stacked-Colour.png');
    background-size: 70% auto;
    background-position: bottom 10% center;
    background-repeat: no-repeat;
}

.mm-header figure.mmlogo img {
    max-width: 500px;
}

.mm-header figure.mmlogo {
    text-align: center;
}

.mm-header h2 {
    color: #fff;
    font-size: 1.6rem;
}

.mm-red {
    color: #F04E54;
}

.mm-yellow {
    color: #ed9a22;
}

.mm-separator {
    background-image: rgba(78, 28, 87, 1);
    background-image: linear-gradient(45deg,rgba(78, 28, 87, 1) 0%, rgba(240, 78, 84, 1) 100%);
    min-height: 200px;
    position: relative;
}

.mm-purple-section {
    background-color: rgba(78, 28, 87, 1);
    color: #fff;
    background-image: url('../img/mmredv.png'), url('../img/mmredv.png'), url('../img/mmredv.png');
    background-repeat: repeat-x;
    background-position: 0 -25px, 0 45px, 0 125px;
    background-size: auto 70px;
}

.mm-yellow-section {
    background-color: #ed9a22;
    color: #fff;
    background-image: url('../img/mmredv.png'), url('../img/mmredv.png');
    background-repeat: repeat-y;
    background-position: -100px 0, calc(100% + 100px) 0;
    background-size: auto 70px;
    padding: 100px 32px;
}

.mm-red-grad-section {
    background: #4E1C57;
    background: linear-gradient(180deg, rgba(240, 78, 84, 1) 0%, rgba(78, 28, 87, 1) 200%);
    color: #fff;
}

.mm-red-section {
    background-color: #91344a;
    color: #fff;
}

.mm-purple-section h2, .mm-yellow-section h2, .mm-red-grad-section h2 {
    color: #fff;
}

.mm-cream {
    color: #feea9d;
}

.mm-purple-section .row {
    position: relative;
    z-index: 0;
}

.mm-purple-section .row:first-of-type {
    padding-top: 210px;
}

.mm-purple-section .row:not(:last-of-type) {
    margin-bottom: 50px;
}

.stairs-img {
    position: absolute;
    bottom: -100px;
    right: -200px;
    width: 33%;
    margin-bottom: 0;
    z-index: -1;
}

.link-column.col div, main .wp-block-button__link, .nf-element[type="button"] {
    text-align: left;
    text-shadow: none;
    justify-content: start;
    background: linear-gradient(45deg, #ed9a22 0%, #feea9d 200%);
    background-color: #ed9a22;
    color: #4e1c57;
    border: 2px solid #fff;
    transition: all 0.5s ease;
}

.link-column.col div:hover, main .wp-block-button__link:hover, .nf-element[type="button"]:hover, .wp-block-button__link:not(.hashtags a):hover {
    color: #fff;
    border: 2px solid #ed9a22;
}

.link-column h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.link-column h4 {
    font-size: 1.1rem;
    font-weight: 300;
}

.mm-square-image {
    border-radius: 16px;
    border: 4px solid #fff;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.arrow-img {
    position: sticky;
    top: 200px;
}

.alum-quote {
    font-style: normal;
    margin-bottom: 0;
    font-size: 1rem;
    color: #4e1c57;
    padding: 32px 0;
}

.alum-quote:not(.nomarks)::before {
    top: 0;
    left: 0;
    font-size: 4rem;
    line-height: 2.6rem;
    color: #F04E54;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.alum-quote:not(.nomarks)::after {
    bottom: 0;
    right: 0;
    font-size: 4rem;
    line-height: 2.6rem;
    color: #F04E54;
    -webkit-text-stroke: 0;
    text-shadow: none;
}

.alum-name, .alum-title {
    color: #F04E54;
    padding: 0 0;
    text-align: left;
}

.card.alumni-card {
    overflow: hidden;
    background-color: #fff;
    padding: 8px;
}

.card.alumni-card.yellow-card, .yellow-card.card.alumni-card .card-body {
    background-color: #ed9a22;
}

.yellow-card .alum-quote:not(.nomarks)::before, .yellow-card .alum-quote:not(.nomarks)::after {
    color: #4e1c57;
}

.yellow-card .alum-quote, .yellow-card .alum-name, .yellow-card .alum-title {
    color: #fff;
}

.card.alumni-card .card-body {
    border: 0;
}

.alumni-column figure img {
    object-fit: cover;
    object-position: 50% 50%;
}

.container.validated-tab {
    background: linear-gradient(45deg, #ed9a22 0%, #feea9d 120%);
    background-color: #ed9a22;
    padding: 16px 128px 16px 64px;
    color: #000;
    clip-path: polygon(100% 0%, 32px 0%, 0% 50%, 32px 100%, 100% 100%);
}

.validated-tab p {
    line-height: 0.9rem;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.validated-tab figure {
    max-width: 200px;
    margin-bottom: 0;
}

.mm-red-section thead {
    background-color: #91344a;
    color: #fff;
    font-weight: 700;
}

.mm-red-section th {
    border: 0;
    border-bottom: 4px solid #ed9a22;
}

.mm-red-section th:not(:last-of-type) {
    border-right: 1px solid #ed9a22;
}

.mm-red-section td:not(:last-of-type) {
    border-right: 1px solid #ed9a22;
}

.mm-red-section tr:not(:last-of-type) td {
    border-bottom: 1px solid #ed9a22;
}

.mm-red-section td {
    color: #91344a;
    font-weight: 700;
}

.mm-red-section tbody tr:nth-of-type(odd) {
    background-color: #feea9d;
}

.mm-red-section tbody tr:nth-of-type(even) {
    background-color: #fce7cc;
}

.mm-red-section td:first-of-type {
    width: 70%;
}

.mm-red-section td:not(:first-of-type), .mm-red-section th:not(:first-of-type) {
    width: 10%;
    text-align: center;
}

@media all and (min-width: 1200px) {

    .man-left {
        padding-bottom: 200px;
        background-repeat: no-repeat;
        background-position: left -200px top;
        position: relative;
        z-index: 0;
        background-attachment: fixed;
        background-image: url('https://www.bradfordcollege.ac.uk/wp-content/uploads/2026/08/mmteach3.jpg');
    }

    .teach-right {
        background-repeat: no-repeat;
        background-position: right -100px top;
        background-size: auto 100%;
        position: relative;
        z-index: 0;
        background-attachment: fixed;
        background-image: url('https://www.bradfordcollege.ac.uk/wp-content/uploads/2026/09/mmteach6.jpg');
    }

    .man-left::before, .teach-right::before {
        content: '';
        position: absolute;
        left: 40%;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: #fff;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 37% 100%, 0 77%);
        z-index: -1;
    }

    .teach-right::before {
        content: '';
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        background-color: #fff;
        clip-path: polygon(55% 75%, 101% 101%, 0% 101%, 0% 0%, 55% 0%);
        z-index: -1;
    }

}

@media all and (max-width: 1400px) {
    h1 {
        font-size: 3.6rem;
    }
}

@media all and (max-width: 768px) {
    .mm-yellow-section {
        padding: 32px;
    }
    .stairs-img {
        width: 80%;
        right: 0;
        bottom: -100px;
    }
    .mm-purple-section .row:first-of-type {
        padding-bottom: 100px;
    }
    .mm-purple-section .row:not(:last-of-type) {
        margin-bottom: 0;
    }
    .mm-header {
        padding-top: 32px;
    }
    .mm-header::before {
        margin-top: 6rem;
        width: 100%;
    }
    .mm-header::after {
        width: 60%;
        height: 40%;
    }
    h1 {
        font-size: 3rem;
    }
}