/* MWB News v100: compact source actions, publication timing and print-ready articles. */
.live-story-body .source-line {
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}

.source-line-copy {
  display: flex;
  min-width: 0;
  flex: 1 1 180px;
  flex-wrap: wrap;
  gap: 4px 7px;
  align-items: center;
}

.live-story-actions,
.article-source-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  margin: 0;
}

.story-icon-button {
  display: inline-grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 1px solid #aeb8bd;
  border-radius: 4px;
  color: #273137;
  background: #fff;
  font: 900 16px/1 Arial, sans-serif;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.story-action-thumb {
  font-size: 15px;
}

.story-icon-button:hover,
.story-icon-button:focus-visible,
.story-icon-button.is-selected {
  color: #fff;
  border-color: #006f56;
  background: #006f56;
  transform: translateY(-1px);
}

.article-source-actions {
  margin: 3px 0 12px;
}

.article-time-records {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 2px solid #10171a;
}

.article-time-records > div {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #cbd5d2;
}

.article-time-records dt,
.article-time-records dd {
  margin: 0;
}

.article-time-records dt {
  color: #5a6a65;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.3;
  text-transform: uppercase;
}

.article-time-records time {
  display: block;
  width: max-content;
  max-width: 100%;
  color: #10171a;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}

.article-reader-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 19, 23, .16);
}

.article-sidebar .article-reader-tools {
  margin-top: 0;
  border-top-color: rgba(16, 19, 23, .16);
}

.article-sidebar .article-reader-tools .article-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tool-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid #9eaaad;
  border-radius: 4px;
  color: #1d282c;
  background: #fff;
  font: 800 12px/1.1 Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.article-tool-button:hover,
