/**
 * About page — scoped under .cob-about so nothing leaks into the rest of
 * the WordPress page (theme, header, footer, other shortcodes).
 *
 * Markup: shortcodes/about.php  ([about])
 * Script: assets/js/about.js
 *
 * Mobile-first. One desktop breakpoint at 900px (quotes grid at 768px).
 * Pink is reserved for the primary CTA and accent marks.
 */

.cob-about {
	all: initial;
	display: block;

	--bg: #F6F7FA;
	--text: #424242;
	--text-soft: #767676;
	--pink: #E91E63;
	--pink-light: #F06292;
	--blue: #2196F3;
	--teal: #0E7C7B;
	--teal-bright: #00C9A7;
	--navy: #1F3864;
	--navy-deep: #0F1E3D;
	--ink: #0F1E3D;
	--white: #FFFFFF;
	--line: #E6E8EE;
	--radius: 16px;
	--container: 1160px;
	box-sizing: border-box;
	direction: rtl;
	text-align: right;
	font-family: 'Rubik', sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	font-size: 16px;
	/* Break out of a boxed page container so the hero and bands reach the edges. */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.cob-about *,
.cob-about *::before,
.cob-about *::after {
	box-sizing: border-box;
}

.cob-about h1,
.cob-about h2,
.cob-about h3,
.cob-about p {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.cob-about a {
	color: inherit;
	text-decoration: none;
}

.cob-about button {
	font-family: inherit;
	cursor: pointer;
	background: none;
	border: none;
	color: inherit;
	padding: 0;
}

.cob-about img,
.cob-about svg {
	display: block;
	max-width: 100%;
}

/* every section shares one container, so edges always line up */
.cob-about .wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 24px;
}

@media (min-width: 900px) {
	.cob-about .wrap {
		padding: 0 48px;
	}
}

/* ---------- hero ---------- */
.cob-about .hero {
	position: relative;
	background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 65%, #16305c 100%);
	color: var(--white);
	padding: 88px 0 96px;
	overflow: hidden;
	z-index: 1 !important;
}

.cob-about .hero .wrap {
	position: relative;
	z-index: 2;
}

.cob-about .hero-route {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.5;
	width: 100%;
	height: 100%;
	max-width: none;
}

.cob-about .hero h1 {
	font-size: clamp(26px, 8.4vw, 34px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--white);
}

.cob-about .hero p {
	margin-top: 20px;
	font-size: 17px;
	color: #C7CEDA;
	max-width: 46ch;
}

@media (min-width: 900px) {
	.cob-about .hero h1 {
		font-size: 54px;
	}

	.cob-about .hero p {
		text-wrap: balance;
		font-size: 19px;
		max-width: none;
	}
}

/* ---------- story ---------- */
.cob-about .story {
	padding: 72px 0;
}

.cob-about .story h2 {
	font-size: 26px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 20px;
}

.cob-about .story p {
	font-size: 17px;
	margin-top: 16px;
	text-wrap: pretty;
}

.cob-about .story p:first-child {
	margin-top: 0;
}

@media (min-width: 900px) {
	.cob-about .story .cols {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}

	.cob-about .story p {
		margin-top: 0;
	}
}

/* ---------- what we do ---------- */
.cob-about .audience {
	padding: 64px 0;
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.cob-about .audience h2 {
	font-size: 26px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 8px;
}

.cob-about .audience .lede {
	color: var(--text-soft);
	font-size: 15px;
	margin-bottom: 36px;
}

.cob-about .aud-row {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--line);
}

.cob-about .aud-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}

.cob-about .aud-tag {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(33, 150, 243, 0.1);
}

.cob-about .aud-tag svg {
	width: 19px;
	height: 19px;
	stroke: var(--blue);
}

.cob-about .aud-item:nth-child(2) .aud-tag {
	background: rgba(233, 30, 99, 0.1);
}

.cob-about .aud-item:nth-child(2) .aud-tag svg {
	stroke: var(--pink);
}

.cob-about .aud-item:nth-child(3) .aud-tag {
	background: rgba(14, 124, 123, 0.1);
}

.cob-about .aud-item:nth-child(3) .aud-tag svg {
	stroke: var(--teal);
}

