
/* ============================================================
   1. CUSTOM PROPERTIES
============================================================ */
:root {
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-sans: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  --text: #15191e;
  --text-muted: #8a929c;
  --primary-100: #c5d9f0;
  --primary-500: #0a2c4d;
  --primary-700: #0d3a64;
  --primary-800: #071e34;
  --secondary-500: #02144b;
  --accent-400: #FF8A65;
  --accent-500: #FF7043;
  --white: #ffffff;
  --gray-300: #e6e9ee;
  --gray-600: #8a929c;
  --background: #ffffff;
  --border: #e6e9ee;
  --surface-50: #f7f9fb;
  --surface-100: #f0f4f8;
  --surface-200: #d9e2ec;
  --box-shadow-sm: 0 1px 3px 0 rgba(34, 40, 42, 0.1);
  --box-shadow-md: 0 4px 20px 0 rgba(33, 37, 41, 0.05);
  --box-shadow-lg: 0 4px 20px 0 rgba(33, 37, 41, 0.15);
}

/* ============================================================
   2. RESET
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


.home .container.main {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.container.layout {
  max-width: 100%;
  padding: 0;
}

.container.layout .row.layout {
  margin: 0;
}

.container.layout .row.layout > .cols {
  overflow-x: hidden;
}

.home .container.layout .row.layout > .cols {
  padding: 0;
}

.pages .main-wrapper .container.main {
  padding: 24px 16px;
}


.pg-wrap {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: #ffd7af;
}

.logo {
  max-width: 110px;
}

.logo a {
  display: flex;
}

/* ============================================================
   3. LAYOUT RESET
============================================================ */

/* ============================================================
   4. FONTS RESET
============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 900;
  line-height: 1.1;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

a {
  color: inherit;
}

b,
strong {
  font-weight: 700;
}

small {
  font-size: 80%;
}

.pages .layout h1,
.pages .layout h2 {
  font-weight: 700;
  color: var(--text);
}

.pages .layout h1,
.pages .layout h2,
.pages .layout h3,
.pages .layout p,
.pages .layout strong {
  color: var(--text);
}

.pages .layout h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.pages .layout h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 40px 0 18px;
}

.pages .layout h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
  margin: 24px 0 10px;
}

.pages .layout p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.pages .layout strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .pages .layout h1 {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .pages .layout h2 {
    font-size: 25px;
    margin: 32px 0 16px;
  }

  .pages .layout h3 {
    font-size: 20px;
    margin: 22px 0 8px;
  }

  .pages .layout p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }
}

/* ============================================================
   5. TABLE RESET
============================================================ */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  color: var(--text);
  margin: 32px 0;
}

table th,
table td {
  padding: 8px 16px !important;
  text-align: left;
  border-color: var(--border) !important;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

table td {
  color: var(--text) !important;
}

table th {
  font-weight: bold !important;
  font-size: 13px !important;
  background: var(--primary-500) !important;
  color: var(--white) !important;
}

table tbody tr:nth-child(even) td {
  background: var(--surface-100) !important;
}

@media (max-width: 992px) {
  table {
    display: block !important;
    overflow-x: auto !important;
    border: 0 !important;
  }
}

/* ============================================================
   6. CONTACT FORM
============================================================ */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

#contact-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s ease;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
  border-color: var(--accent-500);
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

#contact-form button {
  align-self: flex-start;
  padding: 11px 26px;
  background: var(--accent-500);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

#contact-form button:hover {
  background: var(--accent-400);
}

/* ============================================================
   7. HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--secondary-500);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 6px 18px rgba(0, 0, 0, 0.18);
  border-top: 3px solid var(--accent-500);
}

.site-header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 18px), transparent 100%);
}

.site-nav::-webkit-scrollbar {
  height: 0;
  background: transparent;
}

.site-nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.15s ease;
}

.site-nav-link:hover {
  color: var(--accent-500);
}

.site-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.site-weather-emoji {
  font-size: 16px;
  line-height: 1;
}

.site-weather-temp {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
}

/* ============================================================
   7B. MOBILE MENU
============================================================ */
.site-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex: none;
}

.site-menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.nav-open .site-menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .site-menu-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header.nav-open .site-menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--secondary-500);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.site-mobile-menu.is-open {
  display: block;
}

