/*
Theme Name: TMIS Custom Theme v3
Theme URI: https://tmis.edu.sg/
Author: Tourism Management Institute of Singapore
Description: Custom WordPress theme for the Tourism Management Institute of Singapore (TMIS). Rotating photo hero banner, editable homepage, programme post type, staff and trainer profiles, and a built-in enquiry form. Requires no page builder or plugin.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tmis
Tags: education, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, block-patterns
*/

/* ==========================================================================
   1. Design tokens (digital approximations of the supplied Pantone/CMYK)
   ========================================================================== */
:root {
	--blue: #052b81;          /* Pantone 280 C (as in supplied logo file) */
	--blue-deep: #031a52;     /* footer / deepest blue */
	--blue-soft: #e8edf8;
	--orange: #eb6101;        /* Pantone 1505 C (as in supplied logo file) */
	--orange-btn: #c74e00;    /* orange darkened so white text passes 4.5:1 */
	--orange-btn-hover: #a84100;
	--grey: #f2f4f8;
	--grey-line: #d9dee8;
	--text: #2b2f36;
	--text-soft: #555c68;
	--white: #fff;
	--font: Verdana, Geneva, "DejaVu Sans", sans-serif;
	--header-h: 96px;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(5, 43, 129, 0.12);
	--wrap: 1200px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--blue); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange-btn); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; background: var(--white); color: var(--blue); padding: 12px 18px; font-weight: 700;
}
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container--prose { max-width: 860px; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
	font: 700 0.95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--orange { background: var(--orange-btn); color: var(--white); }
.btn--orange:hover { background: var(--orange-btn-hover); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-soft); color: var(--blue); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--small { min-height: 42px; padding: 9px 20px; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--grey-line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.site-branding { flex: 0 0 auto; }
.site-branding img, .custom-logo { width: auto; height: auto; max-height: 70px; max-width: 220px; object-fit: contain; }
.site-nav-wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.main-navigation { height: 100%; }
.primary-menu { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; gap: 6px; }
.primary-menu > li { display: flex; align-items: center; position: static; }
.menu-link {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px 0 14px;
	color: var(--blue); font-weight: 700; font-size: 0.95rem; text-decoration: none; position: relative;
}
.primary-menu > li:not(.has-mega) .menu-link { padding-right: 14px; }
.menu-link::after {
	content: ""; position: absolute; left: 14px; right: 8px; bottom: 6px; height: 3px; border-radius: 2px;
	background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.primary-menu > li:not(.has-mega) .menu-link::after { right: 14px; }
.menu-link:hover::after, .is-current > .menu-link::after, .has-mega:hover > .menu-link::after { transform: scaleX(1); }
.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 48px;
	background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0;
}
.submenu-toggle svg { transition: transform .2s; }
.has-mega.is-open > .submenu-toggle svg, .has-mega:hover > .submenu-toggle svg { transform: rotate(180deg); }

.mega {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--white); border-top: 3px solid var(--orange); box-shadow: 0 24px 40px rgba(3, 26, 82, 0.18);
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { display: block; }
.has-mega.force-close > .mega { display: none !important; }
.mega__inner { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 36px; }
.mega--cards .mega__inner { display: block; }
.mega--cards .mega__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; max-width: 760px; }
.mega--grouped .mega__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a {
	display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; color: var(--blue);
	border-left: 3px solid transparent; transition: background-color .15s, border-color .15s;
}
.mega__list a:hover, .mega__list a:focus-visible, .mega__list a[aria-current] { background: var(--grey); border-left-color: var(--orange); color: var(--blue); }
.mega__title { display: block; font-weight: 700; font-size: 0.9rem; }
.mega__desc { display: block; font-size: 0.8rem; color: var(--text-soft); font-weight: 400; }
.mega__heading { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--grey-line); font-weight: 700; color: var(--text-soft); font-size: 0.85rem; }
.mega__heading a { text-decoration: none; color: inherit; }

.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 2px solid var(--blue); border-radius: 8px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle__bars::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5. Hero slideshow
   ========================================================================== */
