/* ══════════════════════════════════════════════════════════════
   TEMPLATE: flash — home.css
   CNN-inspired: full-width hero with side panel, 3-col grid,
   horizontal shorts strip, category blocks with featured+list.
   ══════════════════════════════════════════════════════════════ */

/* ── STORIES ──────────────────────────── */
.fl-stories { max-width: var(--fl-max-w); margin: 16px auto; padding: 0 20px; }

/* ── LAYOUT: main + sidebar ────────────── */
.fl-layout { max-width: calc(var(--fl-max-w) + 360px); margin: 0 auto; padding: 0 20px 60px; display: grid; grid-template-columns: 180px 1fr 180px; gap: 20px; }
.fl-main { min-width: 0; }
.fl-sidebar__sticky { position: sticky; top: 70px; padding-top: 20px; }
.fl-sidebar__ad { margin-bottom: 20px; }
.fl-sidebar__ad:empty { display: none; }
.fl-sidebar__ad img { max-width: 100%; border-radius: 6px; display: block; }
@media (max-width: 1200px) {
  .fl-layout { grid-template-columns: 1fr; max-width: var(--fl-max-w); }
  .fl-sidebar { display: none; }
}
@media (max-width: 768px) {
  .fl-layout { padding: 0 0 40px; }
}
@media (max-width: 480px) {
  .fl-layout { padding: 0 0 30px; }
}

/* ── BREAKING TICKER ──────────────────── */
@keyframes fl-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
[dir="rtl"] .fl-ticker__track { animation-name: fl-ticker-scroll-rtl; }
@keyframes fl-ticker-scroll-rtl { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

.fl-ticker { background: #111; display: flex; align-items: center; height: 36px; overflow: hidden; }
.fl-ticker__badge { flex-shrink: 0; background: var(--fl-accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 0 14px; height: 100%; display: flex; align-items: center; }
.fl-ticker__wrap { flex: 1; overflow: hidden; }
.fl-ticker__track { display: flex; align-items: center; white-space: nowrap; animation: fl-ticker-scroll 30s linear infinite; }
.fl-ticker__track:hover { animation-play-state: paused; }
.fl-ticker__item { color: #fff; font-size: 12px; font-weight: 500; padding: 0 16px; }
.fl-ticker__item:hover { color: var(--fl-accent); }
.fl-ticker__sep { color: #555; font-size: 8px; }

/* ── HERO: Big + 2 side ───────────────── */
.fl-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; margin: 20px 0; }
.fl-hero__main { position: relative; overflow: hidden; background: #111; min-height: 420px; }
.fl-hero__main-link { display: block; position: relative; height: 100%; }
.fl-hero__main-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 0.6s ease; }
.fl-hero__main-link:hover .fl-hero__main-img { transform: scale(1.03); }
.fl-hero__main-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 32px 28px; }
.fl-hero__main-cat { display: inline-block; align-self: flex-start; background: var(--cat-color, var(--fl-accent)); color: var(--cat-text, #fff); font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; margin-bottom: 12px; }
.fl-hero__main-title { font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 900; line-height: 1.2; color: #fff; margin-bottom: 8px; letter-spacing: -0.02em; }
.fl-hero__main-sub { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.5; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-hero__main-meta { font-size: 12px; color: rgba(255,255,255,0.6); }
.fl-hero__main-author { font-weight: 700; color: rgba(255,255,255,0.85); }

.fl-hero__side { display: flex; flex-direction: column; gap: 4px; }
.fl-hero__side-card { flex: 1; overflow: hidden; background: var(--color-fff); border-bottom: 1px solid var(--color-eee); }
.fl-hero__side-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--color-000); }
.fl-hero__side-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.fl-hero__side-link:hover .fl-hero__side-img { transform: scale(1.04); }
.fl-hero__side-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.fl-hero__side-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cat-text, var(--fl-accent)); margin-bottom: 4px; }
.fl-hero__side-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--color-000); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fl-hero__side-link:hover .fl-hero__side-title { color: var(--fl-accent); }
.fl-hero__side-time { font-size: 11px; color: var(--color-555); margin-top: auto; }

/* ── SECTION ──────────────────────────── */
.fl-section { margin-bottom: 40px; }
.fl-section__title { font-size: 18px; font-weight: 800; color: var(--color-000); text-transform: uppercase; letter-spacing: 0.04em; padding-bottom: 10px; border-bottom: 3px solid var(--fl-accent); margin-bottom: 20px; }
.fl-section__title a { color: var(--color-000); }
.fl-section__title a:hover { color: var(--fl-accent); }

/* ── GRID: 3-col cards ────────────────── */
.fl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fl-card { overflow: hidden; }
.fl-card__link { display: flex; flex-direction: column; text-decoration: none; color: var(--color-000); height: 100%; }
.fl-card__fig { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--color-eee); }
.fl-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fl-card__link:hover .fl-card__img { transform: scale(1.04); }
.fl-card__body { padding: 12px 0; flex: 1; display: flex; flex-direction: column; }
.fl-card__cat { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cat-text, var(--fl-accent)); margin-bottom: 6px; }
.fl-card__title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--color-000); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fl-card__link:hover .fl-card__title { color: var(--fl-accent); }
.fl-card__time { font-size: 11px; color: var(--color-555); margin-top: auto; }

