/* =========================================================
   Hanno Rotterdam BV — brand overrides & bespoke components
   Base template: Industry (Dexignzone) — skin-4 (blue) overridden
   with a Shell-inspired light / yellow energy-industry palette.
   ========================================================= */

:root {
	--color-primary: #ffc800;
	--color-secondry: #1a1a1a;
	--color-hover: #e6b400;
	--rgba-primary-1: rgba(255,200,0,0.1);
	--rgba-primary-2: rgba(255,200,0,0.2);
	--rgba-primary-3: rgba(255,200,0,0.3);
	--rgba-primary-4: rgba(255,200,0,0.4);
	--rgba-primary-5: rgba(255,200,0,0.5);
	--rgba-primary-6: rgba(255,200,0,0.6);
	--rgba-primary-7: rgba(255,200,0,0.7);
	--rgba-primary-8: rgba(255,200,0,0.8);
	--rgba-primary-9: rgba(255,200,0,0.9);
	--hanno-navy: #1a1a1a;
	--hanno-navy-deep: #0f0f0f;
	--hanno-navy-panel: #f5f5f5;
	--hanno-gold: #ffc800;

	/* Shell-inspired design tokens */
	--brand-yellow: #ffc800;
	--brand-yellow-dark: #e6b400;
	--text-primary: #1a1a1a;
	--text-secondary: #4a4a4a;
	--text-secondary-2: #6b6b6b;
	--text-muted: #9a9a9a;
	--surface-white: #ffffff;
	--surface-light: #f5f5f5;
	--border-light: #e0e0e0;
	--overlay-40: rgba(0,0,0,0.4);
	--overlay-60: rgba(0,0,0,0.6);
	--overlay-90: rgba(0,0,0,0.9);
}

/* =========================================================
   0. PAGE BANNER — interior page title/breadcrumb banner
   (the homepage uses .hanno-hero instead, so this doesn't touch it)
   ========================================================= */
.dlab-bnr-inr,
.dlab-bnr-inr .dlab-bnr-inr-entry {
	height: 50vh;
}

/* =========================================================
   0b. UTILITY BAR — thin identity strip above the main nav
   (mirrors shell.com's "🌐 Shell Global" bar)
   ========================================================= */
.hanno-utility-bar {
	background: var(--surface-light);
	border-bottom: 1px solid var(--border-light);
	font-size: 13px;
}
.hanno-utility-bar .container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-top: 8px;
	padding-bottom: 8px;
	color: var(--text-secondary-2);
}
.hanno-utility-bar i { margin-right: 8px; font-size: 12px; }

/* =========================================================
   1. HERO — Shell-style framed image banner with a slow zoom
   (.hanno-hero--full on the homepage makes it a true full-screen banner —
   other pages keep the smaller framed card layout below)
   ========================================================= */
.hanno-hero {
	position: relative;
	padding: 22px 0 0;
	background: var(--surface-white);
}
.hanno-hero__frame {
	position: relative;
	height: 620px;
	max-height: 74vh;
	min-height: 420px;
	border-radius: 14px;
	overflow: hidden;
}
.hanno-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.hanno-hero__img {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
	object-position: center;
	transform-origin: center center;
	backface-visibility: hidden;
	pointer-events: none;
	animation: hannoHeroZoom 25s ease-in-out infinite alternate;
}
@keyframes hannoHeroZoom {
	from { transform: scale(1); }
	to { transform: scale(1.18); }
}
.hanno-hero__card {
	position: absolute;
	z-index: 2;
	left: 40px;
	top: 50%;
	transform: translateY(-50%);
	width: calc(100% - 80px);
	max-width: 460px;
	background: rgba(15,15,15,0.62);
	color: #fff;
	padding: 34px 32px;
	border-radius: 10px;
}
.hanno-hero__eyebrow {
	letter-spacing: 3px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
	color: var(--brand-yellow);
	margin-bottom: 16px;
	display: inline-block;
}
.hanno-hero__card h1 {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 16px;
	color: #fff;
}
.hanno-hero__card p {
	font-size: 16px;
	color: rgba(255,255,255,0.85);
	margin-bottom: 26px;
}
.hanno-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 767px) {
	.hanno-hero__frame { height: 520px; border-radius: 0; }
	.hanno-hero__card { left: 20px; width: calc(100% - 40px); max-width: none; padding: 26px 22px; }
	.hanno-hero__card h1 { font-size: 24px; }
}