.hero { position: relative; height: clamp(540px, 74vh, 700px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--blue-deep); }
.hero__slides, .hero__overlay { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .hero__img { animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__overlay { z-index: 2; background: linear-gradient(90deg, rgba(3, 26, 82, 0.92) 0%, rgba(5, 43, 129, 0.72) 42%, rgba(5, 43, 129, 0.12) 100%), linear-gradient(0deg, rgba(3, 26, 82, 0.55) 0%, transparent 35%); }
.hero__content { position: relative; z-index: 3; padding-top: 40px; padding-bottom: 120px; }
.hero__title { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 17ch; margin-bottom: 0.45em; letter-spacing: -0.01em; text-shadow: 0 2px 18px rgba(3, 26, 82, 0.35); }
.hero__text { max-width: 560px; font-size: 1.05rem; margin-bottom: 1.8em; color: rgba(255, 255, 255, 0.96); }
.hero__controls { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 72px; display: none; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.js .hero__controls { display: flex; }
.hero__controls > * { pointer-events: auto; }
.hero__caption { margin: 0; padding: 6px 14px 6px 12px; border-left: 4px solid var(--orange); background: rgba(3, 26, 82, 0.55); font-size: 0.85rem; font-weight: 700; border-radius: 0 6px 6px 0; }
.hero__dots { display: flex; align-items: center; gap: 4px; }
.hero__dot, .hero__pause { position: relative; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.hero__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: transparent; border: 2px solid var(--white); transition: background-color .2s, transform .2s; }
.hero__dot:hover::before { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active::before { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.hero__pause { margin-left: 6px; }
.hero__pause-icon { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; margin: -7px 0 0 -6px; border-left: 4px solid var(--white); border-right: 4px solid var(--white); }
.hero__pause[aria-pressed="true"] .hero__pause-icon { width: 0; height: 0; border: 0; border-left: 12px solid var(--white); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: -4px; }
.hero__dot:focus-visible, .hero__pause:focus-visible { outline-color: var(--white); }

/* Programme finder strip overlapping the hero */
.finder { position: relative; z-index: 5; margin-top: -52px; }
.finder__inner { display: grid; grid-template-columns: auto 1fr; align-items: stretch; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--orange); }
.finder__label { margin: 0; padding: 22px 28px; display: flex; align-items: center; background: var(--blue); color: var(--white); font-weight: 700; }
.finder__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); }
.finder__list li + li { border-left: 1px solid var(--grey-line); }
.finder__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 18px 22px; font-weight: 700; font-size: 0.85rem; line-height: 1.35; text-decoration: none; transition: background-color .2s; }
.finder__list a:hover, .finder__list a:focus-visible { background: var(--grey); }
.finder__list .tmis-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--orange-btn); }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { padding: 80px 0; }
.section--grey { background: var(--grey); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue .section__title, .section--blue h3 { color: var(--white); }
.section--content { padding: 56px 0 72px; }
.section--elementor { padding: 0; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__title { position: relative; padding-left: 24px; }
.section__title::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.section__intro { color: var(--text-soft); font-size: 1rem; margin: 0; }
.section--blue .section__intro { color: rgba(255, 255, 255, 0.88); }
.section__more { margin: 40px 0 0; }
.empty-note { padding: 28px; background: var(--grey); border-radius: var(--radius); color: var(--text-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey); }
.split__media .tmis-img, .split__media .tmis-placeholder { width: 100%; height: 100%; object-fit: cover; }

.tmis-placeholder { display: block; width: 100%; height: 100%; min-height: 100%; background: radial-gradient(circle at 78% 26%, var(--orange) 0 9%, transparent 9.5%), linear-gradient(135deg, #0a3aa0, var(--blue)); }
.tmis-img { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.card-grid { display: grid; gap: 28px; }
.cols-1 { grid-template-columns: 1fr; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-line); transition: box-shadow .25s, transform .25s; }
.card:hover, .card:focus-within { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey); }
.card__media .tmis-img { transition: transform .5s; }
.card:hover .card__media .tmis-img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; border-top: 4px solid var(--orange); }
.card__meta { margin: 0 0 6px; font-size: 0.8rem; color: var(--text-soft); }
.card__title { font-size: 1.05rem; margin-bottom: 0.5em; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__text { color: var(--text-soft); font-size: 0.9rem; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-top: auto; }
.card__link .tmis-icon { width: 18px; height: 18px; transition: transform .2s; }
.card__link:hover .tmis-icon { transform: translateX(4px); }
.tmis-icon { width: 28px; height: 28px; }

/* Icon blocks */
.icon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px 28px; }
.icon-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-soft); color: var(--orange-btn); margin-bottom: 16px; }
.icon-card__icon .tmis-icon { width: 28px; height: 28px; }
.icon-card__title { font-size: 1.02rem; }
.icon-card p { color: var(--text-soft); font-size: 0.9rem; }

/* Alternating stories */
.story-list { display: grid; gap: 36px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story--flip .story__media { order: 2; }
.story__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.story__text h3 { font-size: 1.3rem; }
.story__text p { font-size: 1rem; max-width: 46ch; }
.story__media .tmis-img, .story__media .tmis-placeholder { width: 100%; height: 100%; object-fit: cover; }
.story__text p { color: rgba(255, 255, 255, 0.9); }
.story__link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; }
.story__link:hover { color: var(--orange); }
.story__link .tmis-icon { width: 18px; height: 18px; }

