/* ==========================================================================
   Inner pages  (everything except the home page)

   A visual redesign of the old template classes. It changes NO markup and adds
   NO content: it only restyles what is already on each page. Loaded last, so it
   overrides style.css / responsive.css / timeline.css.

     1. Banner            .page-title  (every inner page except Features)
     2. Headings          .desc-box, .sec-title
     3. Course + policy   .sidebar-section, .service-details
     4. Sidebar widgets   .sidebar .widget, .links-widget, .review-widget
     5. About             .blog-section
     6. Contact + map     .contact-section, .map-section
     7. Faculty           .team-section
     8. Gallery           .department cards
     9. Album             .gallery-section tiles
    10. Features          .timeline-container
   ========================================================================== */

.page-title,
.desc-box,
.sidebar-section,
.contact-section,
.team-section,
.map-section,
.timeline-container,
.page-title ~ .sec-paddingt6,
.page-title ~ .gallery-section {
    --navy: #111d42;
    --navy-deep: #0b1332;
    --gold: #d1a24f;
    --gold-text: #8a6217;       /* gold dark enough to read as text on white / cream */
    --gold-soft: #e6c98f;       /* light gold: readable on navy */
    --cream: #f6f1e6;
    --ink-soft: #4b5472;
    --line: #e8ebf3;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Raleway', 'PT Sans', Arial, sans-serif;
    --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23d1a24f' stroke-opacity='.22'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 0l18 18M72 0L54 18M0 72l18-18M72 72L54 54'/%3E%3C/g%3E%3C/svg%3E");
}


/* ==========================================================================
   1. Banner
   ========================================================================== */

.page-title {
    --hump: #fff;               /* colour of the arch: the section that follows */
    padding: 82px 0 118px;
    text-align: left;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

/* a following band that is not white: the arch takes its colour */
.page-title:has(+ .sec-paddingt6),
.page-title:has(+ .gallery-section) {
    --hump: var(--cream);
}

/* navy veil over the photo (replaces the old flat black) */
.page-title::before {
    background: linear-gradient(100deg, rgba(11, 19, 50, .95) 0%, rgba(17, 29, 66, .84) 46%, rgba(17, 29, 66, .5) 100%);
}

/* faint lattice, strongest on the right */
.page-title::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: var(--lattice);
    -webkit-mask-image: linear-gradient(to left, #000, transparent 62%);
    mask-image: linear-gradient(to left, #000, transparent 62%);
    pointer-events: none;
}

.page-title h1 {
    margin: 0 0 22px;
    font-family: var(--serif);
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 700;
    line-height: 1.12;
    text-align: left;
    text-transform: none;
    color: #fff;
}

/* short gold rule above the title */
.page-title h1::before {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-bottom: 24px;
    background: var(--gold);
}

.page-title .bread-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
}

.page-title .bread-crumb li {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0 14px 0 0;
    line-height: 1;
}

/* diamond between crumbs (replaces the old arrow glyph) */
.page-title .bread-crumb li::after {
    content: "";
    position: static;
    display: block;
    width: 6px;
    height: 6px;
    margin-left: 14px;
    line-height: 1;
    background: var(--gold);
    transform: rotate(45deg);
}

.page-title .bread-crumb li:last-child::after {
    display: none;
}

.page-title .bread-crumb li a {
    display: block;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .86);
}

.page-title .bread-crumb li:last-child a {
    color: var(--gold-soft);
}

.page-title .bread-crumb li a:hover {
    color: var(--gold);
}

/* the arch at the foot of the banner, crowned by the "go down" button */
.page-title .go-down {
    bottom: -1px;
    z-index: 6;
    height: 48px;
}

