/* Maldives Ledger — Fix Related News image captions */

.single-related-posts-wrap .post-thumbnail .thumb-caption {
    display: none !important;
}





/* MALDIVES LEDGER — ABOUT PAGE */

/* Page-specific brand variables */
body.page-id-1 {
    --ml-red: #c90d0d;
    --ml-ink: #14171c;
    --ml-muted: #626b76;
}

/* Page title and editorial header */
body.page-id-1 article#post-1 .entry-header {
    margin-bottom: 0;
    padding: 36px 24px 30px;
    background: #14171c;
    text-align: center;
}

body.page-id-1 article#post-1 .entry-title {
    color: #fff;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.045em;
    margin: 0;
}

body.page-id-1 article#post-1 .entry-header::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    background: var(--ml-red);
    margin: 22px auto 0;
}

/* Main content */
body.page-id-1 article#post-1 .entry-content {
    max-width: 1100px;
    margin: 0 auto;
    color: var(--ml-ink);
    font-size: 17px;
    line-height: 1.85;
}

body.page-id-1 article#post-1 .uagb-block-9e878ea4 {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent;
}

body.page-id-1 article#post-1
.uagb-block-9e878ea4 > .uagb-container-inner-blocks-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

/* Dark introductory statement */
body.page-id-1 article#post-1
.uagb-block-9e878ea4
> .uagb-container-inner-blocks-wrap > p:first-child {
    background: #14171c;
    color: #e9ebef;
    padding: 12px 32px 42px;
    margin: 0 -24px 36px;
    font-size: clamp(18px, 2.4vw, 23px);
    line-height: 1.65;
    text-align: center;
}

body.page-id-1 article#post-1
.uagb-block-9e878ea4
> .uagb-container-inner-blocks-wrap > p:first-child em {
    color: #ff7777;
    font-weight: 700;
    font-style: normal;
}

body.page-id-1 article#post-1
.uagb-block-9e878ea4
> .uagb-container-inner-blocks-wrap > p:first-child strong {
    color: #fff;
}

/* Editorial section headings */
body.page-id-1 article#post-1
.entry-content h3.wp-block-heading {
    font-size: clamp(25px, 3.5vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.035em;
    color: var(--ml-ink);
    margin: 46px 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e1e4e8;
}

body.page-id-1 article#post-1
.entry-content h3.wp-block-heading::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: .85em;
    background: var(--ml-red);
    margin-right: 14px;
    vertical-align: -.06em;
}

/* Body copy and lists */
body.page-id-1 article#post-1 .entry-content p {
    overflow-wrap: anywhere;
}

body.page-id-1 article#post-1 .entry-content ol,
body.page-id-1 article#post-1 .entry-content ul.wp-block-list {
    padding-left: 26px;
}

body.page-id-1 article#post-1 .entry-content li {
    margin-bottom: 16px;
    padding-left: 5px;
}

body.page-id-1 article#post-1 .entry-content li::marker {
    color: var(--ml-red);
    font-weight: 800;
}

/* Newsroom profile cards */
body.page-id-1 article#post-1 .wp-block-uagb-team {
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-top: 4px solid var(--ml-red);
    border-radius: 14px;
    padding: 30px 24px !important;
    margin: 20px 0 !important;
    box-shadow: 0 10px 30px rgba(15,23,42,.055);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.page-id-1 article#post-1
.wp-block-uagb-team .uagb-team__title {
    color: var(--ml-ink);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

body.page-id-1 article#post-1
.wp-block-uagb-team .uagb-team__prefix {
    color: var(--ml-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

body.page-id-1 article#post-1
.wp-block-uagb-team .uagb-team__desc {
    color: var(--ml-muted);
    font-size: 15px;
    line-height: 1.75;
}

body.page-id-1 article#post-1
.wp-block-uagb-team img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Hide placeholder social links */
body.page-id-1 article#post-1
.wp-block-uagb-team .uagb-team__social-list a[href="#"] {
    display: none !important;
}

/* Desktop interaction */
@media (hover: hover) {
    body.page-id-1 article#post-1
    .wp-block-uagb-team:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(15,23,42,.10);
    }
}

/* Mobile */
@media (max-width: 767px) {
    body.page-id-1 article#post-1 .entry-header {
        padding: 30px 16px 24px;
    }

    body.page-id-1 article#post-1
    .uagb-block-9e878ea4
    > .uagb-container-inner-blocks-wrap {
        padding: 0 16px 30px;
    }

    body.page-id-1 article#post-1
    .uagb-block-9e878ea4
    > .uagb-container-inner-blocks-wrap > p:first-child {
        margin: 0 -16px 28px;
        padding: 12px 22px 32px;
    }

    body.page-id-1 article#post-1 .entry-content {
        font-size: 16px;
        line-height: 1.75;
    }

    body.page-id-1 article#post-1
    .entry-content h3.wp-block-heading {
        margin-top: 34px;
    }

    body.page-id-1 article#post-1 .wp-block-uagb-team {
        padding: 24px 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-id-1 article#post-1 .wp-block-uagb-team {
        transition: none;
    }
}
  