.cob-about .aud-body h3 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 4px;
	color: var(--ink);
}

.cob-about .aud-body p {
	font-size: 15px;
}

@media (min-width: 900px) {
	.cob-about .aud-row {
		flex-direction: row;
		border-top: none;
		gap: 32px;
	}

	.cob-about .aud-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		padding: 0;
		border-bottom: none;
		border-top: 3px solid var(--line);
		padding-top: 22px;
		flex: 1;
	}

	.cob-about .aud-item:nth-child(1) {
		border-top-color: var(--blue);
	}

	.cob-about .aud-item:nth-child(2) {
		border-top-color: var(--pink);
	}

	.cob-about .aud-item:nth-child(3) {
		border-top-color: var(--teal);
	}

	.cob-about .aud-tag {
		width: 44px;
		height: 44px;
	}

	.cob-about .aud-tag svg {
		width: 22px;
		height: 22px;
	}
}

/* ---------- media timeline ---------- */
.cob-about .media {
	padding: 72px 0;
}

.cob-about .media h2 {
	font-size: 26px;
	font-weight: 700;
	color: var(--ink);
}

.cob-about .media .lede {
	color: var(--text-soft);
	font-size: 15px;
	margin: 8px 0 40px;
}

.cob-about .timeline {
	position: relative;
	padding-inline-end: 0;
}

/* The dashed rail only belongs with the desktop dots. */
.cob-about .timeline::before {
	content: none;
}

.cob-about .tl-item {
	position: relative;
	padding-bottom: 36px;
}

.cob-about .tl-item:last-child {
	padding-bottom: 0;
}

.cob-about .tl-dot {
	display: none;
	position: absolute;
	right: 0;
	top: 6px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--white);
	border: 2px solid var(--pink);
	align-items: center;
	justify-content: center;
}

.cob-about .tl-dot::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pink);
}

/* Accent cycles pink → teal → blue, including cards revealed by "עוד כתבות". */
.cob-about .tl-item:nth-child(3n+2) .tl-dot {
	border-color: var(--teal-bright);
}

.cob-about .tl-item:nth-child(3n+2) .tl-dot::after {
	background: var(--teal-bright);
}

.cob-about .tl-item:nth-child(3n) .tl-dot {
	border-color: var(--blue);
}

.cob-about .tl-item:nth-child(3n) .tl-dot::after {
	background: var(--blue);
}

.cob-about .tl-card {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.cob-about .tl-thumb {
	height: 104px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
}

.cob-about .tl-thumb svg {
	width: 26px;
	height: 26px;
	stroke: rgba(255, 255, 255, 0.9);
	position: relative;
	z-index: 1;
}

.cob-about .tl-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.cob-about .tl-thumb:has(img)::before {
	content: none;
}

.cob-about .tl-thumb::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px);
	background-size: 16px 16px;
}

.cob-about .tl-item:nth-child(3n+2) .tl-thumb {
	background: linear-gradient(135deg, var(--teal) 0%, var(--teal-bright) 100%);
}

.cob-about .tl-item:nth-child(3n) .tl-thumb {
	background: linear-gradient(135deg, var(--blue) 0%, #64B5F6 100%);
}

.cob-about .tl-content {
	padding: 18px 20px 20px;
}

.cob-about .tl-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.cob-about .tl-source {
	font-size: 13px;
	font-weight: 700;
	color: var(--pink);
}

.cob-about .tl-item:nth-child(3n+2) .tl-source {
	color: var(--teal);
}

.cob-about .tl-item:nth-child(3n) .tl-source {
	color: var(--blue);
}

.cob-about .tl-date {
	font-size: 12px;
	color: var(--text-soft);
}

.cob-about .tl-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 8px;
	line-height: 1.4;
}

.cob-about .tl-body {
	font-size: 14.5px;
}

.cob-about .tl-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--blue);
	text-decoration: none;
}

.cob-about .tl-link:hover {
	text-decoration: underline;
}