.page-title .go-down::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hump);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M36,100 C43,100 46,62 48.3,32 C49.2,18 49.7,8 50,0 C50.3,8 50.8,18 51.7,32 C54,62 57,100 64,100 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M36,100 C43,100 46,62 48.3,32 C49.2,18 49.7,8 50,0 C50.3,8 50.8,18 51.7,32 C54,62 57,100 64,100 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.page-title .go-down .curve {
    position: absolute;
    left: 50%;
    top: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-left: -23px;
    border: 4px solid var(--hump);
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.page-title .go-down .curve:hover {
    border-color: var(--hump);
    background: var(--navy);
    color: var(--gold);
}

.page-title .go-down .icon {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    font-size: 16px;
    line-height: 1;
}


/* ==========================================================================
   2. Headings
   ========================================================================== */

/* title band of the course + policy pages */
.desc-box {
    padding: 62px 0 6px;
    background: #fff;
}

.desc-box .sec-title {
    margin: 0;
    text-align: center;
}

.desc-box .sec-title h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(28px, 3.3vw, 44px);
    font-weight: 700;
    line-height: 1.18;
    text-transform: none;
    color: var(--navy);
}

.desc-box .sec-title h2::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto 20px;
    background: var(--gold);
    transform: rotate(45deg);
}

.desc-box .sec-title h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 22px auto 0;
    background: var(--gold);
}


/* ==========================================================================
   3. Course + policy pages
   ========================================================================== */

.sidebar-section {
    padding: 58px 0 80px;
    background: #f7f4ec;
    font-family: var(--sans);
}

.sidebar-section.no-bg {
    background: #fff;
}

/* photo with a gold frame peeking out behind it */
.service-details .full-image {
    position: relative;
    margin: 0 0 40px;
}

.service-details .full-image::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--gold);
    border-radius: 6px;
}

.service-details .full-image a {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 24px 50px rgba(17, 29, 66, .2);
}

.service-details .full-image img,
.service-details .full-image img.bi {
    border: 0;
    border-radius: 6px;
    height: auto;
}

.service-details .content-outer {
    padding: 46px 50px 50px;
    border-top: 3px solid var(--gold);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(17, 29, 66, .08);
}

.service-details h2 {
    margin: 0 0 20px;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    color: var(--navy);
}

.service-details h2::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 14px;
    background: var(--gold);
}

.service-details h2:not(:first-child) {
    margin-top: 44px;
}

.service-details h3 {
    margin: 30px 0 12px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    color: var(--navy);
}

.service-details h3 strong {
    font-weight: 700;
}

.service-details .content-outer p,
.service-details .content-outer li {
    margin: 0 0 16px;
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.9;
    text-align: left;
    color: var(--ink-soft);
}

.service-details .content-outer .text-justify {
    text-align: left;
}

/* A nested row in the old markup is "col-md-12 col-sm-6", which left its text half-width on tablets. */
.service-details .content-outer .row > [class*="col-"] {
    float: none;
    width: 100%;
}

.service-details .content-outer ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.service-details .content-outer li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 24px;
}

/* diamond bullet */
.service-details .content-outer li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .85em;
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}


/* ==========================================================================
   4. Sidebar widgets
   ========================================================================== */

.sidebar-section .sidebar {
    margin-bottom: 0;
}

.sidebar .widget {
    margin-bottom: 28px;
    padding: 28px 28px 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(17, 29, 66, .06);
}

.sidebar .widget h3 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 14px;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    color: var(--navy);
}

.sidebar .widget h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
}

/* link lists */

.sidebar .links-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .links-widget li {
    position: relative;
    margin: 0;
    border-bottom: 1px solid var(--line);
}

.sidebar .links-widget li:last-child {
    border-bottom: 0;
}

