/* Cairo Cloud Blog — index, category and post design.
 * Brand: navy #0B1B3A, blue #0F62FE. LTR and RTL (Arabic) aware. */

.ccb {
	--ccb-navy: #0b1b3a;
	--ccb-navy-2: #0e2552;
	--ccb-blue: #0f62fe;
	--ccb-blue-600: #0b4fd6;
	--ccb-blue-50: #eef4ff;
	--ccb-ink: #13203d;
	--ccb-text: #364260;
	--ccb-muted: #6a7590;
	--ccb-line: #e3e8f2;
	--ccb-soft: #f5f8ff;
	--ccb-radius: 18px;
	--ccb-head: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
	--ccb-body: "Inter", system-ui, sans-serif;
	font-family: var(--ccb-body);
	color: var(--ccb-text);
	-webkit-font-smoothing: antialiased;
}
html[dir="rtl"] .ccb {
	--ccb-head: "Cairo", "Tajawal", system-ui, sans-serif;
	--ccb-body: "Cairo", "Tajawal", system-ui, sans-serif;
}
.ccb *,
.ccb *::before,
.ccb *::after { box-sizing: border-box; }
.ccb a { text-decoration: none; }
.ccb img { max-width: 100%; height: auto; }

/* ---------- Let our templates use the full page width (Astra) ---------- */
body.cc-blog-view { background: #fff; }
body.cc-blog-view .site-content > .ast-container {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	display: block !important;
}
body.cc-blog-view #content { padding: 0 !important; }

/* ---------- Layout wrappers ---------- */
.ccb .ccb-wrap { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: 24px; }
.ccb .ccb-wrap--wide{ max-width: 1200px; }
.ccb .ccb-wrap--cover{ max-width: 1168px; }
.ccb .ccb-wrap--layout{ max-width: 1168px; }

/* ---------- Hero ---------- */
.ccb .ccb-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(900px 420px at 88% -20%, rgba(15, 98, 254, .55), transparent 62%),
		radial-gradient(700px 360px at -10% 120%, rgba(56, 132, 255, .25), transparent 60%),
		linear-gradient(180deg, var(--ccb-navy) 0%, var(--ccb-navy-2) 100%);
}
.ccb .ccb-hero::before{
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	pointer-events: none;
}
.ccb .ccb-hero > .ccb-wrap{ position: relative; }
.ccb .ccb-hero--post{ padding: 56px 0 150px; }
.ccb .ccb-hero--index{ padding: 72px 0 64px; }

