.otr-resources section{margin-block:2.5rem}.otr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:1.25rem}.otr-card{padding:1.5rem;border:1px solid #d6e1e9;border-radius:12px;background:#fff;box-shadow:0 5px 18px #0b3a6708;overflow-wrap:anywhere}.otr-card h3{margin-block:0 1rem;color:#0b3a67}.otr-card img{max-width:180px;max-height:100px;object-fit:contain}.otr-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.8rem;margin-block:1.5rem}.otr-filters label{display:grid;gap:.3rem}.otr-filters input{max-width:100%;padding:.65rem;border:1px solid #a7bac9;border-radius:5px;font:inherit}.otr-whatsapp{position:fixed;inset-inline-end:1.5rem;bottom:1.5rem;z-index:999;background:#25d366;color:#fff!important;border-radius:50px;padding:.75rem 1.25rem;box-shadow:0 4px 16px rgba(0,0,0,0.25);font-weight:600;font-size:.95rem;display:inline-flex;align-items:center;gap:.6rem;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease;max-width:calc(100vw - 3rem)}.otr-whatsapp:hover{background:#128c7e;color:#fff!important;transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.3)}.otr-whatsapp:focus-visible{outline:3px solid #f58220;outline-offset:3px}.otr-whatsapp__icon{width:22px;height:22px;flex-shrink:0;fill:currentColor}.otr-whatsapp__text{font-weight:600}.otr-card:focus-visible{outline:3px solid #f58220;outline-offset:4px}.otr-hero-media{position:absolute;inset:0;pointer-events:none;z-index:0}.otr-hero-media img,.otr-hero-media video{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}.otr-hero-video{opacity:0;transition:opacity .5s}.otr-hero-video.is-playing{opacity:1}.otr-video-toggle{position:absolute;inset-inline-end:1rem;bottom:5rem;z-index:3;padding:.5rem .8rem;background:#0b3a67;color:white;border:1px solid white;border-radius:5px}.otr-home-resources{background:#f4f7fa}.otr-weather{min-width:0;overflow:hidden}@media(prefers-reduced-motion:reduce){.otr-hero-video{display:none;transition:none}.otr-video-toggle{display:none!important}}@media(max-width:600px){.otr-whatsapp{inset-inline-end:1rem;bottom:1rem;padding:.6rem 1rem;font-size:.85rem}.otr-whatsapp__icon{width:18px;height:18px}.otr-filters{display:grid}.otr-filters input{width:100%}}
/* Nested menu items remain keyboard accessible through focus-within. */
@media(min-width:1025px){.main-menu li{position:relative}.main-menu .sub-menu{display:none;position:absolute;inset-inline-start:0;top:100%;min-width:220px;background:white;box-shadow:0 8px 24px #0b3a6726;padding:.75rem;list-style:none;z-index:20}.main-menu li:hover>.sub-menu,.main-menu li:focus-within>.sub-menu{display:block}.main-menu .sub-menu .sub-menu{inset-inline-start:100%;top:0}.main-menu .sub-menu a{white-space:normal;display:block;padding:.65rem}}
@media(max-width:1024px){.main-menu .sub-menu{padding-inline-start:1.25rem;list-style:none}.main-menu .sub-menu a{display:block;padding:.5rem}}
.otr-hero-media{z-index:-2}.otr-hero-media~.hero-background{display:none}

.otr-btn-official{display:inline-flex;align-items:center;background:#008080;color:#fff!important;padding:.5rem 1rem;border-radius:6px;font-weight:600;font-size:.9rem;text-decoration:none;transition:background-color .2s ease,transform .1s ease}
.otr-btn-official:hover{background:#006666;color:#fff!important;transform:translateY(-1px)}
.otr-btn-pdf{display:inline-flex;align-items:center;background:#0b3a67;color:#fff!important;padding:.5rem 1rem;border-radius:6px;font-weight:600;font-size:.9rem;text-decoration:none;transition:background-color .2s ease,transform .1s ease}
.otr-btn-pdf:hover{background:#082847;color:#fff!important;transform:translateY(-1px)}
.otr-media-filename{display:inline-block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.otr-admin-subtabs .nav-tab{font-size:14px;padding:8px 16px;border-radius:6px 6px 0 0}

/* Public Commercial Ports Directory & Contact Page Integration (Stage 5) */
.contact-ports-link {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	font-weight: 600;
	font-size: 0.92rem;
	color: #008080 !important;
	text-decoration: none;
	line-height: 1.4;
	transition: color 0.2s ease, text-decoration 0.2s ease;
}
.contact-ports-link:hover,
.contact-ports-link:focus-visible {
	color: #0b3a67 !important;
	text-decoration: underline;
}
.contact-ports-link:focus-visible {
	outline: 3px solid #f58220;
	outline-offset: 3px;
}
.site-footer .contact-ports-link {
	color: #93c5fd !important;
	font-size: 0.8rem;
}
.site-footer .contact-ports-link:hover,
.site-footer .contact-ports-link:focus-visible {
	color: #ffffff !important;
}

/* Ports Directory Table & Card Interactive States */
.otr-ports-directory {
	margin-top: 2rem;
	scroll-margin-top: 120px;
}
.otr-port-toggle-btn:focus-visible,
.otr-mobile-dept-toggle:focus-visible,
.otr-port-pill:focus-visible,
.otr-port-search:focus-visible {
	outline: 3px solid #f58220 !important;
	outline-offset: 2px !important;
}
.otr-port-summary-row:hover {
	background-color: #f8fafc;
}
.otr-port-details-drawer {
	transition: background-color 0.2s ease;
}
.otr-dept-card {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.otr-dept-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(11, 58, 103, 0.08) !important;
}
.otr-port-mobile-card {
	transition: box-shadow 0.2s ease;
}
.otr-port-mobile-card:hover {
	box-shadow: 0 4px 14px rgba(11, 58, 103, 0.09) !important;
}

/* RTL Specific Overrides for Arabic Mode */
[dir="rtl"] .otr-ports-disclaimer {
	border-right: 4px solid #008080 !important;
	border-left: none !important;
}
[dir="rtl"] .otr-toggle-icon,
[dir="rtl"] .otr-toggle-arrow {
	margin-right: 4px;
	margin-left: 0;
}
[dir="rtl"] .otr-ports-table th {
	text-align: right !important;
}
[dir="rtl"] .otr-ports-table th:last-child {
	text-align: left !important;
}
[dir="rtl"] .otr-ports-table td:last-child {
	text-align: left !important;
}

/* ==========================================================================
   STAGE 6: BILINGUAL COOKIE PREFERENCES & SCA CALCULATOR GOVERNANCE
   ========================================================================== */

/* Cookie Consent Banner */
.otr-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	background: #ffffff;
	border-top: 3px solid #008080;
	box-shadow: 0 -4px 24px rgba(11, 58, 103, 0.16);
	padding: 1.25rem 1.5rem;
	font-family: inherit;
	color: #0f172a;
}

.otr-cookie-banner__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.otr-cookie-banner__content {
	flex: 1 1 580px;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.otr-cookie-banner__message {
	font-size: 0.92rem;
	line-height: 1.55;
	color: #334155;
}

.otr-cookie-banner__text {
	margin: 0;
}

.otr-cookie-banner__text strong {
	color: #0b3a67;
}

.otr-cookie-banner__policy-link {
	color: #008080;
	text-decoration: underline;
	font-weight: 600;
	margin-inline-start: 6px;
	white-space: nowrap;
}

.otr-cookie-banner__policy-link:hover {
	color: #0b3a67;
}

.otr-cookie-banner__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* Cookie Buttons Base */
.otr-cookie-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 1.1rem;
	font-size: 0.88rem;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
	line-height: 1.4;
	text-decoration: none;
	font-family: inherit;
	white-space: nowrap;
}

.otr-cookie-btn:active {
	transform: translateY(1px);
}

.otr-cookie-btn--primary,
.otr-cookie-btn--accept-all {
	background: #008080;
	color: #ffffff !important;
	border-color: #008080;
}

.otr-cookie-btn--primary:hover,
.otr-cookie-btn--accept-all:hover {
	background: #006666;
	border-color: #006666;
	color: #ffffff !important;
}

.otr-cookie-btn--necessary {
	background: #f1f5f9;
	color: #1e293b;
	border-color: #cbd5e1;
}

.otr-cookie-btn--necessary:hover {
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #0f172a;
}

.otr-cookie-btn--customize {
	background: transparent;
	color: #008080;
	border-color: #008080;
}

.otr-cookie-btn--customize:hover {
	background: #f0fdfa;
	color: #006666;
	border-color: #006666;
}

.otr-cookie-btn--save {
	background: #0b3a67;
	color: #ffffff !important;
	border-color: #0b3a67;
}

.otr-cookie-btn--save:hover {
	background: #072542;
	border-color: #072542;
	color: #ffffff !important;
}

/* Modal Dialog Overlay */
.otr-cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.otr-cookie-modal__backdrop {
	position: fixed;
	inset: 0;
	background: rgba(11, 58, 103, 0.6);
	backdrop-filter: blur(3px);
	z-index: 0;
}

.otr-cookie-modal__dialog {
	position: relative;
	z-index: 1;
	max-width: 680px;
	width: 100%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 20px 50px rgba(11, 58, 103, 0.3);
	border: 1px solid #cbd5e1;
	overflow: hidden;
	box-sizing: border-box;
}

.otr-cookie-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid #e2e8f0;
	background: #f8fafc;
}

.otr-cookie-modal__title {
	margin: 0;
	font-size: 1.25rem;
	color: #0b3a67;
	line-height: 1.35;
	font-weight: 700;
}

.otr-cookie-modal__close {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 1.75rem;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.otr-cookie-modal__close:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.otr-cookie-modal__body {
	padding: 1.5rem;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.otr-cookie-modal__intro {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #475569;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f1f5f9;
}

.otr-cookie-modal__intro p {
	margin: 0;
}

/* Category Cards inside Modal */
.otr-cookie-category {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1rem 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	transition: border-color 0.2s ease;
}

.otr-cookie-category:hover {
	border-color: #cbd5e1;
}

.otr-cookie-category__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.otr-cookie-category__meta {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.otr-cookie-category__title {
	margin: 0;
	font-size: 1.02rem;
	color: #0b3a67;
	font-weight: 700;
}

.otr-cookie-badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	width: fit-content;
}

.otr-cookie-badge--always-active {
	background: #ccfbf1;
	color: #0f766e;
	border: 1px solid #99f6e4;
}

.otr-cookie-badge--optional {
	background: #e2e8f0;
	color: #475569;
	border: 1px solid #cbd5e1;
}

.otr-cookie-category__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.88rem;
	line-height: 1.55;
	color: #475569;
}

.otr-cookie-category__text {
	margin: 0;
}

.otr-code {
	font-family: Consolas, Monaco, monospace;
	font-size: 0.82em;
	background: #e2e8f0;
	color: #0b3a67;
	padding: 2px 6px;
	border-radius: 4px;
	border: 1px solid #cbd5e1;
}

/* Toggle Switches */
.otr-cookie-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 28px;
	flex-shrink: 0;
	cursor: pointer;
}

.otr-cookie-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.otr-cookie-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background-color: #cbd5e1;
	transition: background-color 0.25s ease;
	border-radius: 28px;
}

.otr-cookie-slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 4px;
	bottom: 4px;
	background-color: #ffffff;
	transition: transform 0.25s ease;
	border-radius: 50%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.otr-cookie-switch input:checked + .otr-cookie-slider {
	background-color: #008080;
}

.otr-cookie-switch input:checked + .otr-cookie-slider:before {
	transform: translateX(22px);
}

.otr-cookie-switch--locked {
	cursor: not-allowed;
	opacity: 0.85;
}

.otr-cookie-switch--locked .otr-cookie-slider {
	background-color: #0f766e;
	cursor: not-allowed;
}

/* Modal Footer */
.otr-cookie-modal__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	padding: 1.25rem 1.5rem;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
	flex-wrap: wrap;
}

/* Persistent Footer Trigger Button */
.otr-cookie-trigger {
	position: fixed;
	inset-inline-start: 1.5rem;
	bottom: 1.5rem;
	z-index: 990;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: #ffffff;
	color: #0b3a67;
	border: 1px solid #cbd5e1;
	border-radius: 50px;
	padding: 0.45rem 0.95rem;
	font-size: 0.84rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(11, 58, 103, 0.12);
	transition: all 0.2s ease;
	font-family: inherit;
	line-height: 1.4;
	text-decoration: none;
}

.otr-cookie-trigger:hover {
	background: #f8fafc;
	color: #008080;
	border-color: #008080;
	box-shadow: 0 6px 18px rgba(11, 58, 103, 0.18);
	transform: translateY(-2px);
}

/* If placed statically within footer structure */
.site-footer .otr-cookie-trigger,
footer .otr-cookie-trigger {
	position: static;
	box-shadow: none;
}

.otr-cookie-trigger__icon {
	font-size: 1rem;
	line-height: 1;
}

/* Official Suez Canal Authority Tolls Estimator Outbound Link Card */
.otr-sca-calculator-notice {
	margin: 2.5rem 0;
}

.otr-calculator-card {
	border: 2px solid #008080;
	border-radius: 8px;
	padding: 24px 28px;
	background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 100%);
	box-shadow: 0 4px 18px rgba(0, 128, 128, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.otr-calculator-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 128, 128, 0.12);
}

.otr-badge-sca {
	background: #008080 !important;
	color: #ffffff !important;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	display: inline-block;
}

/* Accessibility Focus-Visible Rings */
.otr-cookie-btn:focus-visible,
.otr-cookie-modal__close:focus-visible,
.otr-cookie-trigger:focus-visible,
.otr-cookie-banner__policy-link:focus-visible,
.otr-btn-official:focus-visible {
	outline: 3px solid #f58220 !important;
	outline-offset: 2px !important;
}

.otr-cookie-switch input:focus-visible + .otr-cookie-slider {
	outline: 3px solid #f58220 !important;
	outline-offset: 3px !important;
}

/* RTL Specific Overrides for Arabic Layout */
[dir="rtl"] .otr-cookie-banner__inner {
	direction: rtl;
	text-align: right;
}

[dir="rtl"] .otr-cookie-banner__actions {
	direction: rtl;
}

[dir="rtl"] .otr-cookie-modal__dialog {
	direction: rtl;
	text-align: right;
}

[dir="rtl"] .otr-cookie-modal__header {
	direction: rtl;
}

[dir="rtl"] .otr-cookie-modal__footer {
	direction: rtl;
	justify-content: flex-start;
}

[dir="rtl"] .otr-cookie-category__header {
	direction: rtl;
}

[dir="rtl"] .otr-cookie-switch input:checked + .otr-cookie-slider:before {
	transform: translateX(-22px);
}

[dir="rtl"] .otr-cookie-slider:before {
	left: auto;
	right: 4px;
}

[dir="rtl"] .otr-cookie-trigger {
	inset-inline-start: 1.5rem;
	direction: rtl;
}

[dir="rtl"] .otr-calculator-card {
	direction: rtl;
	text-align: right;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
	.otr-cookie-banner {
		padding: 1rem;
	}
	.otr-cookie-banner__actions {
		width: 100%;
		justify-content: stretch;
	}
	.otr-cookie-banner__actions .otr-cookie-btn {
		flex: 1 1 auto;
		text-align: center;
	}
	.otr-cookie-modal__dialog {
		width: 96%;
		max-height: 94vh;
	}
	.otr-cookie-modal__footer {
		flex-direction: column;
		align-items: stretch;
	}
	.otr-cookie-modal__footer .otr-cookie-btn {
		width: 100%;
		text-align: center;
	}
	.otr-cookie-trigger {
		inset-inline-start: 1rem;
		bottom: 1rem;
		padding: 0.4rem 0.75rem;
		font-size: 0.78rem;
	}
}

/* ==========================================================================
   STAGE 3 (RC): DEPARTMENTAL SIDEBAR NAVIGATION & COMPACT ANNOUNCEMENTS TABLE
   ========================================================================== */

.otr-resources-shell {
	min-width: 0;
}

.otr-resources-header {
	margin-block-end: 1.75rem;
}

.otr-resources-intro {
	font-size: 1.05rem;
	color: #475569;
	max-width: 820px;
	line-height: 1.65;
	margin: 0.35rem 0 0;
}

/* Two-column layout: Column 1 (sidebar) flows Left in LTR and Right in RTL via logical grid flow */
.otr-resources-layout {
	display: grid;
	grid-template-columns: minmax(220px, 265px) minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

[dir="rtl"] .otr-resources-layout,
.otr-resources-shell[dir="rtl"] .otr-resources-layout {
	direction: rtl;
}

[dir="ltr"] .otr-resources-layout,
.otr-resources-shell[dir="ltr"] .otr-resources-layout {
	direction: ltr;
}

.otr-resources-sidebar {
	position: sticky;
	top: 115px;
	min-width: 0;
}

.otr-dept-nav {
	background: #f8fafc;
	border: 1px solid #d6e1e9;
	border-radius: 10px;
	padding: 0.5rem;
	box-shadow: 0 4px 14px rgba(11, 58, 103, 0.04);
}

.otr-mobile-nav-toggle {
	display: none;
	width: 100%;
	min-block-size: 44px;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.65rem 0.9rem;
	background: #0b3a67;
	color: #ffffff;
	border: 1px solid #0b3a67;
	border-radius: 7px;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	text-align: start;
}

.otr-mobile-nav-toggle__prefix {
	font-weight: 500;
	opacity: 0.85;
	font-size: 0.82rem;
}

.otr-mobile-nav-toggle__label {
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.otr-mobile-nav-toggle__chevron {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.otr-mobile-nav-toggle[aria-expanded="true"] .otr-mobile-nav-toggle__chevron {
	transform: rotate(180deg);
}

.otr-dept-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.otr-dept-nav__item {
	margin: 0;
	padding: 0;
}

.otr-dept-nav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-block-size: 44px;
	padding: 0.65rem 0.9rem;
	border-radius: 7px;
	border-inline-start: 4px solid transparent;
	color: #15334e;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.otr-dept-nav__link:hover {
	background: #edf4f9;
	color: #0b3a67;
}

.otr-dept-nav__link.active,
.otr-dept-nav__link[aria-current="page"] {
	background: #ffffff;
	color: #0b3a67;
	font-weight: 700;
	border-inline-start-color: #f58220;
	box-shadow: 0 2px 8px rgba(11, 58, 103, 0.08);
}

.otr-dept-nav__link:focus-visible,
.otr-mobile-nav-toggle:focus-visible,
.otr-portal-link:focus-visible,
.otr-filter-reset:focus-visible,
.otr-table-wrap:focus-visible,
.otr-table-action:focus-visible,
.otr-pagination a:focus-visible {
	outline: 3px solid #f58220 !important;
	outline-offset: 2px !important;
}

.otr-resources-content {
	min-width: 0;
}

.otr-section-panel[hidden] {
	display: none !important;
}

.otr-section-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-block-end: 1.25rem;
	padding-block-end: 0.9rem;
	border-bottom: 1px solid #d6e1e9;
}

.otr-section-header__title-group {
	flex: 1 1 320px;
	min-width: 0;
}

.otr-section-title {
	margin: 0 0 0.35rem;
	color: #0b3a67;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	line-height: 1.3;
}

.otr-section-desc {
	margin: 0;
	color: #526477;
	font-size: 0.94rem;
	line-height: 1.55;
}

.otr-section-portal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
}

.otr-portal-link {
	display: inline-flex;
	align-items: center;
	min-block-size: 36px;
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #0b3a67;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.16s ease, background-color 0.16s ease;
}

.otr-portal-link:hover {
	border-color: #008080;
	background: #f0fdfa;
	color: #006666;
}

/* Filter Form */
.otr-resources-content .otr-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem;
	margin-block: 0 1.25rem;
	padding: 0.9rem 1rem;
	background: #f8fafc;
	border: 1px solid #d6e1e9;
	border-radius: 8px;
}

.otr-filter-field {
	display: grid;
	gap: 0.3rem;
	flex: 1 1 170px;
	min-width: 0;
}

.otr-filter-field--year {
	flex: 0 1 110px;
}

.otr-filter-field label {
	font-size: 0.82rem;
	font-weight: 700;
	color: #0b3a67;
}

.otr-filter-field input {
	width: 100%;
	min-width: 0;
	min-block-size: 40px;
	padding: 0.45rem 0.65rem;
	border: 1px solid #a7bac9;
	border-radius: 5px;
	background: #ffffff;
	color: #15334e;
	font: inherit;
	font-size: 0.9rem;
}

.otr-filter-actions {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.otr-section-panel .otr-filters .otr-filter-submit {
	height: 40px;
	min-height: 40px;
	line-height: 1;
	padding: 0 1.25rem;
	border-radius: 5px;
	font-size: 0.9rem;
}

.otr-filter-reset {
	display: inline-flex;
	align-items: center;
	min-block-size: 40px;
	padding: 0.45rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	background: #ffffff;
	color: #475569;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
}

.otr-filter-reset:hover {
	border-color: #0b3a67;
	color: #0b3a67;
}

/* Compact Accessible Announcements Table */
.otr-table-wrap {
	overflow-x: auto;
	max-inline-size: 100%;
	container-type: inline-size;
	border: 1px solid #d6e1e9;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 4px 16px rgba(11, 58, 103, 0.05);
}

.otr-announcements-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #15334e;
	background: #ffffff;
}

.otr-announcements-table thead {
	position: sticky;
	inset-block-start: 0;
	z-index: 1;
}

.otr-announcements-table thead th {
	background: #0b3a67;
	color: #ffffff;
	font-weight: 700;
	font-size: 0.84rem;
	padding: 0.8rem 0.85rem;
	text-align: start;
	white-space: nowrap;
	border-bottom: 2px solid #062846;
}

.otr-announcements-table tbody tr {
	transition: background-color 0.14s ease;
}

.otr-announcements-table tbody tr:nth-child(even) {
	background: #f8fafc;
}

.otr-announcements-table tbody tr:hover {
	background: #eef6fb;
}

.otr-announcements-table tbody td {
	padding: 0.75rem 0.85rem;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: top;
}

.otr-announcements-table tbody tr:last-child td {
	border-bottom: 0;
}

.otr-col-date,
.otr-col-ref {
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	color: #334155;
	font-size: 0.86rem;
}

.otr-ref-sep {
	color: #94a3b8;
	margin-inline: 2px;
}

.otr-col-title {
	min-width: 210px;
	overflow-wrap: anywhere;
}

.otr-doc-title {
	display: block;
	font-weight: 600;
	color: #0b3a67;
	line-height: 1.45;
}

.otr-doc-cat {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 1px 7px;
	border-radius: 4px;
	background: #edf3f7;
	color: #475569;
	font-size: 0.76rem;
	font-weight: 600;
}

.otr-col-authority {
	white-space: nowrap;
}

.otr-badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 4px;
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
}

.otr-badge-customs {
	background: #1e3a8a;
}

.otr-badge-sca-circ {
	background: #008080;
}

.otr-badge-sca-down {
	background: #0369a1;
}

.otr-badge-sub {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.75rem;
	color: #526477;
	font-weight: 600;
}

.otr-doc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
}

