/* ==========================================================================
   FreeNewsPress — fnp.css
   Custom styles layered on top of Bootstrap 5.3
   ========================================================================== */

/* ── Custom category color (Bootstrap has no purple text-bg) ── */
.text-bg-purple {
  background-color: #6f42c1 !important;
  color: #fff !important;
}

/* ── Brand row (logo + header ad, above sticky nav) ───────────── */
.fnp-brand-row {
  background-color: #111827;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fnp-brand-link {
  color: #fff;
  text-decoration: none;
}

.fnp-brand-link:hover { color: #fff; }

.fnp-brand-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.fnp-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  border-radius: 999px;
  padding: 0.15rem 0.42rem 0.15rem 0.5rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}

.fnp-theme-toggle-track {
  width: 28px;
  height: 14px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.65);
  position: relative;
}

.fnp-theme-toggle-knob {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

[data-theme="dark"] .fnp-theme-toggle {
  color: #f8fafc;
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(30, 58, 138, 0.35);
}

[data-theme="dark"] .fnp-theme-toggle-track {
  background: #2563eb;
}

[data-theme="dark"] .fnp-theme-toggle-knob {
  transform: translateX(14px);
}

.fnp-brand-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.fnp-ad-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  max-width: 730px;
}

@media (max-width: 767px) {
  .fnp-ad-header { display: none; }
  .fnp-theme-toggle-label { display: none; }
}

/* ── Navbar ───────────────────────────────────────────────────── */
.fnp-navbar {
  background-color: #111827 !important;
  border-bottom: 3px solid #dc3545;
}

.fnp-navbar .navbar-brand {
  letter-spacing: -0.5px;
}

.fnp-navbar .nav-cat {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  transition: background 0.15s;
}

.fnp-navbar .nav-cat:hover,
.fnp-navbar .nav-cat.active {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Hero card ─────────────────────────────────────────────────── */
.fnp-hero {
  position: relative;
  min-height: 460px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.fnp-hero-overlay {
  width: 100%;
  padding: 3rem 2rem 1.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.fnp-hero-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.fnp-hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

/* ── Article cards ─────────────────────────────────────────────── */
.fnp-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.fnp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.fnp-card-img {
  height: 170px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
}

.fnp-card-img .badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.fnp-card-body {
  padding: 0.9rem 1rem 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fnp-card-title {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}

.fnp-card-sub {
  font-size: 0.82rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.4;
}

/* ── Section headings ──────────────────────────────────────────── */
.fnp-section-head {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #1a1a2e;
}

.fnp-section-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Category page header ──────────────────────────────────────── */
.fnp-cat-header h1 {
  font-size: 2rem;
  font-weight: 800;
  font-family: Georgia, 'Times New Roman', serif;
}

/* ── Article page ──────────────────────────────────────────────── */
.fnp-article-headline {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 0.5rem;
}

.fnp-article-sub {
  font-size: 1.2rem;
  color: #4b5563;
  font-style: italic;
  border-left: 3px solid #dc3545;
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
}

.fnp-article-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.fnp-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1f2937;
}

.fnp-article-body p {
  margin-bottom: 1.2rem;
}

.fnp-sources {
  border-left: 3px solid #dee2e6;
}

/* ── Related articles sidebar ──────────────────────────────────── */
.fnp-sidebar {
  position: sticky;
  top: 80px;
}

.fnp-related-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  transition: opacity 0.15s;
}

.fnp-related-card:hover { opacity: 0.75; }

.fnp-related-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
}

.fnp-related-body { flex: 1; }

.fnp-related-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0 0 0.2rem;
  line-height: 1.3;
}

/* ── Inline category label (replaces Bootstrap badges on home page) ── */
.fnp-cat-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  /* color is set inline via style="color:..." */
}

.fnp-cat-label--on-dark {
  color: rgba(255,255,255,0.85) !important;
}

/* Small overlay label on image cards (replaces badge) */
.fnp-card-cat-label {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: rgba(0,0,0,0.52);
  padding: 2px 7px;
  border-radius: 3px;
}

