/* KICoB editorial system: college life presented as a clear, photo-led annual. */
:root {
	--kicob-ink: #17324a;
	--kicob-muted: #435f76;
	--kicob-blue: #0056a8;
	--kicob-blue-deep: #003b75;
	--kicob-yellow: #fffe00;
	--kicob-paper: #f7f8f6;
	--kicob-white: #fff;
	--kicob-line: #cfdae2;
	--kicob-radius-card: 0px;
	--kicob-radius-panel: 0px;
	--kicob-shadow-card: none;
	--kicob-motion: cubic-bezier(.23, 1, .32, 1);
	--kicob-space-1: 8px;
	--kicob-space-2: 16px;
	--kicob-space-3: 24px;
	--kicob-space-4: 40px;
	--kicob-space-5: 64px;
	--kicob-space-6: 96px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--kicob-paper); color: var(--kicob-ink); font-size: 17px; }
body ::selection { background: var(--kicob-yellow); color: var(--kicob-blue-deep); }
body :focus-visible { outline: 3px solid var(--kicob-yellow); outline-offset: 4px; box-shadow: 0 0 0 2px var(--kicob-blue-deep); }
body .entry-content p, body .elementor-widget-text-editor p { max-width: 70ch; line-height: 1.72; }
body .entry-content a:not(.elementor-button), body .elementor-widget-text-editor a { text-decoration-thickness: 1px; text-underline-offset: .2em; }