.otr-table-action {
	min-block-size: 36px;
	padding: 0.35rem 0.75rem;
	font-size: 0.82rem;
	white-space: nowrap;
}

/* Pagination */
.otr-pagination {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}

.otr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 38px;
	min-block-size: 38px;
	padding: 0.35rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	color: #0b3a67;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.otr-pagination .page-numbers:hover {
	border-color: #008080;
	background: #f0fdfa;
}

.otr-pagination .page-numbers.current {
	background: #0b3a67;
	border-color: #0b3a67;
	color: #ffffff;
}

.otr-contacts-subsection {
	margin-top: 2.25rem;
}

.otr-subsection-title {
	margin: 0 0 1rem;
	color: #0b3a67;
	font-size: 1.25rem;
}

.otr-empty-state {
	padding: 1.25rem;
	border: 1px solid #d6e1e9;
	border-radius: 8px;
	background: #f8fafc;
	color: #526477;
	font-style: italic;
	margin: 0;
}

/* Container-query stacked table layout for narrow viewports (<680px) */
@container (width < 680px) {
	.otr-table-wrap {
		border: 0;
		background: transparent;
		box-shadow: none;
		overflow: visible;
	}

	.otr-announcements-table,
	.otr-announcements-table thead,
	.otr-announcements-table tbody,
	.otr-announcements-table tr,
	.otr-announcements-table th,
	.otr-announcements-table td {
		display: block;
	}

	.otr-announcements-table {
		background: transparent;
	}

	.otr-announcements-table thead {
		display: none;
	}

	.otr-announcements-table tbody tr {
		margin-block-end: 0.85rem;
		border: 1px solid #d6e1e9;
		border-radius: 9px;
		padding: 0.75rem 0.85rem;
		background: #ffffff;
		box-shadow: 0 2px 10px rgba(11, 58, 103, 0.05);
	}

	.otr-announcements-table tbody tr:nth-child(even) {
		background: #ffffff;
	}

	.otr-announcements-table tbody td {
		display: grid;
		grid-template-columns: 6.75rem minmax(0, 1fr);
		gap: 0.5rem;
		align-items: baseline;
		padding: 0.45rem 0;
		border-bottom: 1px solid #f1f5f9;
		white-space: normal;
		min-width: 0;
	}

	.otr-announcements-table tbody td:last-child {
		border-bottom: 0;
		padding-bottom: 0.15rem;
	}

	.otr-announcements-table tbody td::before {
		content: attr(data-label);
		font-weight: 700;
		font-size: 0.78rem;
		color: #0b3a67;
	}
}

