/* ==========================================================================
   The Curious Side — theme stylesheet
   Signature palette: Soft Lilac (#9065E0) + Midnight Ink (#141E28)
   ========================================================================== */

:root {
	--color-accent: #9065E0;
	--color-accent-hover: #7B4FD6;
	--color-dark: #141E28;
	--color-bg: #FAF8F4;
	--color-surface: #FFFFFF;
	--color-border: rgba(20, 30, 40, 0.12);
	--color-badge-bg: rgba(144, 101, 224, 0.12);

	--font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--font-editorial: 'Playfair Display', Georgia, serif;
	--font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
	--font-logo: 'Cormorant Garamond', Georgia, serif;

	--container-max: 1280px;
	--radius-lg: 24px;
	--radius-md: 16px;
	--radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font-sans);
	background-color: var(--color-bg);
	color: var(--color-dark);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-editorial) !important; margin: 0; }

.entry-content p { margin: 0 0 1.25em; }
.entry-content h2 { font-size: 1.5rem; font-weight: 700; margin: 1.75em 0 0.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; }
.entry-content li { margin-bottom: 0.4em; }

/* padding-left/right (not the shorthand) below: .cs-container is combined
   with other classes that carry their OWN vertical padding (e.g.
   .cs-header__bar's 0.9rem top/bottom) — the shorthand `padding: 0 1rem
   !important` would set padding-top/bottom to 0 !important too, since a
   shorthand with !important makes every longhand it expands to !important,
   silently collapsing any element that combines both classes. */
.cs-container {
	max-width: var(--container-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}
@media (min-width: 640px) {
	.cs-container { padding-left: 2rem !important; padding-right: 2rem !important; }
}

/* ---------- Buttons & form basics ---------- */
.cs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: none;
	border-radius: 999px;
	font-family: var(--font-sans);
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s ease, box-shadow 0.2s ease;
}
.cs-btn--accent { background: var(--color-accent); color: #fff; padding: 0.7rem 1.5rem; font-size: 0.8rem; }
.cs-btn--accent:hover { opacity: 0.92; }
.cs-btn--sm { padding: 0.5rem 1rem; font-size: 0.72rem; }
.cs-btn--block { width: 100%; }
.cs-btn--wide { width: 100%; padding: 0.9rem 2rem; text-transform: uppercase; letter-spacing: 0.08em; }
@media (min-width: 640px) {
	.cs-btn--wide { width: auto; align-self: flex-start; }
}

.cs-form { display: flex; flex-direction: column; gap: 1.1rem; }
.cs-form--tight { gap: 0.6rem; }
.cs-form__row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 640px) {
	.cs-form__row { grid-template-columns: 1fr 1fr; }
}
.cs-form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.cs-form__label {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(20, 30, 40, 0.75);
}
.cs-form__input {
	width: 100%;
	padding: 0.85rem 1.1rem;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	color: var(--color-dark);
}
.cs-form__input:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.cs-form__hint { font-size: 0.7rem; text-align: center; color: rgba(20, 30, 40, 0.5); margin: 0.25rem 0 0; }

.cs-alert { border-radius: 14px; padding: 1rem 1.25rem; font-size: 0.85rem; line-height: 1.5; }
.cs-alert--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-weight: 700 !important; font-style: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";}
.cs-alert--success:not(.cs-alert--big) { display: flex; align-items: center; gap: 0.6rem; }
.cs-alert__icon { flex-shrink: 0; color: #059669; }
.cs-alert--error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.cs-alert--sm { font-size: 0.75rem; padding: 0.75rem 1rem; }
.cs-alert--big {
	text-align: center;
	padding: 2rem;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 16px;
	color: #065f46;
	animation: cs-success-fade-in 0.35s ease both;
}
.cs-alert--big__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: #d1fae5;
	color: #047857;
}
.cs-alert--big__icon svg { display: block; }
.cs-alert--big h3 {
	font-family: var(--font-editorial);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	color: #022c22;
}
.cs-alert--big p {
	max-width: 28rem;
	margin: 0 auto;
	font-family: var(--font-sans);
	font-size: 0.95rem;
	line-height: 1.65;
	color: #065f46;
}
@keyframes cs-success-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

.cs-eyebrow {
	display: inline-block;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: var(--color-badge-bg);
	color: var(--color-accent);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.cs-badge {
	display: inline-block;
	align-self: flex-start;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	background: var(--color-badge-bg);
	color: var(--color-accent);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.cs-empty { text-align: center; color: rgba(20,30,40,0.6); padding: 3rem 0; }

/* ---------- Header ---------- */
.cs-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(250, 248, 244, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
}
.cs-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0;
}
.cs-brand { display: flex; align-items: center; gap: 0.65rem; }
.cs-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-accent);
	flex-shrink: 0;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	will-change: transform;
}
.cs-brand__mark:hover {
	transform: scale(1.18);
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.16);
}
.cs-brand__mark img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cs-brand__name {
	font-family: var(--font-logo);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--color-dark);
}
.cs-nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) {
	.cs-nav { display: flex; }
}
.cs-nav__link {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--color-dark);
	opacity: 0.85;
	transition: opacity 0.2s ease, color 0.2s ease;
}
.cs-nav__link:hover { opacity: 1; }
.cs-nav__link.is-active { color: var(--color-accent); font-weight: 600; opacity: 1; }