/* ── Section bar (replaces fnp-section-head / fnp-section-dot on home) ── */
.fnp-section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.fnp-section-name {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111827;
  border-left: 4px solid; /* color set inline */
  padding-left: 0.55rem;
}

.fnp-section-more {
  font-size: 0.75rem;
  color: #6c757d;
  text-decoration: none;
  transition: color 0.15s;
}

.fnp-section-more:hover {
  color: #dc3545;
}

/* ── Right sidebar ────────────────────────────────────────────── */
.fnp-sidebar-inner {
  position: sticky;
  top: 72px; /* clears sticky navbar */
}

.fnp-widget {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.fnp-widget-head {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #111827;
  border-bottom: 2px solid #dc3545;
  padding-bottom: 0.45rem;
  margin-bottom: 0.25rem;
  margin-top: 0;
}

.fnp-sidebar-item {
  padding: 0.6rem 0;
}

.fnp-sidebar-time {
  font-size: 0.67rem;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.fnp-sidebar-headline {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.35;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  transition: color 0.15s;
}

a:hover .fnp-sidebar-headline {
  color: #dc3545;
}

.fnp-sidebar-sub {
  font-size: 0.78rem;
  color: #6c757d;
  line-height: 1.4;
  margin: 0.15rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .fnp-sidebar-inner {
    position: static;
  }
}

/* ── Section featured card (hero-style image with overlaid headline) ── */
.fnp-section-hero {
  position: relative;
  min-height: 230px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.15s, box-shadow 0.15s;
}

.fnp-section-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.fnp-section-hero-title {
  font-size: 1rem;
  font-weight: 700 !important;
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  line-height: 1.3;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}

@media (max-width: 575.98px) {
  .fnp-section-hero {
    height: 220px !important;
    min-height: 220px;
  }
}

/* ── Text headline list (belt center + category secondary items) ── */
.fnp-text-list {
  background: #fff;
  border-radius: 8px;
  padding: 0.25rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.fnp-list-divider {
  margin: 0;
  border-color: #e9ecef;
}

.fnp-text-item {
  padding: 0.7rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fnp-text-headline {
  font-weight: 700;
  color: #1a1a2e;
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  transition: color 0.15s;
}

.fnp-text-item--lg .fnp-text-headline {
  font-size: 1.05rem;
}

a:hover .fnp-text-headline {
  color: #dc3545;
}

.fnp-text-sub {
  font-size: 0.82rem;
  color: #6c757d;
  line-height: 1.4;
  margin: 0.1rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Ad slots ──────────────────────────────────────────────────── */
.fnp-ad-slot {
  text-align: center;
  overflow: hidden;
}

/* Collapses to zero height when no content is injected */
.fnp-section-ad:empty {
  display: none;
}

.fnp-ad-footer {
  background-color: #e9ecef;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  text-align: center;
  padding: 0.75rem 0;
  overflow: hidden;
}

/* ── Footer ────────────────────────────────────────────────────── */
.fnp-footer {
  background-color: #111827;
  border-top: 3px solid #dc3545;
  color: #fff;
}

.fnp-footer-link:hover {
  color: #fff !important;
}

/* ── Cookie consent bar ────────────────────────────────────────── */
.fnp-cookie-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #111827;
  border-top: 3px solid #dc3545;
  color: #f9fafb;
  z-index: 1080;
}

.fnp-cookie-bar a { color: #f9fafb; text-decoration: underline; }

/* ── Global ────────────────────────────────────────────────────── */
:root {
  --fnp-bg: #f3f4f6;
  --fnp-text: #1f2937;
  --fnp-surface: #ffffff;
  --fnp-border: #e5e7eb;
  --fnp-muted: #6b7280;
}

body {
  background-color: var(--fnp-bg);
  color: var(--fnp-text);
}

a { color: inherit; }

[data-theme="dark"] {
  --fnp-bg: #0b1220;
  --fnp-text: #d1d5db;
  --fnp-surface: #0f172a;
  --fnp-border: #1f2937;
  --fnp-muted: #94a3b8;
}

[data-theme="dark"] .fnp-card,
[data-theme="dark"] .fnp-widget,
[data-theme="dark"] .fnp-text-list,
[data-theme="dark"] .fnp-search-result,
[data-theme="dark"] .fnp-comic-card,
[data-theme="dark"] .fnp-sudoku-panel,
[data-theme="dark"] .fnp-crossword-panel,
[data-theme="dark"] .fnp-crossword-clues {
  background: var(--fnp-surface);
  border-color: var(--fnp-border);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .fnp-card-title,
[data-theme="dark"] .fnp-section-head,
[data-theme="dark"] .fnp-article-headline,
[data-theme="dark"] .fnp-section-name,
[data-theme="dark"] .fnp-search-headline,
[data-theme="dark"] .fnp-text-headline,
[data-theme="dark"] .fnp-sidebar-headline,
[data-theme="dark"] .fnp-related-title,
[data-theme="dark"] .fnp-comic-title,
[data-theme="dark"] .fnp-widget-head,
[data-theme="dark"] .fnp-crossword-clues h3 {
  color: #e5e7eb;
}

[data-theme="dark"] .fnp-widget .fnp-sidebar-headline,
[data-theme="dark"] .fnp-widget a .fnp-sidebar-headline,
[data-theme="dark"] .fnp-widget .fnp-text-headline {
  color: #e5e7eb !important;
}

[data-theme="dark"] .fnp-card-sub,
[data-theme="dark"] .fnp-text-sub,
[data-theme="dark"] .fnp-search-sub,
[data-theme="dark"] .fnp-sidebar-sub,
[data-theme="dark"] .fnp-sidebar-time,
[data-theme="dark"] .fnp-section-more,
[data-theme="dark"] .fnp-article-sub,
[data-theme="dark"] .fnp-comic-line {
  color: var(--fnp-muted);
}

[data-theme="dark"] .fnp-article-page .fnp-article-body,
[data-theme="dark"] .fnp-article-page .fnp-article-body p,
[data-theme="dark"] .fnp-article-page .fnp-article-body li {
  color: #dbe3ee;
}

[data-theme="dark"] .fnp-article-page .text-secondary,
[data-theme="dark"] .fnp-article-page figcaption {
  color: #9fb0c7 !important;
}

[data-theme="dark"] .fnp-article-page .fnp-article-body a {
  color: #93c5fd;
}

/* Comics page */
.fnp-comic-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fnp-comics-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  overflow-x: clip;
}

.fnp-comic-media {
  position: relative;
  width: 100%;
  background: #e9ecef;
  overflow: hidden;
}

.fnp-comic-img {
  width: 100% !important;
  max-width: 100%;
  height: auto;
  background: #e9ecef;
  display: block;
}

.fnp-comic-watermark {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: 150px;
  max-height: 56px;
  width: auto;
  height: auto;
  opacity: 0.88;
  pointer-events: none;
}

.fnp-comic-body {
  padding: 1rem 1.1rem 1.1rem;
}

.fnp-comic-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: Georgia, 'Times New Roman', serif;
  color: #111827;
  margin: 0 0 0.35rem;
}

.fnp-comic-line {
  border-left: 3px solid #dc3545;
  padding-left: 0.75rem;
  color: #374151;
  margin: 0.4rem 0 0;
}

@media (max-width: 768px) {
  .fnp-comics-wrap {
    max-width: 100%;
  }
  .fnp-comic-body {
    padding: 0.8rem 0.85rem;
  }
  .fnp-comic-title {
    font-size: 1.05rem;
  }
  .fnp-comic-watermark {
    right: 6px;
    bottom: 6px;
    max-width: 110px;
    max-height: 42px;
  }
}

/* Sudoku page */
.fnp-sudoku-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.fnp-sudoku-panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 1rem;
}

.fnp-sudoku-board-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.fnp-sudoku-board {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(9, 1fr);
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  border: 2px solid #111827;
  background: #fff;
}

.fnp-sudoku-cell {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 0;
  text-align: center;
  font-size: clamp(0.9rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
  background: #fff;
}

.fnp-sudoku-cell:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #0d6efd;
  z-index: 2;
  position: relative;
}

.fnp-sudoku-cell.given {
  background: #e2e8f0;
  color: #111827;
}

.fnp-sudoku-cell.conflict {
  background: #ffe4e6;
  color: #991b1b;
}

.fnp-sudoku-cell.box-right {
  border-right: 3px solid #111827;
}

.fnp-sudoku-cell.box-bottom {
  border-bottom: 3px solid #111827;
}

@media (max-width: 768px) {
  .fnp-sudoku-panel {
    padding: 0.75rem;
  }
  .fnp-sudoku-board-wrap {
    justify-content: center;
  }
  .fnp-sudoku-board {
    width: min(100%, 94vw);
  }
}

/* Crossword page */
.fnp-crossword-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.fnp-crossword-panel {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 1rem;
}

.fnp-crossword-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 1rem;
  align-items: start;
}

.fnp-crossword-grid-wrap {
  width: 100%;
  overflow: auto;
}

.fnp-crossword-grid {
  display: grid;
  grid-auto-flow: row;
  gap: 2px;
  background: #111827;
  border: 2px solid #111827;
  width: fit-content;
}

.fnp-crossword-cell {
  position: relative;
  background: #fff;
  overflow: hidden;
}

.fnp-crossword-cell input {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #111827;
  line-height: 1;
}

.fnp-crossword-cell input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #0d6efd;
}

.fnp-crossword-cell.block {
  background: #111827;
}

.fnp-crossword-number {
  position: absolute;
  top: 2px;
  left: 3px;
  font-size: 0.58rem;
  line-height: 1;
  color: #374151;
  font-weight: 600;
  pointer-events: none;
}

.fnp-crossword-cell.active input {
  box-shadow: inset 0 0 0 2px #0d6efd;
}

.fnp-crossword-cell.active-word {
  background: #eff6ff;
}

.fnp-crossword-cell.correct input {
  color: #166534;
}

.fnp-crossword-cell.wrong input {
  color: #991b1b;
  background: #fee2e2;
}

.fnp-crossword-clues {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem;
  max-height: 620px;
  overflow: auto;
}

.fnp-crossword-clues h3 {
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
  color: #111827;
}

.fnp-crossword-clue-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fnp-crossword-clue-list li {
  border-radius: 6px;
  padding: 0.3rem 0.4rem;
  cursor: pointer;
}

.fnp-crossword-clue-list li:hover {
  background: #f3f4f6;
}

.fnp-crossword-clue-list li.active {
  background: #dbeafe;
}

[data-theme="dark"] .fnp-crossword-clue-list li:hover {
  background: #1f2937;
  color: #e5e7eb;
}

[data-theme="dark"] .fnp-crossword-clue-list li.active {
  background: #1e3a8a;
  color: #f8fafc;
}

.fnp-content-update-bar {
  position: sticky;
  top: 56px;
  z-index: 1040;
  background: #fff3cd;
  border-top: 1px solid #ffe69c;
  border-bottom: 1px solid #ffe69c;
}

@media (max-width: 992px) {
  .fnp-crossword-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Search icon in navbar ─────────────────────────────────── */
.fnp-navbar .fnp-search-icon {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  padding: 0.4rem 0.5rem;
}

.fnp-navbar .fnp-search-icon:hover,
.fnp-navbar .fnp-search-icon.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
  .fnp-navbar .fnp-search-icon {
    color: #fff;
    padding: 0.35rem 0.5rem;
  }
  .fnp-navbar .fnp-search-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* ── Search results page ───────────────────────────────────── */
.fnp-search-result {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  border-left: 4px solid transparent;
  transition: border-color 0.15s;
}

.fnp-search-result:hover {
  border-left-color: #dc3545;
}

.fnp-search-headline {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0.2rem 0 0.3rem;
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.35;
  transition: color 0.15s;
}

.fnp-search-result:hover .fnp-search-headline {
  color: #dc3545;
}

.fnp-search-sub {
  font-size: 0.88rem;
  color: #6c757d;
  margin: 0;
  line-height: 1.45;
}

.fnp-search-thumb {
  width: 100px;
  height: 70px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fnp-search-thumb {
    width: 80px;
    height: 58px;
  }
}