/* Quick links */
.quick-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.quick-link { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 16px 20px; background: var(--white); border: 1px solid var(--grey-line); border-left: 4px solid var(--orange); border-radius: var(--radius); font-weight: 700; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.quick-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-link__icon { color: var(--orange-btn); display: inline-flex; }

/* CTA */
.cta-banner { position: relative; background: linear-gradient(110deg, #0a45c4 0%, var(--blue) 60%); color: var(--white); text-align: center; overflow: hidden; border-bottom: 6px solid var(--orange); }
.cta-banner::before { content: ""; position: absolute; right: 8%; top: 50%; width: 220px; height: 220px; margin-top: -110px; border-radius: 50%; background: var(--orange); opacity: 0.18; }
.cta-banner::after { content: ""; position: absolute; left: 6%; bottom: -70px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, 0.08); }
.cta-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.cta-banner__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip { background: var(--blue); color: var(--white); }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.cta-strip p { margin: 0; font-weight: 700; font-size: 1.1rem; }

/* ==========================================================================
   7. Inner pages
   ========================================================================== */
.page-hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero__inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 52px; }
.page-hero__title { color: var(--white); margin: 8px 0 0; max-width: 20ch; }
.page-hero__intro { margin: 12px 0 0; color: rgba(255, 255, 255, 0.9); max-width: 620px; }
.breadcrumb { font-size: 0.82rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 6px; opacity: 0.7; }

.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: 6px; }
.entry-content .alignwide { max-width: min(1200px, 94vw); margin-left: 50%; transform: translateX(-50%); width: 100%; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-table, .entry-content .table-scroll { overflow-x: auto; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--grey-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--blue); color: var(--white); }
.entry-content tbody tr:nth-child(even) { background: var(--grey); }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 700; padding: 12px 26px; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery img { border-radius: 6px; }
.entry-content .wp-block-media-text { gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey); }
.entry-content .wp-block-media-text__content { padding: 8%; }
.entry-content .has-tmis-blue-color { color: var(--blue); }
.entry-content .has-tmis-blue-background-color { background-color: var(--blue); }
.entry-content .has-tmis-orange-background-color { background-color: var(--orange); }
.entry-content .has-tmis-grey-background-color { background-color: var(--grey); }
.has-tmis-blue-color { color: var(--blue); } .has-tmis-orange-color { color: var(--orange); }
.has-tmis-blue-background-color { background-color: var(--blue); } .has-tmis-orange-background-color { background-color: var(--orange); }
.has-tmis-grey-background-color { background-color: var(--grey); } .has-tmis-text-color { color: var(--text); }
.has-tmis-grey-color { color: var(--grey); }
.has-tmis-text-background-color { background-color: var(--text); }
.lead { font-size: 1.08rem; color: var(--text-soft); }
.entry-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry-meta { color: var(--text-soft); font-size: 0.85rem; }
.entry-meta__cats { margin-left: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 24px; padding-top: 20px; border-top: 1px solid var(--grey-line); font-size: 0.9rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 32px; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--blue); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.85rem; }
.chips a:hover, .chips a[aria-current] { background: var(--blue); color: var(--white); }
.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--grey-line); border-radius: 8px; text-decoration: none; font-weight: 700; }
.page-numbers.current, a.page-numbers:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Programme detail */
.programme-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.programme-section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: calc(var(--header-h) + 20px); }
.programme-section > h2 { padding-bottom: 10px; border-bottom: 3px solid var(--orange); display: inline-block; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.section-nav a { padding: 8px 16px; background: var(--grey); border-radius: 999px; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.section-nav a:hover { background: var(--blue); color: var(--white); }
.programme-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { padding: 26px; background: var(--grey); border-radius: var(--radius); border-top: 4px solid var(--orange); margin-bottom: 24px; }
.side-box h2 { font-size: 1.15rem; }
.accordion details { border: 1px solid var(--grey-line); border-radius: 8px; margin-bottom: 10px; background: var(--white); }
.accordion summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--blue); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange-btn); }
.accordion details[open] summary::after { content: "\2212"; }
.accordion details > div { padding: 0 20px 8px; }

/* People */
.people-grid { display: grid; gap: 32px 28px; }
.people-grid.cols-1 { grid-template-columns: 1fr; } .people-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.people-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .people-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.person-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); overflow: hidden; }
.person-card__photo { aspect-ratio: 6 / 7; background: var(--grey); }
.person-card__photo .tmis-img, .person-card__photo .tmis-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-card__name { margin: 18px 20px 2px; font-size: 1.05rem; }
.person-card__role { margin: 0 20px 14px; color: var(--text-soft); font-size: 0.88rem; }
.person-card__bio { margin: 0 20px 20px; font-size: 0.88rem; }
.person-card__bio summary { cursor: pointer; color: var(--blue); font-weight: 700; }

