/* ==========================================================================
   Trendegy — ترند إيجي
   Mobile-first, RTL-native (logical properties). Brand: 70% cloud · 20% ink · 10% accent.
   Orange marks trends only; teal carries analysis and numbers.
   ========================================================================== */

/* Fonts (self-hosted, Arabic + Latin subsets) ------------------------------ */
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url("../fonts/readex-pro-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Readex Pro"; font-style: normal; font-weight: 160 700; font-display: swap; src: url("../fonts/readex-pro-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-arabic-400-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/plex-arabic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-arabic-500-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/plex-arabic-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-arabic-600-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/plex-arabic-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-arabic-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/plex-arabic-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Aref Ruqaa"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/aref-ruqaa-700-arabic.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/* Tokens ------------------------------------------------------------------- */
:root {
	--ts-color-orange: #ff5a36;
	--ts-color-ink: #0f1b1b;
	--ts-color-teal: #0e6b66;
	--ts-color-cloud: #f0eee9;
	--ts-color-stone: #6b6a64;
	--ts-color-white: #fff;
	--ts-color-line: #e5e2da;
	--ts-color-line-strong: #d9d6ce;
	--ts-color-rank: #e2431a;
	--ts-color-orange-soft: #fff1ec;
	--ts-color-teal-soft: #e6f0ef;

	--ts-font-head: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
	--ts-font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
	--ts-font-accent: "Aref Ruqaa", "Readex Pro", serif;

	--ts-radius: 20px;
	--ts-radius-sm: 14px;
	--ts-radius-lg: 28px;
	--ts-gap: 24px;
	--ts-container: 1240px;
	--ts-narrow: 760px;
	--ts-pad: 20px;
	--ts-header-h: 64px;
	--ts-shadow: 0 1px 2px rgba(15, 27, 27, .04), 0 8px 24px -12px rgba(15, 27, 27, .12);
}
@media (min-width: 768px) { :root { --ts-pad: 32px; --ts-header-h: 76px; } }

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--ts-header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--ts-color-cloud);
	color: var(--ts-color-ink);
	font-family: var(--ts-font-body);
	font-size: 1.0625rem;
	line-height: 1.8;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ts-color-teal); }
h1, h2, h3, h4 { font-family: var(--ts-font-head); font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ts-color-teal); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--ts-color-orange); color: var(--ts-color-ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ts-skip {
	position: absolute; inset-inline-start: 16px; top: -100px; z-index: 100;
	background: var(--ts-color-ink); color: #fff; padding: 10px 18px; border-radius: 999px;
}
.ts-skip:focus { top: 12px; color: #fff; }
.ts-main:focus { outline: none; }

.ts-container { width: 100%; max-width: calc(var(--ts-container) + var(--ts-pad) * 2); margin-inline: auto; padding-inline: var(--ts-pad); }
.ts-container--narrow { max-width: calc(var(--ts-narrow) + var(--ts-pad) * 2); }

.ts-icon { width: 1.25em; height: 1.25em; flex: none; }

/* Header ------------------------------------------------------------------- */
.ts-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--ts-color-white);
	border-bottom: 1px solid var(--ts-color-line);
}
.admin-bar .ts-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .ts-header { top: 32px; } }
@media (max-width: 600px) { .admin-bar .ts-header { top: 0; } }
.ts-header__bar {
	display: flex; align-items: center; gap: 16px;
	min-height: var(--ts-header-h);
	flex-wrap: wrap;
	padding-top:10px;
}
.ts-header__brand { display: inline-flex; flex: none; }
.ts-header__brand .ts-logo { height: 34px; width: auto; }
@media (min-width: 768px) {
.ts-header__bar {

	padding-top:10px;
}

	.ts-header__brand .ts-logo { height: 40px; } }
.ts-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }

.ts-nav { order: 3; width: calc(100% + var(--ts-pad) * 2); margin-inline: calc(var(--ts-pad) * -1); padding-inline: var(--ts-pad); border-top: 1px solid var(--ts-color-line); overflow-x: auto; scrollbar-width: none; }
.ts-nav::-webkit-scrollbar { display: none; }
.ts-nav__list { display: flex; gap: 2px; white-space: nowrap; }
.ts-nav__list a {
	display: block; padding: 12px 12px;
	font-family: var(--ts-font-head); font-weight: 500; font-size: .95rem;
	color: var(--ts-color-ink); position: relative;
}
.ts-nav__list a:hover { color: var(--ts-color-teal); }
.ts-nav__list .current-menu-item > a,
.ts-nav__list .current-category-ancestor > a,
.ts-nav__list .current-menu-ancestor > a { font-weight: 700; }
.ts-nav__list .current-menu-item > a::after {
	content: ""; position: absolute; inset-inline: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--ts-color-ink);
}
@media (min-width: 1024px) {
	.ts-header__bar { flex-wrap: nowrap; gap: 28px; }
	.ts-nav { order: 0; width: auto; margin: 0; padding: 0; border: 0; flex: 1; }
	.ts-nav__list a { padding: 8px 10px; }
	.ts-nav__list .current-menu-item > a::after { bottom: -2px; }
	.ts-header__actions { margin-inline-start: 0; }
}