/* Keep the existing college banner and marks intact while tightening the header. */
.thim-ekit__header { background: #fff; }
.thim-ekit__header .elementor-15920 > .elementor-element-38f90e4 { min-height: 46px; background: var(--kicob-blue-deep); }
.thim-ekit__header .elementor-15920 > .elementor-element-38f90e4 { height: 46px; padding-block: 0 !important; }
.thim-ekit__header .elementor-15920 > .elementor-element-38f90e4 > .e-con-inner { height: 46px; min-height: 46px; padding-block: 0; }
.thim-ekit__header .elementor-15920 > .elementor-element-38f90e4 a,
.thim-ekit__header .elementor-15920 > .elementor-element-38f90e4 .elementor-heading-title { color: #fff; }
.thim-ekit__header .elementor-15920 > .elementor-element-7517b82 { height: 104px; min-height: 104px; padding-block: 0 !important; background: var(--kicob-blue); }
.thim-ekit__header .elementor-15920 > .elementor-element-7517b82 > .e-con-inner { height: 104px; min-height: 104px; padding-block: 4px; }
.thim-ekit__header .elementor-15920 > .elementor-element-7517b82 img { display: block; width: auto !important; max-width: min(100%, 785px); height: 92px !important; max-height: 92px !important; margin-inline: auto; object-fit: contain; }
.thim-ekit__header .elementor-15920 > .elementor-element-3d7f7c0 { height: 56px; min-height: 56px; padding-block: 0 !important; background: #fff; border-bottom: 1px solid #dce3e8; }
.thim-ekit__header .elementor-15920 > .elementor-element-3d7f7c0 > .e-con-inner { height: 56px; min-height: 56px; }
.thim-ekit__header .thim-ekits-menu__nav-link { transition: color 160ms var(--kicob-motion), background-color 160ms var(--kicob-motion); }
.thim-ekit__header .thim-ekits-menu__nav > .menu-item > .thim-ekits-menu__nav-link { min-height: 48px; padding-inline: clamp(12px, 1.25vw, 20px); color: var(--kicob-blue-deep); font-weight: 700; }
.thim-ekit__header .thim-ekits-menu__nav > .menu-item:hover > .thim-ekits-menu__nav-link,
.thim-ekit__header .thim-ekits-menu__nav > .current-menu-item > .thim-ekits-menu__nav-link,
.thim-ekit__header .thim-ekits-menu__nav > .current-menu-ancestor > .thim-ekits-menu__nav-link { background: #f3f6f7; color: var(--kicob-blue); box-shadow: inset 0 -3px var(--kicob-yellow); }
.thim-ekit__header .thim-ekits-menu__dropdown { border: 0; border-top: 3px solid var(--kicob-blue); border-radius: 0; box-shadow: 0 18px 34px rgba(0, 35, 68, .16); }
.thim-ekit__header .thim-ekits-menu__dropdown-item { color: var(--kicob-ink); }

/* Homepage story masthead: full-bleed photography, firm blue field, square geometry. */
.elementor .kicob-home-spotlight { padding: 0 0 48px; background: var(--kicob-paper); }
.elementor .kicob-spotlight-stage { width: 100%; max-width: none; aspect-ratio: 2.08 / 1; min-height: 570px; border-radius: 0; box-shadow: none; }
.elementor .kicob-spotlight-slide::before { background: linear-gradient(90deg, rgba(0, 43, 83, .97) 0%, rgba(0, 55, 105, .91) 38%, rgba(0, 59, 117, .62) 57%, rgba(0, 44, 88, .12) 84%); }
.elementor .kicob-spotlight-copy { width: min(62%, 870px); justify-content: center; padding: 58px clamp(28px, 7.5vw, 116px) 128px max(32px, calc((100vw - 1320px) / 2)); }
.elementor .kicob-spotlight-eyebrow { gap: 12px; margin-bottom: 16px; font-size: .78rem; letter-spacing: .08em; }
.elementor .kicob-news-badge,
.elementor .kicob-spotlight-card-label { border-radius: 0; }
.elementor .kicob-spotlight-copy h1,
.elementor .kicob-spotlight-copy h2 { max-width: 17ch; margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.65rem); line-height: 1.06; letter-spacing: -.03em; }
.elementor .kicob-spotlight-description { max-width: 58ch; margin-bottom: 24px; font-size: clamp(1rem, 1.25vw, 1.13rem); line-height: 1.65; }
.elementor .kicob-spotlight-cta { min-height: 48px; border-radius: 0; transition: background-color 160ms var(--kicob-motion), color 160ms var(--kicob-motion), transform 160ms var(--kicob-motion); }
.elementor .kicob-spotlight-cta:hover { transform: translateY(-2px); }
.elementor .kicob-spotlight-controls { right: clamp(24px, 5vw, 72px); bottom: 28px; }
.elementor .kicob-spotlight-controls button { border-radius: 0; }
.elementor .kicob-spotlight-controls .kicob-spotlight-dot { border-radius: 0; }
.elementor .kicob-spotlight-controls .kicob-spotlight-dot.is-active { border-radius: 0; }
.elementor .kicob-spotlight-bottom { width: min(1320px, calc(100% - 64px)); margin-top: 24px; }
.elementor .kicob-spotlight-bottom-heading { margin-bottom: 18px; }
.elementor .kicob-spotlight-cards { gap: 20px; }
.elementor .kicob-spotlight-card { min-height: 168px; border: 0; border-top: 3px solid var(--kicob-blue); border-radius: 0; background: transparent; box-shadow: none; padding: 16px 4px 14px; transition: background-color 180ms var(--kicob-motion), border-color 180ms var(--kicob-motion), transform 180ms var(--kicob-motion); }
.elementor .kicob-spotlight-card:hover { transform: translateY(-3px); border-color: var(--kicob-yellow); background: #edf2f4; box-shadow: none; }
.elementor .kicob-spotlight-card.is-event { background: transparent; }
.elementor .kicob-spotlight-card-label { background: var(--kicob-yellow); color: var(--kicob-blue-deep); }
.elementor .kicob-spotlight-card-title { color: var(--kicob-blue-deep); font-size: 1.12rem; line-height: 1.3; }
.elementor .kicob-spotlight-card time { color: var(--kicob-muted); }
.elementor .kicob-spotlight-card-image { height: 82px; }
.elementor .kicob-spotlight-card:has(.kicob-spotlight-card-image) { padding-top: 96px; }
.elementor .kicob-spotlight-card:has(.kicob-spotlight-card-image)::before { inset: 48px 0 auto; background: linear-gradient(180deg, transparent, var(--kicob-paper)); }

/* All Elementor content stays editable. Use spacing and full color fields as structure. */
.elementor .kicob-page-content { background: var(--kicob-paper); }
.elementor .kicob-page-content .kicob-section { padding-block: clamp(64px, 8vw, 112px); }
.elementor .kicob-page-content .kicob-section.alt { background: #eaf0f3; }
.elementor .kicob-page-content .kicob-wrap { width: min(1240px, calc(100% - 72px)); }
.elementor .kicob-page-content .kicob-section-head { gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.elementor .kicob-page-content .kicob-section-head h2,
.elementor .kicob-page-content .kicob-section > .kicob-wrap > h2,
.elementor .kicob-page-content .kicob-section > .kicob-wrap > .kicob-section-title { max-width: 18ch; color: var(--kicob-blue-deep); font-size: clamp(2.15rem, 4vw, 3.7rem); line-height: 1.03; letter-spacing: -.03em; }
.elementor .kicob-page-content .kicob-section-head p { max-width: 54ch; color: var(--kicob-muted); font-size: 1.1rem; }
.elementor .kicob-page-content :is(.kicob-card, .kicob-life-card, .kicob-quick-item, .kicob-hero-panel) { min-width: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
.elementor .kicob-page-content .kicob-card,
.elementor .kicob-page-content .kicob-quick-item { border-top: 3px solid var(--kicob-blue); transition: background-color 180ms var(--kicob-motion), border-color 180ms var(--kicob-motion), transform 180ms var(--kicob-motion); }
.elementor .kicob-page-content .kicob-card:hover,
.elementor .kicob-page-content .kicob-quick-item:hover { transform: translateY(-3px); border-color: var(--kicob-yellow); background: #f0f4f6; box-shadow: none; }
.elementor .kicob-page-content .kicob-card h3,
.elementor .kicob-page-content .kicob-life-body h3,
.elementor .kicob-page-content .kicob-quick-item strong { color: var(--kicob-blue-deep); }
.elementor .kicob-page-content .kicob-card p,
.elementor .kicob-page-content .kicob-life-body p,
.elementor .kicob-page-content .kicob-quick-item span { color: var(--kicob-muted); }
.elementor .kicob-page-content .kicob-life-card { display: flex; flex-direction: column; overflow: hidden; background: transparent; }
.elementor .kicob-page-content .kicob-life-card img { aspect-ratio: 4 / 3; transition: transform 360ms var(--kicob-motion); }
.elementor .kicob-page-content .kicob-life-card:hover img { transform: scale(1.025); }
.elementor .kicob-page-content .kicob-life-body { padding: 18px 0 0; }
.elementor .kicob-page-content .kicob-gallery { gap: 8px; }
.elementor .kicob-page-content .kicob-gallery img { min-height: 220px; border-radius: 0; }
.elementor .kicob-page-content .kicob-highlight,
.elementor .kicob-page-content .kicob-cta { border: 0; border-radius: 0; box-shadow: none; }
.elementor .kicob-page-content .kicob-highlight { border-top: 4px solid var(--kicob-yellow); background: var(--kicob-blue-deep); }
.elementor .kicob-page-content .kicob-cta { gap: 32px; background: var(--kicob-blue-deep); }
.elementor .kicob-page-content .kicob-btn,
.elementor .kicob-page-content .elementor-button { min-height: 48px; border-radius: 0; font-weight: 750; }
.elementor .kicob-page-content .kicob-btn:hover,
.elementor .kicob-page-content .elementor-button:hover { transform: translateY(-2px); }
.elementor .kicob-page-content table { border: 0; border-radius: 0; }
.elementor .kicob-page-content th { background: var(--kicob-blue-deep); color: #fff; }
.elementor .kicob-page-content th, .elementor .kicob-page-content td { padding: 16px 20px; }
.elementor .kicob-page-content tbody tr:nth-child(even) { background: #eef3f5; }

/* Image-led hero and programme summary panels use the same precise square frame. */
.elementor .kicob-page-content .kicob-hero { min-height: clamp(540px, 54vw, 680px); background-position: center 42%; }
.elementor .kicob-page-content .kicob-hero::before { position: absolute; z-index: 0; inset: 0; display: block; content: ""; background: linear-gradient(90deg, rgba(0, 38, 75, .95) 0%, rgba(0, 49, 96, .85) 45%, rgba(0, 48, 93, .35) 100%); pointer-events: none; }
.elementor .kicob-page-content .kicob-hero-content { width: min(1240px, calc(100% - 72px)); grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: clamp(40px, 7vw, 104px); padding-block: clamp(56px, 7vw, 88px); }
.elementor .kicob-page-content .kicob-hero-content { position: relative; z-index: 1; }
.elementor .kicob-page-content .kicob-hero h1 { max-width: 19ch; margin: 16px 0 20px; font-size: clamp(2.7rem, 5vw, 4.6rem); line-height: 1.01; letter-spacing: -.035em; }
.elementor .kicob-page-content .kicob-hero p { max-width: 55ch; font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.68; }
.elementor .kicob-page-content .kicob-badge { border-radius: 0; }
.elementor .kicob-program-page .badge-new,
.elementor .kicob-programme-page .badge-new,
.badge-new { border-radius: 0; background: var(--kicob-yellow); color: var(--kicob-blue-deep); }
.elementor .kicob-page-content .kicob-hero-panel { max-width: 460px; padding: clamp(24px, 3.2vw, 40px); }
.elementor .kicob-page-content .kicob-hero-panel h2,
.elementor .kicob-page-content .kicob-hero-panel h3 { font-size: clamp(1.55rem, 2.2vw, 2rem); }
.elementor .kicob-page-content .kicob-hero-panel .kicob-quick-grid { gap: 8px; }
.elementor .kicob-page-content .kicob-hero-panel .kicob-quick-item { min-height: 104px; padding: 16px; border-top-width: 2px; background: #edf2f4; }

/* Programme pathways read like an edited course catalogue, not a card catalogue. */
.home .elementor .kicob-home-featured-programme { border-radius: 0; box-shadow: none; gap: 18px 6vw; }
.home .elementor .kicob-home-featured-programme .kicob-featured-image { border-radius: 0; }
.home .elementor .kicob-home-featured-programme .kicob-featured-cta .elementor-button,
.home .elementor .kicob-home-welcome .kicob-welcome-cta .elementor-button,
.home .elementor .kicob-home-campus-life > .elementor-widget-button .elementor-button,
.home .elementor .kicob-programme-grid .elementor-button,
.home .elementor .kicob-home-cta .elementor-button { border-radius: 0; }
.home .elementor .kicob-home-degree-pathways { background: #eaf0f3; }
.home .elementor .kicob-programme-grid { gap: 32px 24px !important; }
.home .elementor .kicob-programme-grid > .e-con { padding: 22px 4px 20px; border-top: 3px solid var(--kicob-blue); border-bottom: 1px solid var(--kicob-line); border-radius: 0; background: transparent; }
.home .elementor .kicob-programme-grid > .e-con:hover { transform: translateY(-3px); border-top-color: var(--kicob-yellow); background: #fff; }
.home .elementor .kicob-home-moments { background: #eaf0f3; }
.home .elementor .kicob-home-moments-grid { gap: 8px !important; }
.home .elementor .kicob-home-moments-grid > .e-con { border-radius: 0; }
.home .elementor .kicob-home-cta { margin-top: 0; }

/* The BBA-IS page has a custom Elementor HTML module. Bring its curriculum UI
   into the same editorial system while leaving its content and tab behavior. */
.elementor .kicob-bba-page .banner-container h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem, 4.6vw, 4.2rem); line-height: 1.03; letter-spacing: -.035em; }
.elementor .kicob-bba-page .badge-new { border-radius: 0 !important; background: var(--kicob-yellow) !important; color: var(--kicob-blue-deep) !important; box-shadow: none !important; }
.elementor .kicob-bba-page :is(.detail-item, .kicob-card, .kicob-tab-btn, .cta-btn, .layer-base, .layer-front, .icon-box, .kicob-glossary) { border-radius: 0 !important; box-shadow: none !important; }
.elementor .kicob-bba-page .detail-item { border: 0; border-left: 2px solid var(--kicob-yellow); background: rgba(255,255,255,.08); }
.elementor .kicob-bba-page .layer-base { border: 0; background: rgba(255,255,255,.06); }
.elementor .kicob-bba-page .layer-front { border-color: rgba(255,255,255,.32); }
.elementor .kicob-bba-page .icon-box { background: transparent; color: var(--kicob-yellow); }
.elementor .kicob-bba-page .kicob-curriculum-container { gap: 24px; }
.elementor .kicob-bba-page .kicob-curriculum-container .kicob-card { border: 0; border-top: 3px solid var(--kicob-blue); background: #fff; padding: clamp(22px, 3vw, 36px); }
.elementor .kicob-bba-page .kicob-curriculum-container .kicob-card h2,
.elementor .kicob-bba-page .kicob-curriculum-container .kicob-card h4 { color: var(--kicob-blue-deep); }
.elementor .kicob-bba-page .kicob-tab-btn { min-height: 48px; border: 0; border-bottom: 2px solid transparent; background: #eef2f4; color: var(--kicob-blue-deep); transition: color 160ms var(--kicob-motion), background-color 160ms var(--kicob-motion), border-color 160ms var(--kicob-motion); }
.elementor .kicob-bba-page .kicob-tab-btn:hover { border-bottom-color: var(--kicob-yellow); background: #e2ebf0; }
.elementor .kicob-bba-page .kicob-tab-btn.active { border-bottom-color: var(--kicob-yellow); background: var(--kicob-blue-deep); color: #fff; }
.elementor .kicob-bba-page .kicob-curriculum-container h2 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.15; }
.elementor .kicob-bba-page .kicob-curriculum-container h3 { font-size: 1.2rem; line-height: 1.25; }
.elementor .kicob-bba-page .kicob-curriculum-container p,
.elementor .kicob-bba-page .kicob-curriculum-container li { color: var(--kicob-ink); font-size: 1rem; line-height: 1.68; }
.elementor .kicob-bba-page .kicob-curriculum-container .kicob-glossary { border: 0; border-left: 3px solid var(--kicob-blue); background: #edf2f4; }

/* News, events and staff entries have a shared publication-style grammar. */
.kicob-archive-shell { width: min(1320px, calc(100% - 72px)); }
.kicob-archive-heading { margin-bottom: clamp(36px, 6vw, 72px); padding-bottom: 28px; border-bottom: 0; }
.kicob-archive-heading h1,
.kicob-archive-intro h1 { max-width: 17ch; font-size: clamp(2.7rem, 6vw, 5.25rem); line-height: .99; letter-spacing: -.035em; }
.kicob-archive-intro { padding-block: clamp(56px, 7vw, 96px) clamp(36px, 4vw, 52px); background: #eaf0f3; }
.kicob-staff-filters { gap: 20px; margin-block: 28px 48px; padding: 20px 0; border: 0; border-top: 1px solid var(--kicob-line); border-bottom: 1px solid var(--kicob-line); border-radius: 0; background: transparent; }
.kicob-staff-filter-field select,
.kicob-staff-filters input[type="search"] { min-height: 52px; border: 1px solid #9fb3c2; border-radius: 0; background: #fff; }
.kicob-staff-filter-submit { min-height: 52px; border-radius: 0; background: var(--kicob-blue-deep); transition: background-color 160ms var(--kicob-motion), transform 160ms var(--kicob-motion); }
.kicob-staff-filter-submit:hover { background: var(--kicob-blue); }
.kicob-staff-grid { gap: 28px 20px; }
.kicob-staff-card { overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; transition: transform 200ms var(--kicob-motion); }
.kicob-staff-card:hover { transform: translateY(-3px); box-shadow: none; }
.kicob-staff-card > a > img { aspect-ratio: 4 / 3; }
.kicob-staff-card-body { padding: 16px 0 0; border-top: 3px solid var(--kicob-blue); transition: border-color 160ms var(--kicob-motion); }
.kicob-staff-card:hover .kicob-staff-card-body { border-color: var(--kicob-yellow); }
.kicob-staff-card-body h2 { font-size: 1.25rem; }
.kicob-staff-card-tags li { border-radius: 0; background: #eaf0f3; }
.kicob-profile-photo { border-radius: 0; box-shadow: none; }
.kicob-staff-profile .kicob-profile-content { border-top-color: var(--kicob-blue); }

.kicob-events-directory { --event-line: #cfdbe3; width: min(1320px, calc(100% - 72px)); padding-block: clamp(52px, 7vw, 96px); }
.kicob-events-heading { align-items: end; gap: 40px; margin-bottom: 38px; }
.kicob-events-heading h1 { font-size: clamp(2.7rem, 5.5vw, 4.8rem); line-height: 1; letter-spacing: -.035em; }
.kicob-event-tools { gap: 24px; margin: 26px 0 18px; padding: 12px 0; border: 0; border-top: 1px solid var(--event-line); border-bottom: 1px solid var(--event-line); border-radius: 0; background: transparent; box-shadow: none; }
.kicob-event-tabs { gap: 4px; }
.kicob-event-tabs button { border-radius: 0; }
.kicob-event-tabs button:hover { background: #eaf0f3; }
.kicob-event-tabs button[aria-selected="true"] { box-shadow: inset 0 -3px var(--kicob-yellow) !important; }
.kicob-event-search { border-radius: 0; }
.kicob-event-grid { gap: 32px 24px; }
.kicob-event-card { overflow: hidden; border: 0; border-top: 3px solid var(--kicob-blue); border-radius: 0; background: transparent; box-shadow: none; transition: transform 200ms var(--kicob-motion), border-color 160ms var(--kicob-motion), background-color 160ms var(--kicob-motion); }
.kicob-event-card:hover { transform: translateY(-4px); border-color: var(--kicob-yellow); background: #eef2f4; box-shadow: none; }
.kicob-event-card-media { border-radius: 0; }
.kicob-event-status { border-radius: 0; }
.kicob-event-card-content { padding: 18px 0 0; }
.kicob-event-card h2 { font-size: 1.35rem; line-height: 1.22; }
.kicob-event-card-link { position: relative; }
.kicob-event-card-link::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 2px; background: var(--kicob-yellow); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--kicob-motion); }
.kicob-event-card-link:hover::after { transform: scaleX(1); }

.single-post .kicob-editorial-shell, .single-tp_event .kicob-event-single { background: var(--kicob-paper); }
.single-post .kicob-editorial-header::before,
.single-tp_event .kicob-event-article-header::before { height: 3px; border-radius: 0; background: var(--kicob-blue); }
.single-post .kicob-editorial-meta a { border-radius: 0; background: #eaf0f3; }
.single-post .kicob-editorial-image,
.single-post .kicob-editorial-body img,
.single-tp_event .kicob-event-article-image { border-radius: 0; box-shadow: none; }
.single-post .kicob-editorial-image img,
.single-tp_event .kicob-event-article-image img { aspect-ratio: 2 / 1; }
.single-post .kicob-editorial-body blockquote { border-left-width: 3px; border-left-color: var(--kicob-blue); background: #eaf0f3; }

/* Retain every footer link while giving the five existing columns one rhythm. */
.thim-ekit__footer { background: var(--kicob-blue-deep); color: #fff; }
.thim-ekit__footer .elementor-10469 .elementor-top-section { background: var(--kicob-blue-deep) !important; }
.thim-ekit__footer .elementor-section-boxed > .elementor-container { align-items: start; }
.thim-ekit__footer .thim-header-info,
.thim-ekit__footer .thim-social-media { margin: 0; padding: 0; list-style: none; }
.thim-ekit__footer .thim-header-info li { margin: 0 0 12px; line-height: 1.5; }
.thim-ekit__footer .thim-header-info a,
.thim-ekit__footer .thim-header-info li,
.thim-ekit__footer .thim-header-info span { color: #f3f7fb; font-size: .92rem; }
.thim-ekit__footer a { transition: color 160ms var(--kicob-motion), text-decoration-color 160ms var(--kicob-motion); }
.thim-ekit__footer a:hover,
.thim-ekit__footer a:focus-visible { color: var(--kicob-yellow) !important; text-decoration: underline; text-decoration-color: var(--kicob-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.thim-ekit__footer :is(p, span, li, strong, em, small, a, h1, h2, h3, h4, h5, h6) { color: #f3f7fb !important; }
.thim-ekit__footer a:hover,
.thim-ekit__footer a:focus-visible { color: var(--kicob-yellow) !important; }
.thim-ekit__footer .elementor-widget-image img { display: block; max-width: 100%; height: auto; }
.thim-ekit__footer .thim-social-media { display: flex; flex-wrap: wrap; gap: 12px; }
.thim-ekit__footer .thim-social-media a { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.38); border-radius: 0; }
.thim-ekit__footer .thim-social-media a:hover { border-color: var(--kicob-yellow); background: rgba(255,254,0,.08); }
.thim-ekit__footer :focus-visible { outline-color: var(--kicob-yellow); }

.kicob-editorial-card, .kicob-event-card { border-radius: 0; box-shadow: none; }
.kicob-editorial-card:hover, .kicob-event-card:hover { transform: translateY(-3px); box-shadow: none; }
.kicob-editorial-card h2 a,
.kicob-event-card h2 a { text-decoration-color: transparent; text-underline-offset: .16em; transition: color 160ms var(--kicob-motion), text-decoration-color 160ms var(--kicob-motion); }
.kicob-editorial-card h2 a:hover,
.kicob-event-card h2 a:hover { color: var(--kicob-blue); text-decoration: underline; text-decoration-color: var(--kicob-yellow); text-decoration-thickness: 3px; }

/* One signature entrance, restrained image response, and clear press feedback. */
.elementor .kicob-spotlight-slide.is-active .kicob-spotlight-copy { animation: kicob-copy-enter 640ms var(--kicob-motion) both; }
@keyframes kicob-copy-enter { from { clip-path: inset(0 0 0 8%); opacity: .35; } to { clip-path: inset(0); opacity: 1; } }
.elementor :is(.kicob-spotlight-cta, .elementor-button, .kicob-staff-filter-submit):active,
.kicob-event-tabs button:active { transform: scale(.98); }
.elementor .kicob-page-content a:not(.elementor-button):hover { color: var(--kicob-blue); }
.elementor .kicob-page-content :is(.kicob-btn, .elementor-button):focus-visible,
.kicob-events-directory :is(button, a, input):focus-visible,
.kicob-staff-filters :is(select, input, button):focus-visible { outline: 3px solid var(--kicob-yellow); outline-offset: 3px; box-shadow: 0 0 0 2px var(--kicob-blue-deep); }

@media (max-width: 1024px) {
	.thim-ekit__header .elementor-15920 > .elementor-element-7517b82,
	.thim-ekit__header .elementor-15920 > .elementor-element-7517b82 > .e-con-inner { min-height: 104px; }
	.thim-ekit__header .elementor-15920 > .elementor-element-7517b82,
	.thim-ekit__header .elementor-15920 > .elementor-element-7517b82 > .e-con-inner { height: 104px; }
	.thim-ekit__header .elementor-15920 > .elementor-element-7517b82 img { max-height: 92px; }
	.elementor .kicob-spotlight-stage { aspect-ratio: 1.75 / 1; min-height: 540px; }
	.elementor .kicob-spotlight-copy { width: 72%; padding-left: 40px; }
	.elementor .kicob-spotlight-cards { gap: 16px; }
	.elementor .kicob-page-content .kicob-hero-content { width: calc(100% - 56px); grid-template-columns: minmax(0,1fr) minmax(280px,.8fr); gap: 36px; }
	.kicob-staff-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 760px) {
	.elementor .kicob-spotlight-stage { aspect-ratio: auto; min-height: 620px; }
	.elementor .kicob-spotlight-slide::before { background: linear-gradient(0deg, rgba(0, 43, 83, .97), rgba(0, 55, 105, .86) 55%, rgba(0, 48, 94, .2)); }
	.elementor .kicob-spotlight-copy { width: 100%; justify-content: flex-end; padding: 36px 24px 100px; }
	.elementor .kicob-spotlight-copy h1, .elementor .kicob-spotlight-copy h2 { max-width: 18ch; font-size: clamp(1.9rem, 7.7vw, 3rem); }
	.elementor .kicob-spotlight-controls { right: 20px; bottom: 18px; }
	.elementor .kicob-spotlight-bottom { width: calc(100% - 40px); }
	.elementor .kicob-spotlight-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.elementor .kicob-page-content .kicob-hero-content { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
	.elementor .kicob-page-content .kicob-hero-panel { max-width: none; }
	.elementor .kicob-page-content .kicob-wrap { width: calc(100% - 40px); }
	.elementor .kicob-page-content .kicob-grid-2,
	.elementor .kicob-page-content .kicob-grid-3,
	.elementor .kicob-page-content .kicob-life-grid,
	.elementor .kicob-page-content .kicob-gallery { grid-template-columns: 1fr; }
	.kicob-staff-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.kicob-events-directory { width: calc(100% - 40px); }
	.kicob-event-tools { align-items: stretch; flex-direction: column; }
	.thim-ekit__footer .elementor-section-boxed > .elementor-container { flex-wrap: wrap; }
	.thim-ekit__footer .elementor-section-boxed > .elementor-container > .elementor-column { width: 50% !important; }
}
@media (max-width: 540px) {
	.elementor .kicob-spotlight-cards { grid-template-columns: 1fr; }
	.elementor .kicob-spotlight-card { min-height: 132px; }
	.elementor .kicob-page-content .kicob-section { padding-block: 52px; }
	.elementor .kicob-page-content .kicob-hero { min-height: 0; }
	.elementor .kicob-page-content .kicob-hero h1 { font-size: clamp(2.4rem, 11vw, 3.5rem); }
	.kicob-staff-grid { grid-template-columns: 1fr; }
	.kicob-events-directory { width: calc(100% - 32px); }
	.kicob-event-card { display: grid; grid-template-columns: minmax(100px, 34%) minmax(0,1fr); }
	.kicob-event-card-media { min-height: 172px; aspect-ratio: auto; }
	.kicob-event-card-content { padding-top: 12px; }
	.kicob-event-card h2 { font-size: 1.05rem; }
	.thim-ekit__footer .elementor-section-boxed > .elementor-container > .elementor-column { width: 100% !important; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.elementor .kicob-spotlight-slide.is-active .kicob-spotlight-copy { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Flatten older programme-page modules to match the editorial system. */
.elementor .kicob-page-content :is(.kicob-icon, .kicob-line, .kicob-career-box, .kicob-quick-item, .kicob-programme-card, .kicob-requirement-card, .kicob-entry-card, .kicob-career-card, .kicob-outcome-card, .kicob-feature-card) {
	border-radius: 0 !important;
	box-shadow: none !important;
}
.elementor .kicob-page-content .kicob-icon { border: 0; background: var(--kicob-yellow); color: var(--kicob-blue-deep); }
.elementor .kicob-page-content .kicob-line { background: var(--kicob-blue); }
.elementor .kicob-page-content .kicob-career-box { border: 0; border-top: 2px solid var(--kicob-blue); background: #fff; }
body .elementor :is([class*="kicob-card"], [class*="kicob-box"], [class*="kicob-panel"], [class*="kicob-hero-panel"], [class*="kicob-pill"], [class*="kicob-badge"], [class*="kicob-icon"], [class*="kicob-quick-item"], [class*="kicob-highlight"], [class*="kicob-cta"], [class*="kicob-programme-box"], [class*="kicob-btn"]) {
	border-radius: 0 !important;
	box-shadow: none !important;
}
body .elementor :is([class*="kicob-card"], [class*="kicob-box"], [class*="kicob-quick-item"]) { border-color: var(--kicob-line); }
body .elementor :is([class*="kicob-highlight"], [class*="kicob-cta"]) { background-color: var(--kicob-blue-deep) !important; background-image: none !important; }
body .elementor :is([class*="kicob-hero-panel"], [class*="kicob-programme-box"]) { background-image: none !important; }
body .elementor .kicob-meta span { border-radius: 0 !important; box-shadow: none !important; }

/* Keep the navigation row sticky while the institution banner scrolls away. */
.thim-ekit__header .kicob-sticky-nav-placeholder { height: 0; }
.thim-ekit__header .elementor-15920 > .elementor-element-3d7f7c0.kicob-nav-is-sticky {
	position: fixed !important;
	z-index: 10020 !important;
	top: 0;
	right: 0;
	left: 0;
	width: 100% !important;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 35, 68, .14);
}
body.admin-bar .thim-ekit__header .elementor-15920 > .elementor-element-3d7f7c0.kicob-nav-is-sticky { top: 32px; }
.thim-ekit__header .elementor-15920 > .elementor-element-3d7f7c0.kicob-nav-is-sticky > .e-con-inner {
	width: min(1320px, calc(100% - 48px));
	min-height: 56px;
	margin-inline: auto;
}
.thim-ekit__header .thim-ekits-menu__dropdown {
	border: 0 !important;
	border-top: 3px solid var(--kicob-blue) !important;
	border-radius: 0 !important;
	box-shadow: 0 18px 34px rgba(0, 35, 68, .16) !important;
}
.thim-ekit__header .thim-ekits-menu__dropdown > li > .thim-ekits-menu__dropdown-item {
	min-height: 58px;
	border-bottom: 1px solid #e5ebef;
	border-radius: 0 !important;
	color: var(--kicob-ink) !important;
}
.thim-ekit__header .thim-ekits-menu__dropdown > li > .thim-ekits-menu__dropdown-item:hover,
.thim-ekit__header .thim-ekits-menu__dropdown > li > .thim-ekits-menu__dropdown-item:focus-visible {
	border-color: var(--kicob-yellow);
	background: #eef3f6;
	color: var(--kicob-blue-deep) !important;
}
.thim-ekit__header #menu-item-15764 > .thim-ekits-menu__dropdown::before,
.thim-ekit__header #menu-item-15779 > .thim-ekits-menu__dropdown::before {
	border-left: 5px solid var(--kicob-yellow);
	border-radius: 0 !important;
	background: var(--kicob-blue-deep) !important;
	background-image: none !important;
}

/* Keep Elementor-authored copy readable when a CTA panel uses the deep-blue surface. */
.elementor .kicob-page-content .kicob-cta :is(h2, h3, h4) { color: #fff !important; }
.elementor .kicob-page-content .kicob-cta :is(p, li) { color: #f1f6fb !important; }
.elementor .kicob-page-content .kicob-cta a:not(.elementor-button):not(.kicob-button) { color: #fff !important; }
.elementor .kicob-page-content .kicob-cta a:focus-visible { outline: 3px solid var(--kicob-yellow); outline-offset: 3px; }

@media (max-width: 782px) {
	body.admin-bar .thim-ekit__header .elementor-15920 > .elementor-element-3d7f7c0.kicob-nav-is-sticky { top: 46px; }
}

/* The mobile drawer must scroll as one surface; desktop mega-menu widths were
   otherwise forcing nested programme links beyond the visible drawer. */
@media (max-width: 1024px) {
	.thim-ekit__header .thim-ekits-menu__container {
		box-sizing: border-box;
		width: min(400px, calc(100vw - 20px));
		max-width: 100vw;
		max-height: 100dvh;
		background: #fff !important;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.thim-ekit__header .thim-ekits-menu__nav,
	.thim-ekit__header .thim-ekits-menu__nav > li,
	.thim-ekit__header .thim-ekits-menu__nav .thim-ekits-menu__dropdown,
	.thim-ekit__header .thim-ekits-menu__nav .thim-ekits-menu__content {
		box-sizing: border-box;
		min-width: 0 !important;
		max-width: 100% !important;
	}

	.thim-ekit__header .thim-ekits-menu__nav .thim-ekits-menu__dropdown {
		width: 100% !important;
		background: #fff !important;
		overflow-wrap: anywhere;
	}

	.thim-ekit__header .thim-ekits-menu__nav-link,
	.thim-ekit__header .thim-ekits-menu__dropdown-item,
	.thim-ekit__header .thim-ekits-menu__icon {
		color: var(--kicob-blue-deep) !important;
	}

	.thim-ekit__header .thim-ekits-menu__mobile__close {
		color: var(--kicob-blue-deep) !important;
	}

	.thim-ekit__header .thim-ekits-menu__nav .thim-ekits-menu__dropdown > li {
		width: 100%;
		padding: 0 !important;
	}

	.thim-ekit__header .thim-ekits-menu__nav .thim-ekits-menu__dropdown-item {
		display: block;
		min-height: 52px;
		padding: 14px 48px 14px 18px !important;
		white-space: normal;
		line-height: 1.4;
	}

	.thim-ekit__header .thim-ekits-menu__icon,
	.thim-ekit__header .thim-ekits-menu__mobile__dropdown-icon {
		width: 48px;
		min-width: 48px;
		min-height: 48px;
		padding: 12px !important;
	}

	.thim-ekit__header .thim-ekits-menu__nav > li > .thim-ekits-menu__nav-link {
		min-height: 50px;
		padding: 14px 56px 14px 20px !important;
		white-space: normal;
		line-height: 1.35;
	}
}

@media (max-width: 480px) {
	.thim-ekit__header .thim-ekits-menu__container {
		width: min(360px, calc(100vw - 12px));
	}

	.thim-ekit__header .thim-ekits-menu__nav .thim-ekits-menu__dropdown-item {
		padding-inline: 16px 46px !important;
		font-size: .98rem;
	}
}