/* Contact + forms */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.two-col--single { grid-template-columns: minmax(0, 760px); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 0.92rem; }
.contact-list__icon { color: var(--orange-btn); flex: 0 0 auto; }
.contact-list__icon .tmis-icon { width: 24px; height: 24px; }
.map-wrap { margin-top: 56px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
.enquiry-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid__full { grid-column: 1 / -1; }
.enquiry-form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--blue); }
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"], .enquiry-form select, .enquiry-form textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--text); background: var(--white); border: 2px solid #8b94a5; border-radius: 8px;
}
.enquiry-form textarea { min-height: 150px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(235, 97, 1, 0.45); outline-offset: 0; }
.form-consent { display: flex; align-items: flex-start; gap: 12px; }
.form-consent input { width: 24px; height: 24px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue); }
.form-consent label { font-weight: 400; color: var(--text); }
.req { color: var(--orange-btn); }
.form-note { font-size: 0.8rem; color: var(--text-soft); }
.hp-field { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 18px 22px; border-radius: 8px; margin-bottom: 24px; border-left: 5px solid; }
.notice ul { margin: 8px 0 0; padding-left: 1.2em; }
.notice--success { background: #e9f7ee; border-color: #1c7c3c; color: #14502a; }
.notice--error { background: #fdecea; border-color: #b3261e; color: #7a1812; }
.search-form { display: flex; gap: 10px; margin: 20px 0; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: 10px 14px; border: 2px solid #8b94a5; border-radius: 8px; font: inherit; }
.search-form input[type="submit"] { min-height: 48px; padding: 0 22px; background: var(--blue); color: var(--white); border: 0; border-radius: 999px; font: 700 0.9rem var(--font); cursor: pointer; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer { background: var(--blue-deep); color: rgba(255, 255, 255, 0.88); font-size: 0.88rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffb27a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 44px; padding-bottom: 32px; }
.footer-logo { display: inline-block; background: var(--white); padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.footer-logo img { max-height: 52px; width: auto; }
.footer-heading { color: var(--white); font-size: 1rem; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--orange); display: inline-block; }
.footer-links, .social-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-contact p { margin-bottom: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-contact .contact-list__icon { color: #ffb27a; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 14px 0; font-size: 0.8rem; }
.footer-bottom p { margin: 0; }

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.cols-5 { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: inline-block; }
	.site-nav-wrap {
		display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch;
		gap: 0; padding: 12px 24px 28px; background: var(--white); border-bottom: 3px solid var(--orange); max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 20px 30px rgba(3, 26, 82, 0.15);
	}
	.site-nav-wrap.is-open { display: flex; }
	.main-navigation { height: auto; }
	.primary-menu { flex-direction: column; height: auto; gap: 0; }
	.primary-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--grey-line); }
	.menu-link { flex: 1; min-height: 54px; padding-left: 0; font-size: 1rem; }
	.menu-link::after { display: none; }
	.submenu-toggle { width: 54px; height: 54px; }
	.mega { position: static; display: none; width: 100%; border: 0; box-shadow: none; background: var(--grey); border-radius: 8px; margin-bottom: 12px; }
	.has-mega:hover > .mega, .has-mega:focus-within > .mega { display: none; }
	.has-mega.is-open > .mega { display: block; }
	.mega__inner, .mega--cards .mega__inner { padding: 12px; display: block; }
	.mega--cards .mega__list { display: block; }
	.mega--grouped .mega__inner { display: block; }
	.mega__col { margin-bottom: 14px; }
	.header-cta { margin-top: 20px; width: 100%; }
	.admin-bar .site-header { top: 46px; }
	.split, .story, .two-col, .programme-layout { grid-template-columns: 1fr; gap: 32px; }
	.story--flip .story__media { order: 0; }
	.programme-side { position: static; }
	.cols-3, .cols-5, .people-grid.cols-3, .people-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.hero__overlay { background: linear-gradient(180deg, rgba(3, 26, 82, 0.6) 0%, rgba(3, 26, 82, 0.9) 100%); }
	.hero { height: auto; min-height: 560px; align-items: flex-end; }
	.hero__content { padding-top: 64px; padding-bottom: 120px; }
	.finder__inner { grid-template-columns: 1fr; }
	.finder__list { grid-template-columns: repeat(2, 1fr); }
	.finder__list li:nth-child(3) { border-left: 0; }
	.finder__list li:nth-child(n+3) { border-top: 1px solid var(--grey-line); }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.container { padding-left: 18px; padding-right: 18px; }
	.section { padding: 56px 0; }
	.cols-2, .cols-3, .cols-4, .cols-5, .people-grid.cols-2, .people-grid.cols-3, .people-grid.cols-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
	.hero { min-height: 600px; }
	.hero__content { padding-bottom: 190px; }
	.hero__controls { bottom: 58px; flex-direction: column; align-items: flex-start; gap: 0; }
	.hero__caption { font-size: 0.78rem; margin-bottom: 4px; }
	.hero__dots { margin-left: -12px; }
	.finder { margin-top: -40px; }
	.finder__list { grid-template-columns: 1fr; }
	.finder__list li + li { border-left: 0; border-top: 1px solid var(--grey-line); }
	.finder__list li:nth-child(3) { border-top: 1px solid var(--grey-line); }
	.hero .btn { width: 100%; }
		.map-wrap iframe { height: 320px; }
	.cta-strip__inner { flex-direction: column; align-items: flex-start; }
	.search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__slide.is-active .hero__img { animation: none; }
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.card:hover, .quick-link:hover { transform: none; }
}
@media print {
	.site-header, .site-footer, .cta-banner, .cta-strip { display: none; }
}




Footer coding

<?php
/**
 * Site footer.
 *
 * @package TMIS
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
$links  = tmis_student_links();
$social = tmis_social_links();
$copy   = tmis_get( 'footer_copyright' );
?>
</main>

<footer class="site-footer">
	<div class="container footer-grid">
		<div class="footer-col footer-col--brand">
			<div class="footer-logo"><?php echo tmis_logo(); // phpcs:ignore WordPress.Security.EscapeOutput ?></div>
			<?php if ( tmis_get( 'footer_about' ) ) : ?>
				<p><?php echo esc_html( tmis_get( 'footer_about' ) ); ?></p>
			<?php endif; ?>
			<?php if ( $social ) : ?>
				<ul class="social-links">
					<?php foreach ( $social as $label => $url ) : ?>
						<li><a href="<?php echo esc_url( $url ); ?>" rel="noopener" target="_blank"><?php echo esc_html( $label ); ?><span class="screen-reader-text"> <?php esc_html_e( '(opens in a new tab)', 'tmis' ); ?></span></a></li>
					<?php endforeach; ?>
				</ul>
			<?php endif; ?>
		</div>

		<nav class="footer-col" aria-label="<?php esc_attr_e( 'Footer links', 'tmis' ); ?>">
			<h2 class="footer-heading"><?php esc_html_e( 'Explore', 'tmis' ); ?></h2>
			<?php tmis_render_footer_links(); ?>
		</nav>

		<?php if ( $links ) : ?>
			<nav class="footer-col" aria-label="<?php esc_attr_e( 'Student information', 'tmis' ); ?>">
				<h2 class="footer-heading"><?php esc_html_e( 'Student Information', 'tmis' ); ?></h2>
				<ul class="footer-links">
					<?php foreach ( $links as $l ) : ?>
						<li><a href="<?php echo esc_url( $l['url'] ); ?>"><?php echo esc_html( $l['label'] ); ?></a></li>
					<?php endforeach; ?>
				</ul>
			</nav>
		<?php endif; ?>

		<div class="footer-col">
			<h2 class="footer-heading"><?php esc_html_e( 'Contact', 'tmis' ); ?></h2>
			<div class="footer-contact">
				<?php $details = tmis_contact_details_html(); ?>
				<?php if ( $details ) : ?>
					<?php echo $details; // phpcs:ignore WordPress.Security.EscapeOutput ?>
				<?php else : ?>
					<p><?php esc_html_e( 'For programme information and enrolment, please use our online enquiry form.', 'tmis' ); ?></p>
				<?php endif; ?>
			</div>
			<p><a class="btn btn--orange btn--small" href="<?php echo esc_url( tmis_enquire_url() ); ?>"><?php esc_html_e( 'Enquire Now', 'tmis' ); ?></a></p>
		</div>
	</div>
	<div class="footer-bottom">
		<div class="container">
			<p>
				<?php
				if ( $copy ) {
					echo esc_html( $copy );
				} else {
					/* translators: 1: year, 2: site name */
					printf( esc_html__( '&copy; %1$s %2$s. All rights reserved.', 'tmis' ), esc_html( gmdate( 'Y' ) ), esc_html( get_bloginfo( 'name' ) ) );
				}
				?>
			</p>
		</div>
	</div>
</footer>
<?php wp_footer(); ?>
</body>
</html>


2nd version CSS

/*
Theme Name: TMIS Custom Theme v3
Theme URI: https://tmis.edu.sg/
Author: Tourism Management Institute of Singapore
Description: Custom WordPress theme for the Tourism Management Institute of Singapore (TMIS). Rotating photo hero banner, editable homepage, programme post type, staff and trainer profiles, and a built-in enquiry form. Requires no page builder or plugin.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tmis
Tags: education, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready, block-patterns
*/

/* ==========================================================================
   1. Design tokens (digital approximations of the supplied Pantone/CMYK)
   ========================================================================== */
:root {
	--blue: #052b81;          /* Pantone 280 C (as in supplied logo file) */
	--blue-deep: #031a52;     /* footer / deepest blue */
	--blue-soft: #e8edf8;
	--orange: #eb6101;        /* Pantone 1505 C (as in supplied logo file) */
	--orange-btn: #c74e00;    /* orange darkened so white text passes 4.5:1 */
	--orange-btn-hover: #a84100;
	--grey: #f2f4f8;
	--grey-line: #d9dee8;
	--text: #2b2f36;
	--text-soft: #555c68;
	--white: #fff;
	--font: Verdana, Geneva, "DejaVu Sans", sans-serif;
	--header-h: 96px;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(5, 43, 129, 0.12);
	--wrap: 1200px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--blue); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--orange-btn); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; background: var(--white); color: var(--blue); padding: 12px 18px; font-weight: 700;
}
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.container--prose { max-width: 860px; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
	font: 700 0.95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--orange { background: var(--orange-btn); color: var(--white); }
.btn--orange:hover { background: var(--orange-btn-hover); color: var(--white); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--blue-soft); color: var(--blue); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--small { min-height: 42px; padding: 9px 20px; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   4. Header and navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--grey-line); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.site-branding { flex: 0 0 auto; }
.site-branding img, .custom-logo { width: auto; height: auto; max-height: 70px; max-width: 220px; object-fit: contain; }
.site-nav-wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.main-navigation { height: 100%; }
.primary-menu { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; gap: 6px; }
.primary-menu > li { display: flex; align-items: center; position: static; }
.menu-link {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px 0 14px;
	color: var(--blue); font-weight: 700; font-size: 0.95rem; text-decoration: none; position: relative;
}
.primary-menu > li:not(.has-mega) .menu-link { padding-right: 14px; }
.menu-link::after {
	content: ""; position: absolute; left: 14px; right: 8px; bottom: 6px; height: 3px; border-radius: 2px;
	background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.primary-menu > li:not(.has-mega) .menu-link::after { right: 14px; }
.menu-link:hover::after, .is-current > .menu-link::after, .has-mega:hover > .menu-link::after { transform: scaleX(1); }
.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 48px;
	background: none; border: 0; color: var(--blue); cursor: pointer; padding: 0;
}
.submenu-toggle svg { transition: transform .2s; }
.has-mega.is-open > .submenu-toggle svg, .has-mega:hover > .submenu-toggle svg { transform: rotate(180deg); }

.mega {
	display: none; position: absolute; left: 0; right: 0; top: 100%;
	background: var(--white); border-top: 3px solid var(--orange); box-shadow: 0 24px 40px rgba(3, 26, 82, 0.18);
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega, .has-mega.is-open > .mega { display: block; }
.has-mega.force-close > .mega { display: none !important; }
.mega__inner { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 36px; }
.mega--cards .mega__inner { display: block; }
.mega--cards .mega__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; max-width: 760px; }
.mega--grouped .mega__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a {
	display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; color: var(--blue);
	border-left: 3px solid transparent; transition: background-color .15s, border-color .15s;
}
.mega__list a:hover, .mega__list a:focus-visible, .mega__list a[aria-current] { background: var(--grey); border-left-color: var(--orange); color: var(--blue); }
.mega__title { display: block; font-weight: 700; font-size: 0.9rem; }
.mega__desc { display: block; font-size: 0.8rem; color: var(--text-soft); font-weight: 400; }
.mega__heading { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--grey-line); font-weight: 700; color: var(--text-soft); font-size: 0.85rem; }
.mega__heading a { text-decoration: none; color: inherit; }