/* ==========================================
   MALDIVES LEDGER — ABOUT PAGE
   NEWSMATIC DARK MODE COMPATIBILITY
   ========================================== */

/* Dark mode variables */
body.page-id-1.newsmatic_dark_mode {
    --ml-red: #f0444d;
    --ml-ink: #f3f4f6;
    --ml-muted: #adb5c2;
}

/* Main page content */
body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-content {
    color: #e5e7eb;
}

/* Section headings */
body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-content h3.wp-block-heading {
    color: #f3f4f6;
    border-bottom-color: #383c45;
}

/* Body text and lists */
body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-content p,
body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-content li {
    color: #d5d9e0;
}

/* Preserve contrast in the dark hero */
body.page-id-1.newsmatic_dark_mode
article#post-1
.uagb-block-9e878ea4
> .uagb-container-inner-blocks-wrap > p:first-child {
    background: #14171c;
    color: #e9ebef;
}

/* Newsroom profile cards */
body.page-id-1.newsmatic_dark_mode
article#post-1 .wp-block-uagb-team {
    background: #20242b;
    border-color: #363b44;
    border-top-color: #f0444d;
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

/* Profile names */
body.page-id-1.newsmatic_dark_mode
article#post-1
.wp-block-uagb-team .uagb-team__title {
    color: #ffffff;
}

/* Profile positions */
body.page-id-1.newsmatic_dark_mode
article#post-1
.wp-block-uagb-team .uagb-team__prefix {
    color: #ff6870;
}

/* Profile descriptions */
body.page-id-1.newsmatic_dark_mode
article#post-1
.wp-block-uagb-team .uagb-team__desc {
    color: #c0c6d0;
}

/* Profile hover effects */
@media (hover: hover) {
    body.page-id-1.newsmatic_dark_mode
    article#post-1 .wp-block-uagb-team:hover {
        box-shadow: 0 16px 40px rgba(0,0,0,.25);
    }
}

/* Dark mode content links */
body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-content a {
    color: #ff6870;
}

/* Keep profile images natural */
body.page-id-1.newsmatic_dark_mode
article#post-1 .wp-block-uagb-team img {
    filter: none;
}


/* ==========================================
   MALDIVES LEDGER — ABOUT HERO FINAL FIX
   Light + Dark Mode
   ========================================== */

/* Clean page title — no dark rectangle */
body.page-id-1 article#post-1 .entry-header {
    background: transparent !important;
    padding: 24px 0 20px !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
}

/* Professional heading */
body.page-id-1 article#post-1 .entry-title {
    color: #15171c !important;
    font-size: clamp(36px, 6vw, 54px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -1.5px !important;
    text-align: left !important;
    margin: 0 !important;
}

/* Red accent line */
body.page-id-1 article#post-1
.entry-header::after {
    content: "" !important;
    display: block !important;
    width: 52px !important;
    height: 4px !important;
    background: #c90d0d !important;
    margin: 18px 0 0 !important;
}

/* Intro card — single contained rectangle */
body.page-id-1 article#post-1
.uagb-block-9e878ea4
> .uagb-container-inner-blocks-wrap
> p:first-child {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #15171c !important;
    color: #d5d9e0 !important;
    padding: 36px 32px !important;
    margin: 0 0 40px !important;
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    text-align: left !important;
    font-size: 17px !important;
    line-height: 1.8 !important;
}

/* Highlight the tagline */
body.page-id-1 article#post-1
.uagb-block-9e878ea4
> .uagb-container-inner-blocks-wrap
> p:first-child em {
    color: #f0787e !important;
    font-style: normal !important;
    font-weight: 700 !important;
}

/* Maintain contrast in dark mode */
body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-title {
    color: #f5f5f5 !important;
}

body.page-id-1.newsmatic_dark_mode
article#post-1 .entry-header {
    background: transparent !important;
}

/* Mobile refinements */
@media (max-width: 767px) {
    body.page-id-1 article#post-1
    .entry-header {
        padding: 18px 0 22px !important;
    }

    body.page-id-1 article#post-1
    .entry-title {
        font-size: 38px !important;
        letter-spacing: -1px !important;
    }

    body.page-id-1 article#post-1
    .uagb-block-9e878ea4
    > .uagb-container-inner-blocks-wrap
    > p:first-child {
        padding: 28px 22px !important;
        margin-bottom: 34px !important;
        border-radius: 10px !important;
        font-size: 16px !important;
        line-height: 1.75 !important;
    }
}


/* =====================================
   MALDIVES LEDGER — ABOUT PAGE STAGE 2
   Editorial sections / Light + Dark
   ===================================== */

