/*
 * COP Bela - shared page presentation
 * Load this stylesheet on the refreshed institutional and programme pages.
 * Uses the existing Mindu theme typography, colour variables and Bootstrap grid.
 */
.cop-standard-page {
    --cop-page-line: rgba(25, 31, 45, .10);
}
.cop-standard-page .tp-about-area {
    padding-top: 54px;
    padding-bottom: 34px;
}
.cop-standard-page .tp-about-area .container > .row > div {
    max-width: 820px;
}
.cop-standard-page .tp-about-area .tp-section-subtitle {
    letter-spacing: .07em;
    margin-bottom: 9px;
}
.cop-standard-page .tp-about-area h1.tp-section-title {
    font-size: clamp(27px, 3vw, 37px);
    line-height: 1.22;
    font-weight: 600;
    margin-bottom: 0;
}
.cop-standard-page > section:not(.tp-about-area) {
    padding-bottom: 58px;
}
.cop-standard-page .container > p.tp-section-dec:first-child {
    max-width: 980px;
}
.cop-standard-page h2.tp-section-title {
    font-size: 22px !important;
    line-height: 1.3;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 12px;
}
.cop-standard-page h3.tp-section-title {
    font-size: 19px !important;
    line-height: 1.35;
    font-weight: 600;
}
.cop-standard-page p.tp-section-dec,
.cop-standard-page li.tp-section-dec {
    font-size: 14px;
    line-height: 1.8;
}
.cop-standard-page .bg-grey-4,
.cop-standard-page .list-group-item {
    border: 1px solid var(--cop-page-line);
    border-radius: 8px;
}
.cop-standard-page .bg-grey-4 {
    background-color: #fff;
    padding: 23px !important;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.cop-standard-page a.bg-grey-4,
.cop-standard-page a.d-block.bg-grey-4 {
    color: inherit;
    text-decoration: none;
}
.cop-standard-page a.bg-grey-4:hover,
.cop-standard-page a.d-block.bg-grey-4:hover {
    transform: translateY(-3px);
    border-color: rgba(197, 31, 50, .25);
    box-shadow: 0 12px 26px rgba(25, 31, 45, .07);
}
.cop-standard-page .table-responsive {
    border: 1px solid var(--cop-page-line);
    border-radius: 8px;
    overflow-x: auto;
    background: #fff;
}
.cop-standard-page .table {
    margin-bottom: 0;
    font-size: 13px;
    vertical-align: middle;
}
.cop-standard-page .table thead th {
    font-weight: 600;
    white-space: nowrap;
}
.cop-standard-page .table th,
.cop-standard-page .table td {
    padding: 12px 14px;
}
.cop-standard-page .list-group {
    gap: 8px;
}
.cop-standard-page .list-group-item {
    padding: 14px 17px;
    margin-bottom: 0;
}
.cop-standard-page ul.tp-section-dec,
.cop-standard-page ol.tp-section-dec {
    padding-left: 22px;
}
.cop-standard-page .tp-btn {
    margin-top: 4px;
}
.cop-standard-page .degree-home-page,
.cop-standard-page.degree-home-page {
    --degree-line: var(--cop-page-line);
}
.cop-standard-page .degree-intro {
    padding-top: 54px;
    padding-bottom: 34px;
}
.cop-standard-page .degree-page-heading {
    max-width: 760px;
    margin: 0 auto;
}
.cop-standard-page .degree-page-heading .tp-section-subtitle {
    letter-spacing: .08em;
}
.cop-standard-page .degree-page-heading h1 {
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 0;
}
.cop-standard-page .degree-content {
    padding-bottom: 62px;
}
.cop-standard-page .degree-section-kicker {
    display: inline-block;
    color: var(--tp-theme-primary, #c51f32);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.cop-standard-page .degree-section-title {
    font-size: clamp(23px, 2.2vw, 29px);
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 18px;
}
.cop-standard-page .degree-intro-copy { padding-right: 22px; }
.cop-standard-page .degree-intro-copy p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}
.cop-standard-page .degree-overview {
    background: #fff;
    border: 1px solid var(--degree-line);
    border-radius: 9px;
    padding: 25px 27px;
    height: 100%;
    box-shadow: 0 8px 24px rgba(25, 31, 45, .035);
}
.cop-standard-page .degree-overview-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 13px;
}
.cop-standard-page .degree-facts { list-style: none; padding: 0; margin: 0; }
.cop-standard-page .degree-facts li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid var(--degree-line);
    font-size: 13px;
    line-height: 1.5;
}
.cop-standard-page .degree-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.cop-standard-page .degree-facts strong { font-weight: 600; }
.cop-standard-page .degree-facts span { text-align: right; }
.cop-standard-page .degree-section { margin-top: 42px; }
.cop-standard-page .degree-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 19px;
}
.cop-standard-page .degree-section-head .degree-section-title { margin-bottom: 0; }
.cop-standard-page .degree-section-note {
    max-width: 310px;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 3px;
    text-align: right;
}
.cop-standard-page .degree-programme-card,
.cop-standard-page .degree-explore-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--degree-line);
    border-radius: 8px;
    padding: 22px 21px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cop-standard-page .degree-programme-card:hover,