.article-tool-button:focus-visible,
.article-tool-button.is-selected {
  color: #fff;
  border-color: var(--desk-accent, #006f56);
  background: var(--desk-accent, #006f56);
  transform: translateY(-1px);
}

.article-tool-icon {
  font-size: 17px;
  line-height: 1;
}

body.has-share-panel {
  overflow: hidden;
}

.mwb-share-layer {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  padding: 18px;
  place-items: center;
  background: rgba(8, 14, 17, .72);
  backdrop-filter: blur(3px);
}

.mwb-share-layer[hidden] {
  display: none;
}

.mwb-share-panel {
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #b8c2c5;
  border-top: 5px solid var(--desk-accent, #006f56);
  border-radius: 8px;
  color: #11171a;
  background: #f7faf9;
  box-shadow: 0 22px 65px rgba(0, 0, 0, .34);
}

.mwb-share-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.mwb-share-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--desk-accent, #006f56);
  font: 900 11px/1.1 Arial, sans-serif;
  text-transform: uppercase;
}

.mwb-share-panel h2 {
  margin: 0;
  color: #10171a;
  font: 800 30px/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.mwb-share-close {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #9eaaad;
  border-radius: 4px;
  color: #172126;
  background: #fff;
  font: 500 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.mwb-share-close:hover,
.mwb-share-close:focus-visible {
  color: #fff;
  border-color: #10171a;
  background: #10171a;
}

.mwb-share-story-title {
  margin: 16px 0 18px;
  padding: 10px 12px;
  border-left: 4px solid var(--desk-accent, #006f56);
  color: #334046;
  background: #eaf0ef;
  font: 700 14px/1.4 Arial, sans-serif;
  overflow-wrap: anywhere;
}

.mwb-share-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mwb-share-option {
  --share-color: #3f4c52;
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 1px solid #b9c4c7;
  border-left: 4px solid var(--share-color);
  border-radius: 5px;
  color: #172126;
  background: #fff;
  font: 800 12px/1.15 Arial, sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.mwb-share-option:hover,
.mwb-share-option:focus-visible {
  color: #fff;
  border-color: var(--share-color);
  background: var(--share-color);
  transform: translateY(-1px);
}

.mwb-share-mark {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 4px;
  color: #fff;
  background: var(--share-color);
  font: 900 12px/1 Arial, sans-serif;
}

.mwb-share-option:hover .mwb-share-mark,
.mwb-share-option:focus-visible .mwb-share-mark {
  color: var(--share-color);
  background: #fff;
}

.mwb-share-option.is-facebook { --share-color: #1877f2; }
.mwb-share-option.is-x { --share-color: #111; }
.mwb-share-option.is-linkedin { --share-color: #0a66c2; }
.mwb-share-option.is-whatsapp { --share-color: #128c7e; }
.mwb-share-option.is-telegram { --share-color: #187eae; }
.mwb-share-option.is-email { --share-color: #8b3a2f; }
.mwb-share-option.is-instagram { --share-color: #a92b72; }
.mwb-share-option.is-more { --share-color: #46545b; }
.mwb-share-option.is-copy { --share-color: #006f56; }

.mwb-share-note {
  margin: 14px 0 0;
  color: #556268;
  font: 600 11px/1.45 Arial, sans-serif;
}

@media (max-width: 560px) {
  .source-line-copy {
    flex-basis: calc(100% - 78px);
  }

  .article-reader-tools {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-tool-button {
    justify-content: center;
  }

  .mwb-share-layer {
    padding: 10px;
    align-items: end;
  }

  .mwb-share-panel {
    max-height: calc(100dvh - 20px);
    padding: 17px;
  }

  .mwb-share-panel h2 {
    font-size: 25px;
  }

  .mwb-share-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mwb-share-option {
    min-height: 46px;
    padding: 6px 8px;
  }

  .mwb-share-option.is-copy {
    grid-column: 1 / -1;
  }
}

@page {
  size: A4 portrait;
  margin: 15mm 14mm 17mm;
}

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    width: auto;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #000 !important;
    background: #fff !important;
    font-size: 10.5pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .news-masthead,
  .article-topbar,
  .news-category-nav,
  .breaking-ticker,
  .article-reader-tools,
  .article-source-actions,
  .mwb-share-layer,
  .news-footer,
  .cookie-consent-panel,
  .cookie-consent-panel-v2,
  .reader-message-panel,
  .webtv-play,
  audio,
  iframe,
  button,
  form,
  [data-ad-slot],
  .commercial-slot,
  .house-ad-banner {
    display: none !important;
  }

  .article-shell,
  .news-article-shell,
  .article-layout {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .article-main,
  .news-article-shell > article {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .article-aside,
  .article-sidebar {
    position: static !important;
    display: block !important;
    width: auto !important;
    margin: 8mm 0 0 !important;
    padding: 0 !important;
  }

  .article-aside section,
  .article-sidebar section {
    box-shadow: none !important;
  }

  .article-main::before,
  .news-article-shell > article::before {
    display: block;
    margin: 0 0 7mm;
    padding: 0 0 3mm;
    border-bottom: 1.5pt solid #000;
    content: "MWB NEWS  |  Municipality World Broadcast";
    font: 700 15pt/1.1 Georgia, "Times New Roman", serif;
    letter-spacing: 0;
  }

  .article-main h1,
  .news-article-header h1 {
    margin: 2mm 0 3mm !important;
    color: #000 !important;
    font-size: 26pt !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
    break-after: avoid-page;
  }

  .article-deck,
  .story-deck {
    margin: 0 0 3mm !important;
    color: #222 !important;
    font-size: 13pt !important;
    line-height: 1.35 !important;
    break-after: avoid-page;
  }

  .story-kicker,
  .live-story-meta,
  .story-meta,
  .article-taxonomy {
    color: #222 !important;
    break-after: avoid-page;
  }

  .article-hero-media,
  .article-main-image {
    margin: 6mm 0 2mm !important;
    break-inside: avoid-page;
  }

  .article-hero-media img,
  .article-main-image img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    max-height: 82mm !important;
    margin: 0 auto;
    object-fit: contain !important;
  }

  .article-credit,
  .article-image-caption {
    padding: 2mm 0 !important;
    color: #333 !important;
    background: transparent !important;
    font-size: 8pt !important;
    line-height: 1.3 !important;
  }

  .article-copy,
  .article-copy p,
  .article-copy li {
    color: #000 !important;
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
  }

  .article-copy h2,
  .article-section-heading h2 {
    margin-top: 6mm !important;
    color: #000 !important;
    font-size: 15pt !important;
    line-height: 1.15 !important;
    break-after: avoid-page;
  }

  .article-copy p,
  .article-copy li,
  blockquote {
    orphans: 3;
    widows: 3;
  }

  .article-live-chain,
  .reader-notice,
  .source-record {
    color: #000 !important;
    border-color: #555 !important;
    background: #fff !important;
    break-inside: avoid-page;
  }

  .article-media-grid {
    grid-template-columns: 1fr 1fr !important;
    break-inside: avoid-page;
  }

  a,
  a:visited {
    color: #000 !important;
    text-decoration: underline;
  }

  .source-record {
    display: block !important;
    margin-top: 8mm;
    padding: 4mm;
    border: 1px solid #777;
  }

  .source-record h2 {
    margin-top: 0;
  }

  .source-record a[href^="http"]::after,
  .article-source-list a[href^="http"]::after {
    display: block;
    margin-top: 1mm;
    content: attr(href);
    font: 7.5pt/1.3 Arial, sans-serif;
    overflow-wrap: anywhere;
    text-decoration: none;
  }
}