/* Light mode design variables */
body.page-id-1 {
    --ml-section-bg: #f7f8fa;
    --ml-section-border: #e3e6eb;
    --ml-section-text: #242830;
    --ml-section-muted: #58616d;
    --ml-section-accent: #c90d0d;
}

/* Dark mode variables */
body.page-id-1.newsmatic_dark_mode {
    --ml-section-bg: #22262d;
    --ml-section-border: #3b414a;
    --ml-section-text: #f1f3f6;
    --ml-section-muted: #c2c8d1;
    --ml-section-accent: #f26a72;
}

/* Refined section headings */
body.page-id-1 article#post-1
.entry-content h3.wp-block-heading {
    color: var(--ml-section-text) !important;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.035em;
    margin: 48px 0 24px;
    padding: 0 0 16px;
    border-bottom: 1px solid
        var(--ml-section-border);
}

/* Consistent heading accent */
body.page-id-1 article#post-1
.entry-content h3.wp-block-heading::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: .85em;
    margin-right: 14px;
    background: var(--ml-section-accent);
    border-radius: 3px;
    vertical-align: -.06em;
}

/* Mission list as editorial panels */
body.page-id-1 article#post-1
.entry-content ol.wp-block-list {
    list-style: none;
    counter-reset: mission;
    padding: 0 !important;
    margin: 24px 0 40px;
}

/* Individual mission items */
body.page-id-1 article#post-1
.entry-content ol.wp-block-list > li {
    counter-increment: mission;
    position: relative;
    background: var(--ml-section-bg);
    border: 1px solid var(--ml-section-border);
    border-left: 4px solid
        var(--ml-section-accent);
    border-radius: 10px;
    padding: 28px 26px !important;
    margin: 0 0 16px;
    color: var(--ml-section-muted);
    line-height: 1.8;
}

/* Mission numbering */
body.page-id-1 article#post-1
.entry-content ol.wp-block-list > li::before {
    content: "0" counter(mission);
    display: block;
    color: var(--ml-section-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

/* Highlight mission titles */
body.page-id-1 article#post-1
.entry-content ol.wp-block-list > li strong {
    color: var(--ml-section-text);
    font-weight: 800;
}

/* Responsive spacing */
@media (max-width: 767px) {
    body.page-id-1 article#post-1
    .entry-content h3.wp-block-heading {
        margin-top: 38px;
        margin-bottom: 20px;
    }

    body.page-id-1 article#post-1
    .entry-content ol.wp-block-list > li {
        padding: 22px 18px !important;
        border-radius: 8px;
    }
}


/* =========================================
   MALDIVES LEDGER — REFINED NEWSROOM FOOTER
   Newsmatic | Mobile + Desktop
   ========================================= */

body #colophon {
  --ml-bg: #15171c;
  --ml-text: #d1d5db;
  --ml-border: #30343c;
  --ml-red: #c90d0d;
  background: var(--ml-bg) !important;
  color: var(--ml-text) !important;
}

body #colophon .row-wrap {
  background: var(--ml-bg) !important;
  color: var(--ml-text) !important;
}

/* Main section */
body #colophon .row-one {
  padding: 30px 0 22px !important;
  border-top: 3px solid var(--ml-red);
}

/* Override the empty three-column layout */
body #colophon .row-one .bb-bldr-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
}

body #colophon .row-one .bb-bldr-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide empty widget column */
body #colophon .row-one .bb-bldr-column:has(
  .bb-bldr-widget.has-sidebar:empty
) {
  display: none !important;
}

/* Logo */
body #colophon .row-one img {
  max-width: 205px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto 22px !important;
}

/* Navigation grid */
body #colophon .row-one .menu {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px !important;
  row-gap: 11px !important;
  max-width: 520px;
  margin: 0 auto !important;
  padding: 0 18px !important;
  list-style: none !important;
}

body #colophon .row-one .menu li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: left !important;
}

body #colophon .row-one .menu a {
  display: block;
  color: #cbd0d8 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-decoration: none !important;
}

body #colophon .row-one .menu a:hover {
  color: #f07177 !important;
}

/* Social section */
body #colophon .row-two {
  padding: 17px 0 !important;
  border-top: 1px solid var(--ml-border);
}

body #colophon .social-icons {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px !important;
}

body #colophon .social-icons a.social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #252932 !important;
  color: #fff !important;
  font-size: 14px !important;
  transition: background .2s ease;
}

body #colophon .social-icons a.social-icon:hover {
  background: var(--ml-red) !important;
}

/* Copyright */
body #colophon .row-three {
  padding: 15px 0 18px !important;
  border-top: 1px solid var(--ml-border);
}

body #colophon .site-info {
  color: #aab1bc !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
  text-align: center;
  padding: 0 16px;
}