.cs-header__actions { display: flex; align-items: center; gap: 0.6rem; }
.cs-header__burger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 34px;
	height: 34px;
	background: none;
	border: none;
	cursor: pointer;
}
@media (min-width: 1024px) {
	.cs-header__burger { display: none; }
}
.cs-header__burger span { display: block; height: 2px; background: var(--color-dark); border-radius: 2px; }

.cs-mobile-nav {
	display: none;
	flex-direction: column;
	gap: 0.6rem;
	padding: 1.25rem 1.5rem 1.5rem;
	border-top: 1px solid var(--color-border);
	background: var(--color-bg);
}
.cs-mobile-nav.is-open { display: flex; }
@media (min-width: 1024px) {
	.cs-mobile-nav { display: none !important; }
}
.cs-mobile-nav__label {
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	color: rgba(20,30,40,0.5);
	margin-top: 0.4rem;
}
.cs-mobile-nav a { padding: 0.35rem 0; font-size: 1rem; font-weight: 500; }
.cs-mobile-nav__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.cs-mobile-nav__grid a {
	padding: 0.4rem 0.7rem;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: #fff;
	font-size: 0.85rem;
}

/* ---------- Subscribe modal ---------- */
.cs-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cs-modal[hidden] { display: none; }
.cs-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); }
.cs-modal__panel {
	position: relative;
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 2rem;
	max-width: 420px;
	width: 100%;
	border: 1px solid var(--color-border);
	box-shadow: 0 30px 60px rgba(20,30,40,0.25);
}
.cs-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 32px;
	height: 32px;
	border-radius: 999px;
	border: none;
	background: transparent;
	font-size: 1.4rem;
	line-height: 1;
	color: rgba(20,30,40,0.4);
	cursor: pointer;
}
.cs-modal__close:hover { background: rgba(20,30,40,0.06); color: var(--color-dark); }
.cs-modal__icon {
	width: 48px; height: 48px;
	border-radius: 999px;
	background: var(--color-badge-bg);
	color: var(--color-accent);
	display: flex; align-items: center; justify-content: center;
	font-size: 1.3rem;
	margin: 0 auto 0.9rem;
}
.cs-modal__title { text-align: center; font-size: 1.4rem; font-weight: 700; }
.cs-modal__sub { text-align: center; font-size: 0.85rem; color: rgba(20,30,40,0.65); margin: 0.5rem 0 1.5rem; line-height: 1.6; }