/* Desktop: horizontal scroll strip, so more items can be added later. */
@media (min-width: 900px) {
	.cob-about .timeline-scroll {
		position: relative;
		margin: 0 calc(-1 * 48px);
		padding: 0 48px;
	}

	.cob-about .timeline {
		display: flex;
		gap: 28px;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		scroll-padding-inline: 48px;
		padding-bottom: 8px;
	}

	.cob-about .timeline::-webkit-scrollbar {
		height: 6px;
	}

	.cob-about .timeline::-webkit-scrollbar-thumb {
		background: var(--line);
		border-radius: 10px;
	}

	.cob-about .timeline::before {
		content: '';
		position: absolute;
		top: 9px;
		right: 48px;
		left: 48px;
		bottom: auto;
		height: 2px;
		width: auto;
		background-image: linear-gradient(90deg, var(--line) 60%, transparent 0%);
		background-size: 10px 2px;
		background-repeat: repeat-x;
	}

	.cob-about .tl-item {
		padding-bottom: 0;
		padding-top: 32px;
		flex: 0 0 320px;
		scroll-snap-align: start;
		display: flex;
		flex-direction: column;
	}

	.cob-about .tl-item .tl-dot {
		display: flex;
		position: absolute;
		top: 0;
		right: calc(50% - 10px);
		left: auto;
	}

	.cob-about .timeline-fade {
		position: absolute;
		top: 0;
		bottom: 8px;
		left: 48px;
		width: 56px;
		background: linear-gradient(to left, transparent, var(--bg));
		pointer-events: none;
	}
}

.cob-about .media-more {
	margin-top: 28px;
	font-size: 14px;
	font-weight: 600;
	color: var(--blue);
	background: none;
	border: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	font-family: inherit;
}

.cob-about .media-more:hover {
	text-decoration: underline;
}

.cob-about .media-more[hidden] {
	display: none;
}

.cob-about .media-more .chev {
	transition: transform 0.2s;
}

.cob-about .media-more.is-open .chev {
	transform: rotate(180deg);
}

.cob-about .tl-extra {
	display: none;
}

.cob-about .tl-extra.is-visible {
	display: block;
}

@media (min-width: 900px) {
	.cob-about .tl-extra.is-visible {
		display: flex;
	}
}

/* ---------- partners ---------- */
.cob-about .partners {
	padding: 72px 0;
	background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 100%);
	color: var(--white);
}

.cob-about .partners h2 {
	font-size: 26px;
	font-weight: 700;
	color: var(--white);
}

.cob-about .partners .lede {
	color: #AEB8C6;
	font-size: 15px;
	margin: 8px 0 36px;
	max-width: 60ch;
}

.cob-about .quote-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 768px) {
	.cob-about .quote-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.cob-about .quote-card {
	background: rgba(255, 255, 255, 0.06);
	border-radius: var(--radius);
	padding: 28px 24px;
	border-inline-start: 3px solid var(--pink);
}

.cob-about .quote-grid .quote-card:nth-child(2) {
	border-inline-start-color: var(--teal-bright);
}

.cob-about .quote-card p {
	font-size: 15px;
	font-style: italic;
	color: #DDE3EC;
}

.cob-about .quote-attr {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cob-about .quote-attr .name {
	font-weight: 700;
	font-size: 14.5px;
	color: var(--white);
}

.cob-about .quote-attr .role {
	font-size: 12.5px;
	color: #8FA0BD;
}

/* ---------- contact ---------- */
.cob-about .contact {
	padding: 72px 0 88px;
}

.cob-about .contact-box {
	text-align: center;
}

.cob-about .contact h2 {
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
}

.cob-about .contact p {
	color: var(--text-soft);
	margin-top: 8px;
}

.cob-about .contact .contact-email {
	font-size: 14px;
	margin-top: 4px;
}

.cob-about .contact-btn {
	display: inline-block;
	margin-top: 24px;
	background: linear-gradient(135deg, var(--pink) 0%, var(--pink-light) 100%);
	color: var(--white);
	font-weight: 600;
	font-size: 15px;
	padding: 13px 32px;
	border-radius: 24px;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(233, 30, 99, 0.25);
}

.cob-about .contact-btn:hover {
	box-shadow: 0 10px 24px rgba(233, 30, 99, 0.35);
	color: var(--white);
}

@media (min-width: 900px) {
	.cob-about .contact-box {
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: right;
		gap: 24px;
	}

	.cob-about .contact-btn {
		margin-top: 0;
		flex: 0 0 auto;
	}
}
