/* Standalone layer for KICoB pages, posts and Elementor output. */
:root {
	--kicob-blue: #0056a8;
	--kicob-blue-deep: #003b75;
	--kicob-yellow: #fffe00;
	--kicob-green: #3db166;
	--kicob-ink: #17324a;
	--kicob-muted: #44596d;
	--kicob-paper: #fbfaf7;
	--kicob-surface: #fff;
	--kicob-line: #dce6ef;
	--kicob-shadow-soft: 0 16px 38px rgba(0, 45, 88, .09);
	--kicob-ease: cubic-bezier(.2, .75, .25, 1);
	--kicob-content: 1200px;
}

html { scroll-padding-top: 128px; }
body, #kicob-body { background: var(--kicob-paper); color: var(--kicob-ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.7; }
body #main-content, body .content-pusher { background: var(--kicob-paper); }
body h1, body h2, body h3, body h4, body h5, body h6 { color: var(--kicob-blue-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.18; letter-spacing: -.022em; text-transform: none; text-wrap: balance; }
body h1 { font-size: clamp(2rem, 4.2vw, 3.9rem); }
body h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
body h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
body p, body li { color: var(--kicob-muted); }
body a { color: var(--kicob-blue); text-underline-offset: .18em; text-decoration-thickness: .07em; }
body a:hover { color: var(--kicob-blue-deep); }
::selection { background: var(--kicob-yellow); color: var(--kicob-blue-deep); }
:focus-visible { outline: 3px solid var(--kicob-blue); outline-offset: 3px; }

.kicob-site-header { position: relative; z-index: 100; background: var(--kicob-surface); box-shadow: 0 3px 18px rgba(16, 40, 61, .075); }
.kicob-topbar { background: var(--kicob-blue-deep); }
.kicob-topbar a:hover, .kicob-quicklinks summary:hover { color: var(--kicob-yellow); }
.kicob-primary-nav .kicob-menu a { transition: color 160ms var(--kicob-ease), background-color 160ms var(--kicob-ease); }
.kicob-primary-nav .kicob-menu a:hover, .kicob-primary-nav .current-menu-item > a { background: #eef5fa; color: var(--kicob-blue-deep); }
.kicob-primary-nav .sub-menu { border-color: var(--kicob-line); border-radius: 0 0 14px 14px; box-shadow: var(--kicob-shadow-soft); }
.kicob-primary-nav .kicob-mega-intro { background: var(--kicob-blue-deep); }
.kicob-primary-nav .kicob-mega-intro > a { background: var(--kicob-yellow); color: var(--kicob-blue-deep); }
.kicob-apply-link, .elementor .elementor-button, .elementor a.elementor-button, .kicob-button { min-height: 46px; border-radius: 8px; color: #fff !important; transition: transform 160ms var(--kicob-ease), background-color 160ms var(--kicob-ease), border-color 160ms var(--kicob-ease); }
.kicob-apply-link:hover, .elementor .elementor-button:hover, .elementor a.elementor-button:hover, .kicob-button:hover { background: var(--kicob-blue-deep); color: #fff !important; }
.kicob-apply-link:active, .elementor .elementor-button:active, .kicob-button:active { transform: scale(.98); }
.kicob-menu-toggle { min-width: 46px; min-height: 46px; }

.kicob-container { width: min(var(--kicob-content), calc(100% - 48px)); margin-inline: auto; }
.kicob-page-content { width: 100%; max-width: none; padding: 0; }
.kicob-page-entry > .entry-content { min-height: 1px; }
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-boxed > .elementor-container.elementor-column-gap-default { max-width: var(--kicob-content); }
.elementor-widget-text-editor, .elementor-widget-text-editor p { line-height: 1.75; }
.elementor-widget-heading .elementor-heading-title { color: var(--kicob-blue-deep); font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.022em; text-transform: none; text-wrap: balance; }
.elementor-widget-image img, .entry-content img { height: auto; }
.elementor-widget-icon-box, .elementor-widget-image-box { border-color: var(--kicob-line); border-radius: 14px; box-shadow: 0 8px 24px rgba(16,40,61,.045); }
.elementor-widget-icon-box .elementor-icon-box-content, .elementor-widget-image-box .elementor-image-box-content { padding: 20px; }
.elementor-widget-icon-box .elementor-icon-box-title, .elementor-widget-image-box .elementor-image-box-title { color: var(--kicob-blue-deep); }
.elementor .elementor-button { white-space: normal; }

.kicob-editorial-shell, .kicob-event-single, .kicob-archive-shell { min-height: 58vh; padding-block: clamp(40px, 6vw, 80px); }
.kicob-editorial-article { width: min(100%, 880px); margin-inline: auto; }
.kicob-editorial-header { margin: 0 auto 32px; }
.kicob-editorial-header h1 { max-width: 22ch; margin: 0 0 18px; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.05; }
.kicob-editorial-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 16px; color: #52677a; font-size: .9rem; }
.kicob-editorial-deck { max-width: 66ch; margin: 0; color: #40566b; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.6; }
.kicob-editorial-image, .kicob-event-article-image { overflow: hidden; margin: 0 0 34px; border-radius: 16px; background: #eaf1f6; }
.kicob-editorial-image img, .kicob-event-article-image img { display: block; width: 100%; max-height: 620px; object-fit: cover; }
.kicob-editorial-body { width: min(100%, 72ch); margin-inline: auto; font-size: 1.05rem; }
.kicob-editorial-body > * + * { margin-top: 1.25em; }
.kicob-editorial-body h2, .kicob-editorial-body h3 { margin-top: 1.8em; }
.kicob-editorial-body blockquote { margin-inline: 0; padding: 20px 24px; border: 0; border-radius: 12px; background: #edf4f9; color: var(--kicob-blue-deep); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.kicob-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.kicob-editorial-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--kicob-line); border-radius: 14px; background: var(--kicob-surface); box-shadow: 0 7px 24px rgba(16,40,61,.045); transition: transform 180ms var(--kicob-ease), box-shadow 180ms var(--kicob-ease); }
.kicob-editorial-card:hover { transform: translateY(-3px); box-shadow: var(--kicob-shadow-soft); }
.kicob-editorial-card-image { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #edf3f7; }
.kicob-editorial-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kicob-editorial-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.kicob-editorial-card h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.3; }
.kicob-editorial-card h2 a { color: inherit; text-decoration: none; }
.kicob-editorial-card p { margin: 0 0 14px; }
.kicob-text-link { margin-top: auto; font-weight: 700; text-decoration: none; }
.kicob-entry-header { margin: 48px auto 24px; }
.kicob-archive-heading { margin-bottom: 28px; }
.kicob-event-article { max-width: 880px; margin-inline: auto; }
.kicob-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #52677a; font-size: .9rem; }
.kicob-event-article-header { margin-bottom: 28px; }
.kicob-event-article-header h1 { max-width: 24ch; margin: 0; font-size: clamp(2.2rem, 4.7vw, 4rem); }
.kicob-event-date { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; color: var(--kicob-blue); font-weight: 750; }
.kicob-event-article-body { max-width: 72ch; margin-inline: auto; font-size: 1.05rem; }
.kicob-event-article-body > * + * { margin-top: 1.25em; }
.kicob-pagination { margin-block: 36px 0; text-align: center; }
.kicob-not-found { min-height: 56vh; padding-block: clamp(72px, 12vw, 144px); }
.kicob-not-found h1 { max-width: 20ch; }

.kicob-footer { margin-top: 48px; background: var(--kicob-blue-deep); color: #fff; }
.kicob-footer-main { padding-block: 52px; }
.kicob-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.kicob-footer .widget-title, .kicob-footer h2, .kicob-footer h3 { color: #fff; font-size: 1.15rem; }
.kicob-footer p, .kicob-footer li, .kicob-footer a { color: #f2f6fa; }
.kicob-footer a:hover { color: var(--kicob-yellow); }
.kicob-footer-bottom { border-top: 1px solid rgba(255,255,255,.18); }
.kicob-footer-bottom > .kicob-container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 64px; }
.kicob-footer-bottom p { margin: 0; color: #f2f6fa; font-size: .88rem; }

@media (max-width: 900px) {
	.kicob-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kicob-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.kicob-container { width: min(var(--kicob-content), calc(100% - 32px)); }
	.kicob-editorial-shell, .kicob-event-single, .kicob-archive-shell { padding-block: 36px 52px; }
	.kicob-editorial-grid { grid-template-columns: 1fr; gap: 16px; }
	.kicob-editorial-card-body { padding: 18px; }
	.kicob-footer { margin-top: 30px; }
	.kicob-footer-grid { grid-template-columns: 1fr; gap: 20px; }
	.kicob-footer-main { padding-block: 36px; }
	.kicob-footer-bottom > .kicob-container { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