.site-mobile-link {
  display: block;
  padding: 15px 20px;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.15s ease, background 0.15s ease;
}

.site-mobile-link:last-child {
  border-bottom: none;
}

.site-mobile-link:hover,
.site-mobile-link:active {
  color: var(--accent-500);
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   8. HERO SECTION
============================================================ */
.fdn-hero {
  background: var(--secondary-500);
  color: var(--white);
  padding: 32px 0 40px;
  position: relative;
  overflow: hidden;
}

.fdn-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  position: relative;
  z-index: 1;
}

.fdn-hero-lead {
  flex: 2 1 480px;
  min-width: 0;
}

.fdn-hero-lead-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #0a2540;
}

.fdn-hero-lead-link {
  display: block;
  text-decoration: none;
  color: var(--white);
  transition: color 0.2s ease;
}

.fdn-hero-lead-link:hover .fdn-hero-headline {
  color: #ffd7af;
}

.fdn-hero-lead-body {
  display: block;
  margin-top: 16px;
}

.fdn-hero-headline {
  display: block;
  margin: 7px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--white);
}

.fdn-hero-sidebar {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fdn-hero-sidebar-item {
  display: flex;
  gap: 14px;
  text-decoration: none;
  align-items: flex-start;
  padding: 14px 10px;
  margin: 0 -10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  transition: background 0.18s ease;
}

.fdn-hero-sidebar-item:last-child {
  border-bottom: none;
}

.fdn-hero-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.fdn-hero-sidebar-item-title {
  transition: color 0.15s ease;
}

.fdn-hero-sidebar-item:hover .fdn-hero-sidebar-item-title {
  color: #ffd7af;
}

.fdn-hero-sidebar-item-body {
  flex: 1 1 auto;
  min-width: 0;
  order: 2;
}

.fdn-hero-sidebar-item-img {
  position: relative;
  flex: none;
  width: 140px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: #0a2540;
  order: 1;
}

.fdn-hero-sidebar-item-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fdn-hero-sidebar-item-title {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

/* ============================================================
   9. SHARED IMAGE STYLES
============================================================ */
.fdn-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fdn-img-ratio-16-9 {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #dde3ea;
}

.fdn-img-ratio-16-10 {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #dde3ea;
}

.fdn-img-ratio-4-3 {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: #dde3ea;
}

.fdn-img-ratio-1-1 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: #dde3ea;
}

.fdn-img-ratio-dark {
  background: #0a2540;
}

/* ============================================================
  10. SHARED CATEGORY LABELS
============================================================ */
.fdn-cat {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-cat-sm {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-cat-xs {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-cat-muted {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
  11. SECTION LAYOUT
============================================================ */
.fdn-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.fdn-section {
  padding: 38px 0;
}

.fdn-section-border-top {
  border-top: 1px solid var(--border);
}

.fdn-section-border-top-dark {
  border-top: 2px solid var(--primary-500);
}

.fdn-section-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
}

.fdn-section-title-lg {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--primary-500);
  border-left: 3px solid var(--accent-500);
  padding-left: 12px;
}

.fdn-section-title-md {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--primary-500);
  border-left: 3px solid var(--accent-500);
  padding-left: 12px;
}

.fdn-section-title-xl {
  margin: 0 0 28px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.1rem;
  color: var(--primary-500);
  border-left: 3px solid var(--accent-500);
  padding-left: 12px;
}

.fdn-section-title-mb {
  margin-bottom: 20px;
}

.fdn-see-all {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  letter-spacing: 0.1rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.fdn-see-all::after {
  content: '→';
  display: inline-block;
  transition: transform 0.18s ease;
}

.fdn-see-all:hover {
  color: var(--accent-500);
}

.fdn-see-all:hover::after {
  transform: translateX(3px);
}

/* ============================================================
  12. ARTICLE CARDS
============================================================ */

/* Featured card (used in Top Stories) */
.fdn-card-featured {
  flex: 1 1 240px;
  min-width: 0;
  text-decoration: none;
  transition: transform 0.22s ease;
}

.fdn-card-featured:hover {
  transform: translateY(-4px);
}

.fdn-card-featured-cat {
  display: block;
  margin-top: 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-card-featured-title {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

/* Grid card (used in local, sub-grids) */
.fdn-card-grid {
  text-decoration: none;
  transition: transform 0.22s ease;
}

.fdn-card-grid:hover {
  transform: translateY(-3px);
}

.fdn-card-grid-cat {
  display: block;
  margin-top: 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-card-grid-title {
  display: block;
  margin-top: 5px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

/* Sub-grid card (smaller, used in paired section sub-grids) */
.fdn-card-sub {
  text-decoration: none;
  transition: transform 0.22s ease;
}

.fdn-card-sub:hover {
  transform: translateY(-2px);
}

.fdn-card-sub-cat {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-card-sub-title {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

/* Lead card in paired section (larger) */
.fdn-card-lead {
  text-decoration: none;
  transition: transform 0.22s ease;
  display: block;
}

.fdn-card-lead:hover {
  transform: translateY(-3px);
}

.fdn-card-lead-cat {
  display: block;
  margin-top: 13px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-card-lead-title {
  margin-top: 5px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
}

/* Compact list item (used in Top Stories list column) */
.fdn-compact-item {
  text-decoration: none;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 0;
  transition: border-color 0.18s ease, padding-left 0.18s ease;
}

.fdn-compact-item:hover {
  border-left-color: var(--accent-500);
  padding-left: 10px;
}

.fdn-compact-item-cat {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-compact-item-title {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.fdn-compact-item-border-bottom {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--border);
}

.fdn-compact-item-border-y {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.fdn-compact-item-pt {
  padding-top: 13px;
}

/* Hover feedback: title color transition */
.fdn-card-featured-title,
.fdn-card-grid-title,
.fdn-card-lead-title,
.fdn-card-sub-title,
.fdn-compact-item-title,
.fdn-most-read-item-title,
.fdn-news-col-item-title {
  transition: color 0.15s ease;
}

/* All images inside ratio containers are absolutely positioned to fill without stretching */
.fdn-img-ratio-16-9 img,
.fdn-img-ratio-16-10 img,
.fdn-img-ratio-4-3 img,
.fdn-img-ratio-1-1 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

/* Hover feedback: title turns accent on hover */
.fdn-card-featured:hover .fdn-card-featured-title,
.fdn-card-grid:hover .fdn-card-grid-title,
.fdn-card-lead:hover .fdn-card-lead-title,
.fdn-card-sub:hover .fdn-card-sub-title,
.fdn-compact-item:hover .fdn-compact-item-title,
.fdn-most-read-item:hover .fdn-most-read-item-title,
.fdn-news-col-item:hover .fdn-news-col-item-title {
  color: var(--accent-500);
}

/* Hover feedback: image zoom on image cards */
.fdn-card-featured:hover .fdn-img-ratio-16-10 img,
.fdn-card-grid:hover .fdn-img-ratio-16-10 img,
.fdn-card-lead:hover .fdn-img-ratio-16-9 img,
.fdn-card-sub:hover .fdn-img-ratio-16-10 img {
  transform: scale(1.04);
}

/* ============================================================
  13. TOP STORIES SECTION
============================================================ */
.fdn-top-stories {
  padding: 36px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 1px solid var(--border);
}

.fdn-top-stories-list {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ============================================================
  14. MOST READ SECTION
============================================================ */
.fdn-most-read {
  padding: 34px 0;
  border-top: 1px solid var(--border);
}

.fdn-most-read-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px 24px;
}

.fdn-most-read-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  align-items: flex-start;
  padding: 10px;
  margin: -10px;
  border-radius: 6px;
  transition: background 0.18s ease;
}

.fdn-most-read-item:hover {
  background: var(--surface-50);
}

.fdn-most-read-item-cat {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
}

.fdn-most-read-item-title {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

/* ============================================================
  15. PAIRED COLUMNS SECTIONS
============================================================ */
.fdn-pair-section {
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  border-top: 1px solid var(--border);
}

.fdn-pair-col {
  flex: 1 1 320px;
  min-width: 0;
}

.fdn-pair-col-header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

/* ============================================================
  16. SUB-GRIDS
============================================================ */
.fdn-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 18px;
  margin-top: 22px;
}

.fdn-grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* ============================================================
  17. NEWS COLUMNS SECTION (Section 8)
============================================================ */
.fdn-news-columns {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.fdn-news-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}

.fdn-news-col-heading {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.fdn-news-col-item {
  display: flex;
  gap: 13px;
  text-decoration: none;
  align-items: flex-start;
  padding: 11px 8px;
  margin: 0 -8px;
  border-bottom: 1px solid #f0f2f5;
  border-radius: 5px;
  transition: background 0.18s ease;
}

.fdn-news-col-item:last-child {
  border-bottom: none;
}

.fdn-news-col-item:hover {
  background: var(--surface-50);
}

.fdn-news-col-item-img {
  position: relative;
  flex: none;
  width: 78px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: #dde3ea;
}

.fdn-news-col-item-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fdn-news-col-item-cat {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: 3px;
}

.fdn-news-col-item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

/* ============================================================
  18. FOOTER
============================================================ */
.site-footer {
  background: var(--white);
  color: var(--text);
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.site-footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: space-between;
}

.site-footer-col {
  flex: 1 1 150px;
  min-width: 0;
}

.site-footer-col-heading {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.site-footer-col-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-right: 1px solid var(--border);
  transition: color 0.15s ease;
}

.site-footer-col-link:first-child {
  padding-left: 0;
}

.site-footer-col-link:last-child {
  border-right: none;
  padding-right: 0;
}

.site-footer-col-link:hover {
  color: var(--accent-500);
}

.site-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.site-footer-legal-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer-legal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.15s ease;
}

.site-footer-legal-link:hover {
  color: var(--text);
}

.site-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 20px;
  text-align: center;
}

.site-disclaimer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

.site-disclaimer a:hover {
  color: var(--accent-500);
}

/* ============================================================
  19. WIDGETS
============================================================ */
.widget {
  background: var(--surface-100);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary-500);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-500);
}

.widget-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-list-item a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: color 0.15s ease;
}

/* Arrow icon using %23e8590c (URL-encoded accent color) */
.widget-list-item a::before {
  content: '';
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 1l5 4-5 4' stroke='%23e8590c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.widget-list-item a:hover {
  color: var(--accent-500);
}

.widget-newsletter {
  background: var(--primary-500);
  color: var(--white);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
}

.widget-newsletter-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
}

.widget-newsletter-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 14px;
  line-height: 1.5;
}

.widget-newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.widget-newsletter-input {
  flex: 1 1 180px;
  padding: 9px 12px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.widget-newsletter-btn {
  padding: 9px 18px;
  background: var(--accent-500);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.widget-newsletter-btn:hover {
  background: var(--accent-400);
}

/* ============================================================
  20. MOBILE RESPONSIVE
============================================================ */

/* Line-clamp: tablet and desktop only */
@media (min-width: 769px) {
  .fdn-card-lead-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .fdn-news-col-item-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    height: 54px;
    gap: 14px;
  }

  /* Center logo, push hamburger to the right */
  .site-header-inner {
    justify-content: center;
    position: relative;
  }

  .site-menu-toggle {
    display: flex;
    position: absolute;
    right: 20px;
  }

  /* Hide desktop nav and weather */
  .site-nav {
    display: none;
  }

  .site-weather {
    display: none;
  }

  .fdn-hero {
    padding: 24px 0 30px;
  }

  .fdn-hero-inner {
    gap: 24px;
  }

  .fdn-hero-lead {
    flex: 1 1 100%;
  }

  .fdn-hero-sidebar {
    flex: 1 1 100%;
  }

  .fdn-hero-sidebar-item-img {
    width: 100px;
  }

  .fdn-top-stories {
    gap: 22px;
  }

  .fdn-pair-section {
    gap: 32px;
  }

  .fdn-sub-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fdn-section {
    padding: 28px 0;
  }

  .fdn-section-title-lg {
    font-size: 22px;
  }

  .fdn-section-title-md {
    font-size: 20px;
  }

  .fdn-news-columns-grid {
    grid-template-columns: 1fr;
  }

  /* Footer mobile */
  .site-footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .site-footer-brand {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .site-footer-cats {
    justify-content: center;
    width: 100%;
    gap: 4px 0;
  }

  .site-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .site-footer-legal-links {
    justify-content: center;
    gap: 10px 16px;
  }
}

@media (max-width: 480px) {
  .fdn-hero-headline {
    font-size: 26px;
  }

  .fdn-most-read-grid {
    grid-template-columns: 1fr;
  }

  .fdn-card-lead-title {
    font-size: 18px;
  }

  .fdn-sub-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-brand {
    flex: 1 1 100%;
  }
}

/* content wrapper */
.main-wrapper {
  flex: 1 1 auto;
}

.container.main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   CMS WIDGETS
============================================================ */

/* IMAGE STYLE RESET */
.item-current-image img {
  box-shadow: none !important;
  border-radius: 4px !important;
  border-color: var(--border) !important;
}

/* SUBLIST */
.item-sublist a {
  width: 100%;
  height: 100%;
}

.item.item-bubbles {
  margin-bottom: 32px;
}

.item-bubbles .row {
  margin: 0;
}

.bubbles-chip {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  display: flex;
  font-weight: 500;
  height: 100%;
  padding: 16px 48px 16px 24px;
  position: relative;
  transition: padding 0.2s ease-in-out;
}

.bubbles-chip:hover {
  color: var(--primary-800);
  background: var(--surface-100);
  border-color: var(--primary-100);
  padding-left: 20px;
}

.bubbles-chip:active,
.bubbles-chip:focus {
  background: var(--surface-200);
  color: var(--primary-800);
}

.bubbles-link {
  display: block;
  width: 100%;
  max-width: 100%;
  text-decoration: none;
}

.bubbles-link .bubbles-outer {
  height: 100%;
  padding: 5px;
  max-width: 100%;
}

.sibling.link-button .bubbles-link .bubbles-outer,
.sibling.link-button .bubbles-chip {
  height: auto;
}

.col-gap:has(> .item-bubbles)::before {
  display: none !important;
}

.bubbles-chip::after {
  content: url("data:image/svg+xml,%3Csvg width='13' height='12' viewBox='0 0 13 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.87771 7.01782H1.02042C0.737361 7.01782 0.496528 6.91886 0.297917 6.72094C0.0993056 6.52317 0 6.2833 0 6.00136C0 5.71942 0.0993056 5.4781 0.297917 5.2774C0.496528 5.07657 0.737361 4.97615 1.02042 4.97615H8.87771L5.66583 1.76428C5.46111 1.55955 5.35681 1.31719 5.35292 1.03719C5.34889 0.757332 5.45076 0.510249 5.65854 0.295943C5.86632 0.0948319 6.11014 -0.00377823 6.39 0.000110661C6.66986 0.00399955 6.91236 0.108583 7.1175 0.313861L12.0713 5.27407C12.1699 5.37282 12.2464 5.4856 12.3008 5.6124C12.3551 5.73935 12.3823 5.86865 12.3823 6.00032C12.3823 6.13199 12.3551 6.26122 12.3008 6.38803C12.2464 6.51497 12.1727 6.62497 12.0798 6.71803L7.10958 11.688C6.89403 11.9037 6.65368 12.0081 6.38854 12.0012C6.12354 11.9942 5.88715 11.8862 5.67938 11.6772C5.4716 11.4629 5.36771 11.2166 5.36771 10.9382C5.36771 10.6599 5.4716 10.4192 5.67938 10.2162L8.87771 7.01782Z' fill='%23FF7043'/%3E%3C/svg%3E%0A");
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s ease-in-out;
}

.bubbles-chip:hover::after {
  right: 10px;
}

/* SUBLIST CARDS */
.item-sublist:has(.sublist.card) .row > div {
  padding: 5px !important;
}

.sublist.card {
  border: none;
  border-radius: 6px;
  box-shadow: var(--box-shadow-md);
  transition: 0.2s ease-in;
}

.sublist.card:hover {
  box-shadow: var(--box-shadow-lg);
  color: var(--primary-500);
  transform: translateY(-4px);
}

.sublist.card h5 {
  margin-bottom: 0;
  font-weight: 500;
}

.sublist.card .card-body {
  padding: 16px;
}

@media (max-width: 767.98px) {
  .row div:has(> .sublist.card) {
    padding: 0 !important;
  }

  .row:has(> div .sublist.card) {
    margin: 0;
    gap: 10px;
  }

  .sublist.card {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .sublist.card .card-img-top {
    border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    width: 120px;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
  }

  .sublist.card .card-body {
    flex: 1;
    padding: 1rem;
  }

  .sublist.card .card-body * {
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .sublist.card .card-body h5 {
    font-size: 16px;
  }
}