/* --- full-screen variant (homepage) --- */
.hanno-hero--full { padding: 0; }
.hanno-hero--full .hanno-hero__frame {
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	max-height: none;
	border-radius: 0;
}
.hanno-hero--full .hanno-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(90deg, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0.38) 42%, rgba(10,10,10,0.06) 68%),
		linear-gradient(0deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0) 30%);
}
.hanno-hero--full .hanno-hero__inner {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
}
.hanno-hero--full .hanno-hero__card {
	position: static;
	left: auto; top: auto; transform: none;
	width: auto;
	max-width: 560px;
	background: transparent;
	padding: 34px 0;
	border-radius: 0;
}
.hanno-hero--full .hanno-hero__card h1 {
	font-size: 44px;
	line-height: 1.18;
	text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.hanno-hero--full .hanno-hero__card p {
	font-size: 17px;
	max-width: 480px;
}
.hanno-hero__scroll {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255,255,255,0.55);
	border-radius: 50%;
	color: #fff;
	font-size: 16px;
	animation: hannoScrollBounce 2s ease-in-out infinite;
}
.hanno-hero__scroll:hover { color: var(--brand-yellow); border-color: var(--brand-yellow); }
@keyframes hannoScrollBounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 991px) {
	.hanno-hero--full .hanno-hero__card h1 { font-size: 34px; }
}
@media (max-width: 767px) {
	.hanno-hero--full .hanno-hero__frame { height: 100vh; height: 100svh; min-height: 560px; }
	.hanno-hero--full .hanno-hero__card { padding: 26px 0; }
	.hanno-hero--full .hanno-hero__card h1 { font-size: 26px; }
	.hanno-hero__scroll { display: none; }
}

/* =========================================================
   2. STAT RIBBON (below hero)
   ========================================================= */
.hanno-ribbon {
	background: var(--surface-light);
	border-bottom: 1px solid var(--border-light);
	padding: 26px 0;
}
.hanno-ribbon__item {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--text-primary);
	padding: 6px 0;
}
.hanno-ribbon__item i { font-size: 26px; color: var(--brand-yellow-dark); }
.hanno-ribbon__item strong { display: block; font-size: 15px; font-weight: 700; }
.hanno-ribbon__item span { font-size: 13px; color: var(--text-secondary-2); }

/* =========================================================
   3. TIMELINE (heritage section)
   ========================================================= */
.hanno-timeline { position: relative; padding-left: 0; }
.hanno-timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--rgba-primary-6);
	transform: translateX(-50%);
}
.hanno-timeline__item {
	width: 50%;
	padding: 0 40px 50px;
	position: relative;
}
.hanno-timeline__item:nth-child(odd) { margin-right: auto; text-align: right; }
.hanno-timeline__item:nth-child(even) { margin-left: auto; text-align: left; }
.hanno-timeline__dot {
	position: absolute;
	top: 4px;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--brand-yellow);
	border: 3px solid var(--surface-white);
	box-shadow: 0 0 0 1px var(--border-light);
}
.hanno-timeline__item:nth-child(odd) .hanno-timeline__dot { right: -8px; }
.hanno-timeline__item:nth-child(even) .hanno-timeline__dot { left: -8px; }
.hanno-timeline__year { font-size: 24px; font-weight: 700; color: var(--text-primary); }
@media (max-width: 767px) {
	.hanno-timeline::before { left: 8px; }
	.hanno-timeline__item,
	.hanno-timeline__item:nth-child(odd),
	.hanno-timeline__item:nth-child(even) {
		width: 100%; text-align: left !important; padding-left: 34px; padding-right: 0; margin-left: 0;
	}
	.hanno-timeline__item:nth-child(odd) .hanno-timeline__dot,
	.hanno-timeline__item:nth-child(even) .hanno-timeline__dot { left: 0; right: auto; }
}

/* =========================================================
   4. TERMINAL NETWORK CARDS
   ========================================================= */