.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 2px solid var(--blue); border-radius: 8px; cursor: pointer; padding: 0; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	content: ""; position: absolute; left: 11px; right: 11px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle__bars { top: 22px; }
.nav-toggle__bars::before { top: -7px; left: 0; right: 0; }
.nav-toggle__bars::after { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5. Hero slideshow
   ========================================================================== */
.hero { position: relative; height: clamp(540px, 74vh, 700px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--blue-deep); }
.hero__slides, .hero__overlay { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; z-index: 0; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active .hero__img { animation: hero-drift 9s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero { --hero-dark: 0.5; } /* HOW DARK THE PHOTO TINT IS: 0 = no tint, 0.5 = light (default), 0.8 = strong. Change only this number. */
.hero__overlay { z-index: 2; background: linear-gradient(90deg, rgba(8, 16, 40, calc(var(--hero-dark) * 1.3)) 0%, rgba(8, 16, 40, var(--hero-dark)) 38%, rgba(8, 16, 40, 0) 78%), linear-gradient(0deg, rgba(8, 16, 40, calc(var(--hero-dark) * 0.6)) 0%, transparent 30%); }
.hero__content { position: relative; z-index: 3; padding-top: 40px; padding-bottom: 120px; }
.hero__title { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 17ch; margin-bottom: 0.45em; letter-spacing: -0.01em; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.hero__text { max-width: 560px; font-size: 1.05rem; margin-bottom: 1.8em; color: rgba(255, 255, 255, 0.96); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.hero__controls { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); bottom: 72px; display: none; align-items: center; justify-content: space-between; gap: 16px; pointer-events: none; }
.js .hero__controls { display: flex; }
.hero__controls > * { pointer-events: auto; }
.hero__caption { margin: 0; padding: 6px 14px 6px 12px; border-left: 4px solid var(--orange); background: rgba(3, 26, 82, 0.55); font-size: 0.85rem; font-weight: 700; border-radius: 0 6px 6px 0; }
.hero__dots { display: flex; align-items: center; gap: 4px; }
.hero__dot, .hero__pause { position: relative; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; border-radius: 50%; }
.hero__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: transparent; border: 2px solid var(--white); transition: background-color .2s, transform .2s; }
.hero__dot:hover::before { background: rgba(255, 255, 255, 0.6); }
.hero__dot.is-active::before { background: var(--orange); border-color: var(--orange); transform: scale(1.25); }
.hero__pause { margin-left: 6px; }
.hero__pause-icon { position: absolute; left: 50%; top: 50%; width: 12px; height: 14px; margin: -7px 0 0 -6px; border-left: 4px solid var(--white); border-right: 4px solid var(--white); }
.hero__pause[aria-pressed="true"] .hero__pause-icon { width: 0; height: 0; border: 0; border-left: 12px solid var(--white); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: -4px; }
.hero__dot:focus-visible, .hero__pause:focus-visible { outline-color: var(--white); }

/* Programme finder strip overlapping the hero */
.finder { position: relative; z-index: 5; margin-top: -52px; }
.finder__inner { display: grid; grid-template-columns: auto 1fr; align-items: stretch; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--orange); }
.finder__label { margin: 0; padding: 22px 28px; display: flex; align-items: center; background: var(--blue); color: var(--white); font-weight: 700; }
.finder__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); }
.finder__list li + li { border-left: 1px solid var(--grey-line); }
.finder__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; padding: 18px 22px; font-weight: 700; font-size: 0.85rem; line-height: 1.35; text-decoration: none; transition: background-color .2s; }
.finder__list a:hover, .finder__list a:focus-visible { background: var(--grey); }
.finder__list .tmis-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--orange-btn); }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { padding: 80px 0; }
.section--grey { background: var(--grey); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue .section__title, .section--blue h3 { color: var(--white); }
.section--content { padding: 56px 0 72px; }
.section--elementor { padding: 0; }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__title { position: relative; padding-left: 24px; }
.section__title::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.section__intro { color: var(--text-soft); font-size: 1rem; margin: 0; }
.section--blue .section__intro { color: rgba(255, 255, 255, 0.88); }
.section__more { margin: 40px 0 0; }
.empty-note { padding: 28px; background: var(--grey); border-radius: var(--radius); color: var(--text-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--grey); }
.split__media .tmis-img, .split__media .tmis-placeholder { width: 100%; height: 100%; object-fit: cover; }

.tmis-placeholder { display: block; width: 100%; height: 100%; min-height: 100%; background: radial-gradient(circle at 78% 26%, var(--orange) 0 9%, transparent 9.5%), linear-gradient(135deg, #0a3aa0, var(--blue)); }
.tmis-img { width: 100%; height: 100%; object-fit: cover; }

/* Cards */
.card-grid { display: grid; gap: 28px; }
.cols-1 { grid-template-columns: 1fr; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-line); transition: box-shadow .25s, transform .25s; }
.card:hover, .card:focus-within { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey); }
.card__media .tmis-img { transition: transform .5s; }
.card:hover .card__media .tmis-img { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; border-top: 4px solid var(--orange); }
.card__meta { margin: 0 0 6px; font-size: 0.8rem; color: var(--text-soft); }
.card__title { font-size: 1.05rem; margin-bottom: 0.5em; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__text { color: var(--text-soft); font-size: 0.9rem; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-top: auto; }
.card__link .tmis-icon { width: 18px; height: 18px; transition: transform .2s; }
.card__link:hover .tmis-icon { transform: translateX(4px); }
.tmis-icon { width: 28px; height: 28px; }

/* Icon blocks */
.icon-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px 28px; }
.icon-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blue-soft); color: var(--orange-btn); margin-bottom: 16px; }
.icon-card__icon .tmis-icon { width: 28px; height: 28px; }
.icon-card__title { font-size: 1.02rem; }
.icon-card p { color: var(--text-soft); font-size: 0.9rem; }