/* diamond bullet (replaces the old arrow glyph) */
.sidebar .links-widget ul li:before {
    content: "";
    font-family: inherit;
    left: 2px;
    top: 21px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

.sidebar .links-widget ul li:hover:before {
    background: var(--navy);
}

.sidebar .links-widget li a {
    display: block;
    padding: 12px 0 12px 22px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    text-transform: none;
    color: var(--navy);
}

.sidebar .links-widget li a:hover {
    padding-left: 27px;
    color: var(--gold-text);
}

/* schedule card (About page): the old inline "outset" border is replaced */
.sidebar .widget:has(.opening-inner) {
    border-top: 3px solid var(--gold);
}

.sidebar .widget .opening-inner {
    padding: 4px 0 0;
    border: 0 !important;
}

.sidebar .widget .opening-inner .text-thm,
.sidebar .widget .opening-inner h4 {
    color: var(--navy) !important;
}

.sidebar .widget .opening-inner h4 {
    margin: 10px 0 14px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
}

.sidebar .widget .opening-inner .fa,
.sidebar .widget .opening-inner svg {
    color: var(--gold) !important;
}

.sidebar .widget .opening-hourse ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

/* testimonials: a navy quote card */

.sidebar .review-widget {
    position: relative;
    overflow: hidden;
    padding: 34px 28px 26px;
    border: 0;
    background:
        radial-gradient(360px 200px at 0 0, rgba(209, 162, 79, .18), transparent 65%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    box-shadow: 0 24px 50px rgba(17, 29, 66, .22);
}

.sidebar .review-widget h3 {
    color: #fff;
}

.sidebar .review-widget .testimonial-slider .slide-content {
    margin: 0;
    padding: 34px 0 20px;
    border: 0;
    border-radius: 0;
    background: none;
    color: rgba(255, 255, 255, .92);
}

.sidebar .review-widget .testimonial-slider .slide-content p {
    margin: 0;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
    color: inherit;
}

/* gold quote mark (replaces the old speech-bubble pointer) */
.sidebar .review-widget .testimonial-slider .slide-content:before {
    content: "\201C";
    left: -2px;
    top: -6px;
    bottom: auto;
    border: 0;
    font-family: var(--serif);
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    color: var(--gold);
    opacity: .55;
}

.sidebar .review-widget .testimonial-slider .slide-content:after {
    display: none;
}

.sidebar .review-widget .testimonial-slider .slide-info {
    min-height: 74px;
    padding: 18px 0 0 84px;
    border-top: 1px solid rgba(209, 162, 79, .3);
}

.sidebar .review-widget .testimonial-slider .slide-info .author-thumb {
    top: 18px;
    width: 66px;
    height: 66px;
    overflow: hidden;
    border: 3px solid var(--gold);
    border-radius: 50%;
    background: #fff;
}

.sidebar .review-widget .testimonial-slider .slide-info .author-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar .review-widget .testimonial-slider .slide-info h5 {
    margin: 6px 0 4px;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
    color: #fff;
}

.sidebar .review-widget .testimonial-slider .slide-info p {
    margin: 0;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}


/* ==========================================================================
   5. About: chairman + introduction articles
   ========================================================================== */

.blog-section .blog-post {
    margin-bottom: 64px;
}

.blog-section .blog-post:last-child {
    margin-bottom: 20px;
}

/* photo with a gold frame peeking out behind it */
.blog-section .image {
    margin: 0 0 36px;
    border: 0;
    overflow: visible;
}

.blog-section .image::before {
    content: "";
    position: absolute;
    top: -12px;
    left: -12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid var(--gold);
    border-radius: 6px;
}

.blog-section .image a {
    position: relative;
    z-index: 1;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 24px 50px rgba(17, 29, 66, .2);
}

.blog-section .blog-post:hover .image img {
    transform: scale(1.04);
    -webkit-filter: none;
    filter: none;
}

.blog-section .post-title {
    margin-bottom: 12px;
}

.blog-section .post-title h2,
.blog-section .post-title h2 a {
    font-family: var(--serif);
    font-size: clamp(26px, 2.8vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
}

.blog-section .post-title h2 a:hover {
    color: var(--gold-text);
}

.blog-section .post-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin: 0 0 20px;
    font-size: 0;               /* collapses the &ensp; spacers between the two links */
}

.blog-section .post-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.blog-section .post-info a .fa,
.blog-section .post-info a svg {
    padding: 0;
    font-size: 13px;
    color: var(--gold);
}

.blog-section .post-desc {
    margin-bottom: 0;
}

.blog-section .post-desc p {
    margin: 0 0 16px;
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.9;
    text-align: left;
    color: var(--ink-soft);
}


/* ==========================================================================
   6. Contact + map
   ========================================================================== */

.contact-section {
    padding: 74px 0 40px;
    background: #fff;
    font-family: var(--sans);
}

.contact-section .column {
    margin-bottom: 40px;
}

.contact-section .sec-title {
    margin-bottom: 34px;
    text-align: left;
}

.contact-section .sec-title h3 {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.contact-section .sec-title h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.18;
    text-transform: none;
    color: var(--navy);
}

.contact-section .sec-title .line {
    width: 56px;
    height: 3px;
    margin: 22px 0 0;
    border-radius: 0;
    background: var(--gold);
}

/* info card */

.contact-section .info-box {
    margin-bottom: 30px;
    padding: 36px 32px 34px;
    border-radius: 8px;
    color: #fff;
    background:
        radial-gradient(380px 220px at 0 0, rgba(209, 162, 79, .18), transparent 65%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    box-shadow: 0 26px 54px rgba(17, 29, 66, .22);
}

.contact-section .info-box h3 {
    margin: 0 0 22px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    color: #fff;
}

.contact-section .info-box h3.hd {
    font-size: 22px;
}

.contact-section .info-box .ul-c {
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
    font-size: 15.5px;
    color: inherit;
}

.contact-section .info-box li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0;
    margin-bottom: 20px;
}

.contact-section .info-box li .icon {
    position: static;
    flex: none;
    box-sizing: border-box;
    width: 42px;
    height: 42px;
    padding: 12px;
    border: 1px solid rgba(209, 162, 79, .6);
    border-radius: 50%;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: var(--gold);
}

.contact-section .info-box li p {
    margin: 0;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, .9);
    overflow-wrap: break-word;
}

.contact-section .info-box .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-section .info-box .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    border: 1px solid rgba(209, 162, 79, .6);
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
    color: var(--gold);
    background: transparent;
    box-shadow: none;
    transition: background-color .2s ease, color .2s ease;
}