/* Media-query fallback for browsers/contexts without container queries & mobile sidebar drawer */
@media (max-width: 767px) {
	.otr-resources-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.25rem;
	}

	.otr-resources-sidebar {
		position: static;
	}

	.otr-mobile-nav-toggle {
		display: flex;
	}

	.otr-dept-nav.is-enhanced .otr-dept-nav__list:not(.is-open) {
		display: none;
	}

	.otr-dept-nav__list {
		margin-top: 0.5rem;
	}

	.otr-resources-content .otr-filters {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	.otr-filter-field--year {
		flex: 1 1 auto;
	}

	.otr-table-wrap {
		border: 0;
		background: transparent;
		box-shadow: none;
		overflow: visible;
	}

	.otr-announcements-table,
	.otr-announcements-table thead,
	.otr-announcements-table tbody,
	.otr-announcements-table tr,
	.otr-announcements-table th,
	.otr-announcements-table td {
		display: block;
	}

	.otr-announcements-table {
		background: transparent;
	}

	.otr-announcements-table thead {
		display: none;
	}

	.otr-announcements-table tbody tr {
		margin-block-end: 0.85rem;
		border: 1px solid #d6e1e9;
		border-radius: 9px;
		padding: 0.75rem 0.85rem;
		background: #ffffff;
		box-shadow: 0 2px 10px rgba(11, 58, 103, 0.05);
	}

	.otr-announcements-table tbody tr:nth-child(even) {
		background: #ffffff;
	}

	.otr-announcements-table tbody td {
		display: grid;
		grid-template-columns: 6.75rem minmax(0, 1fr);
		gap: 0.5rem;
		align-items: baseline;
		padding: 0.45rem 0;
		border-bottom: 1px solid #f1f5f9;
		white-space: normal;
		min-width: 0;
	}

	.otr-announcements-table tbody td:last-child {
		border-bottom: 0;
		padding-bottom: 0.15rem;
	}

	.otr-announcements-table tbody td::before {
		content: attr(data-label);
		font-weight: 700;
		font-size: 0.78rem;
		color: #0b3a67;
	}
}