.hanno-terminal-card {
	display: block;
	background: var(--surface-white);
	border-radius: 4px;
	padding: 30px 24px;
	border: 1px solid var(--border-light);
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
	border-top: 3px solid var(--brand-yellow);
	height: 100%;
	transition: transform .25s ease, box-shadow .25s ease;
}
.hanno-terminal-card:hover { transform: translateY(-6px); box-shadow: 0 12px 28px rgba(0,0,0,0.1); }
.hanno-terminal-card.is-flagship { border-top-color: var(--hanno-navy); background: var(--hanno-navy); color: #fff; }
.hanno-terminal-card.is-flagship .hanno-terminal-card__meta { color: rgba(255,255,255,0.7); }
.hanno-terminal-card.is-flagship h4,
.hanno-terminal-card.is-flagship p { color: #fff; }
.hanno-terminal-card__meta { font-size: 13px; color: var(--text-secondary-2); margin-bottom: 6px; }
.hanno-terminal-card h4 { margin-bottom: 10px; }
.hanno-terminal-card .badge-flagship {
	display: inline-block;
	background: var(--brand-yellow);
	color: var(--text-primary);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 12px;
}

/* =========================================================
   5. FAQ ACCORDION (bootstrap accordion re-skin)
   ========================================================= */
.hanno-faq .accordion-item { border: none; border-bottom: 1px solid var(--border-light); border-radius: 0; }
.hanno-faq .accordion-button {
	font-weight: 600;
	color: var(--text-primary);
	padding: 22px 6px;
	box-shadow: none;
}
.hanno-faq .accordion-button:not(.collapsed) { color: var(--brand-yellow-dark); background: transparent; }
.hanno-faq .accordion-button:focus { box-shadow: none; }
.hanno-faq .accordion-body { padding: 0 6px 22px; color: var(--text-secondary); }

/* =========================================================
   6. LOCATION MAP
   ========================================================= */
.hanno-map-wrap { position: relative; height: 100%; min-height: 380px; overflow: hidden; }
.hanno-map-wrap > iframe, .hanno-map-wrap > img { width: 100%; height: 100%; min-height: 380px; border: 0; object-fit: cover; filter: grayscale(0.15) contrast(1.05); }
.hanno-map-wrap--lg, .hanno-map-wrap--lg > iframe, .hanno-map-wrap--lg > img, .hanno-map-wrap--lg > #hanno-world-map { min-height: 640px; }
.hanno-map-wrap--sat > iframe, .hanno-map-wrap--sat > img { filter: none; }
@media (max-width: 767px) {
	.hanno-map-wrap--lg, .hanno-map-wrap--lg > iframe { min-height: 420px; }
}

/* =========================================================
   7. SIDE PANEL — quick links / recently viewed / newsletter
   ========================================================= */
.hanno-panel-toggle {
	position: fixed;
	top: 45%;
	right: 0;
	z-index: 1050;
	background: var(--brand-yellow);
	color: var(--text-primary);
	border: none;
	padding: 16px 10px;
	border-radius: 6px 0 0 6px;
	cursor: pointer;
	box-shadow: -2px 0 10px rgba(0,0,0,0.15);
	writing-mode: vertical-rl;
	letter-spacing: 2px;
	font-size: 12px;
	text-transform: uppercase;
}
.hanno-panel-toggle i { display: block; margin: 0 0 8px; writing-mode: horizontal-tb; font-size: 16px; color: var(--text-primary); }
.hanno-panel {
	position: fixed;
	top: 0;
	right: -380px;
	width: 360px;
	max-width: 88vw;
	height: 100%;
	background: var(--surface-white);
	z-index: 1200;
	box-shadow: -8px 0 30px rgba(0,0,0,0.15);
	transition: right .35s ease;
	overflow-y: auto;
}
.hanno-panel.is-open { right: 0; }
.hanno-panel__head {
	background: var(--hanno-navy);
	color: #fff;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.hanno-panel__head h5 { margin: 0; color: #fff; }
.hanno-panel__close { background: none; border: none; color: #fff; font-size: 20px; cursor: pointer; }
.hanno-panel__section { padding: 22px 24px; border-bottom: 1px solid var(--border-light); }
.hanno-panel__section h6 { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: var(--text-secondary-2); margin-bottom: 14px; }
.hanno-panel__links li { margin-bottom: 10px; }
.hanno-panel__links a { color: var(--text-primary); font-weight: 600; }
.hanno-panel__links a:hover { color: var(--brand-yellow-dark); }
.hanno-panel__visited li { font-size: 14px; margin-bottom: 8px; }
.hanno-panel__visited a { color: var(--text-secondary); }
.hanno-panel__visited .empty { color: var(--text-muted); font-style: italic; font-size: 13px; }
.hanno-panel-backdrop {
	position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1150;
	opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.hanno-panel-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* =========================================================
   8. LIVE TERMINAL CONDITIONS WIDGET (Open-Meteo, free/no-key API)
   ========================================================= */
.hanno-live-widget {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--border-light);
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid var(--border-light);
}
.hanno-live-widget__item {
	background: var(--surface-white);
	padding: 26px 18px;
	text-align: center;
}
.hanno-live-widget__item i { font-size: 24px; color: var(--brand-yellow-dark); margin-bottom: 10px; display: block; }
.hanno-live-widget__item .label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary-2); margin-bottom: 6px; }
.hanno-live-widget__item .value { display: block; font-size: 22px; font-weight: 700; color: var(--text-primary); }
.hanno-live-widget__note { font-size: 12px; color: var(--text-secondary-2); text-align: center; margin-top: 10px; }
@media (max-width: 767px) {
	.hanno-live-widget { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   9. Misc utility
   ========================================================= */
.hanno-quote-mark { font-size: 44px; color: var(--rgba-primary-9); line-height: 1; margin-bottom: 10px; display: block; }
.hanno-split-img { border-radius: 4px; box-shadow: 0 15px 40px rgba(0,0,0,0.12); border: 1px solid var(--border-light); }
.hanno-eyebrow { color: var(--brand-yellow-dark); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }

/* =========================================================
   9c. SHELL "THROUGH THE LIFECYCLE" DOCUMENT-PAGE PATTERN
   ========================================================= */
.hanno-lifecycle-card { background: var(--surface-light); border-radius: 10px; padding: 34px; }
.hanno-lifecycle-card p:last-child { margin-bottom: 0; }
.hanno-lifecycle-heading { text-align: center; padding: 50px 20px 10px; }
.hanno-lifecycle-heading h2 { margin: 0; }

.hanno-download-band { background: var(--surface-light); border-radius: 10px; padding: 22px; }
.hanno-download-cta {
	display: flex;
	align-items: center;
	gap: 18px;
	background: var(--brand-yellow);
	border-radius: 8px;
	padding: 18px 26px;
	font-weight: 700;
	color: var(--text-primary) !important;
}
.hanno-download-cta:hover { background: var(--brand-yellow-dark); }
.hanno-download-cta__icon {
	width: 34px; height: 34px; border-radius: 50%;
	background: var(--text-primary); color: var(--brand-yellow);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0; font-size: 13px;
}

.hanno-readmore { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-primary); font-size: 14px; }
.hanno-readmore i { font-size: 12px; transition: transform .2s ease; }
.hanno-topic-card:hover .hanno-readmore i { transform: translateX(4px); }

.hanno-topic-card { display: flex; flex-direction: column; height: 100%; background: var(--surface-white); border: 1px solid var(--border-light); border-radius: 10px; overflow: hidden; transition: box-shadow .2s ease; }
.hanno-topic-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,0.1); }
.hanno-topic-card__img { height: 210px; background-size: cover; background-position: center; }
.hanno-topic-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.hanno-topic-card__body h3 { font-size: 19px; margin-bottom: 10px; }
.hanno-topic-card__body p { flex: 1; }

/* numbered process-step cards (Shell "how it works" pattern) */
.hanno-step-card { background: var(--surface-light); border-radius: 10px; padding: 28px 26px; height: 100%; }
.hanno-step-card__num {
	width: 42px; height: 42px; border-radius: 50%;
	background: var(--brand-yellow); color: var(--text-primary);
	display: flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.hanno-step-card h3 { font-size: 18px; margin-bottom: 10px; }
.hanno-step-card p { margin: 0; }

/* Shell-style tab nav ("GTL product portfolio" pattern) */
.hanno-tab-nav { border-bottom: 1px solid var(--border-light); margin-bottom: 34px; flex-wrap: wrap; }
.hanno-tab-nav .nav-link {
	border: none;
	background: none;
	color: var(--text-secondary);
	font-weight: 700;
	padding: 12px 18px 14px;
	border-bottom: 3px solid transparent;
	border-radius: 0;
}
.hanno-tab-nav .nav-link.active,
.hanno-tab-nav .nav-link:hover {
	color: var(--text-primary);
	border-bottom-color: var(--brand-yellow);
	background: none;
}

/* clean bordered resource table (Shell "technical data sheets" pattern) */
.hanno-resource-table { width: 100%; border-collapse: collapse; }
.hanno-resource-table td { padding: 18px 20px; border: 1px solid var(--border-light); color: var(--text-secondary); }
.hanno-resource-table td:first-child { font-weight: 700; color: var(--text-primary); }
.hanno-resource-table a { font-weight: 700; }
.hanno-resource-table a i { margin-left: 6px; font-size: 12px; }

/* plain vertical link list ("More in business customers" sidebar pattern) */
.hanno-link-list { list-style: none; padding: 34px; margin: 0; }
.hanno-link-list li { margin-bottom: 14px; }
.hanno-link-list li:last-child { margin-bottom: 0; }
.hanno-link-list a { font-weight: 700; text-decoration: underline; color: var(--text-primary); }
.hanno-link-list a:hover { color: var(--brand-yellow-dark); }

/* partner sublease locations strip — non-clickable mentions, Rotterdam is the only operated terminal */
.hanno-partner-strip { background: var(--surface-light); border-radius: 10px; padding: 30px 34px; }
.hanno-partner-strip h3 { font-size: 18px; margin-bottom: 10px; }
.hanno-partner-strip p { margin-bottom: 16px; }
.hanno-partner-strip__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hanno-partner-strip__list li {
	background: var(--surface-white);
	border: 1px solid var(--border-light);
	border-radius: 20px;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 700;
	color: var(--text-secondary);
}

/* =========================================================
   9b. "AT A GLANCE" STAT MOSAIC (Shell-style fact grid)
   ========================================================= */
.hanno-glance-intro { padding: 60px 0 10px; }
.hanno-glance-intro h1 { font-size: 40px; margin-bottom: 14px; }
.hanno-glance-intro p { font-size: 17px; max-width: 720px; }

.hanno-glance-jumpnav { background: var(--surface-light); padding: 26px 0; margin-bottom: 4px; }
.hanno-glance-jumpnav .container { display: flex; flex-wrap: wrap; gap: 14px; }
.hanno-glance-jumpnav a {
	display: inline-block;
	background: var(--brand-yellow);
	color: var(--text-primary);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 20px;
	border-radius: 3px;
	transition: background .2s ease;
}
.hanno-glance-jumpnav a:hover { background: var(--brand-yellow-dark); color: var(--text-primary); }

.hanno-glance { padding: 0 0 4px; scroll-margin-top: 100px; }
.hanno-glance__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	background: var(--border-light);
}
.hanno-glance__cell {
	background: var(--surface-light);
	padding: 26px 22px;
	min-height: 190px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hanno-glance__cell--title {
	background: var(--brand-yellow);
	border-top: 4px solid var(--text-primary);
}
.hanno-glance__cell--title h2 { font-size: 26px; margin: 0; color: var(--text-primary); }
.hanno-glance__cell--photo { padding: 0; background-size: cover; background-position: center; min-height: 190px; }
.hanno-glance__number { font-size: 30px; font-weight: 700; color: var(--text-primary); line-height: 1.15; margin-bottom: 10px; display: block; }
.hanno-glance__cell p { color: var(--text-secondary); font-size: 14px; margin: 0; }
.hanno-glance__more {
	background: var(--surface-light);
	text-align: center;
	padding: 34px 0;
	margin-bottom: 60px;
}
.hanno-glance__more a {
	display: inline-block;
	background: var(--brand-yellow);
	color: var(--text-primary);
	font-weight: 700;
	padding: 14px 34px;
	border-radius: 3px;
}
.hanno-glance__more a:hover { background: var(--brand-yellow-dark); color: var(--text-primary); }
@media (max-width: 991px) {
	.hanno-glance__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
	.hanno-glance__grid { grid-template-columns: 1fr; }
	.hanno-glance-intro h1 { font-size: 30px; }
}

/* =========================================================
   10. GLOBAL LIGHT / SHELL-INSPIRED THEME
   ========================================================= */
body {
	background-color: var(--surface-white) !important;
	color: var(--text-secondary) !important;
	font-family: 'Roboto', Arial, Helvetica, sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.title, .dlab-tilte, .dlab-title,
.section-head h1, .section-head h2, .section-head h3 {
	font-family: 'Quicksand', 'Roboto', Arial, Helvetica, sans-serif !important;
	font-weight: 700 !important;
}
::selection { background: var(--brand-yellow) !important; color: var(--text-primary); }

h1, h2, h3, h4, h5, h6,
.title, .dlab-tilte, .dlab-title,
.section-head h1, .section-head h2, .section-head h3 {
	color: var(--text-primary) !important;
}
p, li, .text-black, .title-small,
.section-head p, .our-story p,
.service-box-2 .dlab-info p, .icon-content p {
	color: var(--text-secondary) !important;
}
a { color: var(--brand-yellow-dark); }
a:hover, a:focus { color: var(--text-primary); }

/* text explicitly placed over photos/video (hero, page banners) stays white */
.text-white, .text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white h5, .text-white h6, .text-white p,
.hanno-hero__card, .hanno-hero__card h1, .hanno-hero__card p,
.dlab-bnr-inr h1,
.hanno-terminal-card.is-flagship h4, .hanno-terminal-card.is-flagship p,
.hanno-panel__head h5 {
	color: #fff !important;
}

/* light-card hero variant (Shell "Sulphur Sales" style) — dark text on a near-white card */
.hanno-hero__card--light,
.hanno-hero__card--light h1 { color: var(--text-primary) !important; }
.hanno-hero__card--light p { color: var(--text-secondary) !important; }

/* section surfaces */
.bg-white { background-color: var(--surface-white) !important; }
.bg-gray { background-color: var(--surface-light) !important; }
.bg-black-light { background-color: var(--hanno-navy-deep) !important; }
.bg-primary {
	background-color: var(--brand-yellow) !important;
}
.bg-primary h1, .bg-primary h2, .bg-primary h3,
.bg-primary h4, .bg-primary h5, .bg-primary .title,
.bg-primary .text-white, .bg-primary p {
	color: var(--text-primary) !important;
}
/* footer — white, matching the rest of the page */
.footer-gray-1 .footer-top,
.footer-gray-1 .footer-bottom {
	background-color: var(--surface-white) !important;
}
.footer-top { border-top: 1px solid var(--border-light); }
.footer-bottom {
	color: var(--text-secondary-2) !important;
	border-top: 1px solid var(--border-light) !important;
}
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer .text-white {
	color: var(--text-primary) !important;
}
footer p { color: var(--text-secondary) !important; }
footer a { color: var(--text-secondary) !important; }
footer a:hover { color: var(--brand-yellow-dark) !important; }
footer .bg-tpw1, footer .bg-tpw2 { background-color: var(--surface-light) !important; }
footer .br-col-w1, footer .br-col-w2 { border-color: var(--border-light) !important; }

/* cards — clean flat white, no glass/glow */
.hanno-terminal-card,
.service-box-2,
.hanno-live-widget,
.hanno-panel,
.dlab-box {
	background: var(--surface-white) !important;
	border: 1px solid var(--border-light) !important;
	box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
	border-radius: 10px !important;
	overflow: hidden;
}
.hanno-split-img, .dlab-media, .dlab-media img { border-radius: 10px; }
.hanno-terminal-card.is-flagship { background: var(--hanno-navy) !important; border-color: var(--hanno-navy) !important; }
.hanno-terminal-card:hover,
.dlab-box:hover {
	box-shadow: 0 14px 30px rgba(0,0,0,0.1) !important;
	border-color: var(--border-light) !important;
}
.hanno-live-widget__item { background: var(--surface-white) !important; }
.hanno-panel__section { border-bottom: 1px solid var(--border-light) !important; }

/* accordion / FAQ */
.hanno-faq .accordion-item { border-bottom: 1px solid var(--border-light) !important; background: transparent !important; }
.hanno-faq .accordion-button { color: var(--text-primary) !important; background: transparent !important; }
.hanno-faq .accordion-button:not(.collapsed) { color: var(--brand-yellow-dark) !important; }
.hanno-faq .accordion-body { color: var(--text-secondary) !important; }

/* forms */
.form-control {
	background: var(--surface-white) !important;
	border: 1px solid var(--border-light) !important;
	color: var(--text-primary) !important;
}
.form-control::placeholder { color: var(--text-muted) !important; }
.form-control:focus { border-color: var(--brand-yellow) !important; box-shadow: 0 0 0 3px rgba(255,200,0,0.25) !important; }

/* buttons — flat Shell yellow primary (base .site-button only; .white/.black/.outline keep their own variants) */
.site-button {
	background: var(--brand-yellow);
	color: var(--text-primary);
	box-shadow: none;
	border-radius: 24px !important;
}
.site-button:hover, .site-button:focus, .site-button:active {
	background: var(--brand-yellow-dark);
	color: var(--text-primary);
}
.site-button.outline:focus, .site-button.outline:active, .site-button.outline:hover {
	background: var(--brand-yellow) !important;
	border-color: var(--brand-yellow) !important;
	color: var(--text-primary) !important;
}

/* eyebrow labels — flat, no gradient */
.hanno-eyebrow,
.hanno-hero__eyebrow {
	color: var(--brand-yellow-dark);
}

.hanno-timeline__year { color: var(--text-primary) !important; }

/* header — solid white bar (Shell-style), not a transparent overlay */
.header-transparent {
	position: relative !important;
}
.header-transparent .main-bar,
.header-transparent .is-fixed .main-bar {
	background-color: var(--surface-white) !important;
	border-bottom: 1px solid var(--border-light) !important;
}
.is-fixed .main-bar { box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.header-transparent .header-nav .nav > li > a,
.header-transparent .dlab-topbar-left ul li a,
.header-transparent .extra-nav .site-button-link,
.header-transparent .navbar-toggler {
	color: var(--text-primary) !important;
}
.header-transparent .navbar-toggler span { background-color: var(--text-primary) !important; }

/* logo mark */
.hanno-logo-link { color: var(--text-primary) !important; }
.hanno-logo-icon { height: 40px !important; width: auto !important; max-width: none !important; display: block; margin-right: 10px; }
.hanno-logo-text { line-height: 1.1; white-space: nowrap; }
.hanno-logo-text strong { display: block; white-space: nowrap; font-size: 20px; letter-spacing: 1px; color: var(--text-primary); }
.hanno-logo-text small { display: block; white-space: nowrap; font-size: 10px; letter-spacing: 2px; color: var(--text-secondary-2); }
.logo-header.d-md-block .hanno-logo-icon { height: 32px !important; }
@media (max-width: 767px) {
	.hanno-logo-icon { height: 32px !important; }
	.hanno-logo-text strong { font-size: 16px; }
}

/* nav active/hover — thin yellow underline instead of a filled pill */
.navstyle3 .header-nav .nav > li > a:after,
.navstyle3 .header-nav .nav > li:hover > a:after,
.navstyle3 .header-nav .nav > li.active > a:after {
	background: var(--brand-yellow) !important;
	height: 3px !important;
}
.navstyle3 .header-nav .nav > li:hover > a,
.navstyle3 .header-nav .nav > li.active > a {
	color: var(--text-primary) !important;
	font-weight: 700;
}

/* dropdown / mega menus — clean white panel */
.navstyle3 .header-nav .nav > li .mega-menu,
.navstyle3 .header-nav .nav > li .sub-menu {
	background-color: var(--surface-white) !important;
	border: 1px solid var(--border-light) !important;
	box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}
.navstyle3 .header-nav .nav > li .mega-menu li > a,
.navstyle3 .header-nav .nav > li .sub-menu li > a {
	color: var(--text-secondary) !important;
}
.navstyle3 .header-nav .nav > li .sub-menu > li:hover > a,
.navstyle3 .header-nav .nav > li .sub-menu > li > a:hover,
.navstyle3 .header-nav .nav > li .mega-menu > li ul a:hover {
	background-color: var(--surface-light) !important;
	color: var(--text-primary) !important;
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--surface-light); }
::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* header bar — keep the logo, the nav links and the CTA on one row */
@media (min-width: 992px) {
	.site-header .main-bar .container {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
	}
	.site-header .main-bar .logo-header {
		order: 1;
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		float: none;
		width: auto;
		height: auto;
		min-height: 68px;
		margin-right: 30px;
	}
	.site-header .main-bar .logo-header > a { display: flex; }
	.site-header .main-bar .header-nav.navbar-collapse {
		order: 2;
		flex: 1 1 auto;
		width: auto;
		padding: 0;
	}
	.site-header .main-bar .header-nav .nav {
		float: none;
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		margin-left: auto;
	}
	.site-header .main-bar .header-nav .nav > li > a { white-space: nowrap; }
	.site-header .main-bar .extra-nav {
		order: 3;
		flex: 0 0 auto;
		display: flex;
		align-items: center;
		float: none;
		margin-left: 20px;
		padding: 0 0 0 20px;
	}
	.site-header .main-bar .extra-nav .extra-cell { margin-left: 0; }
}
/* narrower desktops — tighten spacing so the row still fits without wrapping */
@media (min-width: 992px) and (max-width: 1199px) {
	.site-header .main-bar .logo-header { margin-right: 15px; }
	.site-header .main-bar .header-nav .nav > li > a {
		font-size: 15px;
		padding-left: 11px;
		padding-right: 11px;
	}
	.site-header .main-bar .extra-nav { margin-left: 12px; padding-left: 12px; }
	.site-header .main-bar .extra-nav .site-button { padding: 10px 15px; font-size: 13px; }
}

/* caption under an embedded map */
.hanno-map-note {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--text-secondary-2);
}
.hanno-map-note a { color: var(--text-primary); text-decoration: underline; }
.hanno-map-note a:hover { color: var(--brand-yellow-dark); }

/* Leaflet map — pins and legend for the Our World network map */
.hanno-map-wrap #hanno-world-map { width: 100%; height: 100%; min-height: 380px; }
.hanno-map-pin span {
	display: block;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.leaflet-container { font-family: inherit; background: var(--surface-light); }
.leaflet-popup-content { font-size: 13px; line-height: 1.5; }
.leaflet-popup-content strong { font-size: 15px; }
.hanno-map-legend {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 14px 0 0;
	font-size: 14px;
	color: var(--text-secondary-2);
}
.hanno-map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hanno-map-legend i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

/* =========================================================
   LANGUAGE — EN | NL switch in the utility bar and the first-visit chooser
   (hannoo.com / hannorotterdambv.nl share this stylesheet)
   ========================================================= */
.hanno-utility-bar__brand { display: inline-flex; align-items: center; }
.hanno-lang-switch { display: inline-flex; align-items: center; margin-left: 18px; padding-left: 12px; border-left: 1px solid var(--border-light); }
.hanno-lang-switch a { color: var(--text-secondary-2); font-weight: 600; letter-spacing: .04em; padding: 0 6px; }
.hanno-lang-switch a + a { border-left: 1px solid var(--border-light); }
.hanno-lang-switch a:hover,
.hanno-lang-switch a.is-active { color: var(--hanno-navy); }
.hanno-lang-switch a.is-active { text-decoration: underline; text-decoration-color: var(--hanno-gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

body.hanno-lang-open { overflow: hidden; }
.hanno-lang-chooser { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 15, 15, .72); }
.hanno-lang-chooser__box { width: 100%; max-width: 420px; background: var(--hanno-navy); color: #fff; border-radius: 8px; padding: 34px 30px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.hanno-lang-chooser__icon { color: var(--hanno-gold); font-size: 26px; }
.hanno-lang-chooser h4 { color: #fff !important; margin: 15px 0 24px; line-height: 1.3; }
.hanno-lang-chooser h4 span { display: block; margin-top: 4px; font-size: .8em; font-weight: 400; color: rgba(255, 255, 255, .75) !important; }
.hanno-lang-chooser__options { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hanno-lang-chooser__options .site-button { min-width: 150px; }

/* Dutch compounds (langetermijnovereenkomst, investeringsprioriteiten) run longer than the
   English originals: on narrow screens let them hyphenate/break so pages never scroll sideways.
   :lang(nl) only matches the Dutch site (hannorotterdambv.nl). */
@media (max-width: 767px) {
	:lang(nl) :is(h1, h2, h3, h4, h5, h6, .site-button, .hanno-eyebrow, .dlab-tilte, label, p, li) { hyphens: auto; overflow-wrap: break-word; }
	:lang(nl) :is(td, th) { hyphens: auto; overflow-wrap: anywhere; }
}

/* Page banner that also carries intro text (terminal/Rotterdam.html). Same look as the
   contact.html banner, but the height grows with the text instead of clipping it. */
.dlab-bnr-inr.hanno-bnr-intro { height: 50vh; } /* display:table — acts as a minimum height */
.dlab-bnr-inr.hanno-bnr-intro .dlab-bnr-inr-entry { height: auto; padding: 60px 0; gap: 40px; }
.hanno-bnr-intro .breadcrumb-row { flex-shrink: 0; }
.hanno-bnr-intro__text { max-width: 680px; text-align: left; }
.hanno-bnr-intro__text h1 { margin-bottom: 18px; }
.hanno-bnr-intro__text p { color: rgba(255, 255, 255, .9) !important; font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.hanno-bnr-intro__text p:last-child { margin-bottom: 0; }
/* at 991px and below the template stacks the banner (table-cell): centre text above the breadcrumb */
@media only screen and (max-width: 991px) {
	.dlab-bnr-inr.hanno-bnr-intro .dlab-bnr-inr-entry { height: auto; padding: 50px 0; }
	.hanno-bnr-intro__text { max-width: 680px; margin: 0 auto 18px; text-align: center; }
}
@media only screen and (max-width: 767px) {
	.dlab-bnr-inr.hanno-bnr-intro .dlab-bnr-inr-entry { padding: 40px 0; }
	.hanno-bnr-intro__text { margin-bottom: 14px; }
	.hanno-bnr-intro__text h1 { margin-bottom: 14px; }
	.hanno-bnr-intro__text p { font-size: 15px; line-height: 1.6; }
}