/* ── SHORTS: horizontal strip ─────────── */
.fl-shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fl-shorts__card { text-decoration: none; color: var(--color-000); }
.fl-shorts__thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: #000; margin-bottom: 8px; }
.fl-shorts__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fl-shorts__card:hover .fl-shorts__thumb img { transform: scale(1.05); }
.fl-shorts__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.fl-shorts__play::after { content: ''; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.7); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E"); background-size: 20px; background-repeat: no-repeat; background-position: 55% center; }
.fl-shorts__title { font-size: 13px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; }
.fl-shorts__card:hover .fl-shorts__title { color: var(--fl-accent); }
.fl-shorts__meta { font-size: 11px; color: var(--color-555); }
.fl-shorts__meta .icon { width: 12px; height: 12px; }

/* ── CATEGORY BLOCK: featured + list ──── */
.fl-cat-block { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fl-cat-block__featured a { text-decoration: none; color: var(--color-000); display: block; }
.fl-cat-block__feat-fig { margin: 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-eee); margin-bottom: 12px; }
.fl-cat-block__feat-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fl-cat-block__featured:hover .fl-cat-block__feat-fig img { transform: scale(1.04); }
.fl-cat-block__feat-title { font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fl-cat-block__featured:hover .fl-cat-block__feat-title { color: var(--fl-accent); }
.fl-cat-block__feat-time { font-size: 11px; color: var(--color-555); }

.fl-cat-block__list { display: flex; flex-direction: column; gap: 0; }
.fl-cat-block__item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--color-eee); text-decoration: none; color: var(--color-000); align-items: center; }
.fl-cat-block__item:last-child { border-bottom: none; }
.fl-cat-block__item-img { width: 100px; height: 68px; object-fit: cover; flex-shrink: 0; background: var(--color-eee); transition: transform 0.3s ease; }
.fl-cat-block__item:hover .fl-cat-block__item-img { transform: scale(1.04); }
.fl-cat-block__item-body { flex: 1; min-width: 0; }
.fl-cat-block__item-title { font-size: 14px; font-weight: 700; line-height: 1.35; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-cat-block__item:hover .fl-cat-block__item-title { color: var(--fl-accent); }
.fl-cat-block__item-time { font-size: 11px; color: var(--color-555); }

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 1024px) {
  .fl-grid { grid-template-columns: repeat(2, 1fr); }
  .fl-shorts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .fl-hero { grid-template-columns: 1fr; }
  .fl-hero__main { min-height: 300px; }
  .fl-hero__side { flex-direction: row; gap: 4px; }
  .fl-hero__side-card { flex: 1; }
  .fl-cat-block { grid-template-columns: 1fr; }
  .fl-shorts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fl-main { padding: 0 14px 40px; }
  .fl-grid { grid-template-columns: 1fr; }
  .fl-hero__side { flex-direction: column; }
  .fl-hero__main-title { font-size: 1.2rem; }
  .fl-hero__main-sub { display: none; }
  .fl-shorts { grid-template-columns: repeat(2, 1fr); }
  .fl-cat-block__item-img { width: 80px; height: 56px; }
}

/* ══════════════════════════════════════════════════════════════
   CATEGORY / SEARCH / AUTHOR shared list pages
   ══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ───────────────────────── */
.fl-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 16px 0 8px; font-size: 0.85rem; color: var(--color-555); }
.fl-breadcrumb a { color: inherit; text-decoration: none; transition: color .15s; }
.fl-breadcrumb a:hover { color: var(--fl-accent); }
.fl-breadcrumb__sep { opacity: .5; }
.fl-breadcrumb a:last-of-type { color: var(--color-000); font-weight: 600; }