.ts-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 999px; border: 1px solid var(--ts-color-line); background: var(--ts-color-white); cursor: pointer;
}
.ts-icon-btn:hover { border-color: var(--ts-color-ink); color: var(--ts-color-ink); }
.ts-icon-btn[aria-expanded="true"] { background: var(--ts-color-ink); color: #fff; border-color: var(--ts-color-ink); }
.ts-header__trend { display: none; }
@media (min-width: 420px) { .ts-header__trend { display: inline-flex; } }

.ts-search-panel { border-top: 1px solid var(--ts-color-line); padding-block: 16px; background: var(--ts-color-white); }

/* Pills, kickers, chips ---------------------------------------------------- */
.ts-pill {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 3px 12px; border-radius: 999px;
	font-family: var(--ts-font-head); font-weight: 600; font-size: .8125rem; line-height: 1.7;
	white-space: nowrap;
}
.ts-pill .ts-icon { width: 15px; height: 15px; }
.ts-pill--trend { background: var(--ts-color-orange); color: #FFF; }
a.ts-pill--trend:hover { color: var(--ts-color-ink); background: #ff7254; }
.ts-pill--updated { background: var(--ts-color-teal-soft); color: var(--ts-color-teal); }
.ts-pill--demo { border: 1px dashed var(--ts-color-stone); color: var(--ts-color-stone); padding-block: 2px; font-weight: 500; }
.ts-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; }

.ts-kicker {
	font-family: var(--ts-font-head); font-weight: 600; font-size: .8125rem;
	color: var(--ts-color-teal); position: relative; z-index: 2;
}
.ts-kicker--muted { color: var(--ts-color-stone); }
.ts-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-chip {
	display: inline-block; padding: 6px 14px; border-radius: 999px;
	background: var(--ts-color-white); border: 1px solid var(--ts-color-line-strong);
	font-family: var(--ts-font-head); font-weight: 500; font-size: .875rem; line-height: 1.6;
}
.ts-chip:hover { border-color: var(--ts-color-ink); color: var(--ts-color-ink); }
.ts-trend-chip { color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; font-size: .8125rem; unicode-bidi: plaintext; }

.ts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ts-color-ink);
	background: transparent; font-family: var(--ts-font-head); font-weight: 600; cursor: pointer;
}
.ts-btn:hover { background: var(--ts-color-ink); color: #fff; }
.ts-btn--primary { background: var(--ts-color-ink); color: #fff; }
.ts-btn--primary:hover { background: var(--ts-color-teal); border-color: var(--ts-color-teal); color: #fff; }

/* «الآن في مصر» strip ------------------------------------------------------ */
.ts-now { background: var(--ts-color-white); border-bottom: 1px solid var(--ts-color-line); }
.ts-now__inner { display: flex; align-items: center; gap: 18px; min-height: 56px; }
.ts-now__title {
	flex: none; font-family: var(--ts-font-accent); font-weight: 700; font-size: 1.35rem; line-height: 1;
	color: var(--ts-color-orange); padding-block: 8px;
}
.ts-now__title a:hover { color: var(--ts-color-rank); }
.ts-now__viewport { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to left, #000 85%, transparent); -webkit-mask-image: linear-gradient(to left, #000 85%, transparent); }
.ts-now__viewport::-webkit-scrollbar { display: none; }
.ts-now__track { display: flex; width: max-content; }
.ts-now__list { display: flex; gap: 28px; padding-block: 10px; padding-inline-end: 28px; }
.ts-now__viewport.is-animated { overflow: hidden; mask-image: linear-gradient(to left, transparent, #000 6%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to left, transparent, #000 6%, #000 90%, transparent); }
.ts-now__viewport.is-animated .ts-now__track { animation: ts-ticker var(--ts-ticker-duration, 40s) linear infinite; will-change: transform; }
.ts-now__viewport.is-animated:hover .ts-now__track, .ts-now__viewport.is-animated:focus-within .ts-now__track { animation-play-state: paused; }
@keyframes ts-ticker { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ts-now__viewport.is-animated .ts-now__track { animation: none; } }
.ts-now__item { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; font-family: var(--ts-font-head); font-weight: 500; font-size: .9375rem; }
.ts-now__time { color: var(--ts-color-teal); font-size: .8125rem; font-weight: 600; }

/* Layout ------------------------------------------------------------------- */
.ts-main { padding-bottom: 56px; }
.ts-section { margin-top: 48px; }
@media (min-width: 1024px) { .ts-section { margin-top: 64px; } }
.ts-section-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	padding-top: 14px; margin-bottom: 22px; border-top: 2px solid var(--ts-color-ink);
}
.ts-section-head__title { font-size: 1.375rem; }
@media (min-width: 768px) { .ts-section-head__title { font-size: 1.625rem; } }
.ts-section-head__more { display: inline-flex; align-items: center; gap: 2px; color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.ts-section-head__more .ts-icon { width: 18px; height: 18px; }
.ts-section-intro { color: var(--ts-color-stone); margin: -8px 0 22px; }

.ts-grid { display: grid; gap: var(--ts-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
	.ts-grid--2, .ts-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 480px) { .ts-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .ts-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ts-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .ts-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ts-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
.ts-layout__aside { display: grid; gap: var(--ts-gap); align-content: start; }
@media (min-width: 1024px) {
	.ts-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
	.ts-layout__aside { position: sticky; top: calc(var(--ts-header-h) + 24px); }
	.ts-layout > .ts-layout__main > .ts-section:first-child { margin-top: 48px; }
	.ts-layout > .ts-layout__aside { margin-top: 48px; }
}
.ts-container.ts-layout { margin-top: 32px; }
.ts-container.ts-layout > .ts-layout__main > .ts-section:first-child,
.ts-container.ts-layout > .ts-layout__aside { margin-top: 0; }

/* Cards -------------------------------------------------------------------- */
.ts-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ts-card__title { font-weight: 600; font-size: 1.125rem; line-height: 1.6; }
.ts-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ts-card__title a:hover { color: var(--ts-color-teal); }
.ts-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 8px; }
.ts-card__excerpt { color: var(--ts-color-stone); font-size: .9688rem; line-height: 1.85; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ts-card__media { display: block; }
.ts-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--ts-color-stone); font-size: .8125rem; line-height: 1.6; }
.ts-meta__sep { opacity: .6; }

.ts-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ts-color-line); }
.ts-cover__img, .ts-cover .ts-cover-art { width: 100%; height: 100%; object-fit: cover; }
.ts-card--default { background: var(--ts-color-white); border-radius: var(--ts-radius); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
.ts-card--default .ts-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ts-card--default .ts-meta { margin-top: auto; padding-top: 10px; }
@media (hover: hover) { .ts-card--default:hover, .ts-card--hero:hover { box-shadow: var(--ts-shadow); } }

.ts-card--hero { background: var(--ts-color-white); border-radius: var(--ts-radius-lg); overflow: hidden; }
.ts-card--hero .ts-card__body { padding: 20px 22px 24px; }
.ts-card--hero .ts-card__title { font-weight: 700; font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.5rem); line-height: 1.45; }
.ts-card--hero .ts-card__excerpt { font-size: 1.0625rem; -webkit-line-clamp: 4; margin-top: 12px; }
@media (min-width: 768px) { .ts-card--hero .ts-card__body { padding: 26px 32px 30px; } }

.ts-card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.ts-card--row .ts-card__media { flex: none; width: 96px; border-radius: var(--ts-radius-sm); overflow: hidden; }
.ts-card--row .ts-cover { aspect-ratio: 1; }
.ts-card--row .ts-card__body { flex: 1; min-width: 0; }
.ts-card--row .ts-card__title { font-size: 1rem; line-height: 1.65; }
.ts-card--row .ts-card__top { margin-bottom: 4px; }
.ts-card--row .ts-meta { margin-top: 6px; }
.ts-card--row .ts-card__excerpt { -webkit-line-clamp: 2; font-size: .9375rem; }
@media (min-width: 768px) { .ts-card--row .ts-card__media { width: 132px; } .ts-card--row .ts-cover { aspect-ratio: 4 / 3; } }

.ts-card--compact { flex-direction: row; gap: 14px; align-items: flex-start; }
.ts-card--compact .ts-card__title { font-size: 1rem; line-height: 1.65; }
.ts-card--compact .ts-meta { margin-top: 4px; }
.ts-card__rank { flex: none; width: 28px; font-family: var(--ts-font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--ts-color-rank); }

.ts-card--text .ts-card__title { font-size: 1.0625rem; }

/* Hero --------------------------------------------------------------------- */
.ts-hero { display: grid; gap: var(--ts-gap); margin-top: 24px; }
.ts-hero__side { display: grid; gap: 0; background: var(--ts-color-white); border-radius: var(--ts-radius-lg); padding: 6px 20px; }
.ts-hero__side > li { padding-block: 16px; }
.ts-hero__side > li + li { border-top: 1px solid var(--ts-color-line); }
@media (min-width: 1024px) {
	.ts-hero { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 28px; margin-top: 32px; align-items: start; }
	.ts-hero__side { padding: 8px 24px; }
}

/* Panels (aside) ----------------------------------------------------------- */
.ts-panel { background: var(--ts-color-white); border-radius: var(--ts-radius); padding: 20px 22px; }
.ts-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ts-panel__title { font-size: 1.125rem; }
.ts-panel__more { display: inline-flex; align-items: center; color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; font-size: .8125rem; white-space: nowrap; }
.ts-panel__more .ts-icon { width: 16px; height: 16px; }

.ts-indicators__list { list-style: none; margin: 0; padding: 0; }
.ts-indicators__item { display: grid; grid-template-columns: 28px 1fr auto; grid-template-areas: "icon label change" "icon value change"; align-items: center; column-gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--ts-color-line); }
.ts-indicators__item:last-child { border-bottom: 0; }
.ts-indicators__icon { grid-area: icon; font-size: 1.25rem; line-height: 1; }
.ts-indicators__label { grid-area: label; color: var(--ts-color-stone); font-size: .8125rem; }
.ts-indicators__value { grid-area: value; font-variant-numeric: tabular-nums; }
.ts-indicators__value b { font-family: var(--ts-font-head); font-size: 1.0625rem; }
.ts-indicators__value small { color: var(--ts-color-stone); font-size: .75rem; }
.ts-indicators__change { grid-area: change; padding: 4px 10px; border-radius: 999px; font-family: var(--ts-font-head); font-weight: 700; font-size: .8125rem; white-space: nowrap; direction: rtl; }
.ts-indicators__change--up { background: #e7f5ec; color: #157a3d; }
.ts-indicators__change--down { background: var(--ts-color-orange-soft); color: #c2361a; }
.ts-indicators__change--flat { background: var(--ts-color-cloud); color: var(--ts-color-stone); }
.ts-indicators__note { margin: 10px 0 0; color: var(--ts-color-stone); font-size: .75rem; }

.ts-trend-list__item {
	display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px;
	padding-block: 11px; border-top: 1px solid var(--ts-color-line);
}
.ts-trend-list__item:first-child { border-top: 0; padding-top: 4px; }
.ts-trend-list__rank { font-family: var(--ts-font-head); font-weight: 700; font-size: 1.25rem; line-height: 1; color: var(--ts-color-rank); }
.ts-trend-list__main { display: flex; flex-direction: column; min-width: 0; }
.ts-trend-list__name { font-family: var(--ts-font-head); font-weight: 600; font-size: 1rem; line-height: 1.5; }
.ts-trend-list__cat { color: var(--ts-color-stone); font-size: .75rem; line-height: 1.5; }
.ts-trend-list__growth { color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; font-size: .875rem; unicode-bidi: plaintext; white-space: nowrap; }

.ts-ranked > li { padding-block: 12px; border-top: 1px solid var(--ts-color-line); }
.ts-ranked > li:first-child { border-top: 0; padding-top: 4px; }

/* Category sections -------------------------------------------------------- */
.ts-cat-section__grid { display: grid; gap: var(--ts-gap); }
.ts-cat-section__list { display: grid; align-content: start; }
.ts-cat-section__list > li { padding-block: 16px; border-top: 1px solid var(--ts-color-line-strong); }
.ts-cat-section__list > li:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
	.ts-cat-section__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; }
}

/* Topic cards -------------------------------------------------------------- */
.ts-topic-card { position: relative; background: var(--ts-color-white); border-radius: var(--ts-radius); overflow: hidden; display: flex; flex-direction: column; }
.ts-topic-card__art { height: 120px; overflow: hidden; background: var(--ts-color-cloud); }
.ts-topic-card__art .ts-cover { height: 100%; aspect-ratio: auto; }
.ts-topic-card__art svg, .ts-topic-card__art img { width: 100%; height: 100%; object-fit: cover; }
.ts-topic-card__body { padding: 14px 18px 18px; }
.ts-topic-card__title { font-size: 1.125rem; }
.ts-topic-card__title a::after { content: ""; position: absolute; inset: 0; }
.ts-topic-card__count { color: var(--ts-color-stone); font-size: .8125rem; margin-top: 2px; }
.ts-topic-card .ts-card__top { margin-bottom: 4px; }
.ts-topic-card.is-trending { box-shadow: inset 0 0 0 2px var(--ts-color-orange); }

/* Newsletter --------------------------------------------------------------- */
.ts-newsletter {
	position: relative; overflow: hidden; margin-top: 56px;
	background: var(--ts-color-ink); color: var(--ts-color-cloud);
	border-radius: var(--ts-radius-lg); display: grid; grid-template-columns: minmax(0, 1fr);
}
.ts-newsletter__art { height: 140px; }
.ts-newsletter__art svg { width: 100%; height: 100%; }
.ts-newsletter__content { padding: 28px 24px 32px; }
.ts-newsletter__kicker { font-family: var(--ts-font-accent); color: var(--ts-color-orange); font-size: 1.25rem; line-height: 1.4; }
.ts-newsletter__title { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); margin-top: 6px; }
.ts-newsletter__text { color: #c9c6be; margin-top: 10px; max-width: 52ch; }
.ts-newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; max-width: 520px; }
.ts-newsletter__form input[type="email"] {
	flex: 1 1 220px; min-width: 0; width: 100%; min-height: 52px; border-radius: 999px; border: 0; padding: 0 20px;
	background: #fff; color: var(--ts-color-ink); text-align: right;
}
.ts-newsletter__form input[type="email"]::placeholder { color: var(--ts-color-stone); }
.ts-newsletter__form .ts-btn--primary { background: var(--ts-color-orange); color: var(--ts-color-ink); border-color: var(--ts-color-orange); min-height: 52px; padding-inline: 28px; }
.ts-newsletter__form .ts-btn--primary:hover { background: #ff7254; border-color: #ff7254; }
.ts-newsletter__form.is-busy { opacity: .6; pointer-events: none; }
.ts-newsletter__msg { min-height: 1.6em; margin-top: 10px; font-weight: 500; }
.ts-newsletter__msg.is-error { color: #ffb4a3; }
.ts-newsletter__msg.is-success { color: #8fd3cc; }
.ts-newsletter__note { color: #8f8d86; font-size: .8125rem; margin-top: 4px; }
.ts-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 900px) {
	.ts-newsletter { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
	.ts-newsletter__art { order: 2; height: auto; min-height: 100%; }
	.ts-newsletter__content { padding: 48px 52px; }
}

/* Archive header ----------------------------------------------------------- */
.ts-archive-head { position: relative; overflow: hidden; background: var(--ts-color-white); border-bottom: 1px solid var(--ts-color-line); }
.ts-archive-head__inner { position: relative; padding-block: 24px 30px; }
.ts-archive-head__art { height: 96px; }
.ts-archive-head__art svg, .ts-archive-head__art img { width: 100%; height: 100%; object-fit: cover; }
.ts-archive-head__kicker { font-family: var(--ts-font-head); font-weight: 600; font-size: .875rem; color: var(--ts-color-teal); margin-top: 12px; }
.ts-archive-head__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); margin-top: 4px; }
.ts-archive-head__desc { color: var(--ts-color-stone); font-size: 1.0625rem; max-width: 62ch; margin-top: 10px; }
.ts-archive-head__stats { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--ts-color-stone); font-size: .875rem; }
.ts-archive-head__stats b { color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; unicode-bidi: plaintext; }
.ts-archive-head__trend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; font-size: .9375rem; }
.ts-archive-head__search { margin-top: 20px; max-width: 640px; }
@media (min-width: 900px) {
	.ts-archive-head__art { position: absolute; inset-block: 0; inset-inline-end: 0; width: 42%; height: auto; -webkit-mask-image: linear-gradient(to left, #000 40%, transparent); mask-image: linear-gradient(to left, #000 40%, transparent); }
	.ts-archive-head.has-art .ts-archive-head__inner > :not(.ts-breadcrumbs) { max-width: 58%; }
	.ts-archive-head__inner { padding-block: 32px 44px; }
}
/* Cover variant: full-width photo, text on a dark gradient (inline-start side on desktop). */
.ts-archive-head--cover { background: var(--ts-color-ink); color: #fff; border-bottom: 0; isolation: isolate; }
.ts-archive-head__media { position: absolute; inset: 0; z-index: -2; }
.ts-archive-head__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ts-archive-head--cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 20, 20, .94) 0%, rgba(10, 20, 20, .72) 45%, rgba(10, 20, 20, .28) 100%); }
.ts-archive-head--cover .ts-archive-head__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding-block: 20px 22px; }
.ts-archive-head--cover .ts-breadcrumbs { margin-bottom: auto; padding-bottom: 28px; }
.ts-archive-head--cover .ts-breadcrumbs ol, .ts-archive-head--cover .ts-breadcrumbs [aria-current] { color: rgba(255, 255, 255, .82); }
.ts-archive-head--cover .ts-breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.ts-archive-head--cover .ts-archive-head__kicker { color: #fff; background: var(--ts-color-teal); align-self: flex-start; padding: 2px 12px; border-radius: 999px; font-size: .8125rem; }
.ts-archive-head--cover .ts-archive-head__title { color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.ts-archive-head--cover .ts-archive-head__desc { color: rgba(255, 255, 255, .88); }
.ts-archive-head--cover .ts-archive-head__stats { color: rgba(255, 255, 255, .78); }
.ts-archive-head--cover .ts-archive-head__stats b { color: #fff; }
.ts-archive-head__credit { margin-top: 14px; font-size: .6875rem; line-height: 1.5; color: rgba(255, 255, 255, .62); }
.ts-archive-head__credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }
.ts-archive-head__credit a:hover { color: #fff; }
@media (min-width: 900px) {
	.ts-archive-head--cover::after { background: linear-gradient(to left, rgba(10, 20, 20, .92) 0%, rgba(10, 20, 20, .74) 38%, rgba(10, 20, 20, .2) 78%, rgba(10, 20, 20, .08) 100%); }
	.ts-archive-head--cover .ts-archive-head__inner { min-height: 380px; padding-block: 28px 40px; }
	.ts-archive-head--cover .ts-archive-head__inner > :not(.ts-breadcrumbs):not(.ts-archive-head__credit) { max-width: 56%; }
	.ts-archive-head__credit { position: absolute; inset-block-end: 12px; inset-inline-end: var(--ts-pad); max-width: 36%; margin: 0; text-align: end; }
}
.ts-archive-lead { margin-bottom: var(--ts-gap); }

/* Breadcrumbs -------------------------------------------------------------- */
.ts-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .8125rem; color: var(--ts-color-stone); }
.ts-breadcrumbs li + li::before { content: "‹"; margin-inline-end: 4px; opacity: .7; }
.ts-breadcrumbs a:hover { color: var(--ts-color-teal); }
.ts-breadcrumbs [aria-current] { color: var(--ts-color-ink); }

/* Article ------------------------------------------------------------------ */
.ts-article__head { padding-top: 24px; }
.ts-article__head .ts-breadcrumbs { margin-bottom: 18px; }
.ts-article__title { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.875rem); line-height: 1.45; margin-top: 4px; }
.ts-article__dek { font-size: 1.1875rem; line-height: 1.9; color: var(--ts-color-stone); margin-top: 14px; }
.ts-article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 18px; padding-block: 14px; border-block: 1px solid var(--ts-color-line-strong); color: var(--ts-color-stone); font-size: .875rem; }
.ts-article__author a { color: var(--ts-color-ink); font-weight: 600; }
.ts-article__reading { display: inline-flex; align-items: center; gap: 6px; }
.ts-article__reading .ts-icon { width: 16px; height: 16px; }
.ts-article__cover { margin-block: 24px 8px; max-width: 1180px; }
.ts-article__cover .ts-cover { border-radius: var(--ts-radius); }
.ts-article__cover figcaption { color: var(--ts-color-stone); font-size: .8125rem; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; }
.ts-credit { font-family: "Readex Pro", var(--ts-font-body); font-size: .625rem; line-height: 1.4; font-weight: 300; color: var(--ts-color-stone); opacity: .85; margin-inline-start: auto; }
.ts-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; border-bottom-color: color-mix(in srgb, currentColor 35%, transparent); }
.ts-credit a:hover { color: var(--ts-color-ink); }
@media (min-width: 768px) { .ts-article__cover { margin-block: 32px 12px; } .ts-article__cover .ts-cover { border-radius: var(--ts-radius-lg); } }