/* Alternating stories */
.story-list { display: grid; gap: 36px; }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story--flip .story__media { order: 2; }
.story__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; }
.story__text h3 { font-size: 1.3rem; }
.story__text p { font-size: 1rem; max-width: 46ch; }
.story__media .tmis-img, .story__media .tmis-placeholder { width: 100%; height: 100%; object-fit: cover; }
.story__text p { color: rgba(255, 255, 255, 0.9); }
.story__link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; }
.story__link:hover { color: var(--orange); }
.story__link .tmis-icon { width: 18px; height: 18px; }

/* Quick links */
.quick-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.quick-link { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 16px 20px; background: var(--white); border: 1px solid var(--grey-line); border-left: 4px solid var(--orange); border-radius: var(--radius); font-weight: 700; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.quick-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.quick-link__icon { color: var(--orange-btn); display: inline-flex; }

/* CTA */
.cta-banner { position: relative; background: linear-gradient(110deg, #0a45c4 0%, var(--blue) 60%); color: var(--white); text-align: center; overflow: hidden; border-bottom: 6px solid var(--orange); }
.cta-banner::before { content: ""; position: absolute; right: 8%; top: 50%; width: 220px; height: 220px; margin-top: -110px; border-radius: 50%; background: var(--orange); opacity: 0.18; }
.cta-banner::after { content: ""; position: absolute; left: 6%; bottom: -70px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, 0.08); }
.cta-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.cta-banner__inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.cta-banner h2 { color: var(--white); }
.cta-banner p { max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip { background: var(--blue); color: var(--white); }
.cta-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.cta-strip p { margin: 0; font-weight: 700; font-size: 1.1rem; }

/* ==========================================================================
   7. Inner pages
   ========================================================================== */
.page-hero { position: relative; background: var(--blue); color: var(--white); overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero__inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 52px; }
.page-hero__title { color: var(--white); margin: 8px 0 0; max-width: 20ch; }
.page-hero__intro { margin: 12px 0 0; color: rgba(255, 255, 255, 0.9); max-width: 620px; }
.breadcrumb { font-size: 0.82rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.9); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 6px; opacity: 0.7; }

.entry-content > * { max-width: 100%; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: 6px; }
.entry-content .alignwide { max-width: min(1200px, 94vw); margin-left: 50%; transform: translateX(-50%); width: 100%; }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content .wp-block-table, .entry-content .table-scroll { overflow-x: auto; }
.entry-content table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--grey-line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--blue); color: var(--white); }
.entry-content tbody tr:nth-child(even) { background: var(--grey); }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 700; padding: 12px 26px; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery img { border-radius: 6px; }
.entry-content .wp-block-media-text { gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--grey); }
.entry-content .wp-block-media-text__content { padding: 8%; }
.entry-content .has-tmis-blue-color { color: var(--blue); }
.entry-content .has-tmis-blue-background-color { background-color: var(--blue); }
.entry-content .has-tmis-orange-background-color { background-color: var(--orange); }
.entry-content .has-tmis-grey-background-color { background-color: var(--grey); }
.has-tmis-blue-color { color: var(--blue); } .has-tmis-orange-color { color: var(--orange); }
.has-tmis-blue-background-color { background-color: var(--blue); } .has-tmis-orange-background-color { background-color: var(--orange); }
.has-tmis-grey-background-color { background-color: var(--grey); } .has-tmis-text-color { color: var(--text); }
.has-tmis-grey-color { color: var(--grey); }
.has-tmis-text-background-color { background-color: var(--text); }
.lead { font-size: 1.08rem; color: var(--text-soft); }
.entry-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry-meta { color: var(--text-soft); font-size: 0.85rem; }
.entry-meta__cats { margin-left: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0 24px; padding-top: 20px; border-top: 1px solid var(--grey-line); font-size: 0.9rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 32px; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--blue); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 0.85rem; }
.chips a:hover, .chips a[aria-current] { background: var(--blue); color: var(--white); }
.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--grey-line); border-radius: 8px; text-decoration: none; font-weight: 700; }
.page-numbers.current, a.page-numbers:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* Programme detail */
.programme-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.programme-section { padding-top: 12px; margin-bottom: 36px; scroll-margin-top: calc(var(--header-h) + 20px); }
.programme-section > h2 { padding-bottom: 10px; border-bottom: 3px solid var(--orange); display: inline-block; }
.section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.section-nav a { padding: 8px 16px; background: var(--grey); border-radius: 999px; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.section-nav a:hover { background: var(--blue); color: var(--white); }
.programme-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-box { padding: 26px; background: var(--grey); border-radius: var(--radius); border-top: 4px solid var(--orange); margin-bottom: 24px; }
.side-box h2 { font-size: 1.15rem; }
.accordion details { border: 1px solid var(--grey-line); border-radius: 8px; margin-bottom: 10px; background: var(--white); }
.accordion summary { cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--blue); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange-btn); }
.accordion details[open] summary::after { content: "\2212"; }
.accordion details > div { padding: 0 20px 8px; }