/* ── Category header ──────────────────── */
.fl-cat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 16px 0 24px; margin-bottom: 24px; border-bottom: 4px solid var(--cat-accent, var(--fl-accent)); position: relative; }
.fl-cat-head__title { font-size: 2.4rem; font-weight: 800; line-height: 1.1; margin: 0; flex: 1 1 auto; min-width: 0; color: var(--color-000); }
.fl-cat-head__desc { width: 100%; margin: 0; font-size: 1rem; color: var(--color-555); line-height: 1.5; }
.fl-cat-head__follow { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1.5px solid var(--cat-accent, var(--fl-accent)); background: transparent; color: var(--cat-accent, var(--fl-accent)); border-radius: 999px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: all .15s; }
.fl-cat-head__follow:hover { background: var(--cat-accent, var(--fl-accent)); color: #fff; }
.fl-cat-head__follow svg { width: 16px; height: 16px; }
.fl-cat-head__follow[data-action="unfollow"] { background: var(--cat-accent, var(--fl-accent)); color: #fff; }

/* ── Featured (large card at top of list) ─ */
.fl-cat-feat { margin-bottom: 32px; }
.fl-cat-feat__link { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; text-decoration: none; color: inherit; align-items: center; }
.fl-cat-feat__fig { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--color-eee); }
.fl-cat-feat__img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.fl-cat-feat__link:hover .fl-cat-feat__img { transform: scale(1.03); }
.fl-cat-feat__body { min-width: 0; }
.fl-cat-feat__cat { display: inline-block; padding: 4px 10px; font-size: 0.7rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .5px; border-radius: 2px; margin-bottom: 12px; }
.fl-cat-feat__title { font-size: 1.8rem; font-weight: 800; line-height: 1.15; margin: 0 0 12px; color: var(--color-000); transition: color .15s; }
.fl-cat-feat__link:hover .fl-cat-feat__title { color: var(--fl-accent); }
.fl-cat-feat__sub { font-size: 1rem; color: var(--color-555); line-height: 1.5; margin: 0 0 14px; }
.fl-cat-feat__meta { font-size: 0.8rem; color: var(--color-999); display: flex; gap: 8px; align-items: center; }
.fl-cat-feat__sep { opacity: .5; }

@media (max-width: 768px) {
  .fl-cat-head { padding: 12px 14px 20px; margin: 0 0 16px; }
  .fl-cat-head__title { font-size: 1.7rem; }
  .fl-cat-feat { padding: 0 14px; }
  .fl-cat-feat__link { grid-template-columns: 1fr; gap: 14px; }
  .fl-cat-feat__title { font-size: 1.3rem; }
  .fl-cat-feat__sub { font-size: 0.9rem; }
  .fl-breadcrumb { padding: 12px 14px 0; }
}

/* ── Empty state ──────────────────────── */
.fl-empty { padding: 60px 20px; text-align: center; color: var(--color-555); font-size: 1rem; }

/* ── Search form ──────────────────────── */
.fl-search-form { display: flex; flex-direction: column; gap: 12px; padding: 24px 0 16px; border-bottom: 1px solid var(--color-eee); }
.fl-search-form__main { display: flex; gap: 8px; }
.fl-search-form__input { flex: 1; padding: 14px 16px; font-size: 1rem; border: 2px solid var(--color-eee); border-radius: 4px; background: var(--color-fff); color: var(--color-000); transition: border-color .15s; }
.fl-search-form__input:focus { outline: none; border-color: var(--fl-accent); }
.fl-search-form__btn { padding: 0 18px; background: var(--fl-accent); color: #fff; border: none; border-radius: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.fl-search-form__btn:hover { background: #a30000; }
.fl-search-form__btn svg { width: 20px; height: 20px; fill: currentColor; }
.fl-search-form__filters { display: flex; gap: 8px; flex-wrap: wrap; }
.fl-search-form__select { flex: 1; min-width: 140px; padding: 8px 12px; font-size: 0.85rem; background: var(--color-eee); color: var(--color-000); border: 1px solid var(--color-eee); border-radius: 4px; cursor: pointer; }

.fl-search-head { padding: 24px 0 16px; }
.fl-search-head__title { font-size: 1.5rem; font-weight: 700; margin: 0; color: var(--color-000); }
.fl-search-head__title #LA7Query { color: var(--fl-accent); }

@media (max-width: 768px) {
  .fl-search-form { padding: 14px; }
  .fl-search-form__filters { flex-direction: column; }
  .fl-search-head { padding: 16px 14px; }
}

/* ── Tabs ─────────────────────────────── */
.fl-tabs { display: flex; gap: 4px; padding: 0 0 0; margin-bottom: 16px; border-bottom: 2px solid var(--color-eee); }
.fl-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: transparent; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; font-size: 0.9rem; font-weight: 600; color: var(--color-555); cursor: pointer; transition: all .15s; }
.fl-tab:hover { color: var(--fl-accent); }
.fl-tab.active { color: var(--fl-accent); border-bottom-color: var(--fl-accent); }
.fl-tab svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .fl-tabs { padding: 0 14px; }
}