body #colophon .site-info a {
  color: inherit !important;
}

/* Desktop navigation */
@media (min-width: 769px) {
  body #colophon .row-one .menu {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 900px;
    column-gap: 30px !important;
  }

  body #colophon .row-one .menu a {
    font-size: 13px !important;
  }
}

/* Small screens */
@media (max-width: 480px) {
  body #colophon .row-one {
    padding-top: 25px !important;
  }

  body #colophon .row-one img {
    max-width: 185px !important;
  }

  body #colophon .row-one .menu {
    row-gap: 12px !important;
  }
}



/* MALDIVES LEDGER — COPYRIGHT FIX */

/* Visually hide original text and link */
body #colophon .row-three .site-info {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
}

body #colophon .row-three .site-info a {
    display: none !important;
}

/* Display replacement copyright */
body #colophon .row-three .site-info::after {
    content: "© 2026 Maldives Ledger. All rights reserved. ";
    display: block !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    color: #bfc5cf !important;
    text-align: center;
    letter-spacing: 0.2px;
    padding: 4px 12px;
}


/* ==========================================
   MALDIVES LEDGER — CRIME TRACKER
   Custom timeline design | Version 1.0
   ========================================== */

.ml-crime-tracker {
  --crime-red: #c51f32;
  --crime-text: #20232a;
  --crime-muted: #68717e;
  --crime-card: #ffffff;
  --crime-border: #e7e9ee;
  --crime-soft: #f6f7f9;
  color: var(--crime-text);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  font-family: inherit;
  box-sizing: border-box;
}

.ml-crime-tracker *,
.ml-crime-tracker *::before,
.ml-crime-tracker *::after {
  box-sizing: border-box;
}

/* INTRODUCTION */

.ml-crime-header {
  background: #151a23;
  color: #ffffff;
  padding: 48px 36px;
  border-radius: 12px;
  margin-bottom: 44px;
  border-top: 4px solid var(--crime-red);
}

.ml-crime-eyebrow {
  display: block;
  color: #ff7785;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ml-crime-header h1 {
  color: #ffffff !important;
  font-size: clamp(27px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.ml-crime-header p {
  color: #c6cbd4 !important;
  font-size: 15px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0;
}

/* SECTION HEADING */

.ml-crime-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--crime-border);
  margin-bottom: 38px;
}

.ml-crime-heading h2 {
  color: var(--crime-text) !important;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.ml-crime-heading span {
  font-size: 12px;
  color: var(--crime-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CENTRAL TIMELINE */

.ml-crime-timeline {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr)
                         minmax(0, 1fr);
  column-gap: 64px;
  row-gap: 36px;
  padding: 5px 0 25px;
}

.ml-crime-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    var(--crime-red),
    #e8a0a8
  );
  border-radius: 4px;
}

.ml-crime-item {
  position: relative;
  min-width: 0;
  margin: 0;
}

.ml-crime-item:nth-child(odd) {
  grid-column: 1;
}

.ml-crime-item:nth-child(even) {
  grid-column: 2;
}

/* TIMELINE DOTS */

.ml-crime-item::before {
  content: "";
  position: absolute;
  top: 30px;
  width: 15px;
  height: 15px;
  background: var(--crime-red);
  border: 4px solid var(--crime-card);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--crime-red);
  z-index: 2;
}

.ml-crime-item:nth-child(odd)::before {
  right: -40px;
}

.ml-crime-item:nth-child(even)::before {
  left: -39px;
}

/* ARTICLE CARDS */

.ml-crime-card {
  overflow: hidden;
  background: var(--crime-card);
  border: 1px solid var(--crime-border);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,.045);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.ml-crime-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

/* FEATURED IMAGES */

.ml-crime-image {
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--crime-soft);
}

.ml-crime-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ml-crime-card:hover .ml-crime-image img {
  transform: scale(1.025);
}

/* CARD CONTENT */

.ml-crime-content {
  padding: 23px 24px 26px;
}

.ml-crime-content time {
  display: inline-block;
  color: var(--crime-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ml-crime-content h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 13px;
  overflow-wrap: anywhere;
}

.ml-crime-content h3 a {
  color: var(--crime-text) !important;
  text-decoration: none !important;
}

.ml-crime-content h3 a:hover {
  color: var(--crime-red) !important;
}

.ml-crime-content p {
  color: var(--crime-muted);
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 18px;
}

.ml-crime-read {
  display: inline-flex;
  align-items: center;
  color: var(--crime-red) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none !important;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.ml-crime-read:hover {
  border-color: var(--crime-red);
}

/* PAGINATION */

.ml-crime-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 35px 0;
}

.ml-crime-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--crime-border);
  border-radius: 6px;
  background: var(--crime-card);
  color: var(--crime-text) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.ml-crime-pagination .current,
