/**
 * Haber — front-end stylesheet.
 *
 * Mobile-first. Every token is a custom property so the admin colour settings
 * only ever emit a small :root block instead of re-generating this file.
 * Layout boxes that receive async content (images, ads, embeds, the news
 * strips) declare their size up front: nothing here can shift after paint.
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--haber-color-primary: #d32029;
	--haber-color-secondary: #12263f;
	--haber-color-accent: #f5b301;
	--haber-color-background: #ffffff;
	--haber-color-surface: #ffffff;
	--haber-color-surface-alt: #f5f6f8;
	--haber-color-text: #17181c;
	--haber-color-text-muted: #5b616e;
	--haber-color-border: #e2e5ea;
	--haber-color-header: #ffffff;
	--haber-color-footer: #0e1b2e;
	--haber-color-topbar: #0e1b2e;
	--haber-color-info: #1668b8;
	--haber-color-warning: #b0790c;
	--haber-color-breaking: #d32029;
	--haber-color-flash: #f5b301;
	--haber-color-on-primary: #ffffff;

	--haber-container: 1280px;
	--haber-gutter: 16px;
	--haber-radius-sm: 3px;
	--haber-radius-md: 6px;
	--haber-font-scale: 1;

	--haber-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--haber-font-heading: var(--haber-font-body);

	--haber-shadow-sm: 0 1px 2px rgb(16 24 40 / 6%);
	--haber-shadow-md: 0 6px 20px rgb(16 24 40 / 10%);

	--haber-header-height: 60px;
	--haber-strip-height: 42px;
	/* Overridden per site from the topbar settings; see haber_css_variables(). */
	--haber-topbar-height: 0px;
}

:root[data-haber-theme="dark"] {
	--haber-color-background: #0f1115;
	--haber-color-surface: #161920;
	--haber-color-surface-alt: #1c2029;
	--haber-color-text: #e8eaee;
	--haber-color-text-muted: #a2a9b6;
	--haber-color-border: #272c36;
	--haber-color-header: #131720;
	--haber-color-footer: #0a0d13;
	--haber-color-topbar: #0a0d13;
	--haber-shadow-sm: 0 1px 2px rgb(0 0 0 / 40%);
	--haber-shadow-md: 0 6px 20px rgb(0 0 0 / 45%);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Sticky header offset, so an in-page anchor is never hidden behind it. */
	scroll-padding-top: calc(var(--haber-header-height) + 12px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.haber-strip__list,
	.haber-headline__slides,
	.haber-mega { transition: none; }
}

body {
	margin: 0;
	background: var(--haber-color-background);
	color: var(--haber-color-text);
	font-family: var(--haber-font-body);
	font-size: calc(1rem * var(--haber-font-scale));
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img, picture, video, iframe, svg { max-width: 100%; }
img, video { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--haber-color-primary); }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--haber-font-heading);
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.25em; }

button { font: inherit; color: inherit; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--haber-color-primary);
	outline-offset: 2px;
	border-radius: var(--haber-radius-sm);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.haber-skip-link {
	position: absolute;
	inset-inline-start: -9999px;
	z-index: 999;
	padding: 10px 16px;
	background: var(--haber-color-primary);
	color: #fff;
}

.haber-skip-link:focus {
	inset-inline-start: 8px;
	top: 8px;
	color: #fff;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */

.haber-container {
	width: 100%;
	max-width: var(--haber-container);
	margin-inline: auto;
	padding-inline: var(--haber-gutter);
}

.haber-main { display: block; min-height: 40vh; }

.haber-grid { display: grid; gap: 20px; }
.haber-grid--2 { grid-template-columns: 1fr; }
.haber-grid--3 { grid-template-columns: 1fr; }
.haber-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.haber-list { display: flex; flex-direction: column; gap: 14px; }
.haber-list--two { display: grid; grid-template-columns: 1fr; gap: 14px; }

.haber-split { display: grid; gap: 20px; }
.haber-magazine { display: grid; gap: 16px; grid-template-columns: 1fr; }

.haber-button {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border: 0;
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-primary);
	color: var(--haber-color-on-primary);
	font-weight: 600;
	cursor: pointer;
}

.haber-button:hover { color: #fff; filter: brightness(.93); }
.haber-button--dark { background: var(--haber-color-secondary); }

.haber-icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--haber-radius-md);
	background: transparent;
	cursor: pointer;
}

.haber-icon-button:hover { background: var(--haber-color-surface-alt); color: var(--haber-color-primary); }

.haber-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.haber-chip {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--haber-color-border);
	border-radius: 999px;
	background: var(--haber-color-surface);
	font-size: .875rem;
}

.haber-chip:hover {
	border-color: var(--haber-cat-color, var(--haber-color-primary));
	color: var(--haber-cat-color, var(--haber-color-primary));
}

.haber-badge {
	display: inline-block;
	margin-bottom: 6px;
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--haber-cat-color, var(--haber-color-primary));
}

.haber-badge--solid {
	padding: 4px 9px;
	border-radius: var(--haber-radius-sm);
	background: var(--haber-cat-color, var(--haber-color-primary));
	color: #fff;
}

.haber-time { color: var(--haber-color-text-muted); font-size: .8125rem; white-space: nowrap; }

.haber-section-head {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
	border-bottom: 2px solid var(--haber-color-border);
}

.haber-section-head__title {
	position: relative;
	margin: 0;
	padding-bottom: 8px;
	font-size: 1.125rem;
	letter-spacing: -.01em;
}

.haber-section-head__title::after {
	content: "";
	position: absolute;
	inset-block-end: -2px;
	inset-inline-start: 0;
	width: 100%;
	height: 2px;
	background: var(--haber-color-primary);
}

.haber-section-head__more {
	padding-bottom: 8px;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--haber-color-text-muted);
}

/* ==========================================================================
   4. Header
   ========================================================================== */

.haber-topbar {
	background: var(--haber-color-topbar);
	color: #cfd6e2;
	font-size: .8125rem;
}

.haber-topbar--desktop { display: none; }

.haber-topbar__inner {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
}

.haber-topbar__menu {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
}

.haber-topbar__menu::-webkit-scrollbar { display: none; }