.cop-standard-page .degree-explore-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(25, 31, 45, .08);
    border-color: rgba(197, 31, 50, .25);
}
.cop-standard-page .degree-card-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(197, 31, 50, .08);
    color: var(--tp-theme-primary, #c51f32);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 17px;
}
.cop-standard-page .degree-programme-card h3,
.cop-standard-page .degree-explore-card h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 9px;
}
.cop-standard-page .degree-programme-card p,
.cop-standard-page .degree-explore-card p {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 18px;
}
.cop-standard-page .degree-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
}
.cop-standard-page .degree-card-link span { transition: transform .2s ease; }
.cop-standard-page .degree-programme-card:hover .degree-card-link span,
.cop-standard-page .degree-explore-card:hover .degree-card-link span { transform: translateX(4px); }
.cop-standard-page .degree-explore-card { position: relative; padding: 22px 23px; }
.cop-standard-page .degree-explore-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 19px;
    bottom: 19px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--tp-theme-primary, #c51f32);
    opacity: .75;
}
.cop-standard-page .degree-explore-card h3 { font-size: 18px; }
.cop-standard-page .degree-explore-card p { margin-bottom: 0; }
@media (max-width: 767px) {
    .cop-standard-page .tp-about-area { padding-top: 38px; padding-bottom: 22px; }
    .cop-standard-page > section:not(.tp-about-area) { padding-bottom: 40px; }
    .cop-standard-page .degree-content { padding-bottom: 40px; }
    .cop-standard-page .degree-intro-copy { padding-right: 12px; }
    .cop-standard-page .degree-overview { padding: 21px; }
    .cop-standard-page .degree-section { margin-top: 30px; }
    .cop-standard-page .degree-section-head { display: block; }
    .cop-standard-page .degree-section-note { text-align: left; margin-top: 8px; }
    .cop-standard-page .degree-programme-card,
    .cop-standard-page .degree-explore-card { padding: 19px; }
    .cop-standard-page .degree-facts li { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .cop-standard-page .bg-grey-4,
    .cop-standard-page .degree-programme-card,
    .cop-standard-page .degree-explore-card,
    .cop-standard-page .degree-card-link span { transition: none; }
}


/* Course programme pages */
.cop-course-page .tp-about-area { padding-top: 48px; padding-bottom: 27px; }
.cop-course-heading { max-width: 850px; margin: 0 auto; text-align: center; }
.cop-course-heading .tp-section-subtitle { margin-bottom: 8px; letter-spacing: .07em; }
.cop-course-heading h1.tp-section-title {
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.22;
    font-weight: 600;
    margin: 0;
}
.cop-course-content { padding: 0 0 58px; }
.cop-course-intro {
    max-width: 940px;
    margin: 0 auto 28px;
    padding: 22px 25px;
    background: #fff;
    border: 1px solid rgba(25,31,45,.10);
    border-left: 3px solid var(--tp-theme-primary, #c51f32);
    border-radius: 8px;
}
.cop-course-intro p {
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin-bottom: 12px;
}
.cop-course-intro p:last-child { margin-bottom: 0; }
.cop-course-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.cop-course-detail {
    min-width: 0;
    padding: 21px 23px;
    background: #fff;
    border: 1px solid rgba(25,31,45,.10);
    border-radius: 8px;
}
.cop-course-detail-title {
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin: 0 0 11px !important;
}
.cop-course-detail-body p,
.cop-course-detail-body li {
    font-size: 13px;
    line-height: 1.75;
}
.cop-course-detail-body p:last-child { margin-bottom: 0; }
.cop-course-detail-body ul,
.cop-course-detail-body ol { padding-left: 20px; margin-bottom: 0; }
.cop-course-detail-body .table-responsive { margin-bottom: 0; }
.cop-course-detail-body .table { font-size: 13px; }
.cop-course-detail-body a:not(.tp-btn) { font-weight: 600; }
.cop-course-detail:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 767px) {
    .cop-course-page .tp-about-area { padding-top: 36px; padding-bottom: 22px; }
    .cop-course-details { grid-template-columns: 1fr; gap: 12px; }
    .cop-course-detail { padding: 18px; }
    .cop-course-intro { padding: 18px; margin-bottom: 18px; }
    .cop-course-content { padding-bottom: 38px; }
}
/* MOU partner listings */
.cop-mou-page .tp-about-area { padding-top: 48px; padding-bottom: 27px; }
.cop-mou-page > section:not(.tp-about-area) { padding-bottom: 56px; }
.cop-mou-page .container > p:first-child {
    max-width: 940px;
    margin-bottom: 28px !important;
    padding: 20px 23px;
    background: #fff;
    border: 1px solid rgba(25,31,45,.10);
    border-radius: 8px;
}
.cop-mou-page h2.tp-section-title {
    font-size: 19px !important;
    margin: 0 0 15px !important;
}
.cop-mou-page .mb-40 { margin-bottom: 27px !important; }
.cop-partner-grid { row-gap: 0; }
.cop-partner-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    height: 100%;
    min-height: 66px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid rgba(25,31,45,.10);
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.55;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cop-partner-card:hover {
    transform: translateY(-2px);
    border-color: rgba(197,31,50,.25);
    box-shadow: 0 8px 20px rgba(25,31,45,.06);
}
.cop-partner-mark {
    flex: 0 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: rgba(197,31,50,.08);
    color: var(--tp-theme-primary, #c51f32);
    font-size: 17px;
    line-height: 1;
}
.cop-mou-page .list-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.cop-mou-page .list-group-item { border: 1px solid rgba(25,31,45,.10) !important; border-radius: 7px !important; }
@media (max-width: 767px) {
    .cop-mou-page .list-group { grid-template-columns: 1fr; }
}
/* Non-teaching staff directory */
.cop-staff-page .tp-about-area { padding-top: 48px; padding-bottom: 27px; }
.cop-staff-content { padding-bottom: 56px; }
.cop-staff-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.cop-content-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--tp-theme-primary, #c51f32);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cop-content-title { font-size: 23px; line-height: 1.25; font-weight: 600; margin: 0 0 8px; }
.cop-staff-intro p { margin: 0; font-size: 13px; line-height: 1.7; }
.cop-staff-count {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 105px;
    min-height: 82px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(25,31,45,.10);
    border-radius: 8px;
}
.cop-staff-count strong { font-size: 25px; line-height: 1.1; font-weight: 600; }
.cop-staff-count span { margin-top: 5px; font-size: 11px; }
.cop-staff-toolbar { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.cop-staff-toolbar input { max-width: 440px; min-height: 44px; border-radius: 7px; }
.cop-staff-result-count { margin-left: auto; font-size: 12px; white-space: nowrap; }
.cop-staff-card {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    min-height: 78px;
    padding: 15px 17px;
    background: #fff;
    border: 1px solid rgba(25,31,45,.10);
    border-radius: 8px;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.cop-staff-card:hover {
    transform: translateY(-2px);
    border-color: rgba(197,31,50,.25);
    box-shadow: 0 8px 20px rgba(25,31,45,.06);
}
.cop-staff-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(197,31,50,.08);
    color: var(--tp-theme-primary, #c51f32);
    font-size: 11px;
    font-weight: 600;
}
.cop-staff-details h3 { margin: 0 0 4px; font-size: 14px; line-height: 1.35; font-weight: 600; }
.cop-staff-details p { margin: 0; font-size: 12px; line-height: 1.4; opacity: .78; }
.cop-staff-empty { padding: 22px; text-align: center; background: #fff; border: 1px dashed rgba(25,31,45,.2); border-radius: 8px; }
@media (max-width: 767px) {
    .cop-staff-intro { align-items: flex-start; }
    .cop-staff-count { min-width: 82px; min-height: 72px; }
    .cop-staff-toolbar { display: block; }
    .cop-staff-toolbar input { max-width: none; }
    .cop-staff-result-count { display: block; margin: 8px 0 0; }
}


/* Course detail presentation inspired by the supplied Mindu course-details template.
   Uses the theme's own type scale, button treatment, icon font and Bootstrap layout. */
.cop-course-details-page { --cop-course-rule: rgba(18, 34, 55, .12); }
.cop-course-details-page .cop-course-details-hero {
    padding: 58px 0 52px;
    background: var(--tp-grey-4, #f7f6f3);
}
.cop-course-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .85fr);
    gap: 48px;
    align-items: center;
}
.cop-course-eyebrow {
    display: flex; align-items: center; gap: 9px;
    margin-bottom: 13px; color: var(--tp-theme-primary, #c51f32);
    font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.cop-course-eyebrow > span { width: 22px; height: 1px; background: currentColor; }
.cop-course-details-page h1.tp-course-details-title {
    margin: 0 0 17px; max-width: 760px;
    font-size: clamp(30px, 3.2vw, 43px); line-height: 1.13; font-weight: 600;
}
.cop-course-hero-meta { display:flex; flex-wrap:wrap; gap: 12px 25px; margin-bottom: 20px; }
.cop-course-hero-meta span { display:inline-flex; align-items:center; gap:8px; font-size:12px; color: #555b64; }
.cop-course-hero-meta i { color: var(--tp-theme-primary, #c51f32); font-size:15px; }
.cop-course-hero-intro { max-width: 790px; }
.cop-course-hero-intro p { margin:0 0 11px; font-size:14px; line-height:1.8; }
.cop-course-hero-intro p:last-child { margin-bottom:0; }
.cop-course-apply { margin-top:23px; display:inline-flex; align-items:center; gap:10px; }
.cop-course-quick-panel {
    padding: 25px 26px 22px; background:#fff;
    border:1px solid rgba(18,34,55,.09); border-radius:9px;
    box-shadow:0 12px 35px rgba(18,34,55,.055);
}
.cop-course-quick-heading { display:flex; align-items:center; gap:13px; padding-bottom:17px; margin-bottom:7px; border-bottom:1px solid var(--cop-course-rule); }
.cop-course-quick-symbol {
    display:flex; align-items:center; justify-content:center; flex:0 0 44px;
    width:44px; height:44px; border-radius:50%;
    background:rgba(197,31,50,.08); color:var(--tp-theme-primary,#c51f32); font-size:19px;
}
.cop-course-quick-heading small { display:block; margin-bottom:4px; font-size:9px; letter-spacing:.1em; color:var(--tp-theme-primary,#c51f32); font-weight:600; }
.cop-course-quick-heading h2 { margin:0; font-size:21px; line-height:1.2; font-weight:600; }
.cop-course-fact { display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px solid var(--cop-course-rule); }
.cop-course-fact:last-of-type { border-bottom:0; }
.cop-course-fact-icon { flex:0 0 29px; width:29px; height:29px; display:flex; align-items:center; justify-content:center; color:var(--tp-theme-primary,#c51f32); background:rgba(197,31,50,.07); border-radius:50%; font-size:13px; }
.cop-course-fact small { display:block; margin-bottom:3px; color:#737984; font-size:10px; }
.cop-course-fact strong { display:block; font-size:12px; line-height:1.5; font-weight:600; color:inherit; }
.cop-course-quick-link { display:flex; align-items:center; justify-content:space-between; padding-top:15px; margin-top:4px; border-top:1px solid var(--cop-course-rule); font-size:12px; font-weight:600; }
.cop-course-information { padding:55px 0 65px; }
.cop-course-content-heading { margin-bottom:22px; }
.cop-course-content-heading .tp-section-subtitle { display:block; margin-bottom:7px; font-size:10px; letter-spacing:.1em; }
.cop-course-content-heading .tp-section-title { margin:0; font-size:28px; line-height:1.2; font-weight:600; }
.cop-course-anchor-nav { margin:0 0 34px; border-bottom:1px solid var(--cop-course-rule); }
.cop-course-anchor-nav ul { display:flex; flex-wrap:wrap; gap:0 27px; padding:0; margin:0; list-style:none; }
.cop-course-anchor-nav li { margin:0; }
.cop-course-anchor-nav a { display:block; padding:13px 0; font-size:12px; font-weight:600; color:inherit; position:relative; }
.cop-course-anchor-nav a:hover { color:var(--tp-theme-primary,#c51f32); }
.cop-course-topics { width:100%; max-width:none; }
.cop-course-topic { display:grid; grid-template-columns:46px minmax(0,1fr); gap:17px; padding:24px 0; border-bottom:1px solid var(--cop-course-rule); scroll-margin-top:110px; }
.cop-course-topic:first-child { padding-top:5px; }
.cop-course-topic-icon { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:50%; background:rgba(197,31,50,.08); color:var(--tp-theme-primary,#c51f32); font-size:17px; }
.cop-course-topic-label { display:block; margin:0 0 4px; color:var(--tp-theme-primary,#c51f32); font-size:9px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; }
.cop-course-topic h2.tp-course-details-main-title { margin:0 0 9px; font-size:20px; line-height:1.3; font-weight:600; }
.cop-course-topic-copy p, .cop-course-topic-copy li { font-size:13px; line-height:1.8; }
.cop-course-topic-copy p:last-child { margin-bottom:0; }
.cop-course-topic-copy ul, .cop-course-topic-copy ol { padding-left:20px; margin-bottom:0; }
.cop-course-topic-copy .table-responsive { margin-top:9px; max-width:100%; }
.cop-course-topic-copy .list-group { gap:7px; }
.cop-course-topic-copy .tp-btn { margin-top:14px; }
@media (max-width: 991px) {
    .cop-course-hero-inner { grid-template-columns:1fr; gap:28px; }
    .cop-course-quick-panel { max-width: none; }
}
@media (max-width: 767px) {
    .cop-course-details-page .cop-course-details-hero { padding:38px 0 34px; }
    .cop-course-quick-panel { padding:20px; }
    .cop-course-information { padding:38px 0 45px; }
    .cop-course-content-heading .tp-section-title { font-size:24px; }
    .cop-course-anchor-nav ul { gap:0 18px; }
    .cop-course-anchor-nav a { padding:10px 0; font-size:11px; }
    .cop-course-topic { grid-template-columns:36px minmax(0,1fr); gap:12px; padding:19px 0; }
    .cop-course-topic-icon { width:34px; height:34px; font-size:14px; }
    .cop-course-topic h2.tp-course-details-main-title { font-size:18px; }
}

/* Course topics fill the available Bootstrap .container content column.
   Do not override .container width/max-width: the theme controls its breakpoints. */
.cop-course-details-page .cop-course-topics {
    width: 100%;
    max-width: 100%;
}
.cop-course-details-page .cop-course-topic {
    width: 100%;
}