.ts-article__layout { display: grid; gap: 40px; margin-top: 16px; }
.ts-article__main { min-width: 0; max-width: var(--ts-narrow); width: 100%; margin-inline: auto; }
.ts-article__aside { display: grid; gap: var(--ts-gap); align-content: start; }
@media (min-width: 1100px) {
	.ts-article__layout { grid-template-columns: minmax(0, var(--ts-narrow)) 320px; justify-content: center; gap: 64px; }
	.ts-article__main { margin: 0; }
	.ts-article__aside { position: sticky; top: calc(var(--ts-header-h) + 24px); }
}
.ts-article__foot { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--ts-color-line-strong); }
.ts-article.is-retracted .ts-prose { opacity: .55; }

.ts-trend-context { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; background: var(--ts-color-orange-soft); border-radius: var(--ts-radius-sm); padding: 14px 18px; margin-bottom: 28px; font-size: .9375rem; }
.ts-trend-context__note { flex-basis: 100%; color: var(--ts-color-stone); font-size: .8125rem; margin: 0; }
.ts-trend-context__growth { color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 700; unicode-bidi: plaintext; margin-inline-start: 4px; }

/* Prose -------------------------------------------------------------------- */
.ts-prose { font-size: 1.125rem; line-height: 2; }
@media (min-width: 768px) { .ts-prose { font-size: 1.1875rem; } }
.ts-prose > * + * { margin-top: 1.25em; }
.ts-prose h2 { font-size: 1.5rem; margin-top: 2em; line-height: 1.5; }
.ts-prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.ts-prose h2 + *, .ts-prose h3 + * { margin-top: .6em; }
.ts-prose a { color: var(--ts-color-teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ts-prose a:hover { text-decoration-thickness: 2px; }
.ts-prose ul, .ts-prose ol { padding-inline-start: 1.3em; }
.ts-prose .ts-price-table { margin: 1.6em 0; overflow-x: auto; }
.ts-price-table table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--ts-color-white); border: 1px solid var(--ts-color-line); border-radius: var(--ts-radius-sm); overflow: hidden; }
.wp-block-table.ts-price-table thead { border-bottom: 0; }
.wp-block-table.ts-price-table th, .wp-block-table.ts-price-table td { padding: 11px 16px; text-align: start; border: 0; border-bottom: 1px solid var(--ts-color-line); }
.ts-price-table thead th { background: var(--ts-color-teal-soft); color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 700; font-size: .875rem; }
.ts-price-table tbody tr:last-child td { border-bottom: 0; }
.ts-price-table tbody tr:nth-child(even) td { background: #faf9f6; }
.ts-price-table td:not(:first-child) { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ts-price-table figcaption { margin-top: 8px; color: var(--ts-color-stone); font-size: .8125rem; line-height: 1.7; text-align: start; }
.ts-prose ul { list-style: disc; }
.ts-prose ol { list-style: arabic-indic; }
.ts-prose li + li { margin-top: .45em; }
.ts-prose li::marker { color: var(--ts-color-teal); }
.ts-prose blockquote { margin-inline: 0; padding: 4px 22px; border-inline-start: 4px solid var(--ts-color-teal); font-family: var(--ts-font-head); font-size: 1.25rem; line-height: 1.8; }
.ts-prose img, .ts-prose figure img { border-radius: var(--ts-radius-sm); }
.ts-prose figure { margin-inline: 0; }
.ts-prose figcaption { color: var(--ts-color-stone); font-size: .875rem; margin-top: 8px; }
.ts-prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ts-prose th, .ts-prose td { padding: 10px 12px; border-bottom: 1px solid var(--ts-color-line-strong); text-align: right; }
.ts-prose hr { border: 0; border-top: 1px solid var(--ts-color-line-strong); margin-block: 2.2em; }
.ts-prose .wp-block-embed, .ts-prose iframe { max-width: 100%; }
.ts-box { background: var(--ts-color-white); border-radius: var(--ts-radius); padding: 20px 24px; border-inline-start: 4px solid var(--ts-color-teal); margin-block: 2em !important; }
.ts-box > * + * { margin-top: .6em; }
.ts-prose .ts-box__title, .ts-box__title { font-size: 1.0625rem; margin: 0 !important; color: var(--ts-color-teal); display: flex; align-items: center; gap: 10px; }
.ts-box__title::before { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ts-color-teal-soft) var(--ts-box-icon, none) center / 18px no-repeat; }
.ts-box--summary { --ts-box-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e6b66' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 6.5h10M10 12h10M10 17.5h7'/%3E%3Ccircle cx='5' cy='6.5' r='1.4' fill='%230e6b66' stroke='none'/%3E%3Ccircle cx='5' cy='12' r='1.4' fill='%230e6b66' stroke='none'/%3E%3Ccircle cx='5' cy='17.5' r='1.4' fill='%230e6b66' stroke='none'/%3E%3C/svg%3E"); }
.ts-box--why { --ts-box-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2431a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 18c7 0 12.5-3.3 16-10.5M14.5 7l5-1 .6 5'/%3E%3C/svg%3E"); }
.ts-box--why .ts-box__title::before { background-color: var(--ts-color-white); }
.ts-box--unconfirmed { --ts-box-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6a64' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5v5.5'/%3E%3Ccircle cx='12' cy='16.3' r='1.2' fill='%236b6a64' stroke='none'/%3E%3C/svg%3E"); }
.ts-box--unconfirmed .ts-box__title::before { background-color: #ebe9e3; }
.ts-box ul, .ts-box ol { font-size: 1.0625rem; line-height: 1.9; }
.ts-box--why { background: var(--ts-color-orange-soft); border-inline-start-color: var(--ts-color-orange); }
.ts-box--why .ts-box__title { color: var(--ts-color-rank); }
.ts-box--confirmed { background: var(--ts-color-teal-soft); }
.ts-box--unconfirmed { background: #f7f6f2; border-inline-start: 4px dashed var(--ts-color-stone); }
.ts-box--unconfirmed .ts-box__title { color: var(--ts-color-stone); }

.ts-disclosure { margin-top: 28px; padding: 12px 16px; border-radius: var(--ts-radius-sm); background: var(--ts-color-white); color: var(--ts-color-stone); font-size: .875rem; }
.ts-disclosure a { color: var(--ts-color-teal); text-decoration: underline; text-underline-offset: 4px; }
.ts-disclosure--demo { background: transparent; border: 1px dashed var(--ts-color-stone); }

.ts-chips-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 32px; }
.ts-chips-nav__label { font-family: var(--ts-font-head); font-weight: 600; font-size: .875rem; color: var(--ts-color-stone); }

/* Corrections -------------------------------------------------------------- */
.ts-corrections { display: grid; gap: 10px; margin-top: 18px; }
.ts-correction { background: var(--ts-color-white); border-radius: var(--ts-radius-sm); border-inline-start: 4px solid var(--ts-color-teal); padding: 12px 16px; font-size: .9375rem; line-height: 1.8; }
.ts-correction p:first-child { display: flex; gap: 10px; align-items: baseline; }
.ts-correction b { font-family: var(--ts-font-head); color: var(--ts-color-teal); }
.ts-correction time { color: var(--ts-color-stone); font-size: .8125rem; }
.ts-correction--correction { border-inline-start-color: var(--ts-color-rank); }
.ts-correction--correction b { color: var(--ts-color-rank); }
.ts-correction--retraction { border-inline-start-color: #b42318; background: #fdecea; }
.ts-correction--retraction b { color: #b42318; }
.ts-retraction { margin-top: 18px; padding: 14px 18px; border-radius: var(--ts-radius-sm); background: #b42318; color: #fff; }

/* Sources ------------------------------------------------------------------ */
.ts-sources { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ts-color-line-strong); }
.ts-sources__title { font-size: 1.125rem; margin-bottom: 12px; }
.ts-sources__list { counter-reset: src; display: grid; gap: 10px; }
.ts-sources__item { counter-increment: src; position: relative; padding-inline-start: 30px; font-size: .9375rem; line-height: 1.8; }
.ts-sources__item::before { content: counter(src, arabic-indic); position: absolute; inset-inline-start: 0; top: 0; font-family: var(--ts-font-head); font-weight: 700; color: var(--ts-color-teal); }
.ts-sources__item a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--ts-color-line-strong); }
.ts-sources__item a:hover { text-decoration-color: currentColor; }
.ts-sources__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--ts-color-stone); font-size: .8125rem; }
.ts-sources__type { padding: 0 8px; border-radius: 999px; background: var(--ts-color-white); border: 1px solid var(--ts-color-line); }

/* Share -------------------------------------------------------------------- */
.ts-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.ts-share__label { font-family: var(--ts-font-head); font-weight: 600; font-size: .875rem; color: var(--ts-color-stone); margin-inline-end: 4px; }
.ts-share__btn {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
	border: 1px solid var(--ts-color-line-strong); background: var(--ts-color-white); color: var(--ts-color-ink); cursor: pointer; padding: 0;
}
.ts-share__btn .ts-icon { width: 20px; height: 20px; }
.ts-share__btn:hover { background: var(--ts-color-ink); color: #fff; border-color: var(--ts-color-ink); }
.ts-share__done { position: absolute; bottom: calc(100% + 6px); inset-inline-start: 50%; transform: translateX(50%); background: var(--ts-color-ink); color: #fff; font-size: .75rem; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.ts-article__head .ts-share { margin-top: 14px; }

/* Stream (/now/) & timeline (topics) -------------------------------------- */
.ts-stream__day + .ts-stream__day { margin-top: 32px; }
.ts-stream__label { font-size: 1.125rem; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 2px solid var(--ts-color-ink); }
.ts-stream__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-block: 16px; border-bottom: 1px solid var(--ts-color-line-strong); }
.ts-stream__time { color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; font-size: .8125rem; padding-top: 4px; }
@media (min-width: 768px) { .ts-stream__item { grid-template-columns: 84px minmax(0, 1fr); } }

.ts-timeline { position: relative; border-inline-start: 2px solid var(--ts-color-line-strong); margin-inline-start: 6px; }
.ts-timeline__item { position: relative; padding-inline-start: 22px; padding-bottom: 26px; }
.ts-timeline__item::before { content: ""; position: absolute; inset-inline-start: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ts-color-teal); box-shadow: 0 0 0 4px var(--ts-color-cloud); }
.ts-timeline__date { display: block; color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 600; font-size: .8125rem; margin-bottom: 8px; }

.ts-list > li { padding-block: 18px; border-bottom: 1px solid var(--ts-color-line-strong); }
.ts-list > li:first-child { padding-top: 0; }

/* Trend board (/trends/) --------------------------------------------------- */
.ts-trend-board { display: grid; gap: 12px; margin-top: 32px; }
.ts-trend-board__item {
	display: grid; grid-template-columns: 28px 96px minmax(0, 1fr); gap: 12px 14px; align-items: start;
	background: var(--ts-color-white); border-radius: var(--ts-radius); padding: 16px;
}
.ts-trend-board__rank { font-family: var(--ts-font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: var(--ts-color-rank); }
.ts-trend-board__media { display: block; aspect-ratio: 1 / 1; border-radius: calc(var(--ts-radius) - 4px); overflow: hidden; background: var(--ts-color-cloud); }
.ts-trend-board__media .ts-cover, .ts-trend-board__media img { width: 100%; height: 100%; object-fit: cover; }
.ts-trend-board__main { min-width: 0; }
.ts-trend-board__topic { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8125rem; }
.ts-trend-board__topic .ts-pill { max-width: 100%; white-space: normal; border-radius: 14px; }
.ts-trend-board__topic .ts-pill .ts-icon { flex: none; }
.ts-trend-board__growth { color: var(--ts-color-teal); font-family: var(--ts-font-head); font-weight: 700; unicode-bidi: plaintext; white-space: nowrap; }
.ts-trend-board__title { font-size: 1.0625rem; line-height: 1.5; margin-top: 8px; }
.ts-trend-board__title a { color: var(--ts-color-ink); }
.ts-trend-board__excerpt { display: none; color: var(--ts-color-stone); font-size: .9375rem; margin-top: 6px; }
.ts-trend-board__related { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--ts-color-line); font-size: .875rem; }
.ts-trend-board__related a { color: var(--ts-color-ink); text-decoration: underline; text-decoration-color: var(--ts-color-line-strong); text-underline-offset: 4px; }
.ts-trend-board__related a::before { content: "← "; color: var(--ts-color-teal); text-decoration: none; display: inline-block; margin-inline-end: 4px; }
.ts-trend-board > .ts-ad-wrap--list { list-style: none; }
@media (min-width: 768px) {
	.ts-trend-board__item { grid-template-columns: 44px 168px minmax(0, 1fr); gap: 14px 20px; padding: 18px 22px; }
	.ts-trend-board__rank { font-size: 2rem; }
	.ts-trend-board__media { aspect-ratio: 16 / 10; }
	.ts-trend-board__title { font-size: 1.25rem; }
	.ts-trend-board__excerpt { display: block; }
}
.ts-trend-watch { margin-top: 40px; }
.ts-trend-watch__title { font-size: 1.25rem; }
.ts-trend-watch .ts-note { margin: 6px 0 14px; }
.ts-note { color: var(--ts-color-stone); font-size: .875rem; margin-top: 18px; }
.ts-note a { color: var(--ts-color-teal); text-decoration: underline; text-underline-offset: 4px; }

/* Search ------------------------------------------------------------------- */
.ts-search-form { display: flex; gap: 8px; }
.ts-search-form__input {
	flex: 1; min-width: 0; min-height: 52px; padding: 0 20px; border-radius: 999px;
	border: 1px solid var(--ts-color-line-strong); background: var(--ts-color-white);
}
.ts-search-form__input:focus { outline: none; border-color: var(--ts-color-ink); box-shadow: 0 0 0 3px rgba(14, 107, 102, .2); }
.ts-search-form__btn {
	display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 0;
	background: var(--ts-color-ink); color: #fff; font-family: var(--ts-font-head); font-weight: 600; cursor: pointer;
}
.ts-search-form__btn:hover { background: var(--ts-color-teal); }
.ts-search-form__btn .ts-icon { width: 20px; height: 20px; }
@media (max-width: 479px) { .ts-search-form__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }
.ts-empty-state { background: var(--ts-color-white); border-radius: var(--ts-radius); padding: 28px; }
.ts-empty-state h2 { font-size: 1.375rem; }
.ts-empty-state p { color: var(--ts-color-stone); margin-block: 6px 18px; }
.ts-empty { color: var(--ts-color-stone); padding-block: 24px; }

/* 404 ---------------------------------------------------------------------- */
.ts-404 { text-align: center; max-width: 640px; margin: 48px auto 0; }
.ts-404__art { width: 200px; margin-inline: auto; }
.ts-404__code { font-family: var(--ts-font-head); font-weight: 700; font-size: 1rem; color: var(--ts-color-stone); margin-top: 16px; letter-spacing: .2em; }
.ts-404__title { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); margin-top: 6px; }
.ts-404__text { color: var(--ts-color-stone); margin-top: 10px; }
.ts-404__search { margin-top: 24px; }
.ts-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }

/* Pages -------------------------------------------------------------------- */
.ts-page__head { padding-block: 24px 20px; }
.ts-page__head .ts-breadcrumbs { margin-bottom: 18px; }
.ts-page__updated { color: var(--ts-color-stone); font-size: .875rem; margin-top: 8px; }

/* Pagination --------------------------------------------------------------- */
.ts-pagination { margin-top: 36px; }
.ts-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ts-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px;
	background: var(--ts-color-white); border: 1px solid var(--ts-color-line-strong); font-family: var(--ts-font-head); font-weight: 600; font-size: .9375rem;
}
.ts-pagination .page-numbers.current { background: var(--ts-color-ink); border-color: var(--ts-color-ink); color: #fff; }
.ts-pagination a.page-numbers:hover { border-color: var(--ts-color-ink); color: var(--ts-color-ink); }
.ts-pagination .dots { background: transparent; border: 0; }

/* Footer ------------------------------------------------------------------- */
.ts-footer { background: var(--ts-color-ink); color: #c9c6be; padding-top: 48px; font-size: .9375rem; }
.ts-footer a { color: #f0eee9; }
.ts-footer a:hover { color: var(--ts-color-orange); }
.ts-footer__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ts-footer__brand { grid-column: 1 / -1; }
.ts-footer__brand .ts-logo { height: 40px; width: auto; }
.ts-footer__slogan { font-family: var(--ts-font-accent); color: var(--ts-color-orange); font-size: 1.375rem; margin-top: 14px; line-height: 1.6; }
.ts-footer__about { margin-top: 8px; max-width: 40ch; }
.ts-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.ts-footer__social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(240, 238, 233, .2); }
.ts-footer__social a:hover { border-color: var(--ts-color-orange); }
.ts-footer__social .ts-icon { width: 20px; height: 20px; }
.ts-footer__title { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.ts-footer__col li + li, .ts-footer__col .menu > li + li { margin-top: 8px; }
.ts-footer__bottom { margin-top: 40px; padding-block: 20px; border-top: 1px solid rgba(240, 238, 233, .12); color: #8f8d86; font-size: .8125rem; }
@media (min-width: 900px) {
	.ts-footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
	.ts-footer__brand { grid-column: auto; }
}

/* Ads ---------------------------------------------------------------------- */
/* Each slot reserves its ad height so the page does not jump when the ad loads. */
.ts-ad { --ts-ad-h: 100px; display: flex; flex-direction: column; align-items: center; gap: 6px; margin-block: 28px; }
.ts-ad__label { font-size: .6875rem; line-height: 1; color: var(--ts-color-stone); }
.ts-ad__body { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--ts-ad-h); overflow: hidden; }
.ts-ad__body > * { max-width: 100%; }
.ts-ad--article-middle, .ts-ad--sidebar { --ts-ad-h: 250px; }
.ts-ad--sidebar { margin-block: 0 24px; }
.ts-ad.is-empty .ts-ad__body { border: 1px dashed #cfcbc1; border-radius: var(--ts-radius-sm); background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(107, 106, 100, .05) 10px 20px); }
.ts-ad__hint { display: grid; gap: 4px; padding: 12px 16px; text-align: center; color: var(--ts-color-stone); font-size: .8125rem; }
.ts-ad__hint b { font-weight: 600; }
.ts-ad__hint small { font-size: .75rem; }
.ts-ad-wrap--top .ts-ad { margin-block: 20px 0; }
.ts-ad-wrap--bottom .ts-ad { margin-block: 40px 8px; }
.ts-ad-wrap--section .ts-ad { margin-block: 8px 40px; }
.ts-grid > .ts-ad-wrap--list { grid-column: 1 / -1; }
li.ts-ad-wrap--list { list-style: none; padding: 0; }
li.ts-ad-wrap--list .ts-ad { margin-block: 4px 24px; }
.ts-prose .ts-ad { margin-block: 32px; }
.ts-article__main > .ts-ad:first-child { margin-top: 0; }
.ts-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
@media (min-width: 768px) {
	.ts-ad { --ts-ad-h: 90px; }
	.ts-ad--article-middle { --ts-ad-h: 280px; }
	.ts-ad--sidebar { --ts-ad-h: 250px; }
}

/* Preloader: shown only under html.ts-preload (first page of a visit, set in <head>). */
.ts-preloader { display: none; }
.ts-preload .ts-preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--ts-color-cloud); transition: opacity .45s ease, visibility .45s; }
.ts-preload body { overflow: hidden; }
.ts-preloader img { width: min(280px, 66vw); height: auto; }
.ts-preload-out .ts-preloader { opacity: 0; visibility: hidden; }
@media print { .ts-preloader { display: none !important; } }

/* Reveal on scroll ------------------------------------------------------------
   Only under html.ts-anim (set in <head> when motion is allowed and JS runs), so content
   is never hidden without JS. Keep the selector list in sync with REVEAL in main.js. */
.ts-anim :is(
	.ts-archive-head__inner > *, .ts-article__head > *, .ts-page__head > *, .ts-article__cover,
	.ts-prose > :not(.ts-ad), .ts-section-head, .ts-section-intro,
	.ts-card:not(.ts-panel *):not(.ts-hero__side *), .ts-hero__side, .ts-panel, .ts-topic-card,
	.ts-trend-board__item, .ts-trend-context, .ts-sources, .ts-chips-nav, .ts-newsletter, .ts-empty
):not(.is-done) {
	transition: opacity .7s ease-out, transform .7s ease-out;
	transition-delay: var(--ts-reveal-delay, 0s);
}
.ts-anim :is(
	.ts-archive-head__inner > *, .ts-article__head > *, .ts-page__head > *, .ts-article__cover,
	.ts-prose > :not(.ts-ad), .ts-section-head, .ts-section-intro,
	.ts-card:not(.ts-panel *):not(.ts-hero__side *), .ts-hero__side, .ts-panel, .ts-topic-card,
	.ts-trend-board__item, .ts-trend-context, .ts-sources, .ts-chips-nav, .ts-newsletter, .ts-empty
):not(.is-in) {
	opacity: 0;
	transform: scale(.97) translateY(15px);
	will-change: opacity, transform;
}
@media print {
	.ts-anim * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Print -------------------------------------------------------------------- */
@media print {
	.ts-header, .ts-now, .ts-footer, .ts-article__aside, .ts-share, .ts-newsletter, .ts-related, .ts-ad { display: none !important; }
	body { background: #fff; }
}