.contact-section .info-box .social-links a:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

/* form card */

.contact-section .form-box {
    padding: 36px 34px 30px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--gold);
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(17, 29, 66, .09);
}

.contact-section .form-box .form-group {
    margin-bottom: 22px;
}

.contact-section .form-box .field-label {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--navy);
}

.contact-section .form-box input[type="text"],
.contact-section .form-box input[type="email"],
.contact-section .form-box input[type="number"],
.contact-section .form-box input[type="tel"],
.contact-section .form-box input[type="password"],
.contact-section .form-box textarea,
.contact-section .form-box select {
    padding: 13px 16px;
    border: 1px solid #dfe3ee;
    border-radius: 6px;
    background: #fbfbfd;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    color: var(--navy);
}

.contact-section .form-box input::placeholder,
.contact-section .form-box textarea::placeholder {
    color: #98a0b8;
}

.contact-section .form-box input[type="text"]:focus,
.contact-section .form-box input[type="email"]:focus,
.contact-section .form-box input[type="number"]:focus,
.contact-section .form-box input[type="tel"]:focus,
.contact-section .form-box input[type="password"]:focus,
.contact-section .form-box textarea:focus,
.contact-section .form-box select:focus {
    outline: 0;
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(209, 162, 79, .25);
}

.contact-section .form-box textarea {
    height: 168px;
}

/* the legacy .default-btn colours are !important, so these have to be as well */
.contact-section .form-box .default-btn,
.contact-section .form-box button {
    padding: 14px 36px !important;
    border: 2px solid var(--gold) !important;
    border-radius: 999px !important;
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact-section .form-box .default-btn:hover,
.contact-section .form-box button:hover {
    border-color: var(--navy) !important;
    background: var(--navy) !important;
    color: #fff !important;
}

/* the confirmation page (Submit) has a single message column */
.contact-section .column.pull-right:only-child {
    float: none;
    margin-right: auto;
    margin-left: auto;
}

.contact-section .sec-title > p {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-soft);
}

.contact-section .sec-title > a {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold);
    color: var(--navy);
}

/* map band */

.map-section {
    padding: 84px 0 96px;
    /* !important so these beat the room photo that the page's script sets inline */
    background-color: var(--navy-deep) !important;
    background-image: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%) !important;
    color: #fff;
}

.map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lattice);
    -webkit-mask-image: radial-gradient(ellipse at 50% 60%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse at 50% 60%, transparent 35%, #000 100%);
    pointer-events: none;
}