.ml-crime-pagination a:hover {
  background: var(--crime-red);
  color: #ffffff !important;
  border-color: var(--crime-red);
}

.ml-crime-empty {
  padding: 35px;
  text-align: center;
  color: var(--crime-muted);
  background: var(--crime-soft);
  border-radius: 10px;
}

/* MOBILE AND TABLET */

@media (max-width: 767px) {
  .ml-crime-header {
    padding: 30px 22px;
    margin-bottom: 32px;
    border-radius: 8px;
  }

  .ml-crime-header h1 {
    font-size: 28px;
    letter-spacing: -.5px;
  }

  .ml-crime-header p {
    font-size: 13px;
    line-height: 1.75;
  }

  .ml-crime-heading {
    margin-bottom: 26px;
  }

  .ml-crime-heading h2 {
    font-size: 20px;
  }

  .ml-crime-timeline {
    display: block;
    padding-left: 27px;
  }

  .ml-crime-timeline::before {
    left: 7px;
    transform: none;
  }

  .ml-crime-item {
    margin-bottom: 25px;
  }

  .ml-crime-item:nth-child(odd)::before,
  .ml-crime-item:nth-child(even)::before {
    left: -27px;
    right: auto;
    top: 25px;
  }

  .ml-crime-card {
    border-radius: 9px;
  }

  .ml-crime-content {
    padding: 19px;
  }

  .ml-crime-content h3 {
    font-size: 17px;
  }

  .ml-crime-content p {
    font-size: 13px;
  }
}

/* DARK MODE SUPPORT
   Includes common Newsmatic and theme
   dark-mode selectors. */

body.dark-mode .ml-crime-tracker,
body.dark-theme .ml-crime-tracker,
body.dark .ml-crime-tracker,
body[data-theme="dark"] .ml-crime-tracker,
html[data-theme="dark"] .ml-crime-tracker,
body.is-dark-mode .ml-crime-tracker {
  --crime-text: #edf0f5;
  --crime-muted: #b3bbc8;
  --crime-card: #20242c;
  --crime-border: #3b424d;
  --crime-soft: #292e38;
  --crime-red: #ff6676;
}

@media (prefers-reduced-motion: reduce) {
  .ml-crime-card,
  .ml-crime-image img {
    transition: none;
  }
}


/* ============================================
   MALDIVES LEDGER
   PREMIUM MOBILE NAVIGATION - VERSION 2
   ============================================ */

@media screen and (max-width: 1024px) {

  /* 1. MOBILE NAVIGATION CONTAINER */

  #site-navigation {
    box-sizing: border-box;
    max-width: 100%;
  }

  #site-navigation .menu-categories-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 18px 24px;
  }

  /* 2. FORCE VERTICAL MENU LAYOUT */

  #site-navigation #header-menu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
  }

  #site-navigation #header-menu > li {
    display: block;
    float: none;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(128,128,128,.18);
    background: transparent;
  }

  /* 3. CATEGORY TYPOGRAPHY */

  #site-navigation #header-menu > li > a:not(.toggle-sub-menu) {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 17px 46px 17px 12px;
    margin: 0;
    box-sizing: border-box;

    font-size: 16px;
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.25px;
    text-align: left;
    text-decoration: none;
    text-transform: none;

    color: inherit;
    background: transparent;
    border: 0;

    white-space: normal;
    overflow-wrap: break-word;

    transition:
      color .2s ease,
      background-color .2s ease;
  }

  /* 4. HOVER AND FOCUS */

  #site-navigation #header-menu > li > a:not(.toggle-sub-menu):hover,
  #site-navigation #header-menu > li > a:not(.toggle-sub-menu):focus-visible {
    color: #d71920;
    background: rgba(128,128,128,.045);
  }

  /* 5. ACTIVE CATEGORY */

  #site-navigation #header-menu > li.current-menu-item > a:not(.toggle-sub-menu),
  #site-navigation #header-menu > li.current-menu-ancestor > a:not(.toggle-sub-menu) {
    color: #d71920;
    font-weight: 700;
  }

  #site-navigation #header-menu > li.current-menu-item::before,
  #site-navigation #header-menu > li.current-menu-ancestor::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    bottom: 13px;
    width: 3px;
    background: #d71920;
    border-radius: 3px;
    pointer-events: none;
  }

  /* 6. DROPDOWN CONTROL FIX
     Keep Newsmatic's original submenu button.
     Do not create additional arrows or icons.
  */

  #site-navigation #header-menu > li > .toggle-sub-menu {
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;

    color: inherit;
    background: transparent;
    border: 0;
    border-radius: 6px;
    box-shadow: none;
    text-decoration: none;
    z-index: 2;
  }

  #site-navigation #header-menu > li > .toggle-sub-menu:hover {
    color: #d71920;
    background: rgba(128,128,128,.08);
  }

  /* Remove decorative pseudo-icons only */
  #site-navigation #header-menu > li > .toggle-sub-menu::before,
  #site-navigation #header-menu > li > .toggle-sub-menu::after {
    content: none;
  }

  /* 7. SUBMENU STYLING */

  #site-navigation #header-menu .sub-menu {
    position: static;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 0 10px 14px;

    box-sizing: border-box;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  #site-navigation #header-menu .sub-menu li {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  #site-navigation #header-menu .sub-menu li a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    box-sizing: border-box;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;

    color: inherit;
    opacity: .85;
    background: transparent;

    white-space: normal;
    overflow-wrap: break-word;
  }

  #site-navigation #header-menu .sub-menu li a:hover {
    color: #d71920;
    opacity: 1;
  }

}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {

  #site-navigation #header-menu a {
    transition: none !important;
  }

}


