
/* 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;
}



