/*
Theme Name: Excellent ICT Corporate
Theme URI: https://excellent-ict.com
Author: Excellent ICT
Author URI: https://excellent-ict.com
Description: Bilingual (English / Albanian) corporate block theme designed and developed by Excellent ICT for its own website. Five service categories, slideshow, insights, events, training videos, partners, Microsoft Bookings and a built-in contact form – all editable in WordPress. Self-hosted fonts, accessible navigation, no external trackers.
Version: 1.0.5
Requires at least: 6.6
Tested up to: 6.8
Copyright: 2026 Excellent ICT. The Excellent ICT name, logo, texts and images are the property of Excellent ICT.
Requires PHP: 7.4
Text Domain: excellent-ict-corporate
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--ict-navy: var(--wp--preset--color--navy, #0A2A5E);
	--ict-navy-deep: var(--wp--preset--color--navy-deep, #071D42);
	--ict-blue: var(--wp--preset--color--blue, #0B5ED7);
	--ict-cyan: var(--wp--preset--color--cyan, #1FB6F0);
	--ict-ink: var(--wp--preset--color--ink, #0F1B2D);
	--ict-slate: var(--wp--preset--color--slate, #4A5D7A);
	--ict-line: var(--wp--preset--color--line, #DCE4F0);
	--ict-mist: var(--wp--preset--color--mist, #F3F6FB);
	--ict-radius: 14px;
	--ict-shadow: 0 1px 2px rgba(10, 42, 94, .06), 0 8px 24px rgba(10, 42, 94, .07);
	--ict-shadow-hover: 0 2px 4px rgba(10, 42, 94, .08), 0 16px 40px rgba(10, 42, 94, .14);
	--ict-wrap: 1240px;
}

html { scroll-padding-top: 6rem; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main, .wp-site-blocks > footer { margin-block-start: 0 !important; }
::selection { background: rgba(31, 182, 240, .25); }
:where(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--ict-cyan); outline-offset: 2px; border-radius: 4px; }

.ict-wrap { width: min(100% - 2 * clamp(1rem, 4vw, 2rem), var(--ict-wrap)); margin-inline: auto; }
.ict-section { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
.ict-section.is-mist { background: var(--ict-mist); }
.ict-eyebrow { margin: 0 0 .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ict-blue); }
.ict-lead { font-size: clamp(1.0625rem, 1.6vw, 1.1875rem); color: var(--ict-slate); max-width: 46rem; }
.ict-section-head { max-width: 46rem; margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.ict-section-head h2 { margin-top: 0; }
.ict-section-head.is-center { margin-inline: auto; text-align: center; }
.ict-section-head.is-center .ict-lead { margin-inline: auto; }
.ict-skip { position: absolute; left: -999px; top: 0; z-index: 1000; background: #fff; padding: .75rem 1rem; }
.ict-skip:focus { left: 1rem; top: 1rem; }

/* ---------- Top bar + header ---------- */
.ict-top { background: var(--ict-navy-deep); color: #C9D6EA; font-size: .875rem; }
.ict-top-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 2rem; padding-block: .5rem; }
.ict-top p { margin: 0; display: inline-flex; align-items: center; gap: .5rem; }
.ict-top a { color: inherit; text-decoration: none; }
.ict-top a:hover { color: #fff; text-decoration: underline; }
.ict-top svg { width: 15px; height: 15px; flex: none; stroke: var(--ict-cyan); }
.ict-top .ict-top-note { margin-left: auto; color: #9FB3D3; }

.ict-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--ict-line); }
.admin-bar .ict-header { top: var(--wp-admin--admin-bar--height, 32px); }
.ict-nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 88px; }
.ict-nav .wp-block-site-logo img, .ict-logo img { display: block; height: 64px; width: auto; max-width: none; }
.ict-nav .wp-block-site-logo, .ict-brand, .ict-logo { margin: 0; flex: none; }
.ict-menu { flex: 1; justify-content: center; }
.ict-menu .wp-block-navigation-item__content { color: var(--ict-ink); text-decoration: none; padding: .5rem .15rem; border-bottom: 2px solid transparent; }
.ict-menu .wp-block-navigation-item__content:hover,
.ict-menu .current-menu-item > .wp-block-navigation-item__content,
.ict-menu [aria-current="page"] { color: var(--ict-blue); border-bottom-color: var(--ict-blue); }
.ict-menu .wp-block-navigation__container { gap: clamp(.7rem, 1.4vw, 1.4rem); }
.ict-schedule .wp-block-button__link { white-space: nowrap; padding: .7em 1.2em; font-size: .95rem; }
.ict-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
.ict-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.25rem; padding-block: .6rem; }
.ict-menu .wp-block-navigation__responsive-container-open svg, .ict-menu .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.ict-hero { position: relative; overflow: hidden; color: #fff; background: url("assets/hero-network.svg") center / cover no-repeat, linear-gradient(160deg, #071D42 0%, #0A2A5E 55%, #0B3F8F 100%); }
.ict-hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 9vw, 7rem); }
.ict-hero h1 { color: #fff; margin: 0 0 1.25rem; max-width: 18ch; }
.ict-hero h1 mark { background: linear-gradient(120deg, #4DA3FF, #5EEAFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ict-hero .ict-eyebrow { color: #7FD6FF; }
.ict-hero .ict-lead { color: #C9D6EA; margin-bottom: 2rem; }
.ict-hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .9375rem; color: #C9D6EA; }
.ict-hero-proof li { display: flex; align-items: center; gap: .5rem; }
.ict-hero-proof li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(31, 182, 240, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

.ict-panel { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 1.5rem; backdrop-filter: blur(6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.ict-panel p { margin: 0; }
.ict-panel-title { font-weight: 600; color: #fff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem !important; }
.ict-panel-title span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7FD6FF; }
.ict-meter { margin-bottom: 1rem !important; font-size: .9rem; color: #C9D6EA; }
.ict-meter b { float: right; color: #fff; font-weight: 600; }
.ict-meter i { display: block; clear: both; height: 6px; margin-top: .45rem; border-radius: 6px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ict-meter i::after { content: ""; display: block; height: 100%; width: var(--v, 50%); border-radius: inherit; background: linear-gradient(90deg, #0B5ED7, #1FB6F0); }
.ict-panel-foot { margin-top: 1.25rem !important; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: #9FB3D3; }

/* ---------- Homepage slider ---------- */
.ict-slider { position: relative; display: grid; background: #061733; color: #fff; overflow: hidden; }
.ict-slider > .ict-slide { grid-area: 1 / 1; margin: 0 !important; min-height: clamp(360px, 48vh, 440px) !important; padding: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.ict-slider:not(.is-ready) > .ict-slide:first-child, .ict-slider > .ict-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.ict-slider > .ict-slide { position: relative; display: flex; align-items: center; box-sizing: border-box; }
.ict-slide .wp-block-cover__background { display: none; }
.ict-slide .wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; z-index: 0;
	object-position: right center; transform: scale(1.04); transition: transform 7s ease-out; }
.ict-slide.is-active .wp-block-cover__image-background { transform: scale(1); }
.ict-slide .wp-block-cover__inner-container { position: relative; z-index: 1; width: 100%; }
.ict-slide-content { padding-block: 2.5rem 5rem; }
.ict-slide-content > * { max-width: 40rem; }
.ict-slide .ict-eyebrow { color: #7FD6FF; }
.ict-slide .ict-slide-title { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; font-weight: 800; margin: 0 0 1rem; max-width: 20ch; }
.ict-slide .ict-lead { color: #C9D6EA; margin-bottom: 1.5rem; }
.ict-slide.is-active .ict-slide-content > * { animation: ict-rise .7s ease both; }
.ict-slide.is-active .ict-slide-content > :nth-child(2) { animation-delay: .08s; }
.ict-slide.is-active .ict-slide-content > :nth-child(3) { animation-delay: .16s; }
.ict-slide.is-active .ict-slide-content > :nth-child(4) { animation-delay: .24s; }
@keyframes ict-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ict-slider-ui { position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 3; pointer-events: none; }
.ict-slider-ui .ict-wrap { display: flex; align-items: center; gap: 1rem; }
.ict-slider-ui button { pointer-events: auto; font: inherit; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; }
.ict-slider-ui button:hover { background: rgba(255,255,255,.2); }
.ict-slider-ui svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ict-dots { display: flex; gap: .5rem; pointer-events: auto; }
.ict-slider-ui .ict-dot { width: auto; height: 40px; border: 0; background: none; border-radius: 0; padding: 0 .1rem; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: .45rem; text-align: left; font-size: .8125rem; font-weight: 600; color: #9FB3D3; min-width: 9.5rem; }
.ict-slider-ui .ict-dot:hover { background: none; color: #fff; }
.ict-dot i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.ict-dot i::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3B9BFF, #5EEAFF); }
.ict-dot[aria-current="true"] { color: #fff; }
.ict-dot[aria-current="true"] i::after { width: 100%; }
.ict-slider.is-playing .ict-dot[aria-current="true"] i::after { width: 0; animation: ict-progress var(--ict-delay, 7s) linear forwards; }
@keyframes ict-progress { to { width: 100%; } }
.ict-arrows { display: flex; gap: .5rem; margin-left: auto; }
@media (max-width: 900px) {
	.ict-slide .wp-block-cover__image-background { object-position: 72% center; opacity: .55; }
	.ict-slider-ui .ict-dot { min-width: 2.25rem; }
	.ict-slider-ui .ict-dot span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.ict-slide .wp-block-cover__image-background { transform: none; }
	.ict-slide.is-active .ict-slide-content > * { animation: none; }
}

/* ---------- Buttons ---------- */
.ict-btn-light .wp-block-button__link { background: #fff; color: var(--ict-navy); }
.ict-btn-light .wp-block-button__link:hover { background: #E6F4FF; color: var(--ict-navy); }
.ict-btn-ghost .wp-block-button__link { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ict-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.is-style-outline > .wp-block-button__link, .ict-btn-outline .wp-block-button__link { background: transparent; color: var(--ict-blue); box-shadow: inset 0 0 0 1.5px var(--ict-blue); }
.ict-btn-outline .wp-block-button__link:hover { background: var(--ict-blue); color: #fff; }

/* ---------- Cards ---------- */
.ict-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.ict-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ict-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ict-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ict-grid > * { margin: 0 !important; }
.ict-card { position: relative; display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--ict-line); border-radius: var(--ict-radius); padding: clamp(1.4rem, 2.4vw, 2rem); box-shadow: var(--ict-shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ict-card > * { margin: 0 !important; }
.ict-card h3 { margin-top: .5rem !important; }
.ict-card h3 a { color: inherit; text-decoration: none; }
.ict-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ict-card:hover, .ict-card:focus-within { transform: translateY(-3px); box-shadow: var(--ict-shadow-hover); border-color: #B9D3F5; }
.ict-card p { color: var(--ict-slate); }
.ict-card .ict-more { margin-top: auto !important; padding-top: .75rem; font-weight: 600; font-size: .9375rem; color: var(--ict-blue); }
.ict-card .ict-more::after { content: " →"; }
.ict-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, #E8F1FE, #E3F7FE); }
.ict-icon img { width: 28px; height: 28px; }
.ict-card.is-featured { background: linear-gradient(160deg, #071D42, #0A2A5E 70%, #0B3F8F); border-color: transparent; color: #fff; }
.ict-card.is-featured h3, .ict-card.is-featured .ict-more { color: #fff; }
.ict-card.is-featured p { color: #C9D6EA; }
.ict-card.is-featured .ict-icon { background: rgba(255, 255, 255, .12); }
.ict-card.is-featured .ict-icon img { filter: brightness(0) invert(1); }
.ict-tag { display: inline-block; align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: #E8F1FE; color: var(--ict-blue); }
.is-featured .ict-tag { background: rgba(31, 182, 240, .2); color: #7FD6FF; }

.ict-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ict-list li { position: relative; padding-left: 1.75rem; }
.ict-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #E8F1FE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B5ED7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* ---------- Approach steps ---------- */
.ict-steps { counter-reset: step; }
.ict-step { position: relative; padding: 1.5rem 1.5rem 1.5rem 1.5rem; border-top: 3px solid var(--ict-line); }
.ict-step > * { margin: 0 !important; }
.ict-step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 2rem; line-height: 1; color: transparent; background: linear-gradient(120deg, #0B5ED7, #1FB6F0); -webkit-background-clip: text; background-clip: text; margin-bottom: .75rem; }
.ict-step:hover { border-top-color: var(--ict-blue); }
.ict-step h3 { margin-bottom: .4rem !important; }
.ict-step p { color: var(--ict-slate); }

/* ---------- Split ---------- */
.ict-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ict-split > * { margin: 0 !important; }
.ict-quote { background: var(--ict-mist); border-left: 4px solid var(--ict-blue); border-radius: 0 var(--ict-radius) var(--ict-radius) 0; padding: 1.75rem 2rem; }
.ict-quote p { margin: 0; font-size: 1.1875rem; color: var(--ict-navy); font-weight: 500; }
.ict-quote cite { display: block; margin-top: .85rem; font-style: normal; font-size: .9375rem; color: var(--ict-slate); }

/* ---------- Standards strip ---------- */
.ict-standards { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.ict-standards li { display: flex; flex-direction: column; align-items: center; min-width: 9.5rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--ict-line); border-radius: 12px; text-align: center; }
.ict-standards b { font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; color: var(--ict-navy); }
.ict-standards span { font-size: .8125rem; color: var(--ict-slate); }
.ict-note { font-size: .875rem; color: var(--ict-slate); text-align: center; margin-top: 1.25rem; }

/* ---------- Page hero ---------- */
.ict-page-hero { padding-block: clamp(2.25rem, 5vw, 3.5rem) !important; background: url("assets/hero-network.svg") 70% center / cover no-repeat, linear-gradient(160deg, #071D42, #0A2A5E 60%, #0B3F8F); color: #C9D6EA; }
.ict-page-hero h1 { color: #fff; margin: 0 0 .75rem; }
.ict-page-hero .ict-eyebrow { color: #7FD6FF; }
.ict-page-hero p { max-width: 44rem; margin: 0; font-size: 1.125rem; }
.ict-crumbs { font-size: .875rem; margin-bottom: 1rem !important; }
.ict-crumbs a { color: #9FB3D3; text-decoration: none; }
.ict-crumbs a:hover { color: #fff; }

/* ---------- Service detail ---------- */
.ict-service { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 2.5rem; padding-block: 1.75rem; border-bottom: 1px solid var(--ict-line); }
.ict-service:last-child { border-bottom: 0; }
.ict-service > * { margin: 0 !important; }
.ict-service h2 { font-size: 1.5rem; margin-bottom: .6rem !important; }
.ict-service p { color: var(--ict-slate); }
.ict-service h4 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ict-blue); margin-bottom: .75rem !important; }

/* ---------- Insights ---------- */
.ict-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.ict-posts .wp-block-post-template > li { margin: 0; }
.ict-post { height: 100%; }
.ict-post .wp-block-post-title { font-size: 1.25rem; line-height: 1.3; }
.ict-post .wp-block-post-title a { color: var(--ict-navy); text-decoration: none; }
.ict-post .wp-block-post-date, .ict-post .taxonomy-category { font-size: .8125rem; color: var(--ict-slate); }
.ict-post .taxonomy-category a { color: var(--ict-blue); text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.ict-post .wp-block-post-excerpt__excerpt { color: var(--ict-slate); margin: 0; }
.ict-post .wp-block-post-excerpt__more-text { margin-top: .75rem; }
.ict-post .wp-block-post-excerpt__more-link { font-weight: 600; text-decoration: none; }
.wp-block-query-pagination { margin-top: 2.5rem; justify-content: center; gap: .5rem; }
.ict-article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.ict-article .wp-block-post-content { font-size: 1.125rem; line-height: 1.75; }
.ict-article .wp-block-post-content h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.ict-article .wp-block-post-content :where(ul, ol) li { margin-bottom: .4rem; }
.ict-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9375rem; color: #9FB3D3; }
.ict-meta a { color: #7FD6FF; }

/* ---------- Contact ---------- */
.ict-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.ict-contact > * { margin: 0 !important; }
.ict-contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--ict-line); }
.ict-contact-item > * { margin: 0 !important; }
.ict-contact-item b { display: block; color: var(--ict-navy); }
.ict-contact-item a { text-decoration: none; }
.ict-form-card { background: #fff; border: 1px solid var(--ict-line); border-radius: 18px; padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--ict-shadow); }
.ict-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.ict-form .full { grid-column: 1 / -1; }
.ict-form label { display: block; font-weight: 600; font-size: .9375rem; color: var(--ict-navy); margin-bottom: .35rem; }
.ict-form label .opt { font-weight: 400; color: var(--ict-slate); }
.ict-form input[type=text], .ict-form input[type=email], .ict-form input[type=tel], .ict-form select, .ict-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--ict-ink); background: #fff; border: 1.5px solid #C8D4E6; border-radius: 10px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; }
.ict-form textarea { min-height: 9rem; resize: vertical; }
.ict-form :is(input, select, textarea):focus { outline: none; border-color: var(--ict-blue); box-shadow: 0 0 0 4px rgba(11, 94, 215, .15); }
.ict-form .ict-consent { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; color: var(--ict-slate); font-size: .9375rem; }
.ict-form .ict-consent input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--ict-blue); }
.ict-form button { font: inherit; font-weight: 600; font-size: 1rem; border: 0; border-radius: 10px; background: var(--ict-blue); color: #fff; padding: .9rem 1.6rem; cursor: pointer; }
.ict-form button:hover { background: var(--ict-navy); }
.ict-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ict-alert { grid-column: 1 / -1; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; margin: 0 0 .5rem; }
.ict-alert.ok { background: #E7F7EE; color: #11603A; border: 1px solid #A9E0C1; }
.ict-alert.err { background: #FDECEC; color: #8A1C1C; border: 1px solid #F3B6B6; }

/* ---------- Microsoft Bookings ---------- */
.ict-book { padding-bottom: 0; }
.ict-booking { background: #fff; border: 1px solid var(--ict-line); border-radius: 18px; box-shadow: var(--ict-shadow); overflow: hidden; }
.ict-booking iframe { display: block; width: 100%; height: 860px; border: 0; }
.ict-booking-alt { margin-top: 1rem; font-size: .9375rem; color: var(--ict-slate); }
@media (max-width: 640px) { .ict-booking iframe { height: 1100px; } }

/* ---------- CTA band + footer ---------- */
.ict-cta { background: linear-gradient(120deg, #0B5ED7 0%, #1488E8 55%, #1FB6F0 100%); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; position: relative; overflow: hidden; }
.ict-cta > * { margin: 0 !important; position: relative; }
.ict-cta::after { content: ""; position: absolute; inset: 0; background: url("assets/hero-network.svg") right center / cover no-repeat; opacity: .35; pointer-events: none; }
.ict-cta h2 { color: #fff; margin-bottom: .5rem !important; }
.ict-cta p { color: #E6F4FF; }
.ict-cta-wrap { padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2.5rem, 5vw, 4rem); }

.ict-footer { background: var(--ict-navy-deep); color: #9FB3D3; font-size: .9375rem; }
.ict-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.ict-footer-grid > * { margin: 0 !important; }
.ict-footer h2 { font-family: var(--wp--preset--font-family--body); color: #fff; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; }
.ict-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ict-footer a { color: #C9D6EA; text-decoration: none; }
.ict-footer a:hover { color: #fff; text-decoration: underline; }
.ict-footer .ict-logo img { height: 52px; }
.ict-footer-about p { margin: 1rem 0 0; max-width: 22rem; }
.ict-social { display: flex !important; gap: .5rem !important; margin-top: 1.25rem !important; }
.ict-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.ict-social a:hover { background: var(--ict-blue); }
.ict-social svg { width: 18px; height: 18px; fill: #fff; }
.ict-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.ict-footer-bottom .ict-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; font-size: .875rem; }
.ict-footer-bottom p { margin: 0; }
.ict-footer-bottom nav { display: flex; gap: 1.5rem; }

/* ---------- 404 ---------- */
.ict-404 { text-align: center; padding-block: clamp(4rem, 12vw, 8rem); }
.ict-404 .ict-big { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; margin: 0; background: linear-gradient(120deg, #0B5ED7, #1FB6F0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Language switcher ---------- */
.ict-lang { display: flex; gap: .25rem; margin-left: 1rem; }
.ict-top .ict-top-note + .ict-lang { margin-left: 1.25rem; }
.ict-lang a { padding: .1rem .45rem; border-radius: 6px; font-weight: 600; font-size: .8125rem; letter-spacing: .04em; color: #C9D6EA; text-decoration: none; }
.ict-lang a[aria-current="true"] { background: rgba(255,255,255,.14); color: #fff; }
.ict-top-inner > .ict-lang:last-child { margin-left: auto; }
.ict-top-note + .ict-lang { margin-left: 1.25rem !important; }

/* ---------- Events ---------- */
.ict-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ict-head-row h2 { margin: 0; }
.ict-head-link { font-weight: 600; text-decoration: none; }
.ict-event { flex-direction: row !important; gap: 1.1rem !important; align-items: flex-start; }
.ict-event-date { flex: none; width: 64px; padding: .55rem 0 .5rem; border-radius: 12px; text-align: center; background: linear-gradient(160deg, #0A2A5E, #0B5ED7); color: #fff; line-height: 1; }
.ict-event-date b { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; font-weight: 800; }
.ict-event-date span { display: block; margin-top: .3rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: #BFE6FF; }
.ict-event-body h3 { margin: 0 0 .35rem !important; font-size: 1.125rem; }
.ict-event-body h3 a { color: var(--ict-navy); text-decoration: none; }
.ict-event-body h3 a::after { content: ""; position: absolute; inset: 0; }
.ict-event-body p { margin: 0 0 .35rem; }
.ict-event-meta { font-size: .875rem; font-weight: 600; color: var(--ict-blue) !important; }
.ict-events.is-past .ict-event-date { background: #9FB3D3; }
.ict-past-title { margin-top: 2.5rem; font-size: 1.4rem; }
.ict-event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2.5rem; align-items: start; }
.ict-event-layout > * { margin: 0 !important; }
.ict-event-image img { border-radius: var(--ict-radius); }
.ict-event-info { background: var(--ict-mist); border: 1px solid var(--ict-line); border-radius: var(--ict-radius); padding: 1.5rem; display: grid; gap: .9rem; }
.ict-event-info p { margin: 0; }
.ict-event-info b { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ict-slate); }
.ict-slide.is-event .ict-eyebrow { display: inline-block; padding: .3rem .75rem; border-radius: 8px; background: rgba(31,182,240,.18); color: #BFE6FF; letter-spacing: .06em; }

/* ---------- Partners ---------- */
.ict-partner-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.ict-partner-list li > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; width: 220px; min-height: 120px; padding: 1.25rem; box-sizing: border-box; background: #fff; border: 1px solid var(--ict-line); border-radius: var(--ict-radius); text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.ict-partner-list a:hover { box-shadow: var(--ict-shadow-hover); border-color: #B9D3F5; }
.ict-partner-logo img { display: block; max-width: 160px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.ict-partner-name { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 1.5rem; color: var(--ict-navy); }
.ict-partner-role { font-size: .8125rem; font-weight: 600; color: var(--ict-slate); text-align: center; }

/* ---------- News ---------- */
.ict-post-thumb { margin: calc(-1 * clamp(1.4rem, 2.4vw, 2rem)) calc(-1 * clamp(1.4rem, 2.4vw, 2rem)) .5rem !important; }
.ict-post-thumb img { border-radius: var(--ict-radius) var(--ict-radius) 0 0; display: block; }
.ict-post-image img { border-radius: var(--ict-radius); }
.ict-cats { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; }
.ict-cats li a { display: inline-block; padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--ict-line); background: #fff; font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--ict-navy); }
.ict-cats li a:hover { border-color: var(--ict-blue); color: var(--ict-blue); }

@media (max-width: 900px) { .ict-event-layout { grid-template-columns: 1fr; } }

.ict-area-section + .ict-area-section { border-top: 1px solid var(--ict-line); }
.ict-area-section .ict-section-head h2 { margin-bottom: .5rem; }
.ict-service h3 { font-size: 1.3rem; margin-bottom: .5rem !important; }
.ict-area-list { list-style: none; margin: .25rem 0 0 !important; padding: 0; display: grid; gap: .35rem; }
.ict-area-list li { position: relative; padding-left: 1.1rem; font-size: .9375rem; font-weight: 500; color: var(--ict-navy); }
.ict-area-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--ict-cyan); }
.ict-areas .ict-card p { margin: 0; }
.ict-role { margin: -.75rem 0 1rem !important; font-weight: 600; color: var(--ict-blue); }

/* ---------- Training videos ---------- */
.ict-video { padding: 0 !important; overflow: hidden; gap: 0 !important; }
.ict-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #071D42; overflow: hidden; }
.ict-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.ict-video:hover .ict-video-thumb img { transform: scale(1.04); }
.ict-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(11, 94, 215, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.ict-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.ict-dur { position: absolute; right: .6rem; bottom: .6rem; padding: .15rem .45rem; border-radius: 6px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .8125rem; font-weight: 600; }
.ict-video-body { padding: 1.1rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .45rem; }
.ict-video-body > * { margin: 0 !important; }
.ict-video-body h3 { font-size: 1.125rem; }
.ict-video-body h3 a { color: var(--ict-navy); text-decoration: none; }
.ict-video-body h3 a::after { content: ""; position: absolute; inset: 0; }
.ict-video-meta { font-size: .875rem; font-weight: 600; color: var(--ict-blue); }
.ict-player { position: relative; aspect-ratio: 16 / 9; margin-bottom: 1.5rem; border-radius: var(--ict-radius); overflow: hidden; background: #000; box-shadow: var(--ict-shadow); }
.ict-player iframe, .ict-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ict-video-filter a[aria-current="true"] { background: var(--ict-blue); border-color: var(--ict-blue); color: #fff; }
.ict-pager { display: flex; justify-content: center; gap: .4rem; margin-top: 2rem; }
.ict-pager a, .ict-pager span { min-width: 2.4rem; padding: .45rem .7rem; border: 1px solid var(--ict-line); border-radius: 8px; text-align: center; text-decoration: none; }
.ict-pager span { background: var(--ict-blue); border-color: var(--ict-blue); color: #fff; }

/* ---------- Social ---------- */
.ict-social-top { display: flex; gap: .15rem; margin-left: 1.25rem; }
.ict-social-top a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; }
.ict-social-top a:hover { background: rgba(255, 255, 255, .12); }
.ict-social-top svg { width: 15px; height: 15px; fill: #C9D6EA; stroke: none !important; }
.ict-top-note + .ict-social-top { margin-left: 1.25rem; }
.ict-social-top + .ict-lang { margin-left: .75rem !important; }
.ict-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0 0; }
.ict-share span { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ict-slate); margin-right: .25rem; }
.ict-share a, .ict-share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ict-line); background: #fff; cursor: pointer; padding: 0; transition: background .15s, border-color .15s; }
.ict-share a:hover, .ict-share button:hover { background: var(--ict-blue); border-color: var(--ict-blue); }
.ict-share svg { width: 18px; height: 18px; fill: var(--ict-navy); }
.ict-share a:hover svg, .ict-share button:hover svg { fill: #fff; }
.ict-share button.is-done { background: #E7F7EE; border-color: #A9E0C1; }
.ict-event-side .ict-share { margin-top: 1.25rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ict-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ict-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.ict-hero-inner, .ict-split, .ict-contact { grid-template-columns: 1fr; }
	.ict-grid.cols-3, .ict-posts .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ict-service { grid-template-columns: 52px minmax(0, 1fr); }
	.ict-service > :last-child { grid-column: 2; }
	.ict-cta { grid-template-columns: 1fr; }
	.ict-top .ict-top-note { display: none; }
	.ict-social-top { display: none; }
}
@media (max-width: 640px) {
	.ict-grid.cols-3, .ict-grid.cols-2, .ict-grid.cols-4, .ict-posts .wp-block-post-template, .ict-form, .ict-footer-grid { grid-template-columns: 1fr; }
	.ict-top-inner { gap: .25rem 1.25rem; font-size: .8125rem; }
	.ict-top .ict-hide-sm { display: none; }
	.ict-nav { min-height: 70px; }
	.ict-nav .wp-block-site-logo img, .ict-logo img { height: 46px; }
	.ict-service { grid-template-columns: 1fr; }
	.ict-service > :last-child { grid-column: auto; }
	.ict-panel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}

.ict-main > * + * { margin-block-start: 0 !important; }
.ict-main .ict-section + .ict-section:not(.is-mist) { padding-top: clamp(1rem, 2vw, 1.5rem); }

/* ---------- Header and footer built from blocks ---------- */
.ict-top-inner > *, .ict-nav > *, .ict-cta > *, .ict-cta-text > *, .ict-footer-grid > *, .ict-footer-col > *, .ict-footer-about > *, .ict-footer-bottom .ict-wrap > * { margin-block: 0 !important; }
.ict-cta-text > h2 { margin-bottom: .5rem !important; }
.ict-footer-col > h2 { margin-bottom: 1rem !important; }
.ict-footer-about > * + * { margin-top: 1rem !important; }
.ict-top .ict-ti::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--ict-cyan); -webkit-mask: var(--ict-i) center / contain no-repeat; mask: var(--ict-i) center / contain no-repeat; }
.ict-ti-mail { --ict-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.ict-ti-phone { --ict-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.ict-ti-pin { --ict-i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11a7 7 0 0 1 14 0c0 4.9-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
figure.ict-logo { margin: 0; flex: none; }
.wp-block-social-links.ict-social, .wp-block-social-links.ict-social-top { display: flex; flex-wrap: wrap; gap: .5rem !important; padding: 0; list-style: none; font-size: 18px; }
.wp-block-social-links.ict-social .wp-social-link, .wp-block-social-links.ict-social-top .wp-social-link { background: rgba(255, 255, 255, .08) !important; color: #fff !important; border-radius: 10px; margin: 0; }
.wp-block-social-links.ict-social .wp-social-link a { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; }
.wp-block-social-links.ict-social .wp-social-link:hover { background: var(--ict-blue) !important; transform: none; }
.wp-block-social-links.ict-social-top { gap: .15rem !important; font-size: 15px; margin-left: 1.25rem !important; }
.wp-block-social-links.ict-social-top .wp-social-link { background: transparent !important; color: #C9D6EA !important; border-radius: 6px; }
.wp-block-social-links.ict-social-top .wp-social-link a { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; }
.wp-block-social-links.ict-social-top .wp-social-link:hover { background: rgba(255, 255, 255, .12) !important; transform: none; }
.wp-block-social-links .wp-social-link svg { width: 1em; height: 1em; fill: currentColor; }
.ict-legal a + a { margin-left: 1.5rem; }
.ict-nav > .wp-block-buttons { flex: none; }
/* Hamburger menu below 1100px, so the menu never squeezes the logo. */
@media (min-width: 600px) and (max-width: 1100px) {
	.ict-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.ict-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.ict-nav > .ict-menu { margin-left: auto; }
}

/* ---------- Page content from the block editor ---------- */
.ict-sections > * + * { margin-block-start: 0 !important; }
.ict-sections > :not(.ict-section):not(.ict-page-hero):not(.ict-slider):not(.ict-cta-wrap):not(.wp-block-group) { max-width: 760px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.ict-ssr-empty { padding: 1.5rem; border: 1px dashed var(--ict-line); color: var(--ict-slate); text-align: center; }

/* ---------- About page ---------- */
.ict-grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ict-split-top { align-items: start; }
.ict-prose > p { margin: 0 0 1rem; font-size: 1.0625rem; }
.ict-prose > p:last-child { margin-bottom: 0; }
.ict-hero-buttons { margin-top: 1.5rem !important; gap: .75rem; }
.ict-center-buttons { justify-content: center; margin-top: 1.5rem !important; }
.ict-highlights { padding-bottom: 0 !important; }
.ict-highlights .ict-card h3 { font-size: 1.0625rem; }
.ict-closing .ict-section-head { margin-bottom: 0; }
@media (max-width: 1100px) { .ict-grid.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 782px) { .ict-grid.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ict-grid.cols-5 { grid-template-columns: 1fr; } }
.ict-page-hero .ict-btn-outline .wp-block-button__link { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.ict-page-hero .ict-btn-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.ict-card .ict-more a { text-decoration: none; }
.ict-area-names { list-style: none; padding: 0; margin: 0 auto !important; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 900px; }
.ict-area-names li { margin: 0; padding: .55rem 1rem; border: 1px solid var(--ict-line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--ict-navy); font-size: .9375rem; }
.ict-area-names + .ict-center-buttons { margin-top: 1.75rem !important; }

/* Theme slide illustrations: always shown whole (full height, right-aligned); photos still fill the slide. */
.ict-slider { background: linear-gradient(160deg, #061733 0%, #0A2A5E 60%, #0B3F8F 100%); }
.ict-slide .wp-block-cover__image-background.ict-slide-art { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); left: auto; right: 0; width: auto; max-width: none; height: 100%; object-fit: contain; object-position: right center; }
@media (max-width: 782px) { .ict-slide .wp-block-cover__image-background.ict-slide-art { right: -18%; opacity: .45; } }

/* The Contact page already has the booking calendar and the form: no call-to-action band there. */
.page-template-contact .ict-cta-wrap { display: none; }

/* ---------- Latest: insights, news, events, videos ---------- */
.ict-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: none !important; }
.ict-head-link { margin: 0 0 .4rem !important; font-weight: 600; }
.ict-head-link a { text-decoration: none; }
.ict-latest-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; }
.ict-latest-filter button { font: inherit; font-size: .875rem; font-weight: 600; color: var(--ict-slate); background: #fff; border: 1px solid var(--ict-line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.ict-latest-filter button:hover { border-color: var(--ict-blue); color: var(--ict-blue); }
.ict-latest-filter button[aria-pressed="true"] { background: var(--ict-navy); border-color: var(--ict-navy); color: #fff; }
.ict-latest-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.ict-latest-card.is-hidden { display: none; }
.ict-latest-media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #0A2A5E, #1FB6F0); }
.ict-latest-card.is-event .ict-latest-media { background: linear-gradient(135deg, #071D42, #0B3F8F); }
.ict-latest-card.is-news .ict-latest-media { background: linear-gradient(135deg, #0B5ED7, #5EEAFF); }
.ict-latest-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ict-latest-date { position: absolute; left: 1rem; top: 1rem; background: #fff; border-radius: 10px; padding: .35rem .7rem; text-align: center; color: var(--ict-blue); font-size: .6875rem; font-weight: 600; line-height: 1.1; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.ict-latest-date b { display: block; font-family: var(--wp--preset--font-family--display); font-size: 1.6rem; font-weight: 800; color: var(--ict-navy); }
.ict-latest-media .ict-play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(255, 255, 255, .92); }
.ict-latest-media .ict-play::after { content: ""; position: absolute; left: 21px; top: 16px; border: 10px solid transparent; border-left: 15px solid var(--ict-blue); }
.ict-latest-media .ict-dur { position: absolute; right: .6rem; bottom: .6rem; background: rgba(0, 0, 0, .65); color: #fff; font-size: .75rem; padding: .1rem .45rem; border-radius: 5px; }
.ict-latest-body { padding: 1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.ict-latest-type { align-self: flex-start; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .55rem; border-radius: 6px; margin-bottom: .6rem; background: #E6F0FF; color: var(--ict-blue); }
.is-news .ict-latest-type { background: #E8F7EE; color: #1D7A46; }
.is-event .ict-latest-type { background: #FFF1DE; color: #A35B00; }
.is-video .ict-latest-type { background: #F1E9FF; color: #6B3FC9; }
.ict-latest-body h3 { font-size: 1.0625rem; line-height: 1.3; margin: 0 0 .4rem; }
.ict-latest-body h3 a { color: var(--ict-navy); text-decoration: none; }
.ict-latest-body h3 a:hover { color: var(--ict-blue); }
.ict-latest-meta { font-size: .8125rem; color: var(--ict-slate); margin: 0 0 .6rem; }
.ict-latest-cta { margin: auto 0 0 !important; font-size: .9375rem; font-weight: 600; }
.ict-latest-cta a { text-decoration: none; }

/* Top bar: the first item on the right is pushed to the right edge (items can be switched off in Setup). */
.ict-top .ict-top-inner > .ict-top-note:not(.ict-push) { margin-left: 0; }
.ict-top .ict-push { margin-left: auto !important; }


/* =========================================================================
 * Phones and tablets
 * ====================================================================== */
@media (max-width: 1100px) {
	/* A blurred sticky header would trap the full-screen menu inside it. */
	.ict-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.ict-nav { gap: .75rem; }
	.ict-nav > .ict-logo { order: 1; margin-right: auto !important; }
	.ict-nav > .wp-block-buttons { order: 2; }
	.ict-nav > .ict-menu { order: 3; flex: none; margin-left: 0 !important; }
	.ict-schedule .wp-block-button__link { padding: .6em 1em; font-size: .875rem; }

	/* Hamburger button */
	.ict-menu .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ict-line); border-radius: 10px; color: var(--ict-navy); }

	/* Full-screen menu */
	.ict-menu .wp-block-navigation__responsive-container.is-menu-open { background: var(--ict-navy-deep) !important; color: #fff !important; padding: 1rem clamp(1rem, 5vw, 2rem) 2rem !important; }
	.ict-menu .is-menu-open .wp-block-navigation__responsive-container-close { top: 1rem; right: clamp(1rem, 5vw, 2rem); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px; color: #fff; }
	.ict-menu .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem !important; align-items: stretch !important; }
	.ict-menu .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch !important; gap: 0 !important; }
	.ict-menu .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid rgba(255, 255, 255, .12); }
	.ict-menu .is-menu-open .wp-block-navigation-item__content { width: 100%; padding: .95rem 0 !important; font-size: 1.25rem !important; font-weight: 600; color: #fff !important; border-bottom: 0 !important; text-decoration: none; }
	.ict-menu .is-menu-open [aria-current="page"] { color: #7FD6FF !important; }
	.ict-menu .is-menu-open .wp-block-navigation__submenu-container { padding: 0 0 .75rem 1rem !important; background: transparent !important; gap: 0; }
	.ict-menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
	.ict-menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem 0 !important; font-size: 1.0625rem !important; font-weight: 500; color: #C9D6EA !important; }

	/* Blue band */
	.ict-cta { padding: 1.75rem 1.5rem; border-radius: 16px; }
	.ict-cta h2 { font-size: 1.5rem; }
}

@media (max-width: 640px) {
	/* Top bar: one tidy line – phone, social icons, language */
	.ict-top-inner { flex-wrap: nowrap; gap: .75rem; padding-block: .4rem; overflow: hidden; }
	.ict-top .ict-ti-mail, .ict-top .ict-ti-pin, .ict-top .ict-top-note { display: none !important; }
	.wp-block-social-links.ict-social-top { display: flex !important; flex-wrap: nowrap; margin-left: auto !important; }
	.ict-top .ict-ti-phone { white-space: nowrap; }

	/* Header row: logo · booking · menu */
	.ict-nav { min-height: 64px; gap: .5rem; }
	.ict-nav .ict-logo img { height: 40px; }
	.ict-schedule .wp-block-button__link { padding: .55em .8em; font-size: .8125rem; }

	/* Footer: about, then Services and Company side by side, then contact */
	.ict-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
	.ict-footer-grid > .ict-footer-about, .ict-footer-grid > .ict-footer-col:last-child { grid-column: 1 / -1; }
	.ict-footer { font-size: .875rem; }
	.ict-footer ul { gap: .6rem; }
	.ict-footer-bottom .ict-wrap { flex-direction: column; align-items: flex-start; gap: .5rem; }
	.ict-cta .wp-block-buttons, .ict-cta .wp-block-button { width: 100%; }
	.ict-cta .wp-block-button__link { display: block; width: 100%; box-sizing: border-box; text-align: center; white-space: normal; }
	.ict-latest-media { aspect-ratio: 21 / 9; }
	.ict-latest-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .25rem; -webkit-overflow-scrolling: touch; }
	.ict-latest-filter button { flex: none; }
}

@media (max-width: 400px) {
	/* Very small phones: shorter booking label is not possible in CSS, so the logo gets smaller. */
	.ict-nav .ict-logo img { height: 34px; }
	.ict-schedule .wp-block-button__link { padding: .5em .7em; font-size: .75rem; }
}

/* Safety net: theme sections always use the full width, even if a page or template uses a constrained layout. */
.wp-block-post-content.ict-sections > :is(.ict-section, .ict-page-hero, .ict-slider, .ict-standards, .ict-cta-wrap, section),
.wp-block-post-content.is-layout-constrained > :is(.ict-section, .ict-page-hero, .ict-slider, .ict-standards, section.wp-block-group) { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; width: 100%; }