/* Maldives Ledger — Rounded Category Labels */

body .post-categories .cat-item {
    border-radius: 6px !important;
    overflow: hidden;
}

/* Keep category text properly aligned */
body .post-categories .cat-item a {
    border-radius: inherit;
}

/* MALDIVES LEDGER LIVE — v1 */

.ml-live {
  --live-red: #c6293b;
  --live-text: #20242b;
  --live-muted: #69717e;
  --live-card: #fff;
  --live-border: #e4e7eb;
  color: var(--live-text);
  max-width: 1050px;
  margin: auto;
}

.ml-live * {
  box-sizing: border-box;
}

.ml-live-hero {
  background: #171b24;
  border-top: 4px solid #c6293b;
  border-radius: 12px;
  padding: 38px 32px;
  color: #fff;
  margin-bottom: 36px;
}

.ml-live-kicker {
  color: #ff8996;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ml-live-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff475c;
  box-shadow: 0 0 0 4px #ff475c33;
  animation: ml-live-pulse 2s infinite;
}

@keyframes ml-live-pulse {
  50% { opacity: .4; }
}

.ml-live-hero h2 {
  color: #fff !important;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
  margin: 20px 0 14px;
}

.ml-live-hero p {
  color: #c8ced8 !important;
  line-height: 1.7;
  font-size: 15px;
}

.ml-live-timezone {
  margin-top: 22px;
  color: #b8c0ce;
  font-size: 12px;
}

.ml-live-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--live-border);
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.ml-live-section-head h3 {
  margin: 0;
  color: var(--live-text) !important;
  font-size: 24px;
}

.ml-live-section-head span {
  color: var(--live-muted);
  font-size: 11px;
  font-weight: 800;
}

.ml-live-day {
  font-size: 13px;
  font-weight: 800;
  color: var(--live-text);
  margin: 32px 0 24px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.ml-live-feed {
  position: relative;
}

.ml-live-entry {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 22px;
}

.ml-live-entry::before {
  content: "";
  position: absolute;
  left: 87px;
  top: 22px;
  bottom: -25px;
  width: 2px;
  background: #e5a0a8;
}

.ml-live-entry::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 81px;
  width: 14px;
  height: 14px;
  background: var(--live-red);
  border: 3px solid var(--live-card);
  border-radius: 50%;
  z-index: 1;
}

.ml-live-clock {
  text-align: right;
  padding-top: 16px;
  font-variant-numeric: tabular-nums;
}

.ml-live-clock time {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--live-red);
}

.ml-live-clock small {
  color: var(--live-muted);
  font-size: 10px;
  font-weight: 700;
}

.ml-live-card {
  background: var(--live-card);
  border: 1px solid var(--live-border);
  border-radius: 10px;
  padding: 24px;
  margin-left: 16px;
  box-shadow: 0 4px 18px #00000008;
  min-width: 0;
}

.ml-live-card-top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.ml-live-label {
  background: #f0f1f3;
  color: #4e5663;
  font-size: 10px;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 4px;
  letter-spacing: .7px;
}

.ml-live-label.breaking {
  background: #c6293b;
  color: #fff;
}

.ml-live-label.developing {
  background: #a76a13;
  color: #fff;
}

.ml-live-kind {
  font-size: 10px;
  color: var(--live-muted);
  font-weight: 800;
}

.ml-live-card h4 {
  font-size: 20px;
  line-height: 1.4;
  margin: 0 0 14px;
}

.ml-live-card h4 a {
  color: var(--live-text) !important;
  text-decoration: none !important;
}

.ml-live-card h4 a:hover {
  color: var(--live-red) !important;
}

.ml-live-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--live-muted);
  margin: 12px 0 16px;
}

.ml-live-image {
  display: block;
  margin: 15px 0;
}

.ml-live-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 7px;
}

.ml-live-more {
  font-size: 12px;
  font-weight: 800;
  color: var(--live-red) !important;
  text-decoration: none !important;
}

.ml-live-pages {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 35px 0;
}