.ccb .ccb-crumbs{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 26px;
	font-size: 14px;
	color: rgba(255, 255, 255, .62);
}
.ccb .ccb-crumbs a{ color: rgba(255, 255, 255, .78); transition: color .15s; }
.ccb .ccb-crumbs a:hover{ color: #fff; }
.ccb .ccb-crumb-sep{
	width: 6px;
	height: 6px;
	border-top: 1.5px solid currentColor;
	border-inline-end: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: .6;
}
html[dir="rtl"] .ccb .ccb-crumb-sep{ transform: rotate(-45deg); }

.ccb .ccb-chip{
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	margin: 0 0 18px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #fff !important;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	transition: background .15s;
}
.ccb .ccb-chip:hover{ background: rgba(255, 255, 255, .18); }

.ccb .ccb-eyebrow{
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #9ec1ff;
}
.ccb .ccb-title {
	margin: 0;
	max-width: 900px;
	font-family: var(--ccb-head);
	font-size: clamp(32px, 4.4vw, 54px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: #fff;
}
.ccb .ccb-hero--index .ccb-title{ max-width: 820px; }
.ccb .ccb-dek{
	margin: 20px 0 0;
	max-width: 760px;
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.65;
	color: rgba(255, 255, 255, .78);
}

.ccb .ccb-byline{ display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.ccb .ccb-avatar{
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-family: var(--ccb-head);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #fff;
	background: linear-gradient(135deg, #3d8bff, var(--ccb-blue));
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .14);
	direction: ltr;
}
.ccb .ccb-avatar--lg{ width: 64px; height: 64px; font-size: 20px; box-shadow: 0 8px 20px -8px rgba(15, 98, 254, .6); }
.ccb .ccb-byline-text{ display: flex; flex-direction: column; gap: 2px; }
.ccb .ccb-author{ font-weight: 700; color: #fff; font-size: 15px; }
.ccb .ccb-byline-sub{ display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.ccb .ccb-dot{ width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .55; display: inline-block; }

/* ---------- Category chips (index / archive) ---------- */
.ccb .ccb-cats { margin-top: 34px; }
.ccb .ccb-cats ul{ list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.ccb .ccb-cats li{ margin: 0; }
.ccb .ccb-cats a{
	display: inline-flex;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255, 255, 255, .86) !important;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
	transition: background .15s, color .15s;
}
.ccb .ccb-cats a:hover{ background: rgba(255, 255, 255, .16); color: #fff !important; }
.ccb .ccb-cats a.is-active{ background: #fff; color: var(--ccb-navy) !important; border-color: #fff; }

/* ---------- Cover image ---------- */
.ccb .ccb-cover { margin: -104px 0 0; position: relative; z-index: 1; }
.ccb .ccb-cover-img{
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 24px;
	background: var(--ccb-soft);
	box-shadow: 0 30px 70px -24px rgba(11, 27, 58, .45);
}
.ccb .ccb-credit{ margin: 12px 4px 0; font-size: 13px; color: var(--ccb-muted); text-align: end; }
.ccb .ccb-credit a{ color: var(--ccb-muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Article layout ---------- */
.ccb .ccb-body {
	display: grid;
	grid-template-columns: 250px minmax(0, 740px);
	justify-content: center;
	gap: 64px;
	padding-top: 56px;
	padding-bottom: 80px;
}
.ccb .ccb-aside-inner{ position: sticky; top: 32px; }
.admin-bar .ccb-aside-inner { top: 64px; }
.ccb .ccb-aside-title{
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ccb-muted);
}
.ccb .ccb-toc{ list-style: none; margin: 0 0 32px; padding: 0; border-inline-start: 2px solid var(--ccb-line); }
.ccb .ccb-toc li{ margin: 0; }
.ccb .ccb-toc a{
	display: block;
	margin-inline-start: -2px;
	padding: 7px 0 7px 16px;
	padding-inline: 16px 0;
	border-inline-start: 2px solid transparent;
	font-size: 14px;
	line-height: 1.45;
	color: var(--ccb-muted);
	transition: color .15s, border-color .15s;
}
.ccb .ccb-toc a:hover{ color: var(--ccb-ink); }
.ccb .ccb-toc a.is-active{ color: var(--ccb-blue); border-inline-start-color: var(--ccb-blue); font-weight: 600; }

.ccb .ccb-toc-mobile{ display: none; }

/* ---------- Share ---------- */
.ccb .ccb-share { display: flex; flex-wrap: wrap; gap: 8px; }
.ccb .ccb-share-btn{
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--ccb-line);
	background: #fff;
	color: var(--ccb-ink) !important;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.ccb .ccb-share-btn:hover{ transform: translateY(-2px); border-color: transparent; color: #fff !important; }
.ccb .ccb-share-btn--whatsapp:hover{ background: #25d366; }
.ccb .ccb-share-btn--facebook:hover{ background: #1877f2; }
.ccb .ccb-share-btn--linkedin:hover{ background: #0a66c2; }
.ccb .ccb-share-btn--x:hover{ background: #111; }
.ccb .ccb-share-btn--link:hover{ background: var(--ccb-blue); }
.ccb .ccb-share-btn.is-done{ background: var(--ccb-blue); color: #fff !important; border-color: transparent; }

/* ---------- Article typography ---------- */
.ccb .ccb-content { font-size: 18px; line-height: 1.85; color: var(--ccb-text); }
html[dir="rtl"] .ccb .ccb-content{ font-size: 18.5px; line-height: 1.95; }
.ccb .ccb-content > :first-child{ margin-top: 0; }
.ccb .ccb-content p{ margin: 0 0 1.3em; }
.ccb .ccb-content h2,
.ccb .ccb-content h3{ font-family: var(--ccb-head); color: var(--ccb-navy); scroll-margin-top: 96px; }
.ccb .ccb-content h2{
	margin: 2.1em 0 .75em;
	font-size: clamp(24px, 2.4vw, 30px);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -.01em;
}
.ccb .ccb-content h2::before{
	content: "";
	display: block;
	width: 44px;
	height: 4px;
	margin-bottom: 16px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--ccb-blue), #6aa5ff);
}
.ccb .ccb-content h3{ margin: 1.7em 0 .55em; font-size: 21px; font-weight: 700; line-height: 1.4; }
.ccb .ccb-content a{ color: var(--ccb-blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ccb .ccb-content ul,
.ccb .ccb-content ol{ margin: 0 0 1.5em; padding: 0; list-style: none; }
.ccb .ccb-content li{ position: relative; margin: 0 0 .7em; padding-inline-start: 1.9em; }
.ccb .ccb-content ul > li::before{
	content: "";
	position: absolute;
	inset-inline-start: .45em;
	top: .78em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ccb-blue);
	box-shadow: 0 0 0 4px var(--ccb-blue-50);
}
html[dir="rtl"] .ccb .ccb-content ul > li::before{ top: .85em; }
.ccb .ccb-content ol{ counter-reset: ccb-ol; }
.ccb .ccb-content ol > li{ counter-increment: ccb-ol; padding-inline-start: 2.6em; }
.ccb .ccb-content ol > li::before{
	content: counter(ccb-ol);
	position: absolute;
	inset-inline-start: 0;
	top: .2em;
	display: grid;
	place-items: center;
	width: 1.7em;
	height: 1.7em;
	border-radius: 50%;
	font-size: .8em;
	font-weight: 700;
	line-height: 1;
	color: var(--ccb-blue);
	background: var(--ccb-blue-50);
}

/* Tables */
.ccb .ccb-content figure { margin: 0 0 1.4em; }
.ccb .ccb-content .cc-table{ overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ccb-line); border-radius: 14px; }
.ccb .ccb-content .cc-table table{ width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.55; }
.ccb .ccb-content .cc-table th,
.ccb .ccb-content .cc-table td{ padding: 14px 18px; border: 0; border-bottom: 1px solid var(--ccb-line); text-align: start; vertical-align: top; }
.ccb .ccb-content .cc-table thead th{ background: var(--ccb-navy); color: #fff; font-weight: 700; font-size: 14.5px; }
.ccb .ccb-content .cc-table tbody tr:nth-child(even) td{ background: var(--ccb-soft); }
.ccb .ccb-content .cc-table tbody tr:last-child td{ border-bottom: 0; }
.ccb .ccb-content .cc-table td:first-child{ font-weight: 600; color: var(--ccb-ink); }

/* Sources, notes, links */
.ccb .ccb-content .cc-post-source {
	margin-top: -.4em;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ccb-muted);
}
.ccb .ccb-content .cc-post-source a{ color: var(--ccb-muted); }
.ccb .ccb-content .cc-post-note{
	padding: 18px 22px;
	border-radius: 14px;
	background: #fff8e8;
	border: 1px solid #f6dfa6;
	border-inline-start: 5px solid #f5a623;
	color: #5c4813;
	font-size: 16.5px;
}
.ccb .ccb-content .cc-post-link{ margin: 0 0 12px; }
.ccb .ccb-content .cc-post-link a{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid var(--ccb-line);
	border-radius: 14px;
	background: #fff;
	color: var(--ccb-ink);
	font-weight: 600;
	font-size: 16.5px;
	line-height: 1.5;
	text-decoration: none;
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ccb .ccb-content .cc-post-link a::after{
	content: "→";
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ccb-blue-50);
	color: var(--ccb-blue);
	font-weight: 700;
}
html[dir="rtl"] .ccb .ccb-content .cc-post-link a::after{ content: "←"; }
.ccb .ccb-content .cc-post-link a:hover{ border-color: #b9cfff; box-shadow: 0 10px 24px -14px rgba(15, 98, 254, .5); transform: translateY(-1px); }

/* In-article CTA */
.ccb .ccb-content .cc-post-cta {
	position: relative;
	overflow: hidden;
	margin: 2.4em 0 1.8em;
	padding: 34px 36px;
	border-radius: 22px;
	color: #fff;
	background:
		radial-gradient(500px 240px at 100% 0%, rgba(110, 168, 255, .45), transparent 60%),
		linear-gradient(135deg, var(--ccb-navy), #123a8a 70%, var(--ccb-blue));
}
.ccb .ccb-content .cc-post-cta p{ margin: 0 0 10px; color: rgba(255, 255, 255, .86); font-size: 17px; line-height: 1.65; }
.ccb .ccb-content .cc-post-cta .cc-post-cta-title{ font-family: var(--ccb-head); font-size: 24px; font-weight: 800; line-height: 1.3; color: #fff; }
.ccb .ccb-content .cc-post-cta .cc-post-cta-link{ margin: 20px 0 0; }
.ccb .ccb-content .cc-post-cta a{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 22px;
	border-radius: 12px;
	background: #fff;
	color: var(--ccb-blue) !important;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
}
.ccb .ccb-content .cc-post-cta a::after{ content: "→"; }
html[dir="rtl"] .ccb .ccb-content .cc-post-cta a::after{ content: "←"; }
.ccb .ccb-content .cc-post-cta a:hover{ transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .45); }

/* Hide leftovers from the first blog version, if any */
.ccb .ccb-content .cc-related-h,
.ccb .ccb-content .cc-posts-grid{ display: none; }

/* ---------- Article foot + author box ---------- */
.ccb .ccb-article-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 40px;
	padding: 22px 0;
	border-top: 1px solid var(--ccb-line);
	border-bottom: 1px solid var(--ccb-line);
}
.ccb .ccb-foot-label{ margin: 0; font-weight: 700; color: var(--ccb-ink); font-size: 16px; }

.ccb .ccb-authorbox{
	display: flex;
	gap: 20px;
	align-items: flex-start;
	margin-top: 32px;
	padding: 28px;
	border-radius: var(--ccb-radius);
	background: var(--ccb-soft);
	border: 1px solid var(--ccb-line);
}
.ccb .ccb-authorbox-title{ margin: 0 0 6px; font-family: var(--ccb-head); font-size: 19px; font-weight: 800; color: var(--ccb-navy); }
.ccb .ccb-authorbox-text{ margin: 0 0 16px; font-size: 16px; line-height: 1.7; }
.ccb .ccb-authorbox-links{ display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }

/* ---------- Buttons ---------- */
.ccb .ccb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.ccb .ccb-btn:hover{ transform: translateY(-1px); }
.ccb .ccb-btn--primary{ background: var(--ccb-blue); color: #fff !important; }
.ccb .ccb-btn--primary:hover{ background: var(--ccb-blue-600); box-shadow: 0 10px 22px -10px rgba(15, 98, 254, .7); }
.ccb .ccb-btn--outline{ border: 1px solid #c9d6f2; color: var(--ccb-navy) !important; background: #fff; }
.ccb .ccb-btn--outline:hover{ border-color: var(--ccb-blue); color: var(--ccb-blue) !important; }
.ccb .ccb-btn--light{ background: #fff; color: var(--ccb-blue) !important; }
.ccb .ccb-btn--ghost{ border: 1px solid rgba(255, 255, 255, .4); color: #fff !important; }
.ccb .ccb-btn--ghost:hover{ background: rgba(255, 255, 255, .1); }

/* ---------- Cards ---------- */
.ccb .ccb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ccb .ccb-card{
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--ccb-radius);
	background: #fff;
	border: 1px solid var(--ccb-line);
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.ccb .ccb-card:hover{ transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(11, 27, 58, .45); border-color: #d3ddf3; }
.ccb .ccb-card-media{ position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ccb-navy); }
.ccb .ccb-card-img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; transition: transform .5s ease; }
.ccb .ccb-card:hover .ccb-card-img{ transform: scale(1.04); }
.ccb .ccb-card-placeholder{ position: absolute; inset: 0; background: linear-gradient(135deg, var(--ccb-navy), var(--ccb-blue)); }
.ccb .ccb-card-body{ display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; }
.ccb .ccb-card-cat { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ccb-blue); }
.ccb .ccb-card-title { margin: 0; font-family: var(--ccb-head); font-size: 19px; font-weight: 700; line-height: 1.38; color: var(--ccb-navy); }
.ccb .ccb-card-title a{ color: inherit !important; }
.ccb .ccb-card-title a::after{ content: ""; position: absolute; inset: 0; z-index: 1; }
.ccb .ccb-card-title a:focus-visible{ outline: none; }
.ccb .ccb-card:focus-within{ outline: 3px solid rgba(15, 98, 254, .45); outline-offset: 3px; }
.ccb .ccb-card-excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--ccb-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ccb .ccb-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 8px; font-size: 13.5px; color: var(--ccb-muted); }

.ccb .ccb-card--featured{ display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.ccb .ccb-card--featured .ccb-card-media{ aspect-ratio: auto; min-height: 340px; }
.ccb .ccb-card--featured .ccb-card-body{ justify-content: center; gap: 14px; padding: 40px 44px; }
.ccb .ccb-card--featured .ccb-card-title { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; line-height: 1.25; }
.ccb .ccb-card--featured .ccb-card-excerpt { font-size: 16.5px; -webkit-line-clamp: 4; }
.ccb .ccb-card--featured .ccb-card-meta { margin: 0; }
.ccb .ccb-card-more{ display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 700; color: var(--ccb-blue); }
.ccb .ccb-card-more::after{ content: "→"; transition: transform .2s; }
html[dir="rtl"] .ccb .ccb-card-more::after{ content: "←"; }
.ccb .ccb-card:hover .ccb-card-more::after{ transform: translateX(4px); }
html[dir="rtl"] .ccb .ccb-card:hover .ccb-card-more::after{ transform: translateX(-4px); }
.ccb .ccb-badge{
	position: absolute;
	top: 16px;
	inset-inline-start: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: var(--ccb-navy);
	background: #fff;
	box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35);
}

/* ---------- Index / archive body ---------- */
.ccb .ccb-index-body { padding-top: 56px; padding-bottom: 80px; }
.ccb .ccb-section-title { margin: 64px 0 24px; font-family: var(--ccb-head); font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--ccb-navy); line-height: 1.25; }
.ccb-archive .ccb-index-body .ccb-grid { margin-top: 0; }
.ccb .ccb-empty{ padding: 40px 0; text-align: center; color: var(--ccb-muted); }

.ccb .ccb-pagination{ margin-top: 44px; }
.ccb .ccb-pagination ul{ list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.ccb .ccb-pagination a,
.ccb .ccb-pagination span{ display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ccb-line); color: var(--ccb-ink); font-weight: 600; }
.ccb .ccb-pagination .current{ background: var(--ccb-blue); border-color: var(--ccb-blue); color: #fff; }

/* ---------- Related ---------- */
.ccb .ccb-related { padding: 72px 0 88px; background: var(--ccb-soft); border-top: 1px solid var(--ccb-line); }
.ccb .ccb-related-head{ display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ccb .ccb-related-head .ccb-section-title{ margin: 0; }
.ccb .ccb-link-arrow{ font-weight: 700; color: var(--ccb-blue) !important; white-space: nowrap; }
.ccb .ccb-link-arrow::after{ content: " →"; }
html[dir="rtl"] .ccb .ccb-link-arrow::after{ content: " ←"; }

/* ---------- CTA band (archive) ---------- */
.ccb .ccb-cta-band { padding: 0 0 88px; }
.ccb .ccb-cta-inner{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 40px 44px;
	border-radius: 24px;
	color: #fff;
	background:
		radial-gradient(520px 260px at 100% 0%, rgba(110, 168, 255, .45), transparent 60%),
		linear-gradient(135deg, var(--ccb-navy), #123a8a 70%, var(--ccb-blue));
}
.ccb .ccb-cta-copy h2{ margin: 0 0 8px; font-family: var(--ccb-head); font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; color: #fff; line-height: 1.3; }
.ccb .ccb-cta-copy p{ margin: 0; color: rgba(255, 255, 255, .82); font-size: 16.5px; }
.ccb .ccb-cta-actions{ display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Arabic: no letter-spacing (it breaks joined letters) ---------- */
html[dir="rtl"] .ccb .ccb-title,
html[dir="rtl"] .ccb .ccb-chip,
html[dir="rtl"] .ccb .ccb-eyebrow,
html[dir="rtl"] .ccb .ccb-aside-title,
html[dir="rtl"] .ccb .ccb-card-cat,
html[dir="rtl"] .ccb .ccb-content h2{ letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .ccb .ccb-title { line-height: 1.35; }
html[dir="rtl"] .ccb .ccb-chip,
html[dir="rtl"] .ccb .ccb-card-cat,
html[dir="rtl"] .ccb .ccb-aside-title{ font-size: 13.5px; }
html[dir="rtl"] .ccb .ccb-eyebrow{ font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.ccb .ccb-body{ grid-template-columns: minmax(0, 740px); gap: 0; }
	.ccb .ccb-aside{ display: none; }
	.ccb .ccb-toc-mobile{
		display: block;
		margin: 0 0 32px;
		border: 1px solid var(--ccb-line);
		border-radius: 14px;
		background: var(--ccb-soft);
	}
	.ccb .ccb-toc-mobile summary{
		cursor: pointer;
		list-style: none;
		padding: 16px 20px;
		font-weight: 700;
		color: var(--ccb-navy);
	}
	.ccb .ccb-toc-mobile summary::-webkit-details-marker{ display: none; }
	.ccb .ccb-toc-mobile summary::after{ content: "+"; float: inline-end; font-size: 20px; line-height: 1; color: var(--ccb-blue); }
	.ccb .ccb-toc-mobile[open] summary::after{ content: "–"; }
	.ccb .ccb-toc-mobile .ccb-toc{ margin: 0 20px 18px; }
	.ccb .ccb-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.ccb .ccb-card--featured{ grid-template-columns: 1fr; }
	.ccb .ccb-card--featured .ccb-card-media{ min-height: 0; aspect-ratio: 16 / 9; }
	.ccb .ccb-card--featured .ccb-card-body{ padding: 28px 28px 32px; }
}
@media (max-width: 640px) {
	.ccb .ccb-wrap{ padding-inline: 18px; }
	.ccb .ccb-hero--post{ padding: 36px 0 104px; }
	.ccb .ccb-hero--index{ padding: 48px 0 40px; }
	.ccb .ccb-crumbs{ margin-bottom: 18px; font-size: 13px; }
	.ccb .ccb-dek{ margin-top: 14px; }
	.ccb .ccb-byline{ margin-top: 22px; }
	.ccb .ccb-cover{ margin-top: -76px; }
	.ccb .ccb-cover-img{ border-radius: 16px; }
	.ccb .ccb-credit{ font-size: 12px; }
	.ccb .ccb-body{ padding-top: 36px; padding-bottom: 56px; }
	.ccb .ccb-content{ font-size: 17px; line-height: 1.8; }
	html[dir="rtl"] .ccb .ccb-content{ font-size: 17.5px; line-height: 1.9; }
	.ccb .ccb-content .cc-post-cta{ padding: 26px 22px; border-radius: 18px; }
	.ccb .ccb-content .cc-post-cta .cc-post-cta-title{ font-size: 21px; }
	.ccb .ccb-content .cc-table th,
	.ccb .ccb-content .cc-table td{ padding: 12px 14px; }
	.ccb .ccb-cats{ margin-top: 24px; }
	.ccb .ccb-cats ul{ flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
	.ccb .ccb-cats ul::-webkit-scrollbar{ display: none; }
	.ccb .ccb-cats a{ white-space: nowrap; }
	.ccb .ccb-grid{ grid-template-columns: 1fr; gap: 18px; }
	.ccb .ccb-index-body{ padding-top: 32px; padding-bottom: 56px; }
	.ccb .ccb-section-title { margin-top: 44px; }
	.ccb .ccb-authorbox{ flex-direction: column; padding: 22px; }
	.ccb .ccb-related{ padding: 52px 0 64px; }
	.ccb .ccb-related-head{ flex-direction: column; align-items: flex-start; }
	.ccb .ccb-cta-inner{ padding: 30px 24px; }
	.ccb .ccb-cta-band{ padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
	.ccb *,
	.ccb *::before,
	.ccb *::after { transition: none !important; }
}

/* Keep a gap around inline links whose neighbouring spaces get trimmed by the translator (Arabic). */
html[dir="rtl"] .ccb .ccb-credit a,
html[dir="rtl"] .ccb .ccb-content .cc-post-source a { margin-inline: .3em; }
