/* Shared header/footer based on the supplied homepage; programme logo retained. */
body.hub-site-chrome .site-header {
    height: 84px;
    padding-inline: clamp(24px, 4vw, 56px);
    gap: 22px;
    background: rgba(255,255,255,0.97);
    border-bottom-color: rgba(10, 70, 101, 0.12);
    box-shadow: 0 8px 28px rgba(19, 61, 86, 0.06);
}

body.hub-site-chrome .brand {
    min-width: 255px;
    gap: 11px;
}

body.hub-site-chrome .site-header .brand-mark {
    width: 60px;
    height: 54px;
    flex: 0 0 60px;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background-color: transparent;
    background-image: url("../images/master-logo-mark-transparent.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

body.hub-site-chrome .brand-mark svg,
body.hub-site-chrome .brand-mark::before {
    display: none !important;
    content: none !important;
}

body.hub-site-chrome .brand-text strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.02;
    color: #062f61;
}

body.hub-site-chrome .brand-text small {
    margin-top: 2px;
    font-size: 13px;
    color: #0a4a60;
}

body.hub-site-chrome .main-nav {
    gap: clamp(17px, 2.1vw, 31px);
    font-size: 14px;
    color: #062f61;
}

body.hub-site-chrome .main-nav a {
    position: relative;
}

body.hub-site-chrome .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 5px;
    height: 2px;
    background: #08786c;
    transition: right .2s ease;
}

body.hub-site-chrome .main-nav a:hover::after,
body.hub-site-chrome .main-nav a:focus-visible::after {
    right: 0;
}


body.hub-site-chrome .site-header .brand-mark{background-size:contain}
body.hub-site-chrome .site-footer .brand-mark{width:54px;height:48px;flex:0 0 54px;border:0;border-radius:0;box-shadow:none;background:transparent url("../images/master-logo-mark-transparent.png") center/contain no-repeat}
body.hub-site-chrome .site-footer .footer-inner{padding:0 28px}
@media(max-width:760px){body.hub-site-chrome .site-footer .footer-inner{grid-template-columns:1fr}}
@media(max-width:700px){body.hub-site-chrome .site-footer{padding:42px 20px 30px}}

body.hub-site-chrome .site-footer .footer-btn{border-radius:999px;padding:14px 22px}


body.programme-category-page #programme-category-content{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65}
body.programme-category-page .programme-category-hero{max-width:1240px;padding:48px 32px 24px;grid-template-columns:minmax(0,1fr);gap:0}
body.programme-category-page .programme-category-hero-copy{min-height:0;padding:34px 40px}
body.programme-category-page .programme-category-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(30px,3vw,40px);line-height:1.15;letter-spacing:normal;margin:10px 0 14px}
body.programme-category-page .programme-category-hero-copy > p:last-child{max-width:1000px;font-size:16px;line-height:1.65}
body.programme-category-page .programme-category-hero .eyebrow{font-size:14px;line-height:1.55}
body.programme-category-page .programme-card-content strong,body.programme-category-page .resource-card > strong{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:20px;line-height:1.3}
body.programme-category-page .programme-card-content small,body.programme-category-page .resource-card > small{font-size:16px;line-height:1.65}
body.programme-category-page .programme-meta{font-size:14px;line-height:1.55}
body.programme-category-page .programme-card-content em,body.programme-category-page .resource-card > em{font-size:14px;line-height:1.5}
body.programme-category-page .programme-large-card:focus-visible,body.programme-category-page .resource-card:focus-visible{outline:3px solid #08786c;outline-offset:4px}
body.programme-category-page .programme-category-list{padding:16px 32px 32px}
body.programme-category-page.category-resources .programme-category-hero,body.programme-category-page.category-networks .programme-category-hero,body.programme-category-page.category-resources .programme-category-list,body.programme-category-page.category-networks .programme-category-list{max-width:964px}
body.programme-category-page .horizontal-resource-grid{max-width:none}
@media(min-width:981px){
body.programme-category-page .programme-card-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px}
body.programme-category-page .programme-card-grid > .programme-large-card{flex:0 0 calc((100% - 40px)/3);min-width:0}
body.programme-category-page.category-networks .programme-card-grid > .programme-large-card{flex-basis:calc((100% - 20px)/2)}
}
@media(max-width:980px){body.programme-category-page .programme-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:700px){body.programme-category-page .programme-category-hero{padding:28px 20px 20px}body.programme-category-page .programme-category-hero-copy{padding:28px 24px}body.programme-category-page .programme-category-list{padding:12px 20px 28px}body.programme-category-page .programme-card-grid,body.programme-category-page .horizontal-resource-grid{grid-template-columns:1fr}}