.map-section .sec-title {
    position: relative;
    margin-bottom: 44px;
    text-align: center;
}

.map-section .sec-title h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    text-transform: none;
    color: #fff;
}

.map-section .sec-title .line {
    width: 56px;
    height: 3px;
    border-radius: 0;
    background: var(--gold);
}

.map-section .map-container {
    position: relative;
    height: auto;
    display: flow-root;
}

.map-section .map-responsive {
    position: relative;
    float: none;
    width: auto;
    max-width: 1170px;
    height: 480px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 4px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}

.map-section .map-responsive iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-section .map-container > .col-md-2:empty {
    display: none;
}


/* ==========================================================================
   7. Faculty
   ========================================================================== */

.team-section {
    padding: 86px 0 70px;
    background: #fff;
    font-family: var(--sans);
}

.team-section .sec-title {
    margin-bottom: 58px;
    text-align: center;
}

.team-section .sec-title h3 {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.team-section .sec-title h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.3vw, 44px);
    font-weight: 700;
    line-height: 1.18;
    text-transform: none;
    color: var(--navy);
}

.team-section .sec-title .line {
    width: 56px;
    height: 3px;
    margin: 24px auto 0;
    border-radius: 0;
    background: var(--gold);
}

/* members as cards, equal height */
.team-section .auto-container > .row {
    display: flex;
    flex-wrap: wrap;
}

.team-section .auto-container > .row::before,
.team-section .auto-container > .row::after {
    display: none;
}

.team-section .column {
    display: flex;
    margin-bottom: 30px;
}

.team-section .column > article.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 28px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 29, 66, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-section .column > article.row::before,
.team-section .column > article.row::after {
    display: none;
}

.team-section .column .image img {
    max-width: 230px;
    margin: 0 auto;
}

.team-section .column .title-box {
    padding-top: 0;
}

.team-section .column .title-box h4 {
    margin: 0 0 6px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 700;
    color: var(--navy);
}

.team-section .column .title-box p {
    margin: 0;
    font-size: 11.5px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-text);
}

.team-section .column .text {
    margin: 14px 0 18px;
}

.team-section .column .text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-soft);
}

.team-section .column .read-more {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--navy);
}

.team-section .column .read-more .fa,
.team-section .column .read-more svg {
    color: var(--gold);
}

.team-section .column .read-more:hover {
    color: var(--gold-text);
}


/* ==========================================================================
   8. Gallery: album cards (the old ".department" markup)
   ========================================================================== */

.page-title ~ .sec-paddingt6 {
    position: relative;
    padding: 86px 0 80px;
    overflow: hidden;
    background: var(--cream) !important;
    font-family: var(--sans);
}

.page-title ~ .sec-paddingt6::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lattice);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 35%, #000 100%);
    mask-image: radial-gradient(ellipse at 50% 50%, transparent 35%, #000 100%);
    opacity: .6;
    pointer-events: none;
}

.page-title ~ .sec-paddingt6 .auto-container {
    position: relative;
    padding-bottom: 0;
}

.page-title ~ .sec-paddingt6 .sec-content > .row {
    display: flex;
    flex-wrap: wrap;
}

.page-title ~ .sec-paddingt6 .sec-content > .row::before,
.page-title ~ .sec-paddingt6 .sec-content > .row::after {
    display: none;
}

.page-title ~ .sec-paddingt6 .sec-content > .row > [class*="col-"] {
    display: flex;
}

.page-title ~ .sec-paddingt6 .department {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    margin-bottom: 36px;
    overflow: visible;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(17, 29, 66, .09);
    transition: transform .35s ease, box-shadow .35s ease;
}

/* photo with an angled bottom edge */
.page-title ~ .sec-paddingt6 .department .thumb {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%);
}

.page-title ~ .sec-paddingt6 .department .thumb img {
    transition: transform .8s ease;
}

.page-title ~ .sec-paddingt6 .department .department-details {
    position: relative;
    bottom: auto;
    display: flex;
    flex: 1;
    flex-direction: column;
    width: auto;
    padding: 36px 28px 30px;
    text-align: left;
    background: #fff;
}