/* Ultra-narrow viewport safety (320px) */
@media (max-width: 360px) {
	.otr-announcements-table tbody td {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.2rem;
	}
}

@media (forced-colors: active) {
	.otr-dept-nav__link.active,
	.otr-dept-nav__link[aria-current="page"] {
		border-inline-start-color: Highlight;
		outline: 1px solid Highlight;
	}
}

/* ==========================================================================
   STAGE 6: CAREERS & HUMAN RESOURCES MODULE
   ========================================================================== */

.otr-careers {
	max-width: 860px;
	margin-inline: auto;
	padding-block: 2.5rem;
}

.otr-careers-header {
	margin-block-end: 2rem;
}

.otr-careers-header .eyebrow {
	font-size: 0.85rem;
	font-weight: 700;
	color: #f58220;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-block-end: 0.5rem;
}

.otr-careers-header h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	color: #0b3a67;
	line-height: 1.25;
	margin-block: 0 1rem;
}

.otr-careers-intro {
	font-size: 1.05rem;
	line-height: 1.6;
	color: #334155;
	max-width: 720px;
}

.otr-alert {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	margin-block-end: 1.5rem;
	font-size: 0.95rem;
	line-height: 1.5;
}

.otr-alert-error {
	background-color: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.otr-careers-form {
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(11, 58, 103, 0.06);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.otr-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

.otr-form-group {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.otr-form-group label {
	font-weight: 600;
	font-size: 0.92rem;
	color: #0b3a67;
}

.otr-form-group label .required {
	color: #b91c1c;
}

.otr-form-group input[type="text"],
.otr-form-group input[type="email"],
.otr-form-group input[type="tel"],
.otr-form-group select,
.otr-form-group textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 0.95rem;
	font-family: inherit;
	color: #1e293b;
	background-color: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.otr-form-group input[type="text"]:focus,
.otr-form-group input[type="email"]:focus,
.otr-form-group input[type="tel"]:focus,
.otr-form-group select:focus,
.otr-form-group textarea:focus {
	outline: none;
	border-color: #1e78b5;
	box-shadow: 0 0 0 3px rgba(30, 120, 181, 0.2);
}

.otr-file-input {
	padding: 0.5rem 0.2rem;
	font-size: 0.9rem;
	color: #475569;
}

.otr-form-help {
	font-size: 0.8rem;
	color: #64748b;
	margin-block-start: 0.25rem;
	line-height: 1.4;
}

.otr-form-privacy {
	margin-block-start: 0.5rem;
	padding: 1rem;
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.otr-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 0.88rem !important;
	color: #475569 !important;
	font-weight: 400 !important;
	line-height: 1.5;
	cursor: pointer;
}

.otr-checkbox-label input[type="checkbox"] {
	margin-top: 0.2rem;
	width: 1.1rem;
	height: 1.1rem;
	flex-shrink: 0;
	cursor: pointer;
	accent-color: #0b3a67;
}

.otr-form-actions {
	margin-block-start: 0.75rem;
}

.otr-careers-submit-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: #0b3a67;
	color: #ffffff !important;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.85rem 1.75rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.otr-careers-submit-btn:hover {
	background-color: #082847;
	transform: translateY(-1px);
}

.otr-careers-submit-btn:focus-visible {
	outline: 3px solid #f58220;
	outline-offset: 3px;
}

.otr-careers-confirmation {
	background: #ffffff;
	border: 2px solid #008080;
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 6px 24px rgba(0, 128, 128, 0.1);
	text-align: center;
}

.otr-confirmation-badge {
	width: 56px;
	height: 56px;
	margin: 0 auto 1.25rem;
	background: #008080;
	color: #ffffff;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.otr-careers-confirmation h2 {
	color: #0b3a67;
	font-size: 1.75rem;
	margin-block: 0 0.75rem;
}

.otr-confirmation-intro {
	color: #475569;
	font-size: 1.05rem;
	line-height: 1.6;
	max-width: 600px;
	margin: 0 auto 1.75rem;
}

.otr-confirmation-details {
	background-color: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.5rem;
	max-width: 540px;
	margin: 0 auto 2rem;
	text-align: start;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.otr-detail-item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	font-size: 0.95rem;
	border-bottom: 1px dashed #e2e8f0;
	padding-bottom: 0.5rem;
}

.otr-detail-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.otr-detail-label {
	color: #64748b;
	font-weight: 500;
}

.otr-ref-badge {
	display: inline-block;
	background: #0b3a67;
	color: #ffffff;
	padding: 0.25rem 0.65rem;
	border-radius: 4px;
	font-family: monospace;
	font-size: 0.95rem;
	letter-spacing: 0.05em;
}

.otr-confirmation-actions {
	display: flex;
	justify-content: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.otr-confirmation-actions .btn {
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.otr-careers-footer-note {
	margin-block-start: 2rem;
	padding: 1.25rem 1.5rem;
	background-color: #f8fafc;
	border-left: 4px solid #0b3a67;
	border-radius: 4px;
	font-size: 0.9rem;
	line-height: 1.6;
	color: #475569;
}

/* RTL Specific Overrides for Arabic Mode */
[dir="rtl"] .otr-careers-footer-note {
	border-left: none;
	border-right: 4px solid #0b3a67;
}

[dir="rtl"] .otr-careers-submit-btn .btn-arrow {
	transform: scaleX(-1);
}

[dir="rtl"] .otr-confirmation-details {
	text-align: start;
}

/* Responsive & Mobile Optimization */
@media (max-width: 768px) {
	.otr-careers {
		padding-block: 1.5rem;
	}

	.otr-careers-form {
		padding: 1.5rem 1.25rem;
	}

	.otr-form-row {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.otr-confirmation-actions {
		flex-direction: column;
	}

	.otr-confirmation-actions .btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.otr-careers-form {
		padding: 1.25rem 1rem;
	}

	.otr-detail-item {
		flex-direction: column;
		gap: 0.25rem;
	}

	.otr-careers-confirmation {
		padding: 1.5rem 1rem;
	}
}

/* Ultra-narrow viewport safety (320px) */
@media (max-width: 360px) {
	.otr-careers {
		padding-inline: 0.25rem;
	}

	.otr-careers-header h1 {
		font-size: 1.45rem;
	}

	.otr-careers-form input,
	.otr-careers-form select,
	.otr-careers-form textarea {
		padding: 0.6rem 0.75rem;
		font-size: 0.88rem;
	}

	.otr-careers-submit-btn {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   STAGE 4: Compact Movable WhatsApp Floating Button & Footer Cookie Link
   ========================================================================== */
.otr-whatsapp {
	position: fixed !important;
	inset-inline-end: 1.5rem !important;
	bottom: 1.5rem !important;
	z-index: 999 !important;
	width: 52px !important;
	height: 52px !important;
	border-radius: 50% !important;
	background: #25d366 !important;
	color: #fff !important;
	box-shadow: 0 4px 16px rgba(0,0,0,0.28) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	text-decoration: none !important;
	cursor: grab !important;
	touch-action: none !important;
	user-select: none !important;
	-webkit-user-drag: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.otr-whatsapp:active {
	cursor: grabbing !important;
}
.otr-whatsapp.is-dragging {
	transition: none !important;
	opacity: 0.92 !important;
	box-shadow: 0 8px 24px rgba(0,0,0,0.35) !important;
}
.otr-whatsapp:hover {
	background: #128c7e !important;
	color: #fff !important;
	transform: scale(1.06) !important;
	box-shadow: 0 6px 20px rgba(0,0,0,0.32) !important;
}
.otr-whatsapp:focus-visible {
	outline: 3px solid #f58220 !important;
	outline-offset: 3px !important;
}
.otr-whatsapp__icon {
	width: 28px !important;
	height: 28px !important;
	flex-shrink: 0 !important;
	fill: currentColor !important;
	pointer-events: none !important;
}
.otr-whatsapp__text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
@media (max-width: 600px) {
	.otr-whatsapp {
		width: 48px !important;
		height: 48px !important;
		inset-inline-end: 1rem !important;
		bottom: 1rem !important;
	}
	.otr-whatsapp__icon {
		width: 26px !important;
		height: 26px !important;
	}
}

/* Suppression of intrusive floating cookie strip trigger */
.otr-cookie-trigger:not(.otr-cookie-preferences-link) {
	display: none !important;
}

/* Clean, accessible footer cookie preferences link */
.otr-cookie-preferences-link {
	display: inline-block !important;
	color: inherit !important;
	text-decoration: underline !important;
	text-underline-offset: 3px !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
	font: inherit !important;
	font-size: 0.85rem !important;
	cursor: pointer !important;
	margin-inline-start: 1rem !important;
	transition: color 0.15s ease !important;
}
.otr-cookie-preferences-link:hover {
	color: #008080 !important;
}
.otr-cookie-preferences-link:focus-visible {
	outline: 2px solid #f58220 !important;
	outline-offset: 2px !important;
}