.ml-live-pages a,
.ml-live-pages span {
  padding: 8px 13px;
  border: 1px solid var(--live-border);
  border-radius: 5px;
}

.ml-live-pages .current {
  background: var(--live-red);
  color: #fff;
}

.ml-live-footer,
.ml-live-empty {
  color: var(--live-muted);
  font-size: 12px;
  line-height: 1.7;
  padding: 20px 0;
  border-top: 1px solid var(--live-border);
}

@media (max-width: 600px) {
  .ml-live-hero {
    padding: 28px 22px;
  }

  .ml-live-section-head h3 {
    font-size: 20px;
  }

  .ml-live-entry {
    grid-template-columns: 52px minmax(0,1fr);
    gap: 9px;
  }

  .ml-live-entry::before {
    left: 58px;
  }

  .ml-live-entry::after {
    left: 52px;
  }

  .ml-live-clock time {
    font-size: 13px;
  }

  .ml-live-card {
    padding: 16px;
    margin-left: 13px;
  }

  .ml-live-card h4 {
    font-size: 17px;
  }

  .ml-live-card p {
    font-size: 13px;
  }
}

/* Dark mode: common theme selectors */

body.dark-mode .ml-live,
body.dark-theme .ml-live,
body.dark .ml-live,
body[data-theme="dark"] .ml-live,
html[data-theme="dark"] .ml-live,
body.is-dark-mode .ml-live {
  --live-text: #f0f2f6;
  --live-muted: #b5bfcd;
  --live-card: #222731;
  --live-border: #3a414d;
  --live-red: #ff7382;
}

@media (prefers-reduced-motion: reduce) {
  .ml-live-pulse {
    animation: none;
  }
}

/* =========================================
   MALDIVES LEDGER
   GROUPED BREAKING NEWS STORY THREADS
========================================= */

.ml-grouped-live {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    font-family: inherit;
    color: #20242d;
}

/* HERO */

.ml-grouped-hero {
    background: #171a23;
    color: #fff;
    padding: 36px;
    border-radius: 16px;
    border-top: 5px solid #bd3040;
    margin-bottom: 40px;
}

.ml-grouped-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f18a98;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.ml-grouped-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ed4b60;
    flex-shrink: 0;
}

.ml-grouped-hero h2 {
    color: #fff;
    font-size: clamp(25px, 4vw, 36px);
    line-height: 1.25;
    margin: 0 0 18px;
    font-weight: 800;
}

.ml-grouped-hero p {
    color: #c5cad4;
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 28px;
}

.ml-grouped-timezone {
    color: #b8bfcc;
    font-size: 13px;
}

.ml-grouped-updated {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    font-size: 11px;
    color: #c5cad4;
    font-weight: 700;
    letter-spacing: .5px;
}

.ml-grouped-updated strong {
    color: #fff;
}

/* SECTION HEADING */

.ml-grouped-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #dce0e5;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.ml-grouped-heading h3 {
    margin: 0;
    font-size: 25px;
    color: #20242d;
    font-weight: 800;
}

.ml-grouped-heading span {
    color: #697181;
    font-size: 11px;
    font-weight: 800;
}

/* DATE LABEL */

.ml-grouped-day {
    display: inline-block;
    background: #f0f2f5;
    border-left: 4px solid #bd3040;
    color: #242934;
    padding: 10px 15px;
    margin: 20px 0 25px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* STORY CARD */

.ml-grouped-story {
    background: #fff;
    border: 1px solid #dfe3e9;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 3px 12px rgba(0,0,0,.035);
}

.ml-grouped-story-head {
    background: #f8f9fb;
    padding: 25px;
    border-bottom: 1px solid #e4e7ec;
}

.ml-grouped-story-label {
    display: inline-block;
    background: #bd3040;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 7px 11px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ml-grouped-story-head h3 {
    color: #20242d;
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 10px;
    font-weight: 800;
}

.ml-grouped-count {
    color: #697181;
    font-size: 12px;
    font-weight: 700;
}

/* INDIVIDUAL UPDATES */

.ml-grouped-items {
    padding: 8px 25px;
}

.ml-grouped-item {
    display: grid;
    grid-template-columns: 65px minmax(0,1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #e7e9ee;
}

.ml-grouped-item:last-child {
    border-bottom: none;
}

.ml-grouped-time {
    text-align: right;
    padding-top: 5px;
}

.ml-grouped-time strong {
    display: block;
    color: #bd3040;
    font-size: 16px;
    font-weight: 800;
}

.ml-grouped-time small {
    display: block;
    color: #697181;
    font-size: 11px;
    margin-top: 3px;
}

.ml-grouped-entry {
    position: relative;
    min-width: 0;
    padding-left: 20px;
    border-left: 2px solid #e3a2ac;
}

.ml-grouped-entry:before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: -6px;
    top: 9px;
    background: #bd3040;
    border: 2px solid #fff;
    border-radius: 50%;
    box-sizing: content-box;
}

.ml-grouped-type {
    display: inline-block;
    background: #bd3040;
    color: #fff;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 12px;
}

.ml-grouped-entry h4 {
    margin: 0 0 12px;
    color: #20242d;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ml-grouped-entry h4 a {
    color: inherit;
    text-decoration: none;
}

.ml-grouped-entry h4 a:hover {
    color: #bd3040;
}

.ml-grouped-entry p {
    color: #697181;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
}

.ml-grouped-read {
    color: #bd3040;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
}

.ml-grouped-read:hover {
    text-decoration: underline;
}

/* EMPTY STATE AND FOOTER */

.ml-grouped-empty {
    color: #697181;
    padding: 30px 0;
}

.ml-grouped-footer {
    border-top: 1px solid #e1e4e9;
    margin-top: 30px;
    padding-top: 24px;
    color: #697181;
    font-size: 13px;
    line-height: 1.8;
}

/* PAGINATION */

.ml-grouped-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 25px 0;
}