.page-title ~ .sec-paddingt6 .department:hover .department-details {
    bottom: auto;
}

.page-title ~ .sec-paddingt6 .department-details .round-style {
    display: none;
}

/* the old icon becomes a round badge on the slant */
.page-title ~ .sec-paddingt6 .department .department-details .icon {
    position: absolute;
    top: -33px;
    right: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--navy);
    color: var(--gold);
    font-size: 26px;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(17, 29, 66, .25);
    transition: background-color .3s ease, color .3s ease;
}

.page-title ~ .sec-paddingt6 .department .department-details .title {
    margin: 0 0 12px;
    padding-right: 52px;
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.28;
    text-align: left;
    color: var(--navy);
}

.page-title ~ .sec-paddingt6 .department .department-details .details {
    padding: 0;
    margin: 0 0 28px;
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-soft);
}

/* "View Album": link with a gold underline; the whole card is clickable */
.page-title ~ .sec-paddingt6 .department .department-details .thm-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding: 0 0 5px;
    border: 0;
    border-bottom: 2px solid var(--gold);
    border-radius: 0;
    background: none;
    color: var(--navy);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    transition: gap .25s ease;
}

.page-title ~ .sec-paddingt6 .department .department-details .thm-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-title ~ .sec-paddingt6 .department .department-details .thm-btn .fa,
.page-title ~ .sec-paddingt6 .department .department-details .thm-btn svg {
    color: var(--gold);
}

.page-title ~ .sec-paddingt6 .department:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 58px rgba(17, 29, 66, .16);
}

.page-title ~ .sec-paddingt6 .department:hover .thumb img {
    transform: scale(1.06);
}

.page-title ~ .sec-paddingt6 .department:hover .department-details .icon {
    background: var(--gold);
    color: var(--navy);
}

.page-title ~ .sec-paddingt6 .department:hover .thm-btn {
    gap: 16px;
}


/* ==========================================================================
   9. Album: photo grid
   ========================================================================== */

.page-title ~ .gallery-section {
    padding: 84px 0 92px;
    background: var(--cream) !important;
    background-image: none !important;      /* the inline parallax photo is dropped */
    color: var(--navy);
    font-family: var(--sans);
}

.page-title ~ .gallery-section .sec-title {
    margin-bottom: 52px;
}

.page-title ~ .gallery-section .sec-title .line {
    width: 56px;
    height: 3px;
    margin: 0 auto 26px;
    border-radius: 0;
    background: var(--gold);
}

.page-title ~ .gallery-section .sec-title p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 700;
    line-height: 1.4;
    color: var(--navy) !important;          /* the markup sets an inline colour */
}

.page-title ~ .gallery-section .column {
    padding: 0 9px 18px;
}

.page-title ~ .gallery-section .column .image {
    padding: 0 !important;                  /* the markup sets inline padding */
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(17, 29, 66, .16);
}

.page-title ~ .gallery-section .column .image .overlay-box .link {
    background: linear-gradient(to top, rgba(11, 19, 50, .82), rgba(11, 19, 50, .3));
    text-align: center;
}

.page-title ~ .gallery-section .column .image .overlay-box .txt .fa,
.page-title ~ .gallery-section .column .image .overlay-box .txt svg {
    box-sizing: border-box;
    width: 58px;
    height: 58px;
    padding: 17px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy-deep);
    font-size: 22px;
}

.page-title ~ .gallery-section .link-box {
    margin-top: 12px;
}

.page-title ~ .gallery-section .link-box .default-btn {
    padding: 14px 36px !important;
    border: 2px solid var(--gold) !important;
    border-radius: 999px !important;
    background: var(--gold) !important;
    color: var(--navy-deep) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
}

.page-title ~ .gallery-section .link-box .default-btn:hover {
    border-color: var(--navy) !important;
    background: var(--navy) !important;
    color: #fff !important;
}


/* ==========================================================================
   10. Features: the timeline
   ========================================================================== */

.timeline-container {
    padding: 100px 0 110px;
    background-position: center;
    font-family: var(--sans);
}