/* People */
.people-grid { display: grid; gap: 32px 28px; }
.people-grid.cols-1 { grid-template-columns: 1fr; } .people-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.people-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .people-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 20px; }
.person-card { background: var(--white); border: 1px solid var(--grey-line); border-radius: var(--radius); overflow: hidden; }
.person-card__photo { aspect-ratio: 6 / 7; background: var(--grey); }
.person-card__photo .tmis-img, .person-card__photo .tmis-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person-card__name { margin: 18px 20px 2px; font-size: 1.05rem; }
.person-card__role { margin: 0 20px 14px; color: var(--text-soft); font-size: 0.88rem; }
.person-card__bio { margin: 0 20px 20px; font-size: 0.88rem; }
.person-card__bio summary { cursor: pointer; color: var(--blue); font-weight: 700; }

/* Contact + forms */
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.two-col--single { grid-template-columns: minmax(0, 760px); }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 0.92rem; }
.contact-list__icon { color: var(--orange-btn); flex: 0 0 auto; }
.contact-list__icon .tmis-icon { width: 24px; height: 24px; }
.map-wrap { margin-top: 56px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }
.enquiry-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid__full { grid-column: 1 / -1; }
.enquiry-form label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--blue); }
.enquiry-form input[type="text"], .enquiry-form input[type="email"], .enquiry-form input[type="tel"], .enquiry-form select, .enquiry-form textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; color: var(--text); background: var(--white); border: 2px solid #8b94a5; border-radius: 8px;
}
.enquiry-form textarea { min-height: 150px; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(235, 97, 1, 0.45); outline-offset: 0; }
.form-consent { display: flex; align-items: flex-start; gap: 12px; }
.form-consent input { width: 24px; height: 24px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--blue); }
.form-consent label { font-weight: 400; color: var(--text); }
.req { color: var(--orange-btn); }
.form-note { font-size: 0.8rem; color: var(--text-soft); }
.hp-field { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.notice { padding: 18px 22px; border-radius: 8px; margin-bottom: 24px; border-left: 5px solid; }
.notice ul { margin: 8px 0 0; padding-left: 1.2em; }
.notice--success { background: #e9f7ee; border-color: #1c7c3c; color: #14502a; }
.notice--error { background: #fdecea; border-color: #b3261e; color: #7a1812; }
.search-form { display: flex; gap: 10px; margin: 20px 0; }
.search-form input[type="search"] { flex: 1; min-height: 48px; padding: 10px 14px; border: 2px solid #8b94a5; border-radius: 8px; font: inherit; }
.search-form input[type="submit"] { min-height: 48px; padding: 0 22px; background: var(--blue); color: var(--white); border: 0; border-radius: 999px; font: 700 0.9rem var(--font); cursor: pointer; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer { background: var(--blue-deep); color: rgba(255, 255, 255, 0.88); font-size: 0.88rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffb27a; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 44px; padding-bottom: 32px; }
.footer-logo { display: inline-block; background: var(--white); padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.footer-logo img { max-height: 52px; width: auto; }
.footer-heading { color: var(--white); font-size: 1rem; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 2px solid var(--orange); display: inline-block; }
.footer-links, .social-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-contact p { margin-bottom: 12px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-contact .contact-list__icon { color: #ffb27a; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 14px 0; font-size: 0.8rem; }
.footer-bottom p { margin: 0; }

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.cols-5 { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023px) {
	:root { --header-h: 76px; }
	.nav-toggle { display: inline-block; }
	.site-nav-wrap {
		display: none; position: absolute; top: 100%; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch;
		gap: 0; padding: 12px 24px 28px; background: var(--white); border-bottom: 3px solid var(--orange); max-height: calc(100vh - var(--header-h)); overflow-y: auto; box-shadow: 0 20px 30px rgba(3, 26, 82, 0.15);
	}
	.site-nav-wrap.is-open { display: flex; }
	.main-navigation { height: auto; }
	.primary-menu { flex-direction: column; height: auto; gap: 0; }
	.primary-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--grey-line); }
	.menu-link { flex: 1; min-height: 54px; padding-left: 0; font-size: 1rem; }
	.menu-link::after { display: none; }
	.submenu-toggle { width: 54px; height: 54px; }
	.mega { position: static; display: none; width: 100%; border: 0; box-shadow: none; background: var(--grey); border-radius: 8px; margin-bottom: 12px; }
	.has-mega:hover > .mega, .has-mega:focus-within > .mega { display: none; }
	.has-mega.is-open > .mega { display: block; }
	.mega__inner, .mega--cards .mega__inner { padding: 12px; display: block; }
	.mega--cards .mega__list { display: block; }
	.mega--grouped .mega__inner { display: block; }
	.mega__col { margin-bottom: 14px; }
	.header-cta { margin-top: 20px; width: 100%; }
	.admin-bar .site-header { top: 46px; }
	.split, .story, .two-col, .programme-layout { grid-template-columns: 1fr; gap: 32px; }
	.story--flip .story__media { order: 0; }
	.programme-side { position: static; }
	.cols-3, .cols-5, .people-grid.cols-3, .people-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
	.hero__overlay { background: linear-gradient(180deg, rgba(8, 16, 40, calc(var(--hero-dark) * 0.7)) 0%, rgba(8, 16, 40, calc(var(--hero-dark) * 1.5)) 100%); }
	.hero { height: auto; min-height: 560px; align-items: flex-end; }
	.hero__content { padding-top: 64px; padding-bottom: 120px; }
	.finder__inner { grid-template-columns: 1fr; }
	.finder__list { grid-template-columns: repeat(2, 1fr); }
	.finder__list li:nth-child(3) { border-left: 0; }
	.finder__list li:nth-child(n+3) { border-top: 1px solid var(--grey-line); }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.container { padding-left: 18px; padding-right: 18px; }
	.section { padding: 56px 0; }
	.cols-2, .cols-3, .cols-4, .cols-5, .people-grid.cols-2, .people-grid.cols-3, .people-grid.cols-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
	.hero { min-height: 600px; }
	.hero__content { padding-bottom: 190px; }
	.hero__controls { bottom: 58px; flex-direction: column; align-items: flex-start; gap: 0; }
	.hero__caption { font-size: 0.78rem; margin-bottom: 4px; }
	.hero__dots { margin-left: -12px; }
	.finder { margin-top: -40px; }
	.finder__list { grid-template-columns: 1fr; }
	.finder__list li + li { border-left: 0; border-top: 1px solid var(--grey-line); }
	.finder__list li:nth-child(3) { border-top: 1px solid var(--grey-line); }
	.hero .btn { width: 100%; }
		.map-wrap iframe { height: 320px; }
	.cta-strip__inner { flex-direction: column; align-items: flex-start; }
	.search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__slide.is-active .hero__img { animation: none; }
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.card:hover, .quick-link:hover { transform: none; }
}
@media print {
	.site-header, .site-footer, .cta-banner, .cta-strip { display: none; }
}
