/* FENIX — раздел «Новости» (26.09.2026). Разметка: category-news.php, inc/fenix-news.php */

:root {
	--fxn-bg: #ffffff;
	--fxn-bg-2: #f4f6fb;
	--fxn-line: rgba(120, 130, 160, .22);
	--fxn-text: #1c2233;
	--fxn-muted: #667089;
	--fxn-accent: var(--wp--preset--color--accent, #216be9);
	--fxn-hover-shadow: 0 8px 25px rgba(33, 107, 233, .12);
	--fxn-radius: 16px;
	--fxn-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--fxn-status: #f97316;
	--fxn-service: #8b5cf6;
	--fxn-new: #10b981;
	--fxn-update: #3b82f6;
	--fxn-promo: #ec4899;
	--fxn-guide: #14b8a6;
	--fxn-ok: #10b981;
	--fxn-delay: #f59e0b;
	--fxn-down: #ef4444;
}
html[scheme="dark"] {
	--fxn-bg: #272c31;
	--fxn-bg-2: #22272c;
	--fxn-line: rgba(186, 186, 186, .18);
	--fxn-text: #e8ecf3;
	--fxn-muted: #9aa4b8;
	--fxn-hover-shadow: 0 8px 25px rgba(33, 107, 233, .25);
}

.fx-news-page .pt-container { padding-top: 50px; }
.fx-news-page .fx-ico { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.fx-news-page a, .fx-news-related a, .fx-news-subscribe a, .fx-news-single-meta a { text-decoration: none; }

/* ---------- кнопки (плоские, без теней) ---------- */
.fx-news-btn {
	display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 18px; border-radius: 12px;
	font: 600 15px/1 Inter, Helvetica, Arial, sans-serif;
	border: 1px solid transparent; cursor: pointer; white-space: nowrap;
	box-shadow: none !important;
	transition: background-color .15s, border-color .15s, color .15s;
}
.fx-news-btn--primary { background: var(--fxn-accent); color: #fff !important; }
.fx-news-btn--primary:hover { background: #1557cc; color: #fff !important; }
.fx-news-btn--ghost { background: transparent; color: var(--fxn-text) !important; border-color: var(--fxn-line); }
.fx-news-btn--ghost:hover { border-color: var(--fxn-accent); color: var(--fxn-accent) !important; }

/* ---------- шапка раздела (всегда «тёмная консоль») ---------- */
.fx-news-hero {
	position: relative; overflow: hidden; isolation: isolate;
	display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: center;
	padding: 44px 48px; border-radius: 22px;
	background:
		radial-gradient(620px 320px at 88% 20%, rgba(33, 107, 233, .38), transparent 65%),
		radial-gradient(520px 300px at 0% 110%, rgba(20, 184, 166, .20), transparent 60%),
		linear-gradient(155deg, #0d1528 0%, #0a0f1c 60%, #070a13 100%);
	border: 1px solid rgba(140, 170, 255, .16);
	color: #e8eefc;
}
.fx-news-hero__grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(140, 170, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 255, .08) 1px, transparent 1px);
	background-size: 34px 34px;
	-webkit-mask-image: radial-gradient(ellipse 85% 90% at 70% 40%, #000 25%, transparent 85%);
	mask-image: radial-gradient(ellipse 85% 90% at 70% 40%, #000 25%, transparent 85%);
}
.fx-news-hero__kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font: 700 12px/1 var(--fxn-mono); letter-spacing: 2px; text-transform: uppercase;
	color: #7fb0ff; padding: 8px 12px; border: 1px solid rgba(127, 176, 255, .45); border-radius: 999px;
}
.fx-news-hero__kicker i { width: 8px; height: 8px; border-radius: 50%; background: #7fb0ff; box-shadow: 0 0 10px #7fb0ff; }
.fx-news-page h1.fx-news-hero__title {
	margin: 18px 0 12px; padding: 0; color: #fff;
	font: 800 clamp(30px, 4.2vw, 48px)/1.08 Inter, Helvetica, Arial, sans-serif; letter-spacing: -.5px;
}
.fx-news-hero__lead { margin: 0 0 26px; max-width: 560px; color: #aab6d3; font-size: 17px; line-height: 1.55; }
.fx-news-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fx-news-hero .fx-news-btn--ghost { color: #e8eefc !important; border-color: rgba(200, 215, 255, .28); }
.fx-news-hero .fx-news-btn--ghost:hover { border-color: #7fb0ff; color: #7fb0ff !important; }

.fx-news-term {
	border-radius: 16px; overflow: hidden;
	background: rgba(6, 10, 20, .72); border: 1px solid rgba(140, 170, 255, .2);
	font-family: var(--fxn-mono); font-size: 14px;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fx-news-term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid rgba(140, 170, 255, .14); color: #6f7fa3; font-size: 12px; }
.fx-news-term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.fx-news-term__bar i:nth-child(2) { background: #febc2e; }
.fx-news-term__bar i:nth-child(3) { background: #28c840; }
.fx-news-term__bar span { margin-left: 8px; }
.fx-news-term__body { padding: 16px 18px 18px; }
.fx-news-term__row { display: flex; align-items: baseline; gap: 10px; padding: 7px 0; color: #8ea0c6; }
.fx-news-term__row span { white-space: nowrap; }
.fx-news-term__row::after { content: ""; order: 1; flex: 1; border-bottom: 1px dotted rgba(140, 170, 255, .28); transform: translateY(-4px); }
.fx-news-term__row b { order: 2; color: #7fe3c4; font-weight: 700; }
.fx-news-term__cursor { margin-top: 10px; color: #7fb0ff; }
.fx-news-term__caret { display: inline-block; width: 9px; height: 16px; background: #7fb0ff; vertical-align: -3px; opacity: .8; }

/* ---------- мониторинг услуг ---------- */
.fx-news-monitor {
	margin-top: 24px; padding: 22px 24px; border-radius: var(--fxn-radius);
	background: var(--fxn-bg); border: 1px solid var(--fxn-line);
}
.fx-news-monitor__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.fx-news-page .fx-news-monitor__head h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 0; font: 700 20px/1.2 Inter, Helvetica, Arial, sans-serif; color: var(--fxn-text); }
.fx-news-monitor__head h2 .fx-ico { color: var(--fxn-accent); }
.fx-news-monitor__head p { margin: 0; color: var(--fxn-muted); font-size: 14px; }
.fx-news-monitor__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fx-news-monitor__item {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	padding: 12px 14px; border-radius: 12px; background: var(--fxn-bg-2); border: 1px solid var(--fxn-line);
	margin: 0 !important;
}
.fx-news-monitor__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--fxn-ok); box-shadow: 0 0 0 4px rgba(16, 185, 129, .18); flex: 0 0 auto; }
.fx-news-monitor__item--delay .fx-news-monitor__dot { background: var(--fxn-delay); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2); }
.fx-news-monitor__item--down .fx-news-monitor__dot { background: var(--fxn-down); box-shadow: 0 0 0 4px rgba(239, 68, 68, .2); }
.fx-news-monitor__name { font-weight: 600; color: var(--fxn-text); flex: 1 1 220px; min-width: 0; }
.fx-news-monitor__note { font: 500 13px/1.2 var(--fxn-mono); color: var(--fxn-muted); }
.fx-news-monitor__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--fxn-accent) !important; }
.fx-news-monitor__link:hover { text-decoration: underline; }

/* ---------- пилюли статуса и бейджи типа ---------- */
.fx-news-pill {
	display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px;
	font: 700 12px/1 Inter, Helvetica, Arial, sans-serif; letter-spacing: .2px; white-space: nowrap;
	color: var(--fxn-ok); background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35);
}
.fx-news-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fx-news-pill--delay { color: #d98a00; background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .4); }
.fx-news-pill--down { color: var(--fxn-down); background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .35); }
html[scheme="dark"] .fx-news-pill { color: #34d399; }
html[scheme="dark"] .fx-news-pill--delay { color: #fbbf24; }
html[scheme="dark"] .fx-news-pill--down { color: #f87171; }

.fx-news-tag {
	--c: var(--fxn-update);
	display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px;
	font: 700 12px/1 Inter, Helvetica, Arial, sans-serif; color: #fff; white-space: nowrap;
	background: color-mix(in srgb, var(--c) 88%, #000); border: 1px solid rgba(255, 255, 255, .22);
}
.fx-news-tag .fx-ico { width: 14px; height: 14px; }
.fx-news-tag--status { --c: var(--fxn-status); }
.fx-news-tag--service { --c: var(--fxn-service); }
.fx-news-tag--new { --c: var(--fxn-new); }
.fx-news-tag--update { --c: var(--fxn-update); }
.fx-news-tag--promo { --c: var(--fxn-promo); }
.fx-news-tag--guide { --c: var(--fxn-guide); }

/* ---------- панель фильтров ---------- */
.fx-news-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 32px 0 20px; }
.fx-news-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fx-news-chip {
	--c: var(--fxn-accent);
	display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
	font: 600 14px/1 Inter, Helvetica, Arial, sans-serif; color: var(--fxn-text);
	background: var(--fxn-bg); border: 1px solid var(--fxn-line); cursor: pointer;
	box-shadow: none !important; transition: border-color .15s, background-color .15s, color .15s;
}
.fx-news-chip .fx-ico { width: 16px; height: 16px; color: var(--c); }
.fx-news-chip em { font-style: normal; font: 700 12px/1 var(--fxn-mono); color: var(--fxn-muted); padding: 4px 7px; border-radius: 999px; background: var(--fxn-bg-2); }
.fx-news-chip:hover { border-color: var(--c); }
.fx-news-chip.is-active { background: var(--c); border-color: var(--c); color: #fff; }
.fx-news-chip.is-active .fx-ico { color: #fff; }
.fx-news-chip.is-active em { background: rgba(255, 255, 255, .22); color: #fff; }
.fx-news-chip--status { --c: var(--fxn-status); }
.fx-news-chip--service { --c: var(--fxn-service); }
.fx-news-chip--new { --c: var(--fxn-new); }
.fx-news-chip--update { --c: var(--fxn-update); }
.fx-news-chip--promo { --c: var(--fxn-promo); }
.fx-news-chip--guide { --c: var(--fxn-guide); }
.fx-news-chip:focus-visible, .fx-news-search input:focus-visible { outline: 2px solid var(--fxn-accent); outline-offset: 2px; }

.fx-news-search {
	position: relative; display: flex; align-items: center; flex: 0 1 300px; min-width: 220px; margin: 0;
}
.fx-news-search .fx-ico { position: absolute; left: 14px; color: var(--fxn-muted); pointer-events: none; }
.fx-news-page .fx-news-search input[type="search"] {
	width: 100%; height: 42px; margin: 0; padding: 0 14px 0 42px !important; border-radius: 12px;
	background: var(--fxn-bg); border: 1px solid var(--fxn-line); color: var(--fxn-text);
	font: 500 15px/1 Inter, Helvetica, Arial, sans-serif; box-shadow: none;
}
.fx-news-page .fx-news-search input[type="search"]:focus { border-color: var(--fxn-accent); outline: none; }

/* ---------- карточки ---------- */
.fx-news-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--fxn-bg); border: 1px solid var(--fxn-line); border-radius: var(--fxn-radius);
	overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.fx-news-card:hover, .fx-news-card:focus-within { border-color: var(--fxn-accent); box-shadow: var(--fxn-hover-shadow); }
.fx-news-card__media { position: relative; aspect-ratio: 16 / 9; background: #0a0f1c; overflow: hidden; }
.fx-news-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.fx-news-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: #7fb0ff; background: linear-gradient(155deg, #0d1528, #070a13); }
.fx-news-card__ph .fx-ico { width: 56px; height: 56px; }
.fx-news-meta .fx-news-tag { height: 24px; padding: 0 9px; font-size: 11.5px; font-family: Inter, Helvetica, Arial, sans-serif; }
.fx-news-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.fx-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--fxn-muted); font: 500 13px/1.2 var(--fxn-mono); }
.fx-news-meta__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.fx-news-meta__read { display: inline-flex; align-items: center; gap: 5px; }
.fx-news-meta__read .fx-ico { width: 14px; height: 14px; }
.fx-news-meta .fx-news-pill { margin-left: auto; }
body .fx-news-card h2.fx-news-card__title {
	margin: 0; padding: 0; border: 0;
	font: 700 18px/1.35 Inter, Helvetica, Arial, sans-serif; letter-spacing: 0; color: var(--fxn-text);
}
.fx-news-card__link { color: inherit !important; background: none !important; }
.fx-news-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.fx-news-card__link:focus-visible { outline: none; }
.fx-news-card__link:focus-visible::after { outline: 2px solid var(--fxn-accent); outline-offset: -2px; }
.fx-news-card__excerpt { margin: 0; color: var(--fxn-muted); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fx-news-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.fx-news-card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--fxn-accent); }
.fx-news-card__more .fx-ico { width: 16px; height: 16px; transition: transform .2s ease; }
.fx-news-card:hover .fx-news-card__more .fx-ico { transform: translateX(3px); }
.fx-news-card__upd { font: 500 12px/1.2 var(--fxn-mono); color: var(--fxn-muted); }

/* главная новость */
.fx-news-featured { position: relative; margin-bottom: 24px; }
.fx-news-featured__label {
	position: absolute; z-index: 2; right: 16px; top: 16px;
	display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px;
	font: 700 12px/1 var(--fxn-mono); letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
	background: rgba(8, 12, 22, .72); border: 1px solid rgba(255, 255, 255, .2);
}
.fx-news-featured__label i { width: 7px; height: 7px; border-radius: 50%; background: #ffd23f; }
.fx-news-card--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.fx-news-card--featured .fx-news-card__media { aspect-ratio: auto; min-height: 100%; }
.fx-news-card--featured .fx-news-card__media img { position: absolute; inset: 0; }
.fx-news-card--featured .fx-news-card__body { padding: 30px 32px; gap: 14px; justify-content: center; }
body .fx-news-card--featured h2.fx-news-card__title { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.25; }
.fx-news-card--featured .fx-news-card__excerpt { -webkit-line-clamp: 5; font-size: 16px; }
.fx-news-card--featured .fx-news-card__foot { margin-top: 6px; }

.fx-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.fx-news-card.is-hidden, .fx-news-featured.is-hidden { display: none; }

.fx-news-empty {
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
	padding: 40px 20px; margin-top: 8px; border-radius: var(--fxn-radius); border: 1px dashed var(--fxn-line); color: var(--fxn-muted);
}
.fx-news-empty[hidden] { display: none; }
.fx-news-empty .fx-ico { width: 30px; height: 30px; color: var(--fxn-accent); }
.fx-news-empty strong { color: var(--fxn-text); font-size: 17px; }
.fx-news-empty .fx-news-btn { margin-top: 8px; }

.fx-news-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.fx-news-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 10px; border: 1px solid var(--fxn-line); color: var(--fxn-text); background: var(--fxn-bg); }
.fx-news-pagination .page-numbers.current, .fx-news-pagination a.page-numbers:hover { border-color: var(--fxn-accent); color: var(--fxn-accent); }

/* ---------- подписка ---------- */
.fx-news-subscribe {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	margin-top: 36px; padding: 22px 24px; border-radius: var(--fxn-radius);
	background: linear-gradient(120deg, rgba(33, 107, 233, .10), rgba(20, 184, 166, .08)); border: 1px solid var(--fxn-line);
}
.fx-news-subscribe__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: #229ed9; flex: 0 0 auto; }
.fx-news-subscribe__icon .fx-ico { width: 26px; height: 26px; }
.fx-news-subscribe__text { display: flex; flex-direction: column; gap: 4px; flex: 1 1 280px; min-width: 0; }
.fx-news-subscribe__text strong { color: var(--fxn-text); font: 700 18px/1.3 Inter, Helvetica, Arial, sans-serif; }
.fx-news-subscribe__text span { color: var(--fxn-muted); font-size: 15px; line-height: 1.5; }
.fx-news-subscribe__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- одиночная новость ---------- */
.fx-news-single-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
	margin: 0 0 22px; padding: 12px 14px; border-radius: 14px;
	background: var(--fxn-bg-2); border: 1px solid var(--fxn-line);
	color: var(--fxn-muted); font: 500 13px/1.2 var(--fxn-mono);
}
.fx-news-single-meta time { color: var(--fxn-text); font-weight: 700; }
.fx-news-back { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 Inter, Helvetica, Arial, sans-serif; color: var(--fxn-accent) !important; margin-right: 4px; }
.fx-news-back .fx-ico { transform: rotate(180deg); width: 16px; height: 16px; }
.fx-news-back:hover { text-decoration: underline; }
.fx-news-single-meta .fx-news-pill { margin-left: auto; }

.fx-news-single-cover { margin: 0 0 26px; border-radius: var(--fxn-radius); overflow: hidden; border: 1px solid var(--fxn-line); background: #0a0f1c; aspect-ratio: 16 / 9; }
.fx-news-single-cover img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.fx-news-related { margin-top: 40px; }
.fx-news-related__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
body .fx-news-related__head h2 { margin: 0 !important; padding: 0; font: 700 22px/1.2 Inter, Helvetica, Arial, sans-serif; color: var(--fxn-text); }
.fx-news-related__head a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--fxn-accent) !important; }
.fx-news-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
body .fx-news-card--mini h2.fx-news-card__title { font-size: 16px; }
.fx-news-card--mini .fx-news-card__body { padding: 14px 16px 16px; gap: 8px; }
.fx-news-related .fx-news-card p, .fx-news-subscribe p { margin: 0; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
	.fx-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.fx-news-hero { grid-template-columns: 1fr; padding: 32px 28px; }
	.fx-news-card--featured { grid-template-columns: 1fr; }
	.fx-news-card--featured .fx-news-card__media { aspect-ratio: 16 / 9; min-height: 0; }
	.fx-news-card--featured .fx-news-card__body { padding: 22px 22px 24px; }
	.fx-news-grid--related { grid-template-columns: 1fr; gap: 16px; }
	body .fx-news-card--mini h2.fx-news-card__title { font-size: 17px; line-height: 1.35; }
	.fx-news-card--mini .fx-news-card__body { padding: 14px 16px 16px; }
}
@media (max-width: 1024px) {
	.fx-news-page .pt-container { padding-top: 0; }
}
@media (max-width: 640px) {
	.fx-news-hero { padding: 26px 18px; border-radius: 18px; gap: 22px; }
	.fx-news-hero__lead { font-size: 16px; margin-bottom: 20px; }
	.fx-news-hero__actions .fx-news-btn { flex: 1 1 100%; justify-content: center; }
	.fx-news-term { font-size: 12.5px; }
	.fx-news-term__bar, .fx-news-term__cursor { display: none; }
	.fx-news-term__body { padding: 8px 14px; }
	.fx-news-term__row { padding: 5px 0; }
	.fx-news-page h1.fx-news-hero__title { margin-top: 14px; }
	.fx-news-hero__actions { gap: 10px; }
	.fx-news-monitor { padding: 18px 14px; }
	.fx-news-monitor__item { gap: 8px 10px; }
	.fx-news-monitor__link { margin-left: auto; }
	.fx-news-grid { grid-template-columns: 1fr; gap: 16px; }
	.fx-news-toolbar { margin-top: 24px; }
	.fx-news-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.fx-news-chips::-webkit-scrollbar { display: none; }
	.fx-news-chip { flex: 0 0 auto; }
	.fx-news-search { flex: 1 1 100%; min-width: 0; }
	.fx-news-featured__label { right: 10px; top: 10px; }
	.fx-news-subscribe { padding: 18px 16px; }
	.fx-news-subscribe__actions { width: 100%; }
	.fx-news-subscribe__actions .fx-news-btn { flex: 1 1 100%; justify-content: center; }
	.fx-news-single-meta .fx-news-pill { margin-left: 0; }
}

/* SVG-флаги в тексте новостей (эмодзи-флаги Windows не рисует) — файлы uploads/fenix-news/flags/<cc>.svg */
.fx-flag { display: inline-block; width: 24px; height: 16px; margin-right: 8px; vertical-align: -2px; border-radius: 3px; background: #64748b center / cover no-repeat; box-shadow: 0 0 0 1px rgba(127, 127, 127, .35); }
.fx-flag--de { background-image: url(/wp-content/uploads/fenix-news/flags/de.svg); }
.fx-flag--fi { background-image: url(/wp-content/uploads/fenix-news/flags/fi.svg); }
.fx-flag--pl { background-image: url(/wp-content/uploads/fenix-news/flags/pl.svg); }
.fx-flag--nl { background-image: url(/wp-content/uploads/fenix-news/flags/nl.svg); }
.fx-flag--se { background-image: url(/wp-content/uploads/fenix-news/flags/se.svg); }
.fx-flag--es { background-image: url(/wp-content/uploads/fenix-news/flags/es.svg); }
.fx-flag--dk { background-image: url(/wp-content/uploads/fenix-news/flags/dk.svg); }
.fx-flag--gb { background-image: url(/wp-content/uploads/fenix-news/flags/gb.svg); }
.fx-flag--no { background-image: url(/wp-content/uploads/fenix-news/flags/no.svg); }
.fx-flag--us { background-image: url(/wp-content/uploads/fenix-news/flags/us.svg); }

/* Лестница накопительной скидки (новость #24128) */
.fx-tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 8px 0 28px; }
.fx-tier {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; border-radius: 14px;
	background: var(--fxn-bg-2); border: 1px solid var(--fxn-line); overflow: hidden;
}
.fx-tier::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, #a855f7, #ec4899); opacity: .35; }
.fx-tier--5::before { opacity: 1; }
.fx-tier--5 { border-color: rgba(236, 72, 153, .55); background: linear-gradient(160deg, rgba(236, 72, 153, .14), rgba(168, 85, 247, .08)); }
.fx-tier__lvl { font: 700 11px/1 var(--fxn-mono); letter-spacing: 1.5px; color: var(--fxn-muted); text-transform: uppercase; }
.fx-tier__lvl::before { content: "LVL "; }
.fx-tier__pct { font: 800 30px/1.05 Inter, Helvetica, Arial, sans-serif; color: #ec4899; letter-spacing: -.5px; }
html[scheme="dark"] .fx-tier__pct { color: #f472b6; }
.fx-tier__sum { font-size: 14px; font-weight: 600; color: var(--fxn-text); white-space: nowrap; }
.fx-tier__bar { display: block; height: 6px; margin-top: 6px; border-radius: 4px; background: rgba(127, 127, 127, .18); overflow: hidden; }
.fx-tier__bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #a855f7, #ec4899); }
@media (max-width: 900px) { .fx-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) {
	.fx-tiers { grid-template-columns: 1fr; gap: 8px; }
	.fx-tier { display: grid; grid-template-columns: 52px 70px 1fr; align-items: center; column-gap: 12px; padding: 12px 14px; }
	.fx-tier__pct { font-size: 24px; }
	.fx-tier__bar { grid-column: 1 / -1; margin-top: 8px; }
}

/* ---------- подписка на новости по email (26.09.2026) ---------- */
.fx-news-subscribe { position: relative; }
.fx-news-subscribe__icon { background: linear-gradient(135deg, #216be9, #14b8a6); }
.fx-news-sub-btn { min-width: 190px; justify-content: center; background: var(--fxn-accent); color: #fff !important; }
.fx-news-sub-btn:hover { background: #1557cc; }
.fx-news-sub-btn > span { display: inline-flex; align-items: center; gap: 8px; }
.fx-news-sub-btn .fx-sub-on, .fx-news-sub-btn .fx-sub-hover { display: none; }
.fx-news-sub-btn.is-on { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .55); color: #0f9f6e !important; }
html[scheme="dark"] .fx-news-sub-btn.is-on { color: #34d399 !important; }
.fx-news-sub-btn.is-on .fx-sub-off { display: none; }
.fx-news-sub-btn.is-on .fx-sub-on { display: inline-flex; }
@media (hover: hover) {
	.fx-news-sub-btn.is-on:not(.no-hover):hover { background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .5); color: #ef4444 !important; }
	.fx-news-sub-btn.is-on:not(.no-hover):hover .fx-sub-on { display: none; }
	.fx-news-sub-btn.is-on:not(.no-hover):hover .fx-sub-hover { display: inline-flex; }
}
.fx-news-sub-btn.is-busy { opacity: .6; pointer-events: none; }
.fx-news-sub-note { flex-basis: 100%; font-size: 13px; color: var(--fxn-muted); }
.fx-news-subscribe__actions { align-items: center; }
.fx-news-sub-msg { flex-basis: 100%; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; background: rgba(239, 68, 68, .1); color: #ef4444; }
.fx-news-sub-msg.is-ok { background: rgba(16, 185, 129, .12); color: #0f9f6e; }
html[scheme="dark"] .fx-news-sub-msg.is-ok { color: #34d399; }