.haber-topbar__menu a:hover { color: #fff; }

.haber-topbar__data { display: flex; gap: 18px; align-items: center; }

.haber-ticker {
	position: relative;
	width: clamp(220px, 22vw, 285px);
	height: 36px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

.haber-ticker__item {
	position: absolute;
	inset: 0;
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	white-space: nowrap;
	transform: translateY(8px);
	transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.haber-ticker__item.is-active {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0s;
}
.haber-ticker__label { color: currentcolor; font-weight: 600; }
.haber-ticker__value { font-weight: 600; color: #fff; }
.haber-ticker__change { font-size: .75rem; font-weight: 700; }
.haber-ticker__item--up { color: #4ade80; }
.haber-ticker__item--down { color: #f87171; }
.haber-ticker__item--flat { color: #aeb8c7; }
.haber-ticker.is-stale { opacity: .75; }

.haber-topbar__weather {
	display: flex;
	flex-shrink: 0;
	gap: 7px;
	align-items: center;
	min-height: 34px;
	padding: 2px 8px 2px 7px;
	border: 1px solid rgb(255 255 255 / 14%);
	border-radius: 999px;
	background: linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
	white-space: nowrap;
}
.haber-topbar__weather strong { color: #fff; font-size: 1rem; }
.haber-topbar__weather [data-weather-icon] { display: inline-flex; }
.haber-topbar__weather [data-weather-icon][hidden] { display: none; }
.haber-topbar__weather-icon { align-items: center; justify-content: center; width: 28px; height: 28px; color: #ffd34e; }
.haber-topbar__weather--moon .haber-topbar__weather-icon { color: #f7e7a6; }
.haber-topbar__weather--cloud .haber-topbar__weather-icon { color: #dcecff; }
.haber-topbar__weather--rain .haber-topbar__weather-icon { color: #63b3ff; }
.haber-topbar__weather--snow .haber-topbar__weather-icon { color: #e9f7ff; }
.haber-topbar__weather--storm .haber-topbar__weather-icon { color: #ffd24a; }
.haber-topbar__weather-temp { display: grid; line-height: 1.05; }
.haber-topbar__weather-temp span { max-width: 90px; overflow: hidden; color: #aebdd0; font-size: .625rem; text-overflow: ellipsis; }
.haber-topbar__city {
	width: 112px;
	min-height: 32px;
	padding: 3px 4px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: transparent;
	color: #fff;
	font: inherit;
	cursor: pointer;
	color-scheme: dark;
}
.haber-topbar__city:hover { border-color: #7b899f; }
.haber-topbar__city:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.haber-topbar__weather[aria-busy="true"] [data-weather-temp] { opacity: .6; }

@media (max-width: 767px) {
	.haber-topbar__inner { flex-wrap: wrap; gap: 4px 12px; padding-block: 4px; }
	.haber-topbar__data { width: 100%; justify-content: flex-end; }
	.haber-topbar__weather-temp span { display: none; }
	.haber-topbar__city { width: min(110px, 31vw); }
}

@media (prefers-reduced-motion: reduce) {
	.haber-ticker__item { transition: none; }
}

.haber-header {
	position: relative;
	z-index: 60;
	background: var(--haber-color-header);
}

/*
 * The sticky element has to be <header> itself: a sticky child is constrained
 * by its parent's box, so pinning .haber-header__main would release it the moment
 * the (short) header scrolled past. Offsetting the top by the utility bar's
 * height lets the topbar scroll away while the brand + navigation stay pinned.
 */
.haber-sticky-header .haber-header {
	position: sticky;
	top: calc(-1 * var(--haber-topbar-height));
	z-index: 70;
}

.haber-header__main {
	background: var(--haber-color-header);
	border-bottom: 1px solid var(--haber-color-border);
}

.haber-header__sentinel {
	height: 0;
	margin: 0;
	pointer-events: none;
}

.haber-header-stuck .haber-header { box-shadow: var(--haber-shadow-md); }

.haber-header__inner {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	min-height: var(--haber-header-height);
}

.haber-logo { margin: 0; font-size: 1.375rem; line-height: 1; }
.haber-logo__text { font-weight: 800; letter-spacing: -.02em; color: var(--haber-color-primary); }
.haber-logo__image { max-height: 42px; width: auto; }

.haber-header__nav { display: none; flex: 1; min-width: 0; }
.haber-header__actions { display: flex; gap: 4px; align-items: center; }

.haber-menu {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.haber-menu__item { position: relative; }

.haber-menu__link {
	display: block;
	padding: 10px 11px;
	font-size: .9375rem;
	font-weight: 600;
	white-space: nowrap;
	border-bottom: 3px solid transparent;
}

.haber-menu__item:hover > .haber-menu__link,
.haber-menu__item.current-menu-item > .haber-menu__link {
	color: var(--haber-cat-color, var(--haber-color-primary));
	border-bottom-color: var(--haber-cat-color, var(--haber-color-primary));
}

.haber-menu__toggle {
	position: absolute;
	inset-block-start: 50%;
	inset-inline-end: -6px;
	transform: translateY(-50%);
	display: none;
	padding: 4px;
	border: 0;
	background: none;
	cursor: pointer;
}

.haber-menu__sub {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	z-index: 70;
	min-width: 220px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--haber-color-surface);
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
	box-shadow: var(--haber-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.haber-menu__item:hover > .haber-menu__sub,
.haber-menu__item:focus-within > .haber-menu__sub,
.haber-menu__item.is-open > .haber-menu__sub {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.haber-menu__sub .haber-menu__link {
	padding: 8px 14px;
	font-weight: 500;
	border-bottom: 0;
	white-space: normal;
}

.haber-menu__sub .haber-menu__sub { inset-inline-start: 100%; top: -6px; }

.haber-theme-toggle__dark { display: none; }
:root[data-haber-theme="dark"] .haber-theme-toggle__light { display: none; }
:root[data-haber-theme="dark"] .haber-theme-toggle__dark { display: inline-block; }

/* Mega menu ---------------------------------------------------------- */

/*
 * Collapsed by default and animated open. The [hidden] attribute stays in the
 * markup for the no-JS case; the script removes it on init and drives the
 * .is-open class instead, so the panel can transition rather than snap.
 */
.haber-mega {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	background: var(--haber-color-surface);
	box-shadow: var(--haber-shadow-md);
	transition:
		max-height .34s cubic-bezier(.33, 0, .2, 1),
		opacity .2s ease,
		visibility 0s linear .34s;
}

.haber-mega.is-open {
	opacity: 1;
	visibility: visible;
	overflow-y: auto;
	transition:
		max-height .34s cubic-bezier(.33, 0, .2, 1),
		opacity .2s ease,
		visibility 0s;
}

.haber-mega__inner {
	display: grid;
	gap: 24px;
	padding-block: 22px;
	grid-template-columns: 1fr;
}

.haber-mega__title {
	margin: 0 0 10px;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--haber-color-text-muted);
}

.haber-mega__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.haber-mega__list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.haber-mega__list a { font-weight: 500; }

.haber-mega__news { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.haber-mega__news a { display: block; font-weight: 600; line-height: 1.35; }

.haber-mega__footer { background: var(--haber-color-surface-alt); }

.haber-mega__footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding-block: 12px;
}

.haber-mega__legal { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: .875rem; }

/* Search overlay ------------------------------------------------------ */

.haber-search-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgb(9 12 18 / 60%);
	backdrop-filter: blur(3px);
	padding-top: 12vh;
}

.haber-search-overlay__inner { max-width: 760px; }

.haber-search-form {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 10px 14px;
	background: var(--haber-color-surface);
	border-radius: var(--haber-radius-md);
	box-shadow: var(--haber-shadow-md);
}

.haber-search-form__input {
	flex: 1;
	min-width: 0;
	padding: 10px 4px;
	border: 0;
	background: none;
	color: var(--haber-color-text);
	font-size: 1.0625rem;
}

.haber-search-form__input:focus { outline: none; }

.haber-search-form__submit {
	padding: 10px 18px;
	border: 0;
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-primary);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.haber-search-results {
	margin-top: 10px;
	background: var(--haber-color-surface);
	border-radius: var(--haber-radius-md);
	box-shadow: var(--haber-shadow-md);
	overflow: hidden;
}

.haber-search-results:empty { display: none; }

.haber-search-results a {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 12px;
	align-items: center;
	padding: 10px 14px;
	border-bottom: 1px solid var(--haber-color-border);
}

.haber-search-results a:last-child { border-bottom: 0; }
.haber-search-results img { width: 80px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--haber-radius-sm); }
.haber-search-results__title { font-weight: 600; line-height: 1.35; }
.haber-search-results__meta { display: block; font-size: .75rem; color: var(--haber-color-text-muted); }
.haber-search-results__empty { padding: 16px; color: var(--haber-color-text-muted); }

/* News strips --------------------------------------------------------- */

.haber-strip {
	--haber-strip-color: var(--haber-color-breaking);
	background: var(--haber-color-surface);
	border-bottom: 1px solid var(--haber-color-border);
}

.haber-strip--flash { --haber-strip-color: var(--haber-color-flash); }

.haber-strip__inner {
	display: flex;
	gap: 12px;
	align-items: center;
	/* Fixed height: the rotation must never resize the page. */
	height: var(--haber-strip-height);
}

.haber-strip__label {
	flex: none;
	align-self: stretch;
	display: inline-flex;
	align-items: center;
	padding-inline: 12px;
	/* Starts on the container's content edge, so the strip lines up with the
	   logo above it and the first card below it. */
	background: var(--haber-strip-color);
	color: #fff;
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .04em;
	white-space: nowrap;
}

.haber-strip--flash .haber-strip__label { color: #302300; }

/*
 * The viewport is exactly one row tall and clips; the list inside it is the
 * track that slides. Because the height is fixed and every headline is already
 * in the DOM, the rotation can never resize the page.
 */
.haber-strip__viewport {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	height: var(--haber-strip-height);
	overflow: hidden;
}

.haber-strip__list {
	margin: 0;
	padding: 0;
	list-style: none;
	transform: translate3d(0, 0, 0);
	transition: transform .55s cubic-bezier(.33, 0, .2, 1);
}

.haber-strip__list.is-instant { transition: none; }

.haber-strip__item {
	display: flex;
	gap: 10px;
	align-items: center;
	min-width: 0;
	height: var(--haber-strip-height);
}

.haber-strip__time { flex: none; font-weight: 700; color: var(--haber-strip-color); font-size: .8125rem; }

.haber-strip__item a {
	overflow: hidden;
	font-weight: 600;
	font-size: .9375rem;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.haber-strip__nav { display: flex; gap: 2px; }

.haber-strip__nav--vertical {
	flex: 0 0 28px;
	flex-direction: column;
	gap: 2px;
}

.haber-strip__nav--vertical .haber-strip__arrow {
	width: 28px;
	height: 18px;
	border-radius: 4px;
}

.haber-strip__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	padding: 0;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: none;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Shrink guards.

   Flex and grid children default to min-width:auto, which means they refuse to
   shrink below their content's intrinsic width. For anything that scrolls
   internally (the market ticker, the headline pager, the module carousel) that
   default silently pushes the whole document wider than the viewport, so each
   one opts out explicitly.
   -------------------------------------------------------------------------- */

.haber-topbar__inner > *,
.haber-topbar__data,
.haber-ticker,
.haber-headline > *,
.haber-headline__main,
.haber-headline__nav,
.haber-headline__numbers,
.haber-headline__slides,
.haber-headline__slide,
.haber-carousel,
.haber-carousel__track,
.haber-daily__grid > *,
.haber-split > *,
.haber-strip__inner > *,
.haber-meta-bar > *,
.haber-share__list,
.haber-widget-posts__link > * { min-width: 0; }

.haber-topbar__data { flex: 0 1 auto; }
.haber-ticker { flex: 1 1 auto; }
.haber-headline__numbers { flex: 1 1 auto; }

/* ==========================================================================
   5. Cards
   ========================================================================== */

.haber-card { min-width: 0; }
.haber-card__link { display: block; color: inherit; }

.haber-card__media {
	display: block;
	margin-bottom: 10px;
	overflow: hidden;
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface-alt);
}

.haber-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform .35s ease;
}

.haber-card__image--empty { display: block; width: 100%; aspect-ratio: 16 / 9; }
.haber-card__link:hover .haber-card__image { transform: scale(1.03); }
.haber-card__body { display: block; }

.haber-card__title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.35;
	transition: color .15s ease;
}

.haber-card__link:hover .haber-card__title { color: var(--haber-color-primary); }

.haber-card__excerpt {
	display: block;
	margin-top: 6px;
	color: var(--haber-color-text-muted);
	font-size: .875rem;
	line-height: 1.5;
}

.haber-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 8px;
	font-size: .8125rem;
	color: var(--haber-color-text-muted);
}

.haber-card__author { font-weight: 600; }

/* Card variants */

.haber-card--lead .haber-card__title { font-size: 1.375rem; }
.haber-card--top .haber-card__title { font-size: 1.0625rem; }
.haber-card--small .haber-card__title { font-size: .9375rem; }

.haber-card--row .haber-card__link {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 12px;
	align-items: start;
}

.haber-card--row .haber-card__media { margin-bottom: 0; }
.haber-card--row .haber-card__title { font-size: .9375rem; }

.haber-card--aside .haber-card__link {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 12px;
	align-items: center;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--haber-color-border);
}

.haber-card--aside:last-child .haber-card__link { border-bottom: 0; padding-bottom: 0; }
.haber-card--aside .haber-card__media { margin-bottom: 0; }
.haber-card--aside .haber-card__title { font-size: .9375rem; }

.haber-card--noimage .haber-card__link { grid-template-columns: 1fr; }

.haber-card--slide { flex: 0 0 78vw; scroll-snap-align: start; }

.haber-titles { margin: 0; padding: 0; list-style: none; }

.haber-titles__item {
	display: flex;
	gap: 12px;
	align-items: baseline;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid var(--haber-color-border);
}

.haber-titles__item a { font-weight: 600; line-height: 1.4; }
.haber-titles__item:last-child { border-bottom: 0; }

/* ==========================================================================
   6. Homepage
   ========================================================================== */

.haber-home { padding-block: 18px 40px; }
.haber-home__body { display: grid; gap: 28px; }
.haber-home__modules { display: grid; gap: 32px; min-width: 0; }
.haber-module { min-width: 0; }

/*
 * Üst manşet. Cards sit in a native scroll-snap track; --haber-per-view decides
 * how many share the width at each breakpoint, and the script reads that same
 * value to count pages for the dots. A phone gets one card and a real swipe.
 */
.haber-headline-top {
	--haber-per-view: 1;
	--haber-carousel-gap: 16px;
	margin-bottom: 22px;
}

.haber-headline-top__track {
	display: flex;
	gap: var(--haber-carousel-gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.haber-headline-top__track::-webkit-scrollbar { display: none; }

.haber-headline-top__slide {
	flex: 0 0 calc((100% - (var(--haber-per-view) - 1) * var(--haber-carousel-gap)) / var(--haber-per-view));
	min-width: 0;
	scroll-snap-align: start;
}

.haber-headline-top__controls {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	/* Reserved: the script may rebuild the dots for another breakpoint. */
	min-height: 28px;
	margin-top: 12px;
}

.haber-carousel__dots { display: flex; gap: 2px; align-items: center; justify-content: center; }
.haber-carousel__dots:empty { display: none; }

/* A 22px hit target around an 8px dot; the active one stretches to a pill. */
.haber-carousel__dot {
	position: relative;
	width: 22px;
	height: 22px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.haber-carousel__dot::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	margin: 0 auto;
	border-radius: 999px;
	background: var(--haber-color-border);
	transition: width .2s ease, background-color .2s ease;
}

.haber-carousel__dot:hover::before { background: var(--haber-color-text-muted); }

.haber-carousel__dot.is-active { width: 30px; }
.haber-carousel__dot.is-active::before { width: 18px; background: var(--haber-color-primary); }

.haber-carousel__arrow--small { width: 28px; height: 28px; }

.haber-headline { display: grid; gap: 18px; margin-bottom: 26px; }
.haber-headline__main { position: relative; }

/*
 * All headlines live in one horizontal track inside a clipping viewport. Moving
 * to a later slide translates the track left, an earlier one right — the
 * direction falls out of the geometry rather than needing to be scripted.
 */
.haber-headline__viewport {
	overflow: hidden;
	border-radius: var(--haber-radius-md);
}

.haber-headline__slides {
	display: flex;
	transform: translate3d(0, 0, 0);
	transition: transform .45s cubic-bezier(.33, 0, .2, 1);
}

.haber-headline__slides.is-instant { transition: none; }

.haber-headline__slide {
	flex: 0 0 100%;
	min-width: 0;
}

.haber-headline__link { position: relative; display: block; }

.haber-headline__media {
	display: block;
	overflow: hidden;
	background: var(--haber-color-surface-alt);
}

.haber-headline__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.haber-headline__body {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	display: block;
	padding: 40px 18px 18px;
	background: linear-gradient(to top, rgb(6 9 15 / 92%) 10%, rgb(6 9 15 / 70%) 50%, transparent 100%);
	color: #fff;
}

.haber-headline__title {
	margin: 6px 0 0;
	font-size: 1.25rem;
	line-height: 1.3;
	color: #fff;
	text-wrap: balance;
}

.haber-headline__nav {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
}

.haber-headline__numbers {
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
	border-radius: var(--haber-radius-sm);
}

.haber-headline__numbers::-webkit-scrollbar { display: none; }

/* One continuous strip: collapse the shared borders instead of spacing them. */
.haber-headline__number {
	min-width: 34px;
	height: 34px;
	padding: 0 8px;
	border: 1px solid var(--haber-color-border);
	background: var(--haber-color-surface);
	font-size: .875rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}

.haber-headline__numbers li + li .haber-headline__number { margin-inline-start: -1px; }
.haber-headline__numbers li:first-child .haber-headline__number { border-start-start-radius: var(--haber-radius-sm); border-end-start-radius: var(--haber-radius-sm); }
.haber-headline__numbers li:last-child .haber-headline__number { border-start-end-radius: var(--haber-radius-sm); border-end-end-radius: var(--haber-radius-sm); }

.haber-headline__number:hover,
.haber-headline__number:focus-visible {
	position: relative;
	z-index: 1;
	background: var(--haber-color-surface-alt);
	color: var(--haber-color-primary);
}

.haber-headline__number.is-active {
	position: relative;
	z-index: 2;
	background: var(--haber-color-primary);
	border-color: var(--haber-color-primary);
	color: #fff;
}

.haber-headline__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: none;
	padding: 0;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: none;
	cursor: pointer;
}

.haber-headline__aside { display: grid; gap: 12px; align-content: start; }

.haber-headline__aside-title {
	margin: 0;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--haber-color-primary);
	font-size: 1rem;
}

.haber-daily { margin-bottom: 32px; }
.haber-daily__grid { display: grid; gap: 18px; }
.haber-daily__rest { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.haber-carousel { position: relative; }

.haber-carousel__track {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.haber-carousel__track::-webkit-scrollbar { display: none; }

.haber-carousel__controls {
	display: flex;
	gap: 6px;
	align-items: center;
	justify-content: flex-end;
	min-height: 32px;
	margin-top: 10px;
}

.haber-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: var(--haber-color-surface);
	cursor: pointer;
}

/* ==========================================================================
   7. Article
   ========================================================================== */

.haber-single, .haber-archive, .haber-page, .haber-404 { padding-block: 18px 44px; }
.haber-single__body, .haber-archive__body { display: grid; gap: 32px; }
.haber-single__main, .haber-archive__main { min-width: 0; }

.haber-breadcrumb { margin-bottom: 14px; font-size: .8125rem; color: var(--haber-color-text-muted); }

.haber-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.haber-breadcrumb__item + .haber-breadcrumb__item::before { content: "›"; margin-inline-end: 6px; opacity: .6; }
.haber-breadcrumb__item:last-child { color: var(--haber-color-text); font-weight: 600; }

.haber-article__header { margin-bottom: 18px; }

.haber-article__title {
	margin: 8px 0 12px;
	font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.25rem);
	letter-spacing: -.015em;
}

.haber-article__spot {
	margin: 0 0 14px;
	font-size: 1.0625rem;
	line-height: 1.55;
	color: var(--haber-color-text-muted);
}

.haber-meta-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding-block: 12px;
	border-block: 1px solid var(--haber-color-border);
	font-size: .8125rem;
	color: var(--haber-color-text-muted);
}

.haber-meta-bar__info { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.haber-meta-bar__author { display: inline-flex; gap: 7px; align-items: center; font-weight: 600; color: var(--haber-color-text); }
.haber-meta-bar__avatar { border-radius: 50%; width: 26px; height: 26px; }
.haber-meta-bar__item { display: inline-flex; gap: 5px; align-items: center; }
.haber-meta-bar__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.haber-meta-bar__news {
	display: inline-flex;
	gap: 5px;
	align-items: center;
	padding: 5px 10px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	font-weight: 600;
	font-size: .75rem;
}

.haber-font-size { display: flex; gap: 4px; }

.haber-font-size__button {
	width: 32px;
	height: 28px;
	padding: 0;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: none;
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}

.haber-share__list { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }

.haber-share__link {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 28px;
	padding-inline: 8px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: var(--haber-color-surface);
	font-size: .8125rem;
	cursor: pointer;
}

.haber-share__link:hover { border-color: var(--haber-color-primary); color: var(--haber-color-primary); }

.haber-share--footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 24px 0;
	padding: 14px;
	background: var(--haber-color-surface-alt);
	border-radius: var(--haber-radius-md);
}

.haber-share__label { font-weight: 700; font-size: .875rem; }
.haber-share--footer .haber-share__link { height: 34px; }

.haber-article__media { margin: 0 0 8px; }

.haber-article__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface-alt);
}

.haber-article__caption { margin-top: 6px; font-size: .8125rem; color: var(--haber-color-text-muted); }

.haber-article__content { font-size: calc(1.0625rem * var(--haber-font-scale)); line-height: 1.75; }
.haber-article__content > * { margin-block: 0 1.15em; }
.haber-article__content h2 { margin-top: 1.6em; font-size: 1.375rem; }
.haber-article__content h3 { margin-top: 1.4em; font-size: 1.1875rem; }
.haber-article__content h4 { margin-top: 1.3em; font-size: 1.0625rem; }
.haber-article__content ul, .haber-article__content ol { padding-inline-start: 1.35em; }
.haber-article__content li { margin-bottom: .4em; }
.haber-article__content img { border-radius: var(--haber-radius-md); height: auto; }
.haber-article__content figure { margin-inline: 0; }
.haber-article__content figcaption { font-size: .8125rem; color: var(--haber-color-text-muted); }

.haber-article__content a:not(.haber-button):not(.haber-plugin-apply__button) {
	color: var(--haber-color-secondary);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}

.haber-article__content a:hover { color: var(--haber-color-primary); }

.haber-article__content table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9375rem;
}

.haber-article__content :is(th, td) {
	padding: 8px 10px;
	border: 1px solid var(--haber-color-border);
	text-align: start;
}

.haber-article__content th { background: var(--haber-color-surface-alt); }

.haber-article__content blockquote {
	margin-inline: 0;
	padding-inline-start: 18px;
	border-inline-start: 4px solid var(--haber-color-primary);
	font-size: 1.125rem;
	font-style: italic;
}

.haber-embed { position: relative; }
.haber-embed iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--haber-radius-md); }

/* Table of contents --------------------------------------------------- */

.haber-toc {
	margin: 22px 0;
	padding: 12px 16px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface-alt);
}

.haber-toc__summary {
	font-weight: 700;
	font-size: .9375rem;
	cursor: pointer;
	list-style: none;
}

.haber-toc__summary::-webkit-details-marker { display: none; }
.haber-toc__summary::after { content: "▾"; float: inline-end; color: var(--haber-color-primary); }
.haber-toc[open] .haber-toc__summary::after { content: "▴"; }

.haber-toc__list { margin: 10px 0 0; padding-inline-start: 1.2em; font-size: .9375rem; }
.haber-toc__item { margin-bottom: 5px; }
.haber-toc__item--h3 { padding-inline-start: 1em; list-style-type: circle; }
.haber-toc__item--h4 { padding-inline-start: 2em; list-style-type: square; }
.haber-toc a { color: var(--haber-color-secondary); }
.haber-toc a:hover { color: var(--haber-color-primary); text-decoration: underline; }

/* Source & correction -------------------------------------------------- */

.haber-source, .haber-correction {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 22px 0;
	padding: 12px 14px;
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface-alt);
	font-size: .9375rem;
}

.haber-source__label {
	font-size: .6875rem;
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--haber-color-text-muted);
}

.haber-source__body > * { margin: 0 0 4px; }
.haber-source__body > :last-child { margin-bottom: 0; }
.haber-source__org { font-weight: 600; }
.haber-source__agency, .haber-source__note { color: var(--haber-color-text-muted); font-size: .875rem; }

.haber-correction { display: block; border-inline-start: 4px solid var(--haber-color-warning); background: #fff8e6; }
:root[data-haber-theme="dark"] .haber-correction { background: #2a2415; }

.haber-correction__title {
	display: flex;
	gap: 6px;
	align-items: center;
	margin: 0 0 4px;
	font-weight: 700;
	color: var(--haber-color-warning);
}

.haber-correction__date { font-weight: 500; color: var(--haber-color-text-muted); }
.haber-correction__body { margin: 0; font-size: .9375rem; }

.haber-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 22px 0;
}

.haber-article__tags-label { font-size: .75rem; font-weight: 800; letter-spacing: .05em; color: var(--haber-color-text-muted); }
.haber-article__tags ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.haber-article__tags a {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid var(--haber-color-border);
	border-radius: 999px;
	font-size: .8125rem;
}

.haber-author-box {
	display: grid;
	grid-template-columns: 60px 1fr;
	gap: 14px;
	margin: 26px 0;
	padding: 16px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
}

.haber-author-box__avatar { border-radius: 50%; width: 60px; height: 60px; }
.haber-author-box__name { margin: 0 0 2px; font-weight: 700; }
.haber-author-box__title { display: block; font-size: .8125rem; font-weight: 500; color: var(--haber-color-text-muted); }
.haber-author-box__expertise, .haber-author-box__bio { margin: 4px 0 0; font-size: .875rem; color: var(--haber-color-text-muted); }
.haber-author-box__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; font-size: .8125rem; }

.haber-editor-picks, .haber-related-end { margin-top: 32px; }

.haber-infinite { margin-top: 40px; }

.haber-infinite-index {
	padding: 16px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface-alt);
}

.haber-infinite-index__title { margin: 0 0 10px; font-size: 1rem; }
.haber-infinite-index__list { margin: 0; padding-inline-start: 1.1em; }
.haber-infinite-index__list li { margin-bottom: 6px; font-weight: 600; }

.haber-article--next {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 6px solid var(--haber-color-surface-alt);
}

.haber-infinite__loader {
	padding: 22px;
	text-align: center;
	color: var(--haber-color-text-muted);
	font-size: .875rem;
}

/* ==========================================================================
   8. Archive / author
   ========================================================================== */

.haber-archive__head { margin-bottom: 20px; }

.haber-archive__head-main {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 10px;
	border-bottom: 3px solid var(--haber-cat-color, var(--haber-color-primary));
}

.haber-archive__title { margin: 0; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); }

.haber-archive__rss {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: .8125rem;
	font-weight: 600;
	color: var(--haber-color-text-muted);
}

.haber-archive__description { margin-top: 12px; color: var(--haber-color-text-muted); font-size: .9375rem; }
.haber-archive__children { margin-top: 14px; }
.haber-archive__count { margin: 8px 0 14px; color: var(--haber-color-text-muted); font-size: .875rem; }

.haber-author-profile {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 16px;
	margin-bottom: 24px;
	padding: 18px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface-alt);
}

.haber-author-profile__avatar { border-radius: 50%; width: 80px; height: 80px; }
.haber-author-profile__name { margin: 0 0 4px; font-size: 1.375rem; }
.haber-author-profile__title { margin: 0; font-weight: 600; color: var(--haber-color-primary); }
.haber-author-profile__expertise, .haber-author-profile__bio, .haber-author-profile__count { margin: 6px 0 0; font-size: .9375rem; color: var(--haber-color-text-muted); }
.haber-author-profile__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; font-size: .8125rem; }

