/* WOC RC44 — cohesive editorial UI, loaded last for native WordPress pages and homepage.
   Native articles, WP URLs, Rank Math, APIs and print templates remain authoritative. */
@media (min-width:1051px) {
  .site-header .masthead-band, .site-header .masthead-inner, .site-header .utility-row {
    box-sizing:border-box!important;
  }
  .site-header .masthead-inner {
    width:calc(100% - 48px)!important;max-width:1172px!important;
    margin-inline:auto!important;padding:14px 0 16px!important;
    min-height:126px!important;display:grid!important;
    grid-template-columns:225px minmax(0,1fr)!important;
    align-items:center!important;column-gap:31px!important;
  }
  .site-header .masthead-logo {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:225px!important;max-width:225px!important;min-width:0!important;
    margin:0!important;padding:0!important;align-self:center!important;
  }
  .site-header .masthead-logo img {
    display:block!important;max-width:225px!important;width:100%!important;
    max-height:109px!important;height:auto!important;object-fit:contain!important;
  }
  .site-header .main-nav.masthead-navigation {
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    justify-content:center!important;width:100%!important;max-width:100%!important;
    min-width:0!important;margin:0!important;gap:3px!important;
  }
  .site-header .masthead-primary {
    display:flex!important;flex-flow:row nowrap!important;justify-content:space-between!important;
    align-items:center!important;column-gap:clamp(6px,.9vw,16px)!important;
    width:100%!important;min-width:0!important;min-height:45px!important;
    padding:0!important;margin:0!important;
  }
  .site-header .masthead-primary .woc9-entry>a {
    white-space:nowrap!important;font-size:clamp(13px,1.12vw,16px)!important;
  }
  .site-header .woc8-strip {
    position:relative!important;display:block!important;width:100%!important;
    max-width:none!important;margin:0!important;padding:0!important;
    border-top:1px solid #e2e0de!important;border-bottom:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  .site-header .woc8-strip-inner {
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    gap:18px!important;width:100%!important;max-width:none!important;
    min-width:0!important;margin:0!important;padding:3px 0 0!important;
  }
  .site-header .masthead-secondary {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex-wrap:nowrap!important;min-width:0!important;gap:clamp(8px,1vw,16px)!important;
    width:auto!important;max-width:calc(100% - 158px)!important;
  }
  .site-header .woc8-strip .woc9-entry>a {
    font-size:clamp(10px,.82vw,12px)!important;white-space:nowrap!important;
  }
  .site-header .woc8-strip .woc9-entry>.woc9-toggle {
    width:13px!important;min-width:13px!important;flex-basis:13px!important;
  }
  .site-header .woc8-app {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;margin-left:auto!important;min-width:0!important;
    padding:7px 11px!important;border-radius:4px!important;
    border:1px solid #b82743!important;background:#fff!important;color:#a51e38!important;
    font:750 11px/1.15 system-ui,-apple-system,sans-serif!important;
    white-space:nowrap!important;text-decoration:none!important;
  }
  .site-header .woc8-app:hover{background:#a51e38!important;color:#fff!important;}
  .site-header .woc9-host {z-index:1300!important;}
}
@media (min-width:1051px) and (max-width:1190px) {
  .site-header .masthead-inner{grid-template-columns:200px minmax(0,1fr)!important;column-gap:21px!important;}
  .site-header .masthead-logo,.site-header .masthead-logo img{width:200px!important;max-width:200px!important;}
  .site-header .masthead-secondary{gap:8px!important;}
  .site-header .woc8-strip .woc9-entry>a{font-size:10px!important;}
  .site-header .woc8-app{padding:7px 8px!important;font-size:10px!important;}
}
/* Full SEO title remains in <title> and Rank Math metadata.
   Visible category headings use WordPress term names, not the SEO-title string. */
.woc3-native-content .woc3-archive .page-header h1 {
  max-width:22ch!important;font-size:clamp(39px,4.2vw,64px)!important;
  line-height:1.07!important;letter-spacing:-.028em!important;overflow-wrap:normal!important;
}
.woc3-native-content .woc3-archive .page-header>p {
  max-width:72ch!important;font-size:clamp(14px,1.25vw,18px)!important;
  line-height:1.5!important;margin:13px 0 19px!important;
}
/* 16:9 editorial cards with the COMPLETE image; no cut-off faces / architecture.
   Neutral matte when the original media does not share 16:9 proportions. */
.woc3-native-content .woc3-archive .card-media,
.woc3-native-content .woc3-section .card-media {
  position:relative!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;aspect-ratio:16/9!important;
  overflow:hidden!important;background:#eef0f1!important;
}
.woc3-native-content .woc3-archive .card-media img,
.woc3-native-content .woc3-section .card-media img {
  display:block!important;position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;min-height:0!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center center!important;
  aspect-ratio:16/9!important;transform:none!important;
}
/* Desktop native WordPress article — byline on the left, all five real controls on the right. */
@media (min-width:1101px) {
  .article-page.woc3-article-polished .article-head .article-meta {
    box-sizing:border-box!important;display:grid!important;
    grid-template-columns:minmax(265px,1fr) max-content!important;
    align-items:center!important;justify-content:space-between!important;
    column-gap:20px!important;row-gap:0!important;width:100%!important;
    min-width:0!important;min-height:88px!important;margin:20px 0 23px!important;
    padding:14px 0!important;border-top:1px solid #c8cbd0!important;
    border-bottom:1px solid #e0e1e4!important;
  }
  .article-page.woc3-article-polished .article-head .byline {
    display:flex!important;flex-flow:row nowrap!important;
    align-items:center!important;gap:11px!important;
    min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;
    grid-column:1!important;justify-self:start!important;
  }
  .article-page.woc3-article-polished .article-head .byline img {
    width:43px!important;min-width:43px!important;height:43px!important;
    border-radius:50%!important;object-fit:cover!important;
  }
  .article-page.woc3-article-polished .article-head .byline>span {
    display:flex!important;flex-direction:column!important;
    min-width:0!important;align-items:flex-start!important;
    text-align:left!important;gap:2px!important;
  }
  .article-page.woc3-article-polished .article-head .byline b{
    display:block!important;font:750 14px/1.3 system-ui,sans-serif!important;
  }
  .article-page.woc3-article-polished .article-head .byline small{
    display:block!important;white-space:nowrap!important;
    margin:0!important;font:400 11px/1.3 system-ui,sans-serif!important;
    color:#62676d!important;
  }
  .article-page.woc3-article-polished .article-head .article-actions{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    justify-content:flex-end!important;justify-self:end!important;grid-column:2!important;
    column-gap:7px!important;width:auto!important;max-width:none!important;
    min-width:0!important;height:43px!important;min-height:43px!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  }
  .article-page.woc3-article-polished .article-actions .reading-time {
    display:inline-flex!important;align-items:center!important;white-space:nowrap!important;
    min-width:max-content!important;margin:0 7px 0 0!important;
    font:600 12px/1.25 system-ui,sans-serif!important;color:#666e77!important;
  }
  .article-page.woc3-article-polished .article-actions .share-controls {
    display:flex!important;position:relative!important;flex:0 0 auto!important;
    width:auto!important;min-width:0!important;height:39px!important;margin:0!important;
  }
  .article-page.woc3-article-polished .article-actions .share-controls>button {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:5px!important;min-width:108px!important;width:auto!important;height:39px!important;
    padding:5px 11px!important;font:650 12px/1.15 system-ui,sans-serif!important;
  }
  .article-page.woc3-article-polished .article-actions .share-controls .tool-label{
    display:inline!important;font-size:12px!important;
  }
  .article-page.woc3-article-polished .article-actions [data-article-print] {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-width:40px!important;width:40px!important;height:39px!important;
    font-size:0!important;padding:0!important;margin:0!important;
  }
  .article-page.woc3-article-polished .article-actions .font-actions {
    display:flex!important;flex:0 0 78px!important;width:78px!important;
    height:39px!important;margin:0!important;padding:0!important;
  }
  .article-page.woc3-article-polished .article-actions .font-actions button {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:39px!important;min-width:39px!important;height:39px!important;
    padding:0!important;margin:0!important;
  }
  .article-page.woc3-article-polished .article-actions .listen {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;min-width:112px!important;height:39px!important;
    margin:0!important;padding:0 11px!important;
    font-size:12px!important;white-space:nowrap!important;
  }
}
@media (min-width:768px) and (max-width:1100px) {
  .article-page.woc3-article-polished .article-head .article-meta {
    display:grid!important;grid-template-columns:1fr!important;row-gap:12px!important;
    border-top:1px solid #c8cbd0!important;padding-top:14px!important;
  }
  .article-page.woc3-article-polished .article-head .article-actions {
    justify-self:start!important;width:auto!important;max-width:100%!important;
  }
}
/* Hero: framed full-width press photograph, no clipping, one genuine media caption. */
@media (min-width:768px){
  .article-page.woc3-article-polished figure.main-media {
    box-sizing:border-box!important;display:block!important;
    width:100%!important;max-width:100%!important;min-height:0!important;
    height:auto!important;max-height:none!important;
    margin:10px auto 23px!important;padding:0!important;
    overflow:visible!important;border-bottom:1px solid #dadde1!important;
    background:transparent!important;
  }
  .article-page.woc3-article-polished figure.main-media>a {
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;
    min-height:0!important;overflow:hidden!important;background:#e9ebed!important;
    border-radius:3px!important;
  }
  .article-page.woc3-article-polished figure.main-media>a img.main-img {
    display:block!important;position:static!important;
    width:100%!important;max-width:100%!important;
    min-height:0!important;height:auto!important;max-height:660px!important;
    aspect-ratio:auto!important;object-fit:contain!important;
    object-position:center center!important;transform:none!important;
    margin:0 auto!important;
  }
  .article-page.woc3-article-polished figure.main-media figcaption {
    display:block!important;position:relative!important;
    width:100%!important;max-width:100%!important;
    margin:0!important;padding:9px 0 12px!important;
    font:450 11.5px/1.48 system-ui,sans-serif!important;
    color:#59616a!important;
  }
}
/* Media always remains natural in native articles on phones. */
@media (max-width:767px){
  .article-page.woc3-article-polished figure.main-media>a img.main-img{
    width:100%!important;max-width:100%!important;height:auto!important;
    max-height:none!important;aspect-ratio:auto!important;
    object-fit:contain!important;
  }
  .woc3-native-content .woc3-archive .page-header h1 {font-size:clamp(34px,10vw,47px)!important;}
}

/* RC45 home featured 16:9 — display complete editorial photo, no arbitrary portrait crop. */
@media (min-width:768px){
 main#main-content .edition-hero .lead-main .lead-image{
   display:flex!important;align-items:center!important;justify-content:center!important;
   aspect-ratio:16/9!important;width:100%!important;min-height:0!important;
   height:auto!important;overflow:hidden!important;background:#eceeef!important;
 }
 main#main-content .edition-hero .lead-main .lead-image .hero-img{
   display:block!important;width:100%!important;height:100%!important;
   min-height:0!important;max-width:100%!important;max-height:100%!important;
   aspect-ratio:16/9!important;object-fit:contain!important;
   object-position:center center!important;transform:none!important;
 }
}