/* navy veil over the (scroll-reactive) photo */
.timeline-container:before {
    background: linear-gradient(180deg, rgba(11, 19, 50, .9) 0%, rgba(17, 29, 66, .8) 45%, rgba(11, 19, 50, .92) 100%);
}

.timeline-header {
    margin-bottom: 90px;
}

.timeline-header__title {
    font-family: var(--serif);
    font-size: clamp(32px, 4.4vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}

.timeline-header__title::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    margin: 0 auto 24px;
    background: var(--gold);
    transform: rotate(45deg);
}

.timeline-header__title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 26px auto 0;
    background: var(--gold);
}

.timeline {
    max-width: 900px;
}

.timeline:before {
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(209, 162, 79, .65) 6%, rgba(209, 162, 79, .65) 94%, transparent);
}

.timeline__img {
    display: block;
    width: 100%;
    border-radius: 6px;
    outline: 2px solid rgba(209, 162, 79, .85);
    outline-offset: 8px;
    box-shadow: 0 26px 54px rgba(0, 0, 0, .5);
}

/* the number sits under the photo (it used to overlap it) */
.timeline__content-title,
.timeline-item--active .timeline__content-title {
    margin: 26px 0 8px;
    padding: 0;
    font-family: var(--serif);
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
}

.timeline__content-desc {
    font-family: var(--sans);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.7;
    color: rgba(255, 255, 255, .92);
}

/* the "SET Paramedical College" label beside each item */
.timeline-item:before {
    font-family: var(--sans);
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold-soft);
    border-left-color: var(--gold);
}

.timeline-item:nth-child(even):before {
    border-right-color: var(--gold);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .page-title {
        padding: 62px 0 104px;
    }

    .desc-box {
        padding-top: 48px;
    }

    .sidebar-section {
        padding: 46px 0 56px;
    }

    .service-details .content-outer {
        padding: 36px 32px 38px;
    }

    .contact-section {
        padding: 56px 0 24px;
    }

    .map-section {
        padding: 64px 0 72px;
    }

    .map-section .map-responsive {
        height: 400px;
    }

    .team-section {
        padding: 64px 0 40px;
    }

    .page-title ~ .sec-paddingt6 {
        padding: 64px 0 56px;
    }

    .page-title ~ .gallery-section {
        padding: 64px 0 70px;
    }

    .timeline-container {
        padding: 72px 0 80px;
    }
}

@media (max-width: 767px) {
    .page-title {
        padding: 52px 0 98px;
    }

    .page-title h1::before {
        margin-bottom: 18px;
    }

    .service-details .content-outer {
        padding: 30px 22px 32px;
    }

    .service-details .full-image::before {
        top: -9px;
        left: -9px;
        right: 9px;
        bottom: 9px;
    }

    .service-details h2 {
        font-size: 26px;
    }

    .contact-section .form-box {
        padding: 28px 20px 22px;
    }

    .contact-section .info-box {
        padding: 30px 24px 28px;
    }

    .map-section .map-responsive {
        height: 340px;
    }

    .team-section .column .image img {
        max-width: 190px;
    }

    .timeline__content-title,
    .timeline-item--active .timeline__content-title {
        font-size: 52px;
    }

    .timeline__content-desc {
        font-size: 17px;
    }

    /* the side label runs up the timeline's line, so it cannot spill into the photo */
    .timeline-item:before {
        right: auto !important;     /* the old desktop offset would otherwise stretch the label off-screen */
        width: auto;
        font-size: 10px;
        letter-spacing: .2em;
        white-space: nowrap;
        text-align: left !important;
        -webkit-writing-mode: vertical-rl;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
    }
}

@media (max-width: 479px) {
    .page-title .go-down .curve {
        width: 40px;
        height: 40px;
        margin-left: -20px;
    }

    .sidebar .widget {
        padding: 24px 20px 18px;
    }

    .sidebar .review-widget {
        padding: 30px 20px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-section .column > article.row,
    .page-title ~ .sec-paddingt6 .department,
    .page-title ~ .sec-paddingt6 .department .thumb img,
    .page-title .go-down .curve {
        transition: none;
    }
}