/* ── Author header ────────────────────── */
.fl-author-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 32px 0 28px; margin-bottom: 8px; border-bottom: 4px solid var(--fl-accent); align-items: start; }
.fl-author-head__avatar { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 4px solid var(--fl-accent); background: var(--color-eee); }
.fl-author-head__body { min-width: 0; }
.fl-author-head__name { font-size: 2rem; font-weight: 800; line-height: 1.2; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: var(--color-000); }
.fl-author-head__role { font-size: 0.7rem; font-weight: 700; color: #fff; background: var(--fl-accent); padding: 4px 10px; border-radius: 2px; text-transform: uppercase; letter-spacing: .5px; }
.fl-author-head__follow { background: var(--fl-accent); color: #fff; border: 2px solid var(--fl-accent); padding: 6px 18px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; cursor: pointer; transition: all .15s; }
.fl-author-head__follow:hover { background: #fff; color: var(--fl-accent); }
.fl-author-head__follow[data-action="unfollow"] { background: transparent; color: var(--fl-accent); }
.fl-author-head__bio { font-size: 1rem; color: var(--color-555); line-height: 1.5; margin: 0 0 14px; }
.fl-author-head__stats { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; color: var(--color-555); }
.fl-author-head__stat { cursor: pointer; transition: color .15s; }
.fl-author-head__stat:hover { color: var(--fl-accent); }
.fl-author-head__stat strong { color: var(--color-000); font-weight: 700; }
.fl-author-head__stat-sep { opacity: .4; }
.fl-author-head__links { display: flex; gap: 8px; flex-wrap: wrap; }
.fl-author-head__link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-eee); color: var(--color-555); transition: all .15s; }
.fl-author-head__link:hover { background: var(--fl-accent); color: #fff; }
.fl-author-head__link svg { width: 18px; height: 18px; }

@media (max-width: 768px) {
  .fl-author-head { grid-template-columns: 1fr; gap: 16px; padding: 20px 14px; text-align: center; justify-items: center; }
  .fl-author-head__avatar { width: 100px; height: 100px; }
  .fl-author-head__name { font-size: 1.4rem; justify-content: center; }
  .fl-author-head__stats { justify-content: center; }
  .fl-author-head__links { justify-content: center; }
}

/* ── Comments list ────────────────────── */
.fl-comments { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
.fl-comment-card { padding: 16px 18px; background: var(--color-eee); border-radius: 6px; border-inline-start: 3px solid var(--fl-accent); }
.fl-comment-card__content { color: var(--color-000); line-height: 1.5; margin-bottom: 10px; }
.fl-comment-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--color-555); }
.fl-comment-card__meta a { color: var(--fl-accent); text-decoration: none; font-weight: 600; }
.fl-comment-card__meta a:hover { text-decoration: underline; }
.fl-comment-card__meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.fl-comment-card__sep { opacity: .4; }
@media (max-width: 768px) {
  .fl-comments { padding: 16px 14px 0; }
}

/* ── User cards (followers / following) ── */
.fl-users-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; padding-top: 16px; }
.fl-user-card { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--color-eee); border-radius: 6px; transition: background .15s; }
.fl-user-card:hover { background: var(--color-eee); }
.fl-user-card__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.fl-user-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.fl-user-card__info { min-width: 0; flex: 1; }
.fl-user-card__name { font-size: 0.95rem; font-weight: 700; margin: 0 0 2px; color: var(--color-000); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-user-card__username { font-size: 0.8rem; color: var(--color-999); margin: 0 0 2px; }
.fl-user-card__bio { font-size: 0.8rem; color: var(--color-555); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fl-user-card__action { background: transparent; border: 1.5px solid var(--fl-accent); color: var(--fl-accent); padding: 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; cursor: pointer; flex-shrink: 0; transition: all .15s; }
.fl-user-card__action:hover { background: var(--fl-accent); color: #fff; }
.fl-user-card__action[data-action="unfollow"] { background: var(--fl-accent); color: #fff; }
@media (max-width: 768px) {
  .fl-users-grid { padding: 16px 14px 0; grid-template-columns: 1fr; }
}

/* ── Static page (privacy/terms/about/...) ─ */
.fl-page-head { padding: 28px 0 16px; margin-bottom: 16px; border-bottom: 4px solid var(--fl-accent); }
.fl-page-head__title { font-size: 2.2rem; font-weight: 800; line-height: 1.15; margin: 0; color: var(--color-000); }
.fl-page-thumb { margin: 0 0 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: var(--color-eee); }
.fl-page-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fl-page-content { font-size: 1.05rem; line-height: 1.7; color: var(--color-000); padding-bottom: 32px; }
.fl-page-content p { margin: 0 0 16px; }
.fl-page-content h2 { font-size: 1.6rem; font-weight: 700; margin: 32px 0 14px; color: var(--color-000); }
.fl-page-content h3 { font-size: 1.25rem; font-weight: 700; margin: 24px 0 12px; color: var(--color-000); }
.fl-page-content a { color: var(--fl-accent); text-decoration: underline; }
.fl-page-content ul, .fl-page-content ol { padding-inline-start: 1.4em; margin: 0 0 16px; }
.fl-page-content li { margin: 6px 0; }
.fl-page-content img { max-width: 100%; height: auto; border-radius: 4px; }
.fl-page-content blockquote { margin: 18px 0; padding: 14px 18px; border-inline-start: 4px solid var(--fl-accent); background: var(--color-eee); font-style: italic; }
@media (max-width: 768px) {
  .fl-page-head { padding: 16px 14px; }
  .fl-page-head__title { font-size: 1.5rem; }
  .fl-page-thumb { margin: 0 14px 18px; }
  .fl-page-content { padding: 0 14px 28px; }
}

/* ── Error pages ──────────────────────── */
.fl-error { padding: 60px 20px; text-align: center; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fl-error__code { font-size: 6rem; font-weight: 900; color: var(--fl-accent); line-height: 1; margin-bottom: 12px; letter-spacing: -2px; }
.fl-error__title { font-size: 1.6rem; font-weight: 700; margin: 0 0 14px; color: var(--color-000); }
.fl-error__sub { font-size: 1rem; color: var(--color-555); max-width: 520px; line-height: 1.6; margin: 0 0 24px; }
.fl-error__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.fl-error__btn { display: inline-block; padding: 10px 22px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 0.9rem; border: 2px solid var(--fl-accent); color: var(--fl-accent); background: transparent; transition: all .15s; }
.fl-error__btn:hover { background: var(--fl-accent); color: #fff; }
.fl-error__btn--primary { background: var(--fl-accent); color: #fff; }
.fl-error__btn--primary:hover { background: #a30000; border-color: #a30000; }

/* ── Breaking list ────────────────────── */
.fl-breaking-list { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.fl-breaking-item { padding: 16px 20px; background: var(--color-eee); border-radius: 6px; border-inline-start: 4px solid var(--fl-accent); position: relative; }
.fl-breaking-item__time { display: inline-block; font-size: 0.78rem; color: var(--color-999); margin-bottom: 6px; }
.fl-breaking-item__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; color: var(--color-000); }
.fl-breaking-item__content { color: var(--color-555); line-height: 1.5; max-height: 0; overflow: hidden; transition: max-height .2s ease; }
.fl-breaking-item.open .fl-breaking-item__content { max-height: 800px; padding-top: 6px; }
.fl-breaking-item__icon-wrap { position: absolute; top: 14px; inset-inline-end: 14px; }
.fl-breaking-item__icon svg { width: 18px; height: 18px; transition: transform .2s; }
.fl-breaking-item.open .fl-breaking-item__icon svg { transform: rotate(180deg); }
@media (max-width: 768px) {
  .fl-breaking-list { padding: 0 14px; }
}

/* ── Page wrap (delegated layouts) ─────── */
.fl-page-wrap { max-width: var(--fl-max-w); margin: 0 auto; padding: 0 20px; }