.cs-modal-form__label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: none; letter-spacing: normal; color: rgba(20,30,40,0.75); margin-bottom: 0.3rem; }
.cs-modal-form__input { background: #fff; border-color: rgba(20,30,40,0.15); border-radius: 12px; padding: 0.65rem 1rem; font-size: 0.9rem; }
.cs-modal-form__input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.cs-btn--upper { text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Footer ---------- */
.cs-footer { background: var(--color-dark); color: #fff; padding: 4rem 0 2.5rem; margin-top: 4rem; }
.cs-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) {
	.cs-footer__grid { grid-template-columns: 5fr 3fr 4fr; }
}
.cs-footer__desc { font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 26rem; margin: 1rem 0; }
.cs-footer__desc--sm { font-size: 0.8rem; }
.cs-trustpilot {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	padding: 0.55rem 0.9rem;
	font-size: 0.75rem;
}
.cs-trustpilot__badge { color: #00b67a; font-weight: 700; }
.cs-trustpilot__stars { color: #00b67a; letter-spacing: 1px; }
.cs-trustpilot__score { border-left: 1px solid rgba(255,255,255,0.15); padding-left: 0.6rem; font-weight: 600; }
.cs-footer__heading { font-family: var(--font-editorial); font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.cs-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.cs-footer__links a { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
.cs-footer__links a:hover { color: #fff; text-decoration: underline; }
.cs-footer__social { display: flex; gap: 0.7rem; margin-top: 0.75rem; }
.cs-social {
	width: 36px; height: 36px;
	border-radius: 999px;
	background: rgba(255,255,255,0.1);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	transition: background-color 0.2s ease;
}
.cs-social:hover { background: rgba(255,255,255,0.25); }
.cs-footer__bottom { padding-top: 2rem; font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* ---------- Category archive ---------- */
.cs-cat-topbar { background: var(--color-bg); border-bottom: 1px solid var(--color-border); padding: 0.75rem 0; margin-bottom: 3rem; }
.cs-cat-topbar__row { display: flex; align-items: center; justify-content: space-between; }
.cs-back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; font-weight: 600; color: var(--color-dark); }
.cs-back-link--muted { color: rgba(20,30,40,0.75); }
.cs-back-link svg { transition: transform 0.2s ease; }
.cs-back-link:hover svg { transform: translateX(-3px); }
.cs-back-link:hover { opacity: 0.8; }
.cs-breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: rgba(20,30,40,0.6); }
.cs-breadcrumb__eyebrow { color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: none; }
@media (min-width: 640px) { .cs-breadcrumb__eyebrow { display: inline; } }
.cs-breadcrumb a { font-weight: 500; color: rgba(20,30,40,0.8); }
.cs-breadcrumb a:hover { text-decoration: underline; }
.cs-breadcrumb__current { font-weight: 600; color: var(--color-dark); }

.cs-cat-wrap { padding-bottom: 6rem; }
.cs-cat-heading { border-bottom: 1px solid rgba(20,30,40,0.12); padding-bottom: 1rem; margin-bottom: 3rem; }
.cs-cat-heading h1 { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.01em; }
@media (min-width: 640px) { .cs-cat-heading h1 { font-size: 3rem; } }

.cs-cat-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 2rem; }
@media (min-width: 768px) { .cs-cat-grid { grid-template-columns: 1fr 1fr; } }
.cs-cat-card__img-link { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #f0f0f0; border-radius: 4px; }
.cs-cat-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-cat-card__img--fallback { background: linear-gradient(135deg, var(--color-badge-bg), var(--color-border)); display: block; }
.cs-cat-card:hover .cs-cat-card__img { transform: scale(1.02); }
.cs-cat-card__title { margin-top: 0.9rem; font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; font-family: var(--font-sans); }
.cs-cat-card__title a:hover { opacity: 0.75; }

.cs-pagination, .navigation.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; font-size: 0.85rem; }
.navigation.pagination .nav-links { display: flex; gap: 0.5rem; }
.navigation.pagination a, .navigation.pagination span {
	padding: 0.5rem 0.9rem;
	border: 1px solid var(--color-border);
	border-radius: 8px;
}
.navigation.pagination .current { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ---------- Single article ---------- */
.cs-single-wrap { padding: 2.5rem 0 4rem; }
.cs-single-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 1.5rem; }
@media (min-width: 1024px) { .cs-single-grid { grid-template-columns: 2fr 1fr; align-items: start; } }

.cs-article { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.5rem; }
@media (min-width: 640px) { .cs-article { padding: 2.5rem; } }
.cs-article__header { border-bottom: 1px solid var(--color-border); padding-bottom: 1.5rem; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.cs-article__title { font-size: 1.9rem; line-height: 1.2; font-weight: 700; }
@media (min-width: 640px) { .cs-article__title { font-size: 2.6rem; } }
.cs-article__byline { display: flex; align-items: center; gap: 0.75rem; }
.cs-article__avatar { width: 42px; height: 42px; border-radius: 999px; object-fit: cover; }
.cs-article__byline-name { display: block; font-size: 0.9rem; font-weight: 600; }
.cs-article__byline-role { display: block; font-size: 0.72rem; color: rgba(20,30,40,0.6); }

.cs-article__figure { margin: 0 0 2rem; }
.cs-article__figure-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 16/9; }
.cs-article__figure-img { width: 100%; height: 100%; object-fit: cover; }

.cs-article__body { font-size: 1.05rem; line-height: 1.85; color: rgba(20,30,40,0.9); max-width: 70ch; }
.cs-article__pullquote {
	font-family: var(--font-editorial);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--color-dark);
	border-left: 4px solid var(--color-accent);
	padding-left: 1.25rem;
	margin: 1.5rem 0;
}

.cs-author-box {
	margin-top: 2.5rem;
	padding: 1.5rem;
	background: var(--color-bg);
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border);
	display: flex;
	gap: 1rem;
	align-items: center;
}
.cs-author-box__avatar { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.cs-author-box__name { font-size: 1rem; font-weight: 700; margin: 0 0 0.25rem; }
.cs-author-box__bio { font-size: 0.8rem; color: rgba(20,30,40,0.7); margin: 0; line-height: 1.5; }

/* ---------- Sidebar widgets ---------- */
.cs-sidebar { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) { .cs-sidebar { position: sticky; top: 6rem; } }
.cs-widget { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; }
.cs-widget--author { text-align: center; }
.cs-widget__avatar-wrap { position: relative; display: inline-block; margin-bottom: 0.75rem; }
.cs-widget__avatar { width: 88px; height: 88px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 3px var(--color-dark); }
.cs-widget__avatar-badge {
	position: absolute; bottom: 0; right: 0;
	width: 24px; height: 24px; border-radius: 999px;
	background: var(--color-accent); color: #fff;
	border: 2px solid var(--color-surface);
	display: flex; align-items: center; justify-content: center;
	font-size: 0.7rem;
}
.cs-widget__name { font-size: 1.15rem; font-weight: 700; }
.cs-widget__role { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--color-accent); margin: 0.2rem 0 0.75rem; }
.cs-widget__bio { font-size: 0.8rem; color: rgba(20,30,40,0.75); line-height: 1.6; }

.cs-widget__heading-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.cs-widget__icon {
	width: 28px; height: 28px; border-radius: 999px;
	background: var(--color-badge-bg); color: var(--color-accent);
	display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}
.cs-widget__title { font-size: 1rem; font-weight: 700; }
.cs-widget__title--bordered { border-bottom: 1px solid var(--color-border); padding-bottom: 0.75rem; margin-bottom: 1rem; }
.cs-widget__text { font-size: 0.78rem; color: rgba(20,30,40,0.7); line-height: 1.6; margin: 0 0 1rem; }

.cs-recent-list { display: flex; flex-direction: column; gap: 1rem; }
.cs-recent-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.cs-recent-item__img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cs-recent-item__body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.cs-recent-item__cat { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--color-accent); }
.cs-recent-item__title {
	font-family: var(--font-editorial);
	font-size: 0.82rem; font-weight: 700; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cs-recent-item:hover .cs-recent-item__title { color: var(--color-accent); }

/* ---------- Contact page ---------- */
.cs-contact-wrap { padding: 3rem 0 4rem; }
.cs-contact-heading { text-align: center; max-width: 40rem; margin: 0 auto 2.5rem; }
.cs-contact-heading h1 { font-size: 2.4rem; }
@media (min-width: 640px) { .cs-contact-heading h1 { font-size: 3rem; } }
.cs-contact-heading__sub { font-size: 0.95rem; color: rgba(20,30,40,0.75); margin-top: 0.75rem; line-height: 1.6; }
.cs-contact-card {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: center;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}
@media (min-width: 1024px) { .cs-contact-card { grid-template-columns: 5fr 7fr; padding: 2.5rem; gap: 3rem; } }
.cs-contact-card__image { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-border); aspect-ratio: 4/5; }
.cs-contact-card__image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Legal pages ---------- */
.cs-legal-wrap { padding: 2.5rem 0 4rem; max-width: 860px; }
.cs-legal-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.cs-legal-tab { padding: 0.55rem 1.1rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: rgba(20,30,40,0.7); }
.cs-legal-tab:hover { background: #fff; }
.cs-legal-tab.is-active { background: var(--color-dark); color: #fff; }
.cs-legal-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; }
@media (min-width: 640px) { .cs-legal-card { padding: 3rem; } }
.cs-legal-card__header { border-bottom: 1px solid var(--color-border); padding-bottom: 1.25rem; margin-bottom: 1.75rem; }
.cs-legal-card__header h1 { font-size: 1.9rem; }
.cs-legal-card__body { font-size: 0.95rem; color: rgba(20,30,40,0.8); line-height: 1.75; }
.cs-legal-card__body h2 { font-size: 1.15rem; font-weight: 700; color: var(--color-dark); }

/* ---------- Homepage: editorial hero ---------- */
@keyframes cs-marquee {
	0% { transform: translateX(0%); }
	100% { transform: translateX(-50%); }
}

/* !important on .cs-hero / .cs-sections / .cs-logo-slider / .cs-newsletter*
   below: each is also applied via Elementor's "CSS Classes" control to a
   homepage section container, whose own generated CSS sits at equal-or-
   higher selector specificity (see the note above .cs-about-split). */
.cs-hero { padding-top: 1.5rem !important; padding-bottom: 2.5rem !important; }
@media (min-width: 640px) { .cs-hero { padding-top: 2rem !important; padding-bottom: 2.5rem !important; } }
.cs-hero-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
@media (min-width: 768px) { .cs-hero-grid { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .cs-hero-grid { gap: 2rem; } }

.cs-hero-left { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .cs-hero-left { grid-column: span 5; } }
@media (min-width: 1024px) { .cs-hero-left { grid-column: span 3; gap: 2rem; } }
.cs-hero-item__img { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #f0f0f0; }
.cs-hero-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-hero-item:hover .cs-hero-item__img img { transform: scale(1.02); }
/* font-family !important below: the prototype deliberately mixes serif
   "editorial" titles (only the Beauty and Highlight/Tech featured cards)
   with plain sans-serif bold titles everywhere else — but the global
   `h1,h2,h3,h4{font-family:editorial!important}` rule flattens that
   distinction, so every other title class here must explicitly opt back
   into the sans body font at matching specificity. */
.cs-hero-item__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 0.95rem; line-height: 1.4; margin-top: 0.7rem; }
@media (min-width: 640px) { .cs-hero-item__title { font-size: 1rem; } }
.cs-hero-item:hover .cs-hero-item__title { opacity: 0.75; }

.cs-hero-center { }
@media (min-width: 768px) { .cs-hero-center { grid-column: span 7; } }
@media (min-width: 1024px) { .cs-hero-center { grid-column: span 6; } }
.cs-hero-center__img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #f0f0f0; }
.cs-hero-center__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-hero-center:hover .cs-hero-center__img img { transform: scale(1.02); }
.cs-hero-center__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 1.5rem; line-height: 1.25; margin-top: 1rem; }
@media (min-width: 640px) { .cs-hero-center__title { font-size: 1.85rem; } }
@media (min-width: 1024px) { .cs-hero-center__title { font-size: 2.2rem; } }
.cs-hero-center:hover .cs-hero-center__title { opacity: 0.75; }
.cs-hero-center__excerpt { color: rgba(20,30,40,0.65); font-size: 0.85rem; line-height: 1.6; margin-top: 0.65rem; }
@media (min-width: 640px) { .cs-hero-center__excerpt { font-size: 0.95rem; } }

.cs-hero-right { }
@media (min-width: 768px) { .cs-hero-right { grid-column: span 12; } }
@media (min-width: 1024px) { .cs-hero-right { grid-column: span 3; } }
.cs-trending-banner { background: var(--color-accent); color: #fff; padding: 0.5rem 0.9rem; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cs-trending-stripe { height: 6px; width: 100%; opacity: 0.8; margin-bottom: 0.75rem; background-image: repeating-linear-gradient(45deg, var(--color-accent) 0, var(--color-accent) 2px, transparent 0, transparent 6px); }
.cs-trending-list { display: flex; flex-direction: column; }
.cs-trending-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px solid rgba(20,30,40,0.1); }
.cs-trending-item:first-child { padding-top: 0; }
.cs-trending-item:last-child { padding-bottom: 0; border-bottom: none; }
.cs-trending-item__body { flex: 1; min-width: 0; padding-right: 0.25rem; }
.cs-trending-item__cat { display: block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin-bottom: 0.25rem; }
.cs-trending-item__title { font-weight: 700; font-size: 0.78rem; color: var(--color-dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-trending-item:hover .cs-trending-item__title { opacity: 0.75; }
.cs-trending-item__img { display: block; width: 82px; height: 58px; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f0f0f0; }
.cs-trending-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.cs-trending-item:hover .cs-trending-item__img img { transform: scale(1.05); }

/* ---------- Homepage: category sections ---------- */
.cs-sections { padding-top: 3rem !important; padding-bottom: 3rem !important; display: flex !important; flex-direction: column !important; gap: 5rem !important; }
.cs-section__header { display: flex; flex-direction: column; gap: 0.75rem; justify-content: space-between; border-bottom: 2px solid var(--color-border); padding-bottom: 1rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .cs-section__header { flex-direction: row; align-items: flex-end; } }
.cs-section__title { font-size: 1.6rem; font-weight: 700; }
@media (min-width: 640px) { .cs-section__title { font-size: 1.85rem; } }
.cs-section__title a:hover { opacity: 0.8; }
.cs-section__explore { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 600; color: rgba(20,30,40,0.7); }
.cs-section__explore:hover { opacity: 0.8; }

/* Fashion: clean 2-col editorial */
.cs-fashion-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem 2rem; }
@media (min-width: 768px) { .cs-fashion-grid { grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; } }
.cs-fashion-card__img { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #f0f0f0; }
.cs-fashion-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-fashion-card:hover .cs-fashion-card__img img { transform: scale(1.02); }
.cs-fashion-card__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.35; margin-top: 0.9rem; }
@media (min-width: 640px) { .cs-fashion-card__title { font-size: 1.35rem; } }
.cs-fashion-card:hover .cs-fashion-card__title { opacity: 0.75; }
.cs-fashion-card__excerpt { color: rgba(20,30,40,0.65); font-size: 0.85rem; line-height: 1.6; margin-top: 0.5rem; }
@media (min-width: 640px) { .cs-fashion-card__excerpt { font-size: 0.95rem; } }

/* Lifestyle: 3-col cards with author byline */
.cs-lifestyle-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 768px) { .cs-lifestyle-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.cs-lifestyle-card__img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #f0f0f0; margin-bottom: 0.85rem; }
.cs-lifestyle-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-lifestyle-card:hover .cs-lifestyle-card__img img { transform: scale(1.03); }
.cs-lifestyle-card__cat { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-accent); margin-bottom: 0.4rem; }
.cs-lifestyle-card__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.35; }
.cs-lifestyle-card:hover .cs-lifestyle-card__title { opacity: 0.75; }
.cs-lifestyle-card__byline { display: block; font-size: 0.75rem; color: rgba(20,30,40,0.5); font-weight: 500; margin: 0.4rem 0; }
.cs-lifestyle-card__excerpt { color: rgba(20,30,40,0.65); font-size: 0.82rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Travel: horizontal list */
.cs-travel-list { display: flex; flex-direction: column; }
.cs-travel-item { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.4rem 0; border-bottom: 1px solid rgba(20,30,40,0.1); }
.cs-travel-item:first-child { padding-top: 0; }
.cs-travel-item:last-child { padding-bottom: 0; border-bottom: none; }
@media (min-width: 640px) { .cs-travel-item { flex-direction: row; align-items: flex-start; gap: 1.75rem; } }
.cs-travel-item__img { display: block; width: 100%; flex-shrink: 0; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #f0f0f0; }
@media (min-width: 640px) { .cs-travel-item__img { width: 15rem; } }
@media (min-width: 1024px) { .cs-travel-item__img { width: 18rem; } }
.cs-travel-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-travel-item:hover .cs-travel-item__img img { transform: scale(1.02); }
.cs-travel-item__body { flex: 1; min-width: 0; }
.cs-travel-item__cat { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 4px; background: #4A2633; color: #fff; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.cs-travel-item__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 1.05rem; letter-spacing: -0.01em; line-height: 1.35; }
@media (min-width: 640px) { .cs-travel-item__title { font-size: 1.15rem; } }
.cs-travel-item:hover .cs-travel-item__title { opacity: 0.75; }
.cs-travel-item__byline { display: block; font-size: 0.75rem; color: rgba(20,30,40,0.5); font-weight: 500; margin: 0.3rem 0; }
.cs-travel-item__excerpt { color: rgba(20,30,40,0.65); font-size: 0.85rem; line-height: 1.6; margin-top: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Beauty: large feature + side list */
.cs-beauty-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .cs-beauty-grid { grid-template-columns: 7fr 5fr; gap: 2.5rem; } }
.cs-beauty-feature__img { display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: 4px; background: #f0f0f0; }
.cs-beauty-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-beauty-feature:hover .cs-beauty-feature__img img { transform: scale(1.02); }
.cs-beauty-feature__title { font-family: var(--font-editorial); font-weight: 700; color: var(--color-dark); font-size: 1.5rem; line-height: 1.3; letter-spacing: -0.01em; margin-top: 1rem; }
@media (min-width: 640px) { .cs-beauty-feature__title { font-size: 1.85rem; } }
.cs-beauty-feature:hover .cs-beauty-feature__title { opacity: 0.75; }
.cs-beauty-feature__excerpt { color: rgba(20,30,40,0.65); font-size: 0.9rem; line-height: 1.6; margin-top: 0.5rem; }
.cs-beauty-side { display: flex; flex-direction: column; }
.cs-beauty-side-item { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid rgba(20,30,40,0.1); }
.cs-beauty-side-item:first-child { padding-top: 0; }
.cs-beauty-side-item:last-child { padding-bottom: 0; border-bottom: none; }
.cs-beauty-side-item__img { display: block; width: 5.5rem; height: 5.5rem; flex-shrink: 0; border-radius: 4px; overflow: hidden; background: #f0f0f0; }
.cs-beauty-side-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s ease; }
.cs-beauty-side-item:hover .cs-beauty-side-item__img img { transform: scale(1.05); }
.cs-beauty-side-item__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 0.85rem; line-height: 1.4; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-beauty-side-item:hover .cs-beauty-side-item__title { opacity: 0.75; }

/* Tech (and any other category): highlight card + secondary cards */
.cs-highlight-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 1024px) { .cs-highlight-grid { grid-template-columns: 7fr 5fr; } }
.cs-highlight-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s ease; }
.cs-highlight-card:hover { box-shadow: 0 12px 30px rgba(20,30,40,0.1); }
.cs-highlight-card__img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.cs-highlight-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cs-highlight-card:hover .cs-highlight-card__img-wrap img { transform: scale(1.05); }
.cs-highlight-card__cat { position: absolute; top: 1rem; left: 1rem; padding: 0.3rem 0.75rem; border-radius: 999px; background: rgba(20,30,40,0.85); color: #fff; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; backdrop-filter: blur(2px); }
.cs-highlight-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
@media (min-width: 640px) { .cs-highlight-card__body { padding: 1.75rem; } }
.cs-highlight-card__title { font-family: var(--font-editorial); font-weight: 700; color: var(--color-dark); font-size: 1.25rem; line-height: 1.35; }
@media (min-width: 640px) { .cs-highlight-card__title { font-size: 1.4rem; } }
.cs-highlight-card:hover .cs-highlight-card__title { opacity: 0.85; }
.cs-highlight-card__excerpt { color: rgba(20,30,40,0.75); font-size: 0.85rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cs-highlight-card__byline { display: flex; align-items: center; gap: 0.5rem; padding-top: 1rem; margin-top: auto; border-top: 1px solid var(--color-border); font-size: 0.75rem; color: rgba(20,30,40,0.6); }
.cs-highlight-card__avatar { width: 24px; height: 24px; border-radius: 999px; object-fit: cover; }
.cs-highlight-card__byline strong { color: var(--color-dark); font-weight: 600; }

.cs-secondary-list { display: flex; flex-direction: column; gap: 1.25rem; }
.cs-secondary-card { display: block; background: rgba(250,248,244,0.6); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.25rem; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
.cs-secondary-card:hover { background: var(--color-surface); box-shadow: 0 12px 30px rgba(20,30,40,0.1); }
.cs-secondary-card__row { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
@media (min-width: 640px) { .cs-secondary-card__row { flex-direction: row; align-items: center; } }
.cs-secondary-card__img { display: block; width: 100%; aspect-ratio: 16/10; flex-shrink: 0; overflow: hidden; border-radius: 12px; background: #f0f0f0; }
@media (min-width: 640px) { .cs-secondary-card__img { width: 8.5rem; aspect-ratio: 1/1; } }
.cs-secondary-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.cs-secondary-card:hover .cs-secondary-card__img img { transform: scale(1.05); }
.cs-secondary-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.cs-secondary-card__cat { display: inline-block; align-self: flex-start; padding: 0.2rem 0.65rem; border-radius: 999px; background: rgba(74, 38, 51, 0.1); color: #4A2633; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.cs-secondary-card__title { font-family: var(--font-sans) !important; font-weight: 700; color: var(--color-dark); font-size: 1rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 0.2s ease; }
.cs-secondary-card:hover .cs-secondary-card__title { color: #4A2633; }
.cs-secondary-card__excerpt { color: rgba(20,30,40,0.65); font-size: 0.82rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cs-secondary-card__byline { margin-top: 0.85rem; padding-top: 0.85rem; border-top: 1px solid var(--color-border); font-size: 0.75rem; color: rgba(20,30,40,0.55); }
.cs-secondary-card__byline strong { color: rgba(20,30,40,0.8); font-weight: 600; }

/* ---------- Logo slider ---------- */
.cs-logo-slider { width: 100%; padding: 2.5rem 0 !important; background: var(--color-surface) !important; border-top: 1px solid var(--color-border) !important; border-bottom: 1px solid var(--color-border) !important; overflow: hidden !important; }
.cs-logo-slider__label { display: block; text-align: center; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.25em; font-weight: 600; color: rgba(20,30,40,0.55); margin-bottom: 1rem; }
.cs-logo-marquee { position: relative; width: 100%; display: flex; overflow: hidden; }
.cs-logo-track { display: flex; width: max-content; gap: 3rem; padding: 0.5rem 0; align-items: center; animation: cs-marquee 28s linear infinite; }
@media (min-width: 640px) { .cs-logo-track { gap: 5rem; } }
.cs-logo-track:hover { animation-play-state: paused; }
.cs-logo-item { font-family: var(--font-editorial); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.18em; color: rgba(20,30,40,0.55); white-space: nowrap; transition: color 0.3s ease; }
@media (min-width: 640px) { .cs-logo-item { font-size: 1.4rem; } }
.cs-logo-item:hover { color: var(--color-accent); }

/* ---------- Newsletter section (homepage) ---------- */
.cs-newsletter { width: 100%; padding: 4rem 0 !important; background: var(--color-bg) !important; }
.cs-newsletter__inner { max-width: 56rem !important; margin: 0 auto !important; padding: 0 1rem !important; }
@media (min-width: 640px) { .cs-newsletter__inner { padding: 0 2rem !important; } }
.cs-newsletter__card { position: relative; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; }
@media (min-width: 640px) { .cs-newsletter__card { padding: 3rem; } }
.cs-newsletter__glow-a, .cs-newsletter__glow-b { position: absolute; width: 16rem; height: 16rem; border-radius: 999px; filter: blur(70px); pointer-events: none; }
.cs-newsletter__glow-a { top: -4rem; right: -4rem; background: var(--color-accent); opacity: 0.15; }
.cs-newsletter__glow-b { bottom: -4rem; left: -4rem; background: var(--color-dark); opacity: 0.1; }
.cs-newsletter__content { position: relative; z-index: 1; max-width: 34rem; margin: 0 auto; }
.cs-newsletter__title { font-family: var(--font-editorial); font-weight: 700; font-size: 1.7rem; color: var(--color-dark); margin-bottom: 0.75rem; }
@media (min-width: 640px) { .cs-newsletter__title { font-size: 2.1rem; } }
.cs-newsletter__text { color: rgba(20,30,40,0.75); font-size: 0.9rem; line-height: 1.6; margin-bottom: 2rem; }
@media (min-width: 640px) { .cs-newsletter__text { font-size: 1rem; } }
.cs-newsletter__form { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; justify-content: center; }
@media (min-width: 640px) { .cs-newsletter__form { flex-direction: row; } }
.cs-newsletter__input-wrap { width: 100%; }
@media (min-width: 640px) { .cs-newsletter__input-wrap { width: 20rem; } }
.cs-newsletter__input { width: 100%; padding: 0.9rem 1.1rem; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 999px; font-family: var(--font-sans); font-size: 0.9rem; color: var(--color-dark); }
.cs-newsletter__input:focus { outline: 2px solid var(--color-accent); outline-offset: 1px; }
.cs-newsletter__submit { width: 100%; padding: 0.9rem 1.75rem; }
@media (min-width: 640px) { .cs-newsletter__submit { width: auto; } }
.cs-newsletter__hint { margin-top: 1.25rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(20,30,40,0.6); }

/* ---------- About page ---------- */
.cs-about-wrap { padding: 2rem 0 6rem; max-width: 72rem; }
@media (min-width: 640px) { .cs-about-wrap { padding-top: 3rem; } }
.cs-about-header { margin-bottom: 2.5rem; }
@media (min-width: 640px) { .cs-about-header { margin-bottom: 3rem; } }
.cs-about-header h1 { font-size: 2.4rem; letter-spacing: -0.01em; }
@media (min-width: 640px) { .cs-about-header h1 { font-size: 3rem; } }
.cs-about-breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: rgba(20,30,40,0.55); font-weight: 500; margin-top: 0.5rem; }
.cs-about-breadcrumb a:hover { color: var(--color-dark); }

.cs-about-cards { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .cs-about-cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.cs-about-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; justify-content: space-between; transition: box-shadow 0.3s ease; }
@media (min-width: 640px) { .cs-about-card { padding: 2rem; } }
.cs-about-card:hover { box-shadow: 0 16px 32px rgba(20,30,40,0.08); }
.cs-about-card__icon-row { display: flex; align-items: center; }
.cs-about-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--color-badge-bg); color: var(--color-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cs-about-card__icon svg { width: 18px; height: 18px; fill: currentColor; }
.cs-about-card__icon i { color: currentColor; }
.cs-about-card__dash { flex: 1; margin-left: 1rem; border-bottom: 1px dashed rgba(20,30,40,0.2); position: relative; }
.cs-about-card__dash::after { content: ''; position: absolute; right: -2px; top: -3px; width: 6px; height: 6px; border-radius: 999px; background: rgba(20,30,40,0.25); }
.cs-about-card__title { font-size: 1.25rem; font-weight: 700; margin: 1.5rem 0 0.75rem; letter-spacing: -0.01em; }
.cs-about-card__text { color: rgba(20,30,40,0.65); font-size: 0.82rem; line-height: 1.65; }
.cs-about-card__foot { display: flex; justify-content: flex-end; margin-top: 1.5rem; }
.cs-about-card__arrow { width: 32px; height: 32px; border-radius: 999px; background: rgba(20,30,40,0.03); border: 1px solid var(--color-border); color: rgba(20,30,40,0.4); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.cs-about-card:hover .cs-about-card__arrow { color: var(--color-accent); border-color: var(--color-accent); }

/* !important below: this class is also applied (via Elementor's "CSS Classes"
   advanced control) directly to an Elementor v3 container on the About page,
   which always emits its own display/flex CSS at equal selector specificity.
   Winning that cascade tie deterministically matters more here than avoiding
   !important, since Elementor's generated CSS can be enqueued after ours. */
.cs-about-split { display: grid !important; grid-template-columns: 1fr !important; gap: 3rem; align-items: center; margin-top: 5rem !important; }
@media (min-width: 1024px) { .cs-about-split { grid-template-columns: 1fr 1fr !important; gap: 4rem; margin-top: 7rem !important; } }
.cs-about-collage { position: relative; padding-bottom: 1.5rem; }
@media (min-width: 640px) { .cs-about-collage { padding-bottom: 2rem; } }
.cs-about-collage__a { width: 82%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 12px 28px rgba(20,30,40,0.12); border: 1px solid var(--color-border); background: #f0f0f0; }
.cs-about-collage__a img { width: 100%; height: 100%; object-fit: cover; }
.cs-about-collage__b { width: 74%; aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 48px rgba(20,30,40,0.2); border: 4px solid #fff; background: #f0f0f0; margin-left: auto; margin-top: -5rem; position: relative; z-index: 1; }
@media (min-width: 640px) { .cs-about-collage__b { margin-top: -6rem; } }
.cs-about-collage__b img { width: 100%; height: 100%; object-fit: cover; }
.cs-about-stand-title { font-size: 1.85rem; letter-spacing: -0.01em; }
@media (min-width: 640px) { .cs-about-stand-title { font-size: 2.2rem; } }
@media (min-width: 1024px) { .cs-about-stand-title { font-size: 2.5rem; } }
.cs-about-stand-text { color: rgba(20,30,40,0.7); font-size: 0.95rem; line-height: 1.7; margin: 1.5rem 0; }
.cs-about-points { display: flex; flex-direction: column; gap: 1rem; }
.cs-about-point { display: flex; align-items: flex-start; gap: 0.75rem; }
.cs-about-point__num { font-weight: 700; font-size: 1.05rem; color: var(--color-accent); flex-shrink: 0; padding-top: 0.1rem; }
.cs-about-point__title { font-weight: 700; font-size: 1.05rem; color: var(--color-dark); line-height: 1.4; }
.cs-about-divider { border-top: 1px solid var(--color-border); }

.cs-about-commitment { margin-top: 5rem !important; max-width: 100% !important; }
@media (min-width: 640px) { .cs-about-commitment { margin-top: 6rem !important; } }
.cs-about-commitment__title { font-size: 1.5rem; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
@media (min-width: 640px) { .cs-about-commitment__title { font-size: 1.85rem; } }
.cs-about-commitment__text { color: rgba(20,30,40,0.7); font-size: 0.95rem; line-height: 1.7; }