.haber-pagination { margin-top: 28px; }

.haber-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
}

.haber-pagination :is(a, span).page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding-inline: 10px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	font-weight: 600;
	font-size: .875rem;
}

.haber-pagination .page-numbers.current {
	background: var(--haber-color-primary);
	border-color: var(--haber-color-primary);
	color: #fff;
}

.haber-empty { padding: 40px 0; text-align: center; }

/* Son dakika archive ------------------------------------------------- */

.haber-breaking-page { padding-block: 18px 48px; }

.haber-breaking-page__hero {
	position: relative;
	display: flex;
	gap: 18px;
	align-items: center;
	margin-bottom: 22px;
	padding: 24px clamp(18px, 3vw, 34px);
	overflow: hidden;
	border-radius: calc(var(--haber-radius-md) + 4px);
	background: linear-gradient(120deg, #981721 0%, var(--haber-color-breaking) 55%, #e24336 100%);
	box-shadow: 0 14px 34px rgb(119 12 24 / 18%);
	color: #fff;
}

.haber-breaking-page__hero::after {
	position: absolute;
	inset-block-start: -70px;
	inset-inline-end: -35px;
	width: 230px;
	height: 230px;
	border: 42px solid rgb(255 255 255 / 7%);
	border-radius: 50%;
	content: "";
}

.haber-breaking-page__hero-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border: 1px solid rgb(255 255 255 / 30%);
	border-radius: 50%;
	background: rgb(255 255 255 / 14%);
}