.ml-grouped-pagination .page-numbers {
    display: inline-block;
    padding: 9px 13px;
    background: #f1f2f4;
    color: #20242d;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
}

.ml-grouped-pagination .current {
    background: #bd3040;
    color: #fff;
}

/* DARK MODE */

body.dark-mode .ml-grouped-live,
body.dark-theme .ml-grouped-live,
body.dark .ml-grouped-live,
body[data-theme="dark"] .ml-grouped-live,
html[data-theme="dark"] .ml-grouped-live,
body.is-dark-mode .ml-grouped-live {
    color: #f1f3f7;
}

body.dark-mode .ml-grouped-story,
body.dark-theme .ml-grouped-story,
body.dark .ml-grouped-story,
body[data-theme="dark"] .ml-grouped-story,
html[data-theme="dark"] .ml-grouped-story,
body.is-dark-mode .ml-grouped-story {
    background: #1e232d;
    border-color: #343b49;
}

body.dark-mode .ml-grouped-story-head,
body.dark-theme .ml-grouped-story-head,
body.dark .ml-grouped-story-head,
body[data-theme="dark"] .ml-grouped-story-head,
html[data-theme="dark"] .ml-grouped-story-head,
body.is-dark-mode .ml-grouped-story-head {
    background: #252b36;
    border-color: #343b49;
}

body.dark-mode .ml-grouped-story-head h3,
body.dark-mode .ml-grouped-entry h4,
body.dark-mode .ml-grouped-heading h3,
body.dark-theme .ml-grouped-story-head h3,
body.dark-theme .ml-grouped-entry h4,
body.dark-theme .ml-grouped-heading h3,
body.dark .ml-grouped-story-head h3,
body.dark .ml-grouped-entry h4,
body.dark .ml-grouped-heading h3,
body[data-theme="dark"] .ml-grouped-story-head h3,
body[data-theme="dark"] .ml-grouped-entry h4,
body[data-theme="dark"] .ml-grouped-heading h3,
html[data-theme="dark"] .ml-grouped-story-head h3,
html[data-theme="dark"] .ml-grouped-entry h4,
html[data-theme="dark"] .ml-grouped-heading h3,
body.is-dark-mode .ml-grouped-story-head h3,
body.is-dark-mode .ml-grouped-entry h4,
body.is-dark-mode .ml-grouped-heading h3 {
    color: #f1f3f7;
}

body.dark-mode .ml-grouped-day,
body.dark-theme .ml-grouped-day,
body.dark .ml-grouped-day,
body[data-theme="dark"] .ml-grouped-day,
html[data-theme="dark"] .ml-grouped-day,
body.is-dark-mode .ml-grouped-day {
    background: #2a303b;
    color: #f1f3f7;
}

/* MOBILE */

@media (max-width: 767px) {

    .ml-grouped-hero {
        padding: 27px 22px;
        border-radius: 13px;
    }

    .ml-grouped-hero h2 {
        font-size: 26px;
    }

    .ml-grouped-hero p {
        font-size: 15px;
    }

    .ml-grouped-heading h3 {
        font-size: 21px;
    }

    .ml-grouped-story-head {
        padding: 20px;
    }

    .ml-grouped-story-head h3 {
        font-size: 19px;
    }

    .ml-grouped-items {
        padding: 5px 15px;
    }

    .ml-grouped-item {
        grid-template-columns: 50px minmax(0,1fr);
        gap: 12px;
        padding: 22px 0;
    }

    .ml-grouped-entry {
        padding-left: 15px;
    }

    .ml-grouped-entry h4 {
        font-size: 16px;
    }

    .ml-grouped-entry p {
        font-size: 13px;
    }

    .ml-grouped-time strong {
        font-size: 14px;
    }

    .ml-grouped-day {
        font-size: 11px;
    }
}