.haber-breaking-page__hero > div:last-child { position: relative; z-index: 1; }
.haber-breaking-page__hero h1 { margin: 3px 0 4px; color: #fff; font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); }
.haber-breaking-page__hero p { margin: 0; color: rgb(255 255 255 / 82%); }
.haber-breaking-page__live { display: inline-flex; gap: 7px; align-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.haber-breaking-page__live i { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgb(255 255 255 / 16%); animation: haber-live-pulse 1.8s ease-out infinite; }

@keyframes haber-live-pulse {
	50% { box-shadow: 0 0 0 9px rgb(255 255 255 / 0%); }
}

.haber-breaking-page__body { display: grid; gap: 30px; }
.haber-breaking-page__main { min-width: 0; }
.haber-breaking-feed { overflow: hidden; border: 1px solid var(--haber-color-border); border-radius: calc(var(--haber-radius-md) + 2px); background: var(--haber-color-surface); }

.haber-breaking-item {
	position: relative;
	display: grid;
	grid-template-columns: 74px minmax(0, 1fr);
	gap: 14px;
	padding: 18px;
}

.haber-breaking-item + .haber-breaking-item { border-top: 1px solid var(--haber-color-border); }
.haber-breaking-item__time { position: relative; padding-inline-end: 14px; border-inline-end: 1px solid var(--haber-color-border); }
.haber-breaking-item__time::after { position: absolute; inset-block-start: 6px; inset-inline-end: -5px; width: 9px; height: 9px; border: 2px solid var(--haber-color-surface); border-radius: 50%; background: var(--haber-color-breaking); content: ""; }
.haber-breaking-item__time time { display: flex; flex-direction: column; gap: 3px; }
.haber-breaking-item__time strong { color: var(--haber-color-breaking); font-size: 1.125rem; line-height: 1; }
.haber-breaking-item__time em { display: none; font-style: normal; }
.haber-breaking-item__time span { color: var(--haber-color-text-muted); font-size: .7rem; white-space: nowrap; }

.haber-breaking-feed--visual .haber-breaking-item { grid-template-columns: 74px minmax(160px, 225px) minmax(0, 1fr); align-items: center; }
.haber-breaking-item__media { display: block; overflow: hidden; border-radius: var(--haber-radius-md); background: var(--haber-color-surface-alt); }
.haber-breaking-item__image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.haber-breaking-item:hover .haber-breaking-item__image { transform: scale(1.035); }
.haber-breaking-item__content { min-width: 0; }
.haber-breaking-item__category { display: inline-flex; margin-bottom: 7px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--haber-cat-color, var(--haber-color-primary)) 12%, transparent); color: var(--haber-cat-color, var(--haber-color-primary)); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.haber-breaking-item__content h2 { margin: 0; font-size: clamp(1rem, .9rem + .35vw, 1.25rem); line-height: 1.35; }
.haber-breaking-item__content h2 a:hover { color: var(--haber-cat-color, var(--haber-color-primary)); }
.haber-breaking-item__content p { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--haber-color-text-muted); font-size: .875rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.haber-breaking-item__relative { display: block; margin-top: 8px; color: var(--haber-color-text-muted); font-size: .75rem; }
.haber-breaking-item__relative .haber-time::before { content: "•"; margin-inline-end: 6px; color: var(--haber-color-breaking); }

.haber-breaking-feed--list .haber-breaking-item { padding-block: 20px; }
.haber-breaking-feed--list .haber-breaking-item__content { position: relative; padding-inline-start: 18px; }
.haber-breaking-feed--list .haber-breaking-item__content::before { position: absolute; inset-block-start: 4px; inset-inline-start: 0; color: var(--haber-color-breaking); content: "›"; font-size: 1.35rem; font-weight: 900; line-height: 1; }
.haber-breaking-feed--list .haber-breaking-item__content h2 { font-size: clamp(1rem, .88rem + .48vw, 1.3rem); }

@media (max-width: 599px) {
	.haber-breaking-page__hero { gap: 12px; align-items: flex-start; margin-bottom: 14px; padding: 16px 14px; }
	.haber-breaking-page__hero-icon { width: 42px; height: 42px; }
	.haber-breaking-page__hero-icon svg { width: 24px; height: 24px; }
	.haber-breaking-page__hero h1 { font-size: 1.35rem; }
	.haber-breaking-page__hero p { font-size: .82rem; }
	.haber-breaking-page__live { font-size: .625rem; }
	.haber-breaking-feed--visual .haber-breaking-item { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; align-items: start; padding: 11px 12px; }
	.haber-breaking-feed--visual .haber-breaking-item__media { display: none; }
	.haber-breaking-feed--visual .haber-breaking-item__content { grid-column: 2; }
	.haber-breaking-item { grid-template-columns: 48px minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
	.haber-breaking-item__time { grid-row: 1; padding-inline-end: 8px; }
	.haber-breaking-item__time strong { font-size: .88rem; }
	.haber-breaking-item__time span { font-size: .575rem; }
	.haber-breaking-item__category { margin-bottom: 5px; padding: 3px 7px; font-size: .625rem; }
	.haber-breaking-item__content h2 { font-size: .92rem; line-height: 1.34; }
	.haber-breaking-item__content p { margin-top: 5px; font-size: .8rem; -webkit-line-clamp: 2; }
	.haber-breaking-item__relative { margin-top: 6px; }
	.haber-breaking-feed--list .haber-breaking-item__content { padding-inline-start: 13px; }
	.haber-breaking-news-page--mobile-compact .haber-breaking-item__category,
	.haber-breaking-news-page--mobile-compact .haber-breaking-item__content p,
	.haber-breaking-news-page--mobile-compact .haber-breaking-item__relative { display: none; }
	.haber-breaking-news-page--mobile-compact .haber-breaking-item__content { align-self: center; }
	.haber-breaking-news-page--mobile-compact .haber-breaking-feed--list .haber-breaking-item__content { padding-inline-start: 0; }
	.haber-breaking-news-page--mobile-compact .haber-breaking-feed--list .haber-breaking-item__content::before { display: none; }

	.haber-breaking-news-page--mobile-mini .haber-breaking-feed {
		display: grid;
		gap: 10px;
		overflow: visible;
		border: 0;
		background: transparent;
	}
	.haber-breaking-news-page--mobile-mini .haber-breaking-feed--visual .haber-breaking-item {
		display: grid;
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 0 12px;
		padding: 0;
		overflow: hidden;
		border: 1px solid var(--haber-color-border);
		border-radius: var(--haber-radius-md);
		background: var(--haber-color-surface);
	}
	.haber-breaking-news-page--mobile-mini .haber-breaking-item + .haber-breaking-item { border-top: 1px solid var(--haber-color-border); }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time {
		grid-column: 1 / -1;
		grid-row: auto;
		padding: 9px 12px;
		border-inline-end: 0;
		border-bottom: 1px solid var(--haber-color-border);
	}
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time::after { display: none; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time time { flex-direction: row; gap: 9px; align-items: baseline; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time strong { font-size: 1.05rem; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time em { display: inline-flex; gap: 7px; color: var(--haber-color-text); font-size: .75rem; font-weight: 800; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time em i { color: var(--haber-color-text-muted); font-style: normal; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__time span { font-size: .72rem; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-feed--visual .haber-breaking-item__media {
		display: block;
		grid-column: 1;
		grid-row: 2;
		align-self: center;
		margin: 11px 0 11px 11px;
		border-radius: 3px;
	}
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__image { aspect-ratio: 16 / 10; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-feed--visual .haber-breaking-item__content {
		grid-column: 2;
		grid-row: 2;
		align-self: center;
		padding: 11px 11px 11px 0;
	}
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__category,
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__content p,
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__relative { display: none; }
	.haber-breaking-news-page--mobile-mini .haber-breaking-item__content h2 {
		display: -webkit-box;
		overflow: hidden;
		font-size: .9rem;
		line-height: 1.35;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}
}

@media (min-width: 1024px) {
	.haber-breaking-page__body.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (prefers-reduced-motion: reduce) {
	.haber-breaking-page__live i { animation: none; }
}
.haber-empty__text { color: var(--haber-color-text-muted); }

.haber-404 { text-align: center; }
.haber-404__head { max-width: 560px; margin: 0 auto 36px; }
.haber-404__code { margin: 0; font-size: 4rem; font-weight: 800; color: var(--haber-color-primary); line-height: 1; }
.haber-404__text { color: var(--haber-color-text-muted); }
.haber-404 .haber-section-head, .haber-404 .haber-module { text-align: start; }
.haber-404__categories { margin-top: 32px; text-align: start; }

/* ==========================================================================
   9. Sidebar & widgets
   ========================================================================== */

.haber-sidebar { min-width: 0; }
.haber-sidebar__inner { display: grid; gap: 22px; }

.haber-widget {
	padding: 14px 16px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface);
}

.haber-widget__title {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--haber-color-border);
	font-size: .9375rem;
	position: relative;
}

.haber-widget__title span::after {
	content: "";
	position: absolute;
	inset-block-end: -2px;
	inset-inline-start: 0;
	width: 48px;
	height: 2px;
	background: var(--haber-color-primary);
}

.haber-widget__note { margin: 8px 0 0; font-size: .75rem; color: var(--haber-color-text-muted); }

.haber-widget-posts { margin: 0; padding: 0; list-style: none; counter-reset: haber-rank; }
.haber-widget-posts__item { padding: 10px 0; border-bottom: 1px solid var(--haber-color-border); }
.haber-widget-posts__item:first-child { padding-top: 0; }
.haber-widget-posts__item:last-child { padding-bottom: 0; border-bottom: 0; }

.haber-widget-posts__link { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: center; }
.haber-widget-posts--numbered .haber-widget-posts__item { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; }
.haber-widget-posts--numbered .haber-widget-posts__link { grid-template-columns: 1fr; }

.haber-widget-posts__rank {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--haber-color-primary);
	text-align: center;
}

.haber-widget-posts__image { width: 80px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--haber-radius-sm); }
.haber-widget-posts__title { display: block; font-weight: 600; font-size: .875rem; line-height: 1.4; }
.haber-widget-posts__link:hover .haber-widget-posts__title { color: var(--haber-color-primary); }

.haber-markets { margin: 0; padding: 0; list-style: none; }

.haber-markets__row {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 10px;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--haber-color-border);
	font-size: .875rem;
}

.haber-markets__row:last-child { border-bottom: 0; }
.haber-markets__value { font-weight: 700; }
.haber-markets__change { display: inline-flex; gap: 3px; align-items: center; font-size: .75rem; }
.haber-markets__row--up .haber-markets__change { color: #157a3a; }
.haber-markets__row--down .haber-markets__change { color: #b32d2e; }
.haber-markets.is-stale { opacity: .78; }

.haber-weather { padding: 14px; border: 1px solid var(--haber-color-border); border-radius: 15px; background: linear-gradient(145deg, color-mix(in srgb, var(--haber-color-secondary) 96%, #fff), color-mix(in srgb, var(--haber-color-secondary) 82%, #2795d7)); color: #fff; }
.haber-weather__now { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.haber-weather__icon { color: #ffd451; }
.haber-weather--cloud .haber-weather__icon, .haber-weather--snow .haber-weather__icon { color: #e8f4ff; }
.haber-weather--rain .haber-weather__icon { color: #6bc3ff; }
.haber-weather__temp strong { display: block; font-size: 1.75rem; line-height: 1; }
.haber-weather__temp span { font-size: .875rem; color: rgb(255 255 255 / 68%); }
.haber-weather__condition { grid-column: 1 / -1; margin: 6px 0 0; font-size: .875rem; color: rgb(255 255 255 / 72%); }

.haber-weather__forecast {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 6px;
	margin: 12px 0 0;
	padding: 12px 0 0;
	border-top: 1px solid rgb(255 255 255 / 16%);
	list-style: none;
	text-align: center;
	font-size: .6875rem;
}

.haber-weather__forecast li { display: grid; gap: 3px; justify-items: center; }
.haber-weather__day { font-weight: 700; }
.haber-weather__range { color: rgb(255 255 255 / 68%); }
.haber-weather__details { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 11px; border-radius: 10px; background: rgb(255 255 255 / 10%); font-size: .75rem; font-weight: 750; }
.haber-weather__details:hover { background: rgb(255 255 255 / 17%); color: #fff; }

/* Full province forecast pages. Data is fetched per city and cached server-side. */
.haber-weather-page {
	--weather-accent: #ffc83d;
	--weather-sky-start: #0b4f8a;
	--weather-sky-end: #1597d4;
	padding: 18px 0 50px;
	background:
		radial-gradient(circle at 8% 4%, color-mix(in srgb, var(--weather-accent) 12%, transparent), transparent 28rem),
		linear-gradient(180deg, color-mix(in srgb, var(--weather-sky-end) 8%, var(--haber-color-background)) 0, var(--haber-color-background) 26rem);
}
.haber-weather-page--partly, .haber-weather-page--cloudy { --weather-accent: #dcecff; --weather-sky-start: #385778; --weather-sky-end: #718aa5; }
.haber-weather-page--rain { --weather-accent: #71c3ff; --weather-sky-start: #183c5b; --weather-sky-end: #326d96; }
.haber-weather-page--snow { --weather-accent: #f2fbff; --weather-sky-start: #50748d; --weather-sky-end: #8eb5ca; }
.haber-weather-page--storm { --weather-accent: #ffd451; --weather-sky-start: #292c4f; --weather-sky-end: #555b78; }
.haber-weather-page__breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; color: var(--haber-color-text-muted); font-size: .8125rem; }
.haber-weather-page__breadcrumb strong { color: var(--haber-color-text); }
.haber-weather-page__heading { display: flex; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.haber-weather-page__heading h1 { margin: 4px 0 0; font-size: clamp(1.65rem, 1.2rem + 2vw, 2.65rem); letter-spacing: -.03em; }
.haber-weather-page__eyebrow, .haber-weather-section-title span { color: var(--haber-color-primary); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.haber-weather-page__picker { display: grid; flex: 0 0 220px; gap: 6px; color: var(--haber-color-text-muted); font-size: .75rem; font-weight: 700; }
.haber-weather-page__picker select { height: 44px; padding: 0 38px 0 13px; border: 1px solid var(--haber-color-border); border-radius: 12px; background: var(--haber-color-surface); color: var(--haber-color-text); font: inherit; cursor: pointer; }

.haber-weather-hero {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 28px;
	align-items: center;
	min-height: 270px;
	padding: clamp(26px, 5vw, 54px);
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: 26px;
	background: linear-gradient(125deg, var(--weather-sky-start), var(--weather-sky-end));
	box-shadow: 0 22px 55px rgb(14 31 55 / 18%);
	color: #fff;
}
.haber-weather-hero::before, .haber-weather-hero::after { position: absolute; border-radius: 50%; background: rgb(255 255 255 / 8%); content: ""; }
.haber-weather-hero::before { right: -90px; bottom: -150px; width: 380px; height: 380px; }
.haber-weather-hero::after { top: -120px; left: 35%; width: 270px; height: 270px; }
.haber-weather-hero__glow { position: absolute; top: -60px; right: 14%; width: 220px; height: 220px; border-radius: 50%; background: var(--weather-accent); opacity: .14; filter: blur(36px); }
.haber-weather-hero > *:not(.haber-weather-hero__glow) { position: relative; z-index: 1; }
.haber-weather-hero__place > span { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: rgb(255 255 255 / 13%); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.haber-weather-hero__place h2 { margin: 10px 0 2px; color: #fff; font-size: clamp(1.65rem, 3vw, 2.5rem); }
.haber-weather-hero__place p, .haber-weather-hero__summary p { margin: 0; color: rgb(255 255 255 / 76%); }
.haber-weather-hero__current { display: flex; align-items: center; justify-content: center; }
.haber-weather-hero__icon { color: var(--weather-accent); filter: drop-shadow(0 10px 16px rgb(0 0 0 / 18%)); }
.haber-weather-hero__current strong { display: block; font-size: clamp(4rem, 8vw, 6.5rem); font-weight: 300; line-height: .9; letter-spacing: -.075em; }
.haber-weather-hero__current sup { font-size: .42em; vertical-align: top; }
.haber-weather-hero__current span { display: block; margin-top: 8px; font-size: 1.05rem; font-weight: 700; text-align: center; }
.haber-weather-hero__summary { justify-self: end; text-align: right; }
.haber-weather-hero__summary p { font-size: 1.05rem; font-weight: 700; }
.haber-weather-hero__summary small { display: block; margin-top: 8px; color: rgb(255 255 255 / 62%); }

.haber-weather-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 16px; overflow: hidden; border: 1px solid var(--haber-color-border); border-radius: 18px; background: var(--haber-color-border); box-shadow: var(--haber-shadow-sm); }
.haber-weather-stats > div { display: grid; min-height: 125px; padding: 22px; background: var(--haber-color-surface); }
.haber-weather-stats span { color: var(--haber-color-text-muted); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.haber-weather-stats strong { margin: 7px 0 3px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.haber-weather-stats em { font-size: .7em; font-style: normal; font-weight: 600; }
.haber-weather-stats small { color: var(--haber-color-text-muted); }

.haber-weather-forecast-section, .haber-weather-cities { margin-top: 34px; }
.haber-weather-section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.haber-weather-section-title h2 { margin: 3px 0 0; font-size: clamp(1.3rem, 2vw, 1.8rem); }
.haber-weather-section-title p { margin: 0; color: var(--haber-color-text-muted); font-size: .82rem; }
.haber-weather-forecast-grid { display: grid; grid-template-columns: repeat(7, minmax(140px, 1fr)); gap: 10px; overflow-x: auto; padding: 2px 2px 12px; scrollbar-width: thin; }
.haber-weather-day { display: grid; gap: 13px; min-height: 245px; padding: 17px 15px; border: 1px solid var(--haber-color-border); border-radius: 16px; background: var(--haber-color-surface); box-shadow: var(--haber-shadow-sm); }
.haber-weather-day.is-today { border-color: color-mix(in srgb, var(--haber-color-primary) 40%, var(--haber-color-border)); background: color-mix(in srgb, var(--haber-color-primary) 5%, var(--haber-color-surface)); }
.haber-weather-day header { display: flex; align-items: center; justify-content: space-between; }
.haber-weather-day header span, .haber-weather-day p, .haber-weather-day footer { color: var(--haber-color-text-muted); font-size: .7rem; }
.haber-weather-day__icon { color: var(--weather-accent); }
.haber-weather-day p { min-height: 2.4em; margin: 0; }
.haber-weather-day__range { display: flex; gap: 8px; align-items: baseline; }
.haber-weather-day__range strong { font-size: 1.55rem; }
.haber-weather-day__range span { color: var(--haber-color-text-muted); font-size: 1.05rem; }
.haber-weather-day footer { display: flex; gap: 8px; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--haber-color-border); }
.haber-weather-cities__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.haber-weather-cities__grid a { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 8px 11px; border: 1px solid var(--haber-color-border); border-radius: 10px; background: var(--haber-color-surface); font-size: .8rem; font-weight: 650; transition: border-color .15s, color .15s, transform .15s; }
.haber-weather-cities__grid a:hover, .haber-weather-cities__grid a.is-active { border-color: var(--haber-color-primary); color: var(--haber-color-primary); transform: translateY(-1px); }
.haber-weather-page__source { margin: 22px 0 0; color: var(--haber-color-text-muted); font-size: .75rem; text-align: center; }
.haber-weather-page__error { padding: 40px; border: 1px solid var(--haber-color-border); border-radius: 18px; background: var(--haber-color-surface); text-align: center; }

@media (max-width: 1000px) {
	.haber-weather-stats { grid-template-columns: repeat(2, 1fr); }
	.haber-weather-cities__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
	.haber-weather-page__heading { display: grid; }
	.haber-weather-page__picker { width: 100%; }
	.haber-weather-hero { grid-template-columns: 1fr 1fr; min-height: 0; padding: 25px 20px; }
	.haber-weather-hero__place { grid-column: 1 / -1; }
	.haber-weather-hero__current { justify-content: flex-start; }
	.haber-weather-hero__icon .haber-icon { width: 60px; height: 60px; }
	.haber-weather-hero__current strong { font-size: 3.7rem; }
	.haber-weather-stats > div { min-height: 110px; padding: 16px; }
	.haber-weather-cities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.haber-weather-section-title > p { display: none; }
}

.haber-follow__text { margin: 0 0 10px; font-size: .875rem; color: var(--haber-color-text-muted); }
.haber-follow__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.haber-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.haber-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
}

.haber-social a:hover { background: var(--haber-color-primary); border-color: var(--haber-color-primary); color: #fff; }
.haber-social--light a { border-color: rgb(255 255 255 / 25%); }
.haber-social--boxed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.haber-social--boxed a { width: auto; gap: 8px; height: 38px; font-size: .8125rem; }

.haber-widget-area { display: grid; gap: 22px; margin-bottom: 22px; }

/* Google News follow card --------------------------------------------- */

.haber-google-news-cta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 12px 0 22px;
	padding: 14px 18px;
	border: 1px solid var(--haber-color-border);
	border-radius: 12px;
	background: var(--haber-color-surface);
	box-shadow: 0 5px 16px rgb(15 23 42 / 9%);
}

.haber-google-news-cta__mark {
	position: relative;
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 8px;
	background: #4285f4;
	color: #fff;
	font-style: normal;
	box-shadow: -7px -6px 0 -3px #fbbc04, 5px -7px 0 -3px #34a853, 7px 5px 0 -3px #ea4335;
}

.haber-google-news-cta__mark b { font-size: 22px; line-height: 1; }
.haber-google-news-cta__mark em,
.haber-google-news-cta__mark em::before,
.haber-google-news-cta__mark em::after {
	position: absolute;
	right: 8px;
	width: 10px;
	height: 2px;
	border-radius: 2px;
	background: #fff;
	content: "";
}
.haber-google-news-cta__mark em { top: 14px; right: 6px; }
.haber-google-news-cta__mark em::before { top: 5px; right: 0; }
.haber-google-news-cta__mark em::after { top: 10px; right: 0; }
.haber-google-news-cta__mark i { display: none; }

.haber-google-news-cta__copy { display: grid; min-width: 0; gap: 4px; }
.haber-google-news-cta__copy strong { color: var(--haber-color-text); font-size: 1rem; line-height: 1.25; }
.haber-google-news-cta__copy small { color: var(--haber-color-text-muted); font-size: .78rem; }
.haber-google-news-cta__button {
	display: inline-flex;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-inline-start: auto;
	padding: 0 16px;
	border-radius: 999px;
	background: #4285f4;
	color: #fff;
	font-size: .78rem;
	font-weight: 800;
	white-space: nowrap;
}
.haber-google-news-cta__button:hover,
.haber-google-news-cta__button:focus-visible { background: #256dd7; color: #fff; transform: translateY(-1px); }
.haber-google-news-cta__button span { font-size: 1.25em; }

@media (max-width: 767px) {
	.haber-home-widgets-mobile-hidden .haber-widget-area--home-top,
	.haber-home-widgets-mobile-hidden .haber-sidebar--home,
	.haber-home-widgets-mobile-hidden .haber-widget-area--home-bottom { display: none; }

	.haber-google-news-cta { gap: 10px; margin: 10px 0 18px; padding: 12px; border-radius: 10px; }
	.haber-google-news-cta__mark { width: 38px; height: 38px; }
	.haber-google-news-cta__mark b { font-size: 20px; }
	.haber-google-news-cta__mark em { top: 12px; right: 5px; }
	.haber-google-news-cta__copy strong { font-size: .86rem; }
	.haber-google-news-cta__copy small { font-size: .68rem; }
	.haber-google-news-cta__button { min-height: 34px; padding-inline: 11px; font-size: .7rem; }
}

@media (max-width: 430px) {
	.haber-google-news-cta__copy small { display: none; }
	.haber-google-news-cta__button { padding-inline: 12px; }
}

/* ========================================================================== 
   10. Advertising
   ========================================================================== */

.haber-ad {
	display: block;
	margin: 22px auto;
	text-align: center;
	/* Reserve the space before anything loads — this is the CLS contract. */
	min-height: var(--haber-ad-m, 0px);
}

.haber-ad:empty { display: none; }

.haber-ad__label {
	display: block;
	margin-bottom: 4px;
	font-size: .625rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--haber-color-text-muted);
}

.haber-ad__creative { display: none; }
.haber-ad__creative--mobile { display: block; }

.haber-ad--mobile_sticky {
	position: fixed;
	inset-inline: 0;
	inset-block-end: 0;
	z-index: 90;
	margin: 0;
	padding: 4px;
	background: var(--haber-color-surface);
	border-top: 1px solid var(--haber-color-border);
}

.haber-ad--sidebar_sticky { position: sticky; top: calc(var(--haber-header-height) + 16px); }

/* Back to top ---------------------------------------------------------- */

.haber-to-top {
	position: fixed;
	inset-inline-end: 16px;
	inset-block-end: 16px;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--haber-color-border);
	border-radius: 50%;
	background: var(--haber-color-surface);
	color: var(--haber-color-text);
	box-shadow: var(--haber-shadow-md);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}

.haber-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

.haber-to-top:hover {
	background: var(--haber-color-primary);
	border-color: var(--haber-color-primary);
	color: #fff;
}

/* Clear the mobile sticky ad rail when that slot is switched on. */
@media (max-width: 1023px) {
	.haber-has-sticky-ad .haber-to-top { inset-block-end: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	.haber-to-top { transition: none; }
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.haber-footer { margin-top: 48px; background: var(--haber-color-footer); color: #c3ccdb; }

.haber-footer__grid {
	display: grid;
	gap: 22px;
	padding-block: 34px 26px;
	grid-template-columns: 1fr;
}

.haber-footer__logo { margin-bottom: 12px; }
.haber-footer__logo .haber-logo__text { color: #fff; }
.haber-footer__about { font-size: .875rem; line-height: 1.6; }

.haber-footer__contact { margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: .875rem; }
.haber-footer__contact li { display: flex; gap: 8px; align-items: flex-start; }

.haber-footer__col--menu { border-top: 1px solid rgb(255 255 255 / 10%); padding-top: 12px; }

.haber-footer__title {
	margin: 0 0 10px;
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
	list-style: none;
}

.haber-footer__title::-webkit-details-marker { display: none; }
.haber-footer__title::after { content: "+"; float: inline-end; }
.haber-footer__col--menu[open] .haber-footer__title::after { content: "−"; }

.haber-footer__menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .875rem; }
.haber-footer__menu a:hover, .haber-footer__contact a:hover { color: #fff; }
.haber-footer a:hover { color: #fff; }

.haber-footer__bottom { border-top: 1px solid rgb(255 255 255 / 10%); }

.haber-footer__bottom-inner {
	display: grid;
	gap: 12px;
	padding-block: 16px;
	font-size: .8125rem;
}

.haber-footer__copyright { margin: 0; }
.haber-footer__apps { display: flex; flex-wrap: wrap; gap: 10px; }

.haber-footer__app {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: var(--haber-radius-sm);
}

.haber-footer__legal { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }

/* ==========================================================================
   12. Comments
   ========================================================================== */

.haber-comments {
	margin: 14px 0 34px;
	border-top: 5px solid var(--haber-color-border);
	background: var(--haber-color-surface-alt);
}

.haber-comments__form-wrap { padding: clamp(18px,3vw,26px); }

.haber-comments__form-title {
	position: relative;
	width: fit-content;
	margin: 0 0 18px;
	padding-bottom: 7px;
	font-size: clamp(1.15rem,2vw,1.4rem);
	line-height: 1.1;
	text-transform: uppercase;
}

.haber-comments__form-title::after {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 2px;
	background: var(--haber-color-border);
	content: "";
}

.haber-comments__form {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
	gap: 10px;
}

.haber-comments__form > p { margin: 0; }
.haber-comments__form .comment-form-comment { grid-column: 1 / -1; order: 1; }
.haber-comments__form .comment-form-author,.haber-comments__form .comment-form-email,.haber-comments__form .form-submit { order: 2; }
.haber-comments__form .comment-form-cookies-consent,.haber-comments__form .logged-in-as,.haber-comments__form .comment-notes { grid-column: 1 / -1; order: 3; }
.haber-comments__form .logged-in-as { order: 0; color: var(--haber-color-text-muted); font-size: .82rem; }

.haber-comments :is(input[type="text"],input[type="email"],input[type="url"],textarea) {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--haber-color-border);
	border-radius: 4px;
	outline: 0;
	background: var(--haber-color-surface);
	color: var(--haber-color-text);
	font: inherit;
	transition: border-color .15s,box-shadow .15s;
}

.haber-comments textarea { height: 130px; min-height: 110px; resize: vertical; }
.haber-comments :is(input[type="text"],input[type="email"],textarea):focus { border-color: var(--haber-color-primary); box-shadow: 0 0 0 3px color-mix(in srgb,var(--haber-color-primary) 12%,transparent); }

.haber-comments__submit {
	min-height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 4px;
	background: var(--haber-color-text);
	color: var(--haber-color-surface);
	font: inherit;
	font-weight: 850;
	text-transform: uppercase;
	cursor: pointer;
}

.haber-comments__submit:hover,.haber-comments__submit:focus-visible { background: var(--haber-color-primary); color: #fff; }
.haber-comments__form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--haber-color-text-muted); font-size: .75rem; }
.haber-comments__form .comment-form-cookies-consent input { margin-top: 2px; }
.haber-comments__form .comment-form-cookies-consent label { margin: 0; }

.haber-comments__warning {
	margin: 16px 0 0;
	padding-top: 13px;
	border-top: 1px solid var(--haber-color-border);
	font-size: .82rem;
	line-height: 1.45;
}

.haber-comments__counter {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 48px;
	padding: 9px clamp(18px,3vw,26px);
	border-block: 1px solid var(--haber-color-border);
	background: color-mix(in srgb,var(--haber-color-text) 4%,var(--haber-color-surface));
}

.haber-comments__counter .haber-icon { padding-inline-end: 14px; box-sizing: content-box; border-inline-end: 1px solid var(--haber-color-border); }
.haber-comments__counter strong { font-size: 1rem; }
.haber-comments__list { margin: 0; padding: clamp(14px,2vw,22px); list-style: none; }
.haber-comments__list .children { margin: 12px 0 0 38px; padding: 0; list-style: none; }

.haber-comment__card {
	display: grid;
	grid-template-columns: 76px minmax(0,1fr);
	margin-bottom: 12px;
	overflow: hidden;
	border: 1px solid var(--haber-color-border);
	background: var(--haber-color-surface);
}

.haber-comment__avatar { display: grid; min-height: 100px; place-items: center; border-inline-end: 1px solid var(--haber-color-border); background: var(--haber-color-surface-alt); }
.haber-comment__avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.haber-comment__body { min-width: 0; padding: 14px 16px 11px; }
.haber-comment__head { display: flex; flex-wrap: wrap; gap: 5px; align-items: baseline; }
.haber-comment__head strong { font-size: 1rem; }
.haber-comment__head a { color: inherit; text-decoration: none; }
.haber-comment__head time { color: var(--haber-color-text-muted); font-size: .78rem; }
.haber-comment__text { margin-top: 10px; line-height: 1.55; }
.haber-comment__text p { margin: 0 0 8px; }
.haber-comment__pending { margin: 8px 0; color: #a15c00; font-size: .78rem; font-weight: 700; }
.haber-comment__actions { margin-top: 12px; }
.haber-comment__actions a { color: var(--haber-color-text-muted); font-size: .75rem; font-weight: 700; text-decoration: none; }
.haber-comment__actions a:hover { color: var(--haber-color-primary); }
.haber-comments__closed { margin: 0; padding: 24px; }

@media (max-width:700px) {
	.haber-comments__form-wrap { padding: 16px 12px; }
	.haber-comments__form { grid-template-columns: 1fr; gap: 10px; }
	.haber-comments__form .comment-form-comment,.haber-comments__form .comment-form-author,.haber-comments__form .comment-form-email,.haber-comments__form .form-submit,.haber-comments__form .comment-form-cookies-consent { grid-column: 1; }
	.haber-comments__submit { width: 100%; }
	.haber-comments textarea { height: 110px; min-height: 96px; }
	.haber-comments__counter { padding-inline: 16px; }
	.haber-comments__list { padding: 10px; }
	.haber-comment__card { grid-template-columns: 48px minmax(0,1fr); }
	.haber-comment__avatar { min-height: 82px; align-items: start; padding-top: 12px; }
	.haber-comment__avatar img { width: 34px; height: 34px; }
	.haber-comment__body { padding: 12px 10px 10px; }
	.haber-comment__head { gap: 3px; }
	.haber-comments__list .children { margin-left: 14px; }
}

.haber-searchform { display: flex; gap: 8px; max-width: 460px; margin-inline: auto; }

.haber-searchform__input {
	flex: 1;
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: var(--haber-color-surface);
	color: var(--haber-color-text);
	font: inherit;
}

.haber-searchform__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	border: 0;
	border-radius: var(--haber-radius-sm);
	background: var(--haber-color-primary);
	color: #fff;
	cursor: pointer;
}

/* ==========================================================================
   13. Breakpoints
   ========================================================================== */

@media (min-width: 480px) {
	.haber-grid--2, .haber-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.haber-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.haber-card--slide { flex-basis: 46vw; }
}

@media (min-width: 768px) {
	:root { --haber-gutter: 24px; --haber-header-height: 68px; }

	.haber-topbar--desktop { display: block; }
	.haber-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.haber-headline-top { --haber-per-view: 2; }
	.haber-daily__grid { grid-template-columns: 1.15fr 1fr; }
	.haber-split--big5 { grid-template-columns: 1.15fr 1fr; }
	.haber-split--big4 { grid-template-columns: 1.15fr 1fr; }
	.haber-split__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.haber-split__rest { display: flex; flex-direction: column; gap: 12px; }
	.haber-magazine { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.haber-card--magazine-lead { grid-column: span 2; grid-row: span 2; }
	.haber-card--magazine-lead .haber-card__title { font-size: 1.25rem; }
	.haber-card--magazine-wide { grid-column: span 2; }
	.haber-card--slide { flex-basis: 300px; }
	.haber-headline__title { font-size: 1.625rem; }
	.haber-headline__body { padding: 56px 24px 22px; }
	.haber-mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.haber-ad__creative--mobile { display: none; }
	.haber-ad__creative--tablet { display: block; }
	.haber-ad { min-height: var(--haber-ad-t, 0px); }
	.haber-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
	.haber-footer__col--menu { border-top: 0; padding-top: 0; }
	.haber-footer__title { cursor: default; pointer-events: none; }
	.haber-footer__title::after { content: none; }
	.haber-footer__bottom-inner { grid-template-columns: 1fr auto; align-items: center; }
	.haber-footer__legal { grid-column: 1 / -1; }
	.haber-author-profile { grid-template-columns: 100px 1fr; }
	.haber-author-profile__avatar { width: 100px; height: 100px; }
}

@media (min-width: 1024px) {
	.haber-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.haber-headline-top { --haber-per-view: 3; }
	.haber-header__nav { display: block; }
	.haber-menu__toggle { display: none; }
	.haber-headline { grid-template-columns: minmax(0, 68fr) minmax(0, 32fr); }
	.haber-headline__title { font-size: 1.875rem; }
	.haber-home__body { grid-template-columns: minmax(0, 1fr) 320px; }
	.haber-single__body, .haber-archive__body { grid-template-columns: minmax(0, 1fr) 320px; }
	.haber-no-sidebar .haber-single__body { grid-template-columns: minmax(0, 1fr); }
	.haber-ad__creative--tablet { display: none; }
	.haber-ad__creative--desktop { display: block; }
	.haber-ad { min-height: var(--haber-ad-d, 0px); }
	.haber-ad--mobile_sticky { display: none; }
	.haber-sidebar__inner { position: sticky; top: calc(var(--haber-header-height) + 20px); }
	.haber-card--row .haber-card__link { grid-template-columns: 130px 1fr; }
}

@media (min-width: 1280px) {
	.haber-menu__link { padding-inline: 14px; font-size: 1rem; }
}

/* ==========================================================================
   14. Mobile navigation
   ========================================================================== */

@media (max-width: 1023px) {
	.haber-header__nav {
		position: fixed;
		inset-block: 0;
		inset-inline-start: 0;
		z-index: 120;
		display: block;
		width: min(86vw, 340px);
		padding: 16px;
		overflow-y: auto;
		background: var(--haber-color-surface);
		box-shadow: var(--haber-shadow-md);
		transform: translateX(-102%);
		transition: transform .22s ease;
	}

	[dir="rtl"] .haber-header__nav { transform: translateX(102%); }
	.haber-nav-open .haber-header__nav { transform: translateX(0); }

	.haber-menu { flex-direction: column; gap: 0; }
	.haber-menu__item { border-bottom: 1px solid var(--haber-color-border); }
	.haber-menu__link { padding: 12px 4px; border-bottom: 0; }

	.haber-menu__toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		inset-block-start: 4px;
		inset-inline-end: 0;
		width: 38px;
		height: 38px;
		transform: none;
	}

	.haber-menu__toggle[aria-expanded="true"] { transform: rotate(180deg); }

	.haber-menu__sub {
		position: static;
		display: none;
		min-width: 0;
		padding: 0 0 8px 14px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		background: none;
	}

	.haber-menu__item.is-open > .haber-menu__sub { display: block; }
	.haber-menu__sub .haber-menu__link { padding: 8px 4px; }

	.haber-nav-overlay {
		position: fixed;
		inset: 0;
		z-index: 110;
		background: rgb(9 12 18 / 45%);
	}

	/*
	 * .haber-header carries z-index:60, which makes it a stacking context: the
	 * panel's own z-index is scoped inside it and the overlay would otherwise
	 * paint on top of the open menu. Lift the whole header while it is open.
	 */
	.haber-nav-open .haber-header { z-index: 130; }
}

/* ==========================================================================
   15. Print
   ========================================================================== */

@media print {
	.haber-header, .haber-footer, .haber-sidebar, .haber-ad, .haber-strip, .haber-share,
	.haber-infinite, .haber-related-end, .haber-editor-picks, .haber-comments { display: none !important; }

	body { background: #fff; color: #000; font-size: 12pt; }
	.haber-article__content a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ==========================================================================
   16. Authors landing
   ========================================================================== */

.haber-authors__grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	margin-top: 24px;
}

.haber-author-card {
	padding: 20px 16px;
	text-align: center;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-md);
	background: var(--haber-color-surface);
}

.haber-author-card__avatar { border-radius: 50%; width: 96px; height: 96px; }
.haber-author-card__name { margin: 10px 0 4px; font-size: 1.0625rem; }
.haber-author-card__link:hover .haber-author-card__name { color: var(--haber-color-primary); }
.haber-author-card__title { margin: 0; font-size: .8125rem; font-weight: 600; color: var(--haber-color-primary); }
.haber-author-card__expertise { margin: 6px 0 0; font-size: .8125rem; color: var(--haber-color-text-muted); }
.haber-author-card__count { margin: 8px 0 0; font-size: .75rem; color: var(--haber-color-text-muted); }
.haber-authors__eyebrow { display: block; margin-bottom: 5px; color: var(--haber-color-primary); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.haber-author-card { display: flex; flex-direction: column; align-items: center; box-shadow: 0 5px 18px rgb(17 24 39 / 5%); transition: border-color .2s,transform .2s,box-shadow .2s; }
.haber-author-card:hover { border-color: color-mix(in srgb,var(--haber-color-primary) 35%,var(--haber-color-border)); box-shadow: 0 10px 26px rgb(17 24 39 / 9%); transform: translateY(-2px); }
.haber-author-card__latest { display: grid; gap: 4px; width: 100%; margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--haber-color-border); text-align: left; }
.haber-author-card__latest span { color: var(--haber-color-primary); font-size: .62rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.haber-author-card__latest strong { display: -webkit-box; overflow: hidden; font-size: .78rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.haber-authors__empty { grid-column: 1 / -1; padding: 36px; border: 1px dashed var(--haber-color-border); border-radius: var(--haber-radius-md); color: var(--haber-color-text-muted); text-align: center; }

/* Homepage columnists module. Card and slider rules live in Haber Plugin. */
.haber-columnists { margin-block: clamp(22px,3vw,38px); padding: clamp(18px,2.5vw,28px); overflow: hidden; border-radius: calc(var(--haber-radius-md) + 3px); background: radial-gradient(circle at 90% 5%,rgb(43 107 151 / 55%),transparent 34%),linear-gradient(125deg,#0d192d,#173955); color: #fff; }
.haber-columnists__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.haber-columnists__head > div:first-child > span { color: #ffc94a; font-size: .64rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.haber-columnists__head h2 { margin: 3px 0 0; color: #fff; font-size: clamp(1.25rem,1rem + .9vw,1.75rem); }
.haber-columnists__actions { display: flex; align-items: center; gap: 14px; }
.haber-columnists__actions > a { flex: 0 0 auto; color: rgb(255 255 255 / 72%); font-size: .72rem; font-weight: 750; }
.haber-columnists__actions > a:hover { color: #fff; }
.haber-columnists .haber-pro-columnists__nav button { border-color: rgb(255 255 255 / 20%); background: rgb(255 255 255 / 8%); color: #fff; }
.haber-columnists .haber-pro-columnists__nav button:hover:not(:disabled),.haber-columnists .haber-pro-columnists__nav button:focus-visible { border-color: #ffc94a; background: #ffc94a; color: #14243a; }
@media(max-width:700px) {
	.haber-columnists { margin-inline: -10px; padding: 17px 14px; border-radius: 0; }
	.haber-columnists__head { align-items: center; margin-bottom: 14px; }
	.haber-columnists__actions > a { display: none; }
}

/* ==========================================================================
   17. Membership
   ========================================================================== */

.haber-account-button.is-signed-in {
	background: color-mix(in srgb, var(--haber-color-primary) 11%, transparent);
	color: var(--haber-color-primary);
}

.haber-save-form { margin: 0; }

.haber-save-button {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	justify-content: center;
	height: 28px;
	padding: 0 10px;
	border: 1px solid var(--haber-color-border);
	border-radius: var(--haber-radius-sm);
	background: var(--haber-color-surface);
	color: var(--haber-color-text);
	font-size: .75rem;
	font-weight: 700;
	cursor: pointer;
}

.haber-save-button:hover,
.haber-save-button.is-saved {
	border-color: var(--haber-color-primary);
	color: var(--haber-color-primary);
}

.haber-save-button.is-saved svg { fill: currentColor; }

.haber-membership { padding-block: 18px 56px; }

.haber-auth-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	max-width: 980px;
	margin: 22px auto 0;
	overflow: hidden;
	border: 1px solid var(--haber-color-border);
	border-radius: 18px;
	background: var(--haber-color-surface);
	box-shadow: 0 18px 55px rgb(15 23 42 / 10%);
}

.haber-auth-intro {
	position: relative;
	padding: clamp(28px, 5vw, 56px);
	overflow: hidden;
	background: linear-gradient(145deg, #111d31 0%, #182d4d 54%, #9d1720 160%);
	color: #fff;
}

.haber-auth-intro::after {
	position: absolute;
	inset-block-end: -100px;
	inset-inline-end: -90px;
	width: 250px;
	height: 250px;
	border: 44px solid rgb(255 255 255 / 5%);
	border-radius: 50%;
	content: "";
}

.haber-auth-intro__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	margin-bottom: 26px;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: 18px;
	background: rgb(255 255 255 / 10%);
}

.haber-auth-intro h1 { position: relative; z-index: 1; margin-bottom: 12px; color: #fff; font-size: clamp(1.65rem, 1.25rem + 1.3vw, 2.35rem); }
.haber-auth-intro > p { position: relative; z-index: 1; max-width: 480px; color: rgb(255 255 255 / 73%); line-height: 1.7; }
.haber-auth-intro ul { position: relative; z-index: 1; display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.haber-auth-intro li { display: flex; gap: 10px; align-items: flex-start; color: rgb(255 255 255 / 90%); font-size: .88rem; }
.haber-auth-intro li svg { flex: 0 0 auto; margin-top: 3px; color: #ff6870; }

.haber-auth-card { padding: clamp(26px, 5vw, 52px); }
.haber-auth-card,
.haber-auth-intro { min-width: 0; }
.haber-auth-card h1 { margin-bottom: 8px; font-size: clamp(1.45rem, 1.2rem + .7vw, 1.9rem); }
.haber-auth-card__lead { margin-bottom: 25px; color: var(--haber-color-text-muted); font-size: .9rem; }

.haber-membership-form { display: grid; gap: 16px; }
.haber-membership-form > label,
.haber-membership-form__columns > label { display: grid; gap: 7px; color: var(--haber-color-text); font-size: .82rem; font-weight: 700; }

.haber-membership-form input[type="text"],
.haber-membership-form input[type="email"],
.haber-membership-form input[type="password"] {
	width: 100%;
	height: 46px;
	padding: 0 13px;
	border: 1px solid var(--haber-color-border);
	border-radius: 8px;
	background: var(--haber-color-background);
	color: var(--haber-color-text);
	font: inherit;
	font-weight: 500;
}

.haber-membership-form input:disabled { cursor: not-allowed; opacity: .68; }
.haber-membership-form input:focus { border-color: var(--haber-color-primary); outline: 3px solid color-mix(in srgb, var(--haber-color-primary) 14%, transparent); }
.haber-membership-form small { color: var(--haber-color-text-muted); font-size: .7rem; font-weight: 500; }
.haber-membership-form__columns { display: grid; gap: 14px; }
.haber-membership-form__row { display: flex; gap: 15px; align-items: center; justify-content: space-between; color: var(--haber-color-text-muted); font-size: .78rem; }
.haber-membership-form__row > a { color: var(--haber-color-primary); font-weight: 700; }
.haber-membership-check { display: flex !important; grid-template-columns: auto 1fr; gap: 8px !important; align-items: flex-start; font-size: .76rem !important; font-weight: 500 !important; line-height: 1.45; }
.haber-membership-check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--haber-color-primary); }
.haber-membership-check a { color: var(--haber-color-primary); text-decoration: underline; }
.haber-membership-form__submit { width: 100%; min-height: 46px; margin-top: 2px; }
.haber-membership-honeypot { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.haber-auth-card__switch { margin: 23px 0 0; padding-top: 20px; border-top: 1px solid var(--haber-color-border); color: var(--haber-color-text-muted); font-size: .82rem; text-align: center; }
.haber-auth-card__switch a { color: var(--haber-color-primary); font-weight: 800; }

.haber-membership-alert { margin-bottom: 20px; padding: 11px 13px; border: 1px solid; border-radius: 8px; font-size: .82rem; font-weight: 600; }
.haber-membership-alert--error { border-color: color-mix(in srgb, var(--haber-color-primary) 28%, transparent); background: color-mix(in srgb, var(--haber-color-primary) 8%, transparent); color: var(--haber-color-primary); }
.haber-membership-alert--success { border-color: rgb(16 185 129 / 28%); background: rgb(16 185 129 / 9%); color: #087d59; }
:root[data-haber-theme="dark"] .haber-membership-alert--success { color: #6ee7b7; }

.haber-account-hero {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-top: 18px;
	padding: clamp(20px, 3vw, 30px);
	border-radius: 14px 14px 0 0;
	background: linear-gradient(120deg, #111d31 0%, #193454 72%, #8f1720 145%);
	color: #fff;
}

.haber-account-hero__identity { display: flex; gap: 16px; align-items: center; min-width: 0; }
.haber-account-hero__avatar { flex: 0 0 auto; width: 70px; height: 70px; border: 3px solid rgb(255 255 255 / 22%); border-radius: 50%; }
.haber-account-hero__identity span { color: rgb(255 255 255 / 64%); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.haber-account-hero h1 { margin: 2px 0 0; color: #fff; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); }
.haber-account-hero p { margin: 3px 0 0; color: rgb(255 255 255 / 68%); font-size: .8rem; }
.haber-account-logout { flex: 0 0 auto; padding: 8px 13px; border: 1px solid rgb(255 255 255 / 26%); border-radius: 7px; color: #fff; font-size: .75rem; font-weight: 750; }
.haber-account-logout:hover { background: rgb(255 255 255 / 10%); color: #fff; }

.haber-account-tabs {
	display: flex;
	overflow-x: auto;
	border: 1px solid var(--haber-color-border);
	border-top: 0;
	background: var(--haber-color-surface);
	scrollbar-width: none;
}

.haber-account-tabs::-webkit-scrollbar { display: none; }
.haber-account-tabs a { position: relative; display: inline-flex; flex: 0 0 auto; gap: 7px; align-items: center; justify-content: center; min-height: 51px; padding: 0 clamp(15px, 2.5vw, 28px); color: var(--haber-color-text-muted); font-size: .8rem; font-weight: 750; }
.haber-account-tabs a::after { position: absolute; inset-block-end: -1px; inset-inline: 14px; height: 3px; border-radius: 3px 3px 0 0; background: var(--haber-color-primary); content: ""; opacity: 0; }
.haber-account-tabs a:hover,
.haber-account-tabs a.is-active { color: var(--haber-color-primary); }
.haber-account-tabs a.is-active::after { opacity: 1; }
.haber-account-tabs small { display: inline-flex; align-items: center; justify-content: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: color-mix(in srgb, var(--haber-color-primary) 12%, transparent); font-size: .65rem; }

.haber-account-panel { min-height: 380px; padding: clamp(20px, 3.5vw, 38px); border: 1px solid var(--haber-color-border); border-top: 0; border-radius: 0 0 14px 14px; background: var(--haber-color-surface); }
.haber-account-heading { display: flex; gap: 15px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.haber-account-heading span { display: block; margin-bottom: 3px; color: var(--haber-color-primary); font-size: .68rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.haber-account-heading h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + .65vw, 1.75rem); }
.haber-account-heading > strong { color: var(--haber-color-text-muted); font-size: .76rem; }
.haber-account-heading--section { align-items: center; margin: 32px 0 14px; padding-top: 27px; border-top: 1px solid var(--haber-color-border); }
.haber-account-heading--section h2 { font-size: 1.1rem; }
.haber-account-heading--section a { color: var(--haber-color-primary); font-size: .75rem; font-weight: 750; }

.haber-account-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.haber-account-stats > * { display: grid; min-width: 0; min-height: 128px; padding: 18px; border: 1px solid var(--haber-color-border); border-radius: 11px; background: var(--haber-color-background); }
.haber-account-stats > a:hover { border-color: color-mix(in srgb, var(--haber-color-primary) 45%, var(--haber-color-border)); transform: translateY(-1px); }
.haber-account-stat__icon { display: inline-flex; align-items: center; justify-content: center; width: 35px; height: 35px; margin-bottom: 13px; border-radius: 9px; background: color-mix(in srgb, var(--haber-color-primary) 9%, transparent); color: var(--haber-color-primary); }
.haber-account-stats strong { font-size: 1.45rem; line-height: 1; }
.haber-account-stats small { margin-top: 5px; color: var(--haber-color-text-muted); font-size: .7rem; }

.haber-account-saved { display: grid; gap: 10px; }
.haber-account-saved article { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--haber-color-border); border-radius: 9px; background: var(--haber-color-background); }
.haber-account-saved__image { display: block; overflow: hidden; border-radius: 6px; background: var(--haber-color-surface-alt); }
.haber-account-saved__image img,
.haber-account-saved__image .haber-card__image--empty { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.haber-account-saved__content { min-width: 0; }
.haber-account-saved time { color: var(--haber-color-text-muted); font-size: .66rem; }
.haber-account-saved h3 { margin: 3px 0 0; font-size: .9rem; line-height: 1.35; }
.haber-account-saved h3 a:hover { color: var(--haber-color-primary); }
.haber-account-saved form button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--haber-color-border); border-radius: 7px; background: transparent; color: var(--haber-color-text-muted); cursor: pointer; }
.haber-account-saved form button:hover { border-color: var(--haber-color-primary); color: var(--haber-color-primary); }

.haber-account-comments { display: grid; gap: 10px; }
.haber-account-comments article { padding: 16px 18px; border: 1px solid var(--haber-color-border); border-radius: 9px; background: var(--haber-color-background); }
.haber-account-comments article > div { display: flex; gap: 10px; align-items: center; }
.haber-account-comments time { color: var(--haber-color-text-muted); font-size: .68rem; }
.haber-account-comments article > div span { padding: 2px 7px; border-radius: 999px; font-size: .62rem; font-weight: 800; }
.haber-account-comments .is-approved { background: rgb(16 185 129 / 11%); color: #087d59; }
.haber-account-comments .is-pending { background: rgb(245 179 1 / 14%); color: var(--haber-color-warning); }
.haber-account-comments h3 { margin: 7px 0 4px; font-size: .9rem; }
.haber-account-comments p { margin: 0; color: var(--haber-color-text-muted); font-size: .78rem; }

.haber-account-empty { padding: 42px 18px; border: 1px dashed var(--haber-color-border); border-radius: 11px; background: var(--haber-color-background); text-align: center; }
.haber-account-empty > svg { color: var(--haber-color-primary); }
.haber-account-empty h3 { margin: 12px 0 5px; font-size: 1.05rem; }
.haber-account-empty p { max-width: 520px; margin: 0 auto 18px; color: var(--haber-color-text-muted); font-size: .8rem; }
.haber-account-empty .haber-button { padding: 8px 14px; font-size: .76rem; }

.haber-profile-form { max-width: 760px; }
.haber-profile-form__divider { position: relative; margin: 9px 0 0; border-top: 1px solid var(--haber-color-border); }
.haber-profile-form__divider span { position: relative; top: -12px; padding-inline-end: 12px; background: var(--haber-color-surface); color: var(--haber-color-text-muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.haber-profile-form > .haber-button { justify-self: start; }

@media (min-width: 760px) {
	.haber-auth-shell { grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr); }
	.haber-membership-form__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
	.haber-membership { padding-block: 10px 34px; }
	.haber-auth-shell { margin-top: 12px; border-radius: 12px; }
	.haber-auth-intro { padding: 22px 20px; }
	.haber-auth-intro__icon { width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; }
	.haber-auth-intro__icon svg { width: 24px; height: 24px; }
	.haber-auth-intro h1 { margin-bottom: 6px; font-size: 1.35rem; }
	.haber-auth-intro > p { margin: 0; font-size: .8rem; line-height: 1.55; }
	.haber-auth-intro ul { display: none; }
	.haber-auth-card { padding: 24px 20px; }
	.haber-auth-card__lead { margin-bottom: 20px; }
	.haber-membership-form__row { align-items: flex-start; }
	.haber-membership-form__row { flex-wrap: wrap; }

	.haber-account-hero { align-items: flex-start; padding: 18px; border-radius: 11px 11px 0 0; }
	.haber-account-hero__identity { gap: 11px; }
	.haber-account-hero__avatar { width: 48px; height: 48px; }
	.haber-account-hero h1 { max-width: 180px; overflow: hidden; font-size: 1.15rem; text-overflow: ellipsis; white-space: nowrap; }
	.haber-account-hero p { display: none; }
	.haber-account-logout { padding: 6px 9px; font-size: .68rem; }
	.haber-account-tabs a { min-height: 47px; padding-inline: 14px; font-size: .73rem; }
	.haber-account-panel { min-height: 320px; padding: 19px 14px; }
	.haber-account-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
	.haber-account-stats > * { min-height: 108px; padding: 11px; }
	.haber-account-stat__icon { width: 30px; height: 30px; margin-bottom: 10px; }
	.haber-account-stats strong { font-size: 1.2rem; }
	.haber-account-stats small { line-height: 1.3; }
	.haber-account-saved article { grid-template-columns: 82px minmax(0, 1fr) auto; gap: 10px; padding: 8px; }
	.haber-account-saved h3 { display: -webkit-box; overflow: hidden; font-size: .8rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
	.haber-account-heading { margin-bottom: 17px; }
	.haber-account-heading--section { margin-top: 24px; padding-top: 21px; }
	.haber-save-button span { display: none; }
	.haber-save-button { width: 30px; padding: 0; }
}
