/* BYNIGHT_MARRAKECH_NEWS_FACTS_COMPACT_V1_20261102
   Marrakech home / Actualités only. No changes to article carousel or other cities. */
body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts) {
  display:grid!important;
  grid-template-columns:minmax(180px,1fr) minmax(350px,min(54%,620px))!important;
  grid-template-areas:"title facts" "description facts";
  align-items:center!important;
  justify-content:space-between;
  gap:5px clamp(12px,2vw,24px)!important;
  min-width:0;
}
body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts)>div:first-child{grid-area:title;align-self:end}
body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts)>p{grid-area:description;align-self:start;max-width:440px!important;text-align:left!important;margin:0!important}
body[data-city-theme] [data-home-section="news"] .bn-city-facts {
  grid-area:facts;box-sizing:border-box;display:block;position:relative;z-index:1;min-width:0;width:100%;max-width:620px;
  padding:9px 11px 7px;border:1px solid rgba(255,216,90,.20);border-radius:13px;
  background:linear-gradient(145deg,rgba(30,28,31,.98),rgba(15,14,18,.97));
  box-shadow:0 8px 26px rgba(0,0,0,.19);color:#f3f0ed;font-family:inherit;
}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:0 0 7px;padding:0 0 6px;border-bottom:1px solid rgba(255,255,255,.11)}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__heading strong{font-size:12.5px;font-weight:700;letter-spacing:-.01em;white-space:nowrap}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__heading>span{font-size:9px;color:rgba(255,255,255,.48);white-space:nowrap}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:9px;row-gap:8px}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__item{display:flex;gap:6px;align-items:flex-start;min-width:0}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__item>svg{flex:0 0 14px;width:14px;height:14px;margin-top:3px;color:#edcc6d}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__copy{display:flex;flex-direction:column;min-width:0;gap:1px;overflow-wrap:anywhere}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__label{font-size:10px;font-weight:400;line-height:1.15;color:rgba(255,255,255,.61)}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__value{color:#f6f1eb;font-size:11px;font-weight:600;line-height:1.2;text-decoration:none}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__value--link:hover,
body[data-city-theme] [data-home-section="news"] .bn-city-facts__value--link:focus-visible{color:#ffe38b;text-decoration:underline;text-underline-offset:2px}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__value--link span{font-size:10px;white-space:nowrap;color:#edcc6d}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more{margin:6px 0 0}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more summary{cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;list-style:none;border-top:1px solid rgba(255,255,255,.10);padding:5px 0 0;color:#f5d881;font-size:10.5px;font-weight:600}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more summary::-webkit-details-marker{display:none}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more summary:focus-visible{outline:2px solid #ffd85a;outline-offset:3px;border-radius:3px}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__collapse{display:none}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more[open] .bn-city-facts__expand{display:none}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more[open] .bn-city-facts__collapse{display:inline}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__more[open] summary>span:last-child{transform:rotate(180deg)}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__grid--extra{padding-top:9px}
body[data-city-theme] [data-home-section="news"] .bn-city-facts__note{display:block!important;width:100%;max-width:100%!important;margin:4px 0 0!important;color:rgba(255,255,255,.43)!important;text-align:center!important;font-size:9px!important;font-weight:400;line-height:1.2!important}
@media(max-width:980px){
 body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts){grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"title" "facts";gap:7px!important}
 body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts)>p{display:none!important}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts{max-width:100%}
}
@media(max-width:700px){
 body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts){padding-bottom:6px!important}
 body[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts) h2{font-size:clamp(1.75rem,7vw,2.1rem)!important}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts{padding:8px 10px 6px;border-radius:12px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__heading{margin-bottom:6px;padding-bottom:5px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 7px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__label{font-size:9.5px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__value{font-size:10.5px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__item>svg{width:13px;height:13px;flex-basis:13px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__note{font-size:8px!important}
}
@media(max-width:350px){
 body[data-city-theme] [data-home-section="news"] .bn-city-facts{padding-inline:7px}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__heading>span{display:none}
 body[data-city-theme] [data-home-section="news"] .bn-city-facts__grid{column-gap:5px}
}

/* BYNIGHT_MARRAKECH_NEWS_FACTS_LAYOUT_V2_20261102
   ONLY Marrakech home Actualités. Desktop aligns the box from the right
   edge of the central logo to the viewport's safe right gutter.
   Mobile/tablet: articles remain first, compact facts after the carousel.
   Original articles, titles, filters, navigation, PHP and JS are unchanged. */

/* Desktop PC: the news header can extend beyond the max-1540px article container.
   The article carousel retains the original full design and width. */
@media (min-width:1024px) {
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] {
    --bn-facts-screen-gutter:clamp(12px,2.5vw,42px);
    --bn-facts-after-logo:clamp(12px,1.1vw,18px);
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header:has(.bn-city-facts) {
      width:calc(100vw - 2 * var(--bn-facts-screen-gutter))!important;
      max-width:none!important;
      margin-left:calc(50% - 50vw + var(--bn-facts-screen-gutter))!important;
      margin-right:0!important;
      grid-template-columns:minmax(0,1fr) var(--fixed-logo-size) minmax(0,1fr)!important;
      grid-template-areas:"title . facts" "description . facts"!important;
      column-gap:0!important;
      row-gap:5px!important;
      align-items:center!important;
    }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header .bn-city-facts {
      width:calc(100% - var(--bn-facts-after-logo))!important;
      max-width:none!important;
      justify-self:end!important;
      margin:0 0 0 var(--bn-facts-after-logo)!important;
    }
}

/* Phones and tablets: true flow order = title, articles, box.
   display:contents exposes the existing facts as a flex child, without changing PHP. */
@media (max-width:1023px) {
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    >.container:has(.bn-city-facts) {
      display:flex!important;
      flex-direction:column!important;
      align-items:stretch!important;
      justify-content:flex-start!important;
      gap:clamp(7px,1.2vh,11px)!important;
      height:100%!important;
      min-height:0!important;
      overflow-x:hidden;
      overflow-y:auto;
      overscroll-behavior-y:contain;
      scrollbar-width:none;
      padding-bottom:2px;
    }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    >.container:has(.bn-city-facts)::-webkit-scrollbar{display:none}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header:has(.bn-city-facts) {
      display:contents!important;
    }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header:has(.bn-city-facts)>div:first-child {
      order:0!important;
      flex:0 0 auto!important;
      width:100%!important;
      margin:0!important;
      padding:0 0 6px!important;
      border-bottom:1px solid rgba(255,255,255,.09);
    }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header:has(.bn-city-facts)>p {display:none!important}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-horizontal-carousel {
      order:1!important;
      flex:1 1 0!important;
      min-height:clamp(96px,19vh,180px)!important;
      height:auto!important;
      width:100%!important;
      margin:0!important;
    }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header .bn-city-facts {
      order:2!important;
      flex:0 0 auto!important;
      grid-area:auto!important;
      align-self:stretch!important;
      width:100%!important;
      max-width:none!important;
      margin:0!important;
    }
}
@media (max-width:390px) {
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    >.container:has(.bn-city-facts) {gap:6px!important}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-horizontal-carousel {min-height:94px!important}
}

/* BYNIGHT_MARRAKECH_ACTUALITES_ADVICE_V3_20261102
   Marrakech only. Six prototype topic buttons + all ten traveller facts always visible.
   PC: box replaces the upper-right article cell; first five visible article cards
   occupy the remaining cells. Mobile: filters > articles > full facts box.
   Other cities keep existing Actualités layout. */
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__more {display:none!important}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__grid {
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:5px 11px!important;
  padding:0!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts {
  padding:8px 11px 7px!important;
  border-radius:12px!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__heading {
  margin-bottom:6px!important;
  padding-bottom:5px!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__item{gap:5px!important}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__item>svg{
  flex:0 0 13px!important;width:13px!important;height:13px!important;margin-top:2px!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__label{
  font-size:9.5px!important;line-height:1.12!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__value{
  font-size:10.5px!important;line-height:1.17!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__note{
  margin-top:6px!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters {
  box-sizing:border-box;
  display:flex;flex-wrap:wrap;align-content:start;align-items:center;gap:6px;
  width:100%;min-width:0;margin:0;padding:0;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters button {
  appearance:none;display:inline-flex;align-items:center;justify-content:center;
  min-width:0;min-height:31px;padding:5px 11px;margin:0;
  border:1px solid rgba(255,255,255,.17);border-radius:8px;
  background:rgba(22,20,27,.94);color:#e9e5e6;
  font-family:inherit;font-size:11px;font-weight:600;line-height:1.15;letter-spacing:.01em;white-space:nowrap;
  cursor:pointer;transition:border-color .15s ease,background-color .15s ease;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters button:hover{
  border-color:rgba(255,216,90,.58);background:#211d21;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters button.active{
  border-color:rgba(255,216,90,.85);background:rgba(255,216,90,.13);color:#ffe390;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters button:focus-visible{
  outline:2px solid #ffd85a;outline-offset:3px;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card[hidden],
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-empty[hidden]{
  display:none!important;
}
body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-empty{
  grid-column:1;grid-row:2;align-self:center;
  color:rgba(255,255,255,.75);font-size:13px;
}

/* Desktop: original four-button bar ends at --home-content-top.
   The section's 70px old protected inset is unnecessary left/right of the logo. */
@media(min-width:1024px){
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]{
    padding-top:clamp(8px,1.2vh,12px)!important;
    padding-bottom:14px!important;
    --bn-advice-gutter:clamp(12px,2.5vw,42px);
    --bn-advice-logo-space:var(--fixed-logo-size);
    --bn-advice-logo-gap:clamp(12px,1.1vw,18px);
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]>.container{
    position:relative!important;display:block!important;
    width:100%!important;height:100%!important;
    min-width:0!important;max-width:none!important;
    overflow:visible!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts){
    position:absolute!important;inset:0 0 auto!important;z-index:8!important;
    display:grid!important;
    width:100%!important;height:auto!important;max-width:none!important;
    margin:0!important;padding:0!important;border:0!important;
    grid-template-columns:calc((100% - var(--bn-advice-logo-space))/2) var(--bn-advice-logo-space) calc((100% - var(--bn-advice-logo-space))/2)!important;
    grid-template-rows:auto!important;
    grid-template-areas:"filters . facts"!important;
    column-gap:0!important;row-gap:0!important;align-items:start!important;
    background:transparent!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header>.bn-news-advice-filters{
    grid-column:1!important;grid-row:1!important;grid-area:filters!important;
    width:100%!important;max-width:100%!important;
    padding-right:12px!important;
    align-self:start!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header>.bn-city-facts{
    grid-column:3!important;grid-row:1!important;grid-area:facts!important;
    width:calc(100% - var(--bn-advice-logo-gap))!important;
    max-width:none!important;justify-self:end!important;
    margin:0!important;align-self:start!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-horizontal-carousel{
    position:relative!important;inset:auto!important;
    width:100%!important;height:100%!important;max-height:none!important;
    margin:0!important;overflow:hidden!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-grid{
    display:grid!important;flex-flow:unset!important;
    grid-template-columns:calc((100% - var(--bn-advice-logo-space))/2) var(--bn-advice-logo-space) calc((100% - var(--bn-advice-logo-space))/2)!important;
    grid-template-rows:clamp(205px,31vh,252px) repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - var(--bn-advice-logo-space))/2)!important;
    gap:clamp(8px,1.2vh,12px) 0!important;
    align-content:stretch!important;align-items:stretch!important;
    width:100%!important;height:100%!important;
    padding:0!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card{
    flex:none!important;min-height:0!important;
    width:calc(100% - 10px)!important;max-width:none!important;
    height:clamp(110px,18vh,165px)!important;
    margin:0 5px 0 0!important;
    align-self:center!important;justify-self:start!important;
    scroll-snap-align:start;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card[style*="grid-area: 1 / 1"]{
    align-self:center!important;
    margin-bottom:0!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-horizontal-scroll-button{
    top:60%!important;
  }
}
@media(min-width:1024px) and (max-height:690px){
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-grid{
    grid-template-rows:clamp(175px,32vh,220px) repeat(2,minmax(0,1fr))!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card{
    height:clamp(85px,16vh,132px)!important;
  }
}

/* Mobile/tablet: V2 already puts header children into the section's flex flow.
   The first child is now the filter rather than the deleted editorial title. */
@media(max-width:1023px){
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header>.bn-news-advice-filters{
      display:flex!important;order:0!important;flex:0 0 auto!important;
      padding:0 0 8px!important;gap:5px!important;
      width:100%!important;min-height:0!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .bn-news-advice-filters button{min-height:29px;padding:5px 8px;font-size:10px}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-header>.bn-city-facts{
      order:2!important;flex:0 0 auto!important;align-self:stretch!important;
      margin:0!important;max-width:none!important;width:100%!important;
  }
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-horizontal-carousel{order:1!important}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .bn-city-facts__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .bn-city-facts__heading{margin-bottom:5px!important}
}
@media(max-width:390px){
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters button{font-size:9.5px;padding:4px 7px}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts{padding:7px 9px!important}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__label{font-size:9px!important}
  body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts__value{font-size:10px!important}
}

/* At 1024–1199px the six prototype buttons can wrap onto two rows.
   Keep the leading article below those controls rather than covering them. */
@media(min-width:1024px) and (max-width:1199px){
  body.marrakech-phase1[data-city-theme] [data-home-section="news"]
    .home-news-card[style*="grid-area: 1 / 1"] {
      transform:translateY(26px)!important;
  }
}

/* By Night traveller essentials — refined surfaces and explicit editorial cues. */
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts.bn-city-facts--premium {
  position:relative!important;
  padding:12px 14px!important;border-radius:15px!important;
  border:1px solid rgba(222,194,130,.24)!important;
  background:radial-gradient(ellipse at 100% 0,rgba(204,171,104,.085),transparent 58%),linear-gradient(135deg,#1c1c22,#121218 70%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.055),0 12px 30px rgba(0,0,0,.23)!important;
  color:#eeeef1;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium::before {
  content:"";position:absolute;top:0;left:18px;right:18px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(238,210,153,.55),transparent);pointer-events:none;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__heading {
  display:flex!important;align-items:baseline!important;flex-wrap:wrap;gap:4px 10px;
  margin:0 0 8px!important;padding:0 0 9px!important;
  border-bottom:1px solid rgba(224,211,186,.13)!important;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__heading strong {
  font-size:14px!important;font-weight:650!important;line-height:1.25;letter-spacing:-.02em!important;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__heading>span {
  display:block!important;font-size:9px!important;line-height:1.25;letter-spacing:.03em;color:#a4a0a1;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 14px!important;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__item {
  min-width:0;gap:8px!important;padding:7px 0!important;
  border-bottom:1px solid rgba(255,255,255,.065);
  align-items:flex-start!important;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__item:nth-last-child(-n+2) {border-bottom:0;padding-bottom:0!important}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__icon {
  display:grid;place-items:center;flex:0 0 23px;width:23px;height:25px;
  color:#cbb68a;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__icon>svg {display:block;width:17px;height:17px;flex:none}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__copy {
  min-width:0;gap:3px!important;overflow-wrap:normal!important;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__label {
  font-size:9.5px!important;font-weight:450!important;line-height:1.2!important;
  color:#a6a4aa!important;letter-spacing:.015em;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__value {
  display:block;font-size:11px!important;font-weight:600!important;line-height:1.3!important;
  color:#f3f0eb!important;letter-spacing:-.01em;
  overflow-wrap:normal!important;word-break:normal!important;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__value--link {text-decoration:none}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium :is(.bn-city-facts__value--link,.bn-city-facts__detail--link,.bn-city-facts__transport a):hover {text-decoration:underline;text-underline-offset:3px;text-decoration-color:#aa9465}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium a:focus-visible {outline:2px solid #e8c878;outline-offset:3px;border-radius:2px}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__detail {
  display:block;font-size:9px!important;font-weight:450!important;line-height:1.3!important;
  color:#bdb9b7;letter-spacing:0;overflow-wrap:normal;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__detail--link {color:#e3cf9c;text-decoration:none}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__data-price {display:inline!important;white-space:nowrap!important;font:inherit!important}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__transport {display:flex;flex-wrap:wrap;gap:0 4px}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__transport a {color:#d9cfb9;text-decoration:none}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__external {font-size:9px!important;color:#cbb68a!important}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter {
  --bn-meter-color:#d6bf87;display:flex;flex-flow:row nowrap;align-items:center;gap:2px;
  width:max-content;max-width:100%;min-height:15px;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter>svg {
  flex:0 0 12px;width:12px;height:12px;color:var(--bn-meter-color);opacity:.25;
}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter>svg.is-filled {opacity:1;fill:currentColor;fill-opacity:.22}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter--stars[data-level="1"] {--bn-meter-color:#f16b70}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter--stars[data-level="2"] {--bn-meter-color:#ed89b0}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter--stars[data-level="3"] {--bn-meter-color:#ecaa57}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter--stars:is([data-level="4"],[data-level="5"]) {--bn-meter-color:#6fd5a7}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__meter[data-unrated] {--bn-meter-color:#9e9da2}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__qualifier {display:block;margin-top:2px;font-size:8px;font-weight:450;color:#96939a}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__wifi {color:#6fd5a7!important}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__wifi .wifi-band {opacity:.2}
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__wifi[data-level="1"] .wifi-band--1,
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__wifi[data-level="2"] :is(.wifi-band--1,.wifi-band--2),
html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__wifi[data-level="3"] .wifi-band {opacity:1}

/* Reserve the box's real desktop space; mobile keeps its original flow below articles. */
@media(min-width:1024px) {
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-grid {
    grid-template-rows:340px repeat(2,minmax(0,1fr))!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card {max-height:100%!important}
}
@media(min-width:1024px) and (max-width:1199px) {
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-grid {grid-template-rows:380px repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px) {
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts.bn-city-facts--premium {padding:11px 12px!important}
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__grid {column-gap:10px!important}
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__item {gap:6px!important;padding-block:7px!important}
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__icon {flex-basis:18px;width:18px}
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__heading strong {font-size:13.5px!important}
}
@media(max-width:350px) {
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts.bn-city-facts--premium {padding-inline:10px!important}
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__grid {column-gap:8px!important}
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__item {gap:4px!important}
}

/* BYNIGHT_NEWS_COLUMNS_20261104
   Desktop: the article carousel occupies the left column, facts the right.
   Keep the existing mobile flow: filters, articles, then city facts. */
@media (min-width:1024px) {
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] > .container:has(.bn-city-facts) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) var(--bn-advice-logo-space) minmax(0,1fr)!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    grid-template-areas:"filters . facts" "articles . facts"!important;
    gap:12px 0!important;
    align-items:stretch!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header:has(.bn-city-facts) {
    display:contents!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header > .bn-news-advice-filters {
    grid-area:filters!important;
    padding-right:0!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header > .bn-city-facts {
    grid-area:facts!important;
    align-self:start!important;
    max-height:100%!important;
    overflow-y:auto;
    scrollbar-width:thin;
    scrollbar-color:rgba(222,194,130,.45) transparent;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-horizontal-carousel {
    grid-area:articles!important;
    min-width:0!important;
    min-height:0!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-grid {
    grid-template-columns:none!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    grid-auto-columns:100%!important;
    grid-auto-flow:column!important;
    gap:12px 16px!important;
    align-items:stretch!important;
    scroll-snap-type:x mandatory;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card {
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    transform:none!important;
    align-self:stretch!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-horizontal-scroll-button {
    top:50%!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-empty {
    grid-column:1!important;
    grid-row:1 / -1!important;
  }
}

/* BYNIGHT_NEWS_DENSITY_20261104
   Two equal article columns on desktop; three rows on phones/tablets. */
@media (min-width:1024px) {
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] > .container:has(.bn-city-facts) {
    --bn-news-facts-width:calc((100% - var(--bn-advice-logo-space)) * .375 - var(--bn-advice-logo-gap) * .75);
    grid-template-columns:minmax(0,1fr) var(--bn-news-facts-width)!important;
    grid-template-areas:"filters facts" "articles facts"!important;
    column-gap:clamp(16px,1.5vw,24px)!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header > .bn-city-facts {
    width:100%!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-header > .bn-news-advice-filters {
    max-width:calc((100vw - var(--fixed-logo-size)) / 2 - var(--bn-advice-gutter))!important;
    min-height:42px!important;
    align-items:center!important;
    gap:6px!important;
    padding-block:5px!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-grid {
    grid-auto-columns:calc((100% - 12px) / 2)!important;
    column-gap:12px!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card[style] {
    transform:none!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card > span {
    padding:clamp(10px,1vw,14px)!important;
    gap:5px!important;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .home-news-card strong {
    font-size:clamp(14px,1.05vw,17px)!important;
    line-height:1.18!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  html body.marrakech-phase1[data-city-theme] [data-home-section="news"] .bn-news-advice-filters > button {
    appearance:none!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:calc(var(--home-filter-button-height) * 1.155)!important;
    min-height:calc(var(--home-filter-button-height) * 1.155)!important;
    padding:0 calc(var(--home-filter-padding-inline) * 1.1)!important;
    border:1px solid #141a23;
    border-radius:999px!important;
    font-family:"DM Sans",Arial,sans-serif!important;
    font-size:calc(var(--home-filter-font-size) * 1.155)!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:1023px) {
  /* Keep the filters painted independently when the article track scrolls. */
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters {
    position:relative!important;
    z-index:9!important;
    transform:translateZ(0);
    will-change:transform;
    contain:paint;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-horizontal-carousel {
    flex:1 0 280px!important;
    min-height:280px!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-news-grid {
    display:grid!important;
    grid-template-columns:none!important;
    grid-template-rows:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:column!important;
    grid-auto-columns:88%!important;
    gap:8px 10px!important;
    align-content:stretch!important;
    align-items:stretch!important;
    height:100%!important;
    padding:0!important;
    scroll-snap-type:x mandatory;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-news-card {
    grid-column:auto!important;
    grid-row:auto!important;
    grid-template-columns:34% minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    transform:none!important;
    align-self:stretch!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-news-card img {
    min-height:0!important;
    height:100%!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-news-card > span {
    padding:8px!important;
    gap:4px!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-news-card strong {
    font-size:13px!important;
    line-height:1.16!important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .home-news-card em {display:none!important}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts.bn-city-facts--premium {
    padding:8px 10px!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__heading {
    margin-bottom:4px!important;
    padding-bottom:5px!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__grid {column-gap:8px!important}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__item {
    padding-block:3px!important;
    gap:5px!important;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__icon {
    flex-basis:14px;
    width:14px;
    height:20px;
  }
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__icon > svg {width:14px;height:14px}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__copy {gap:2px!important}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__label {font-size:9px!important;line-height:1.15!important}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__value {font-size:10.5px!important;line-height:1.2!important}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__detail {font-size:8.5px!important;line-height:1.2!important}
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-empty {grid-column:1!important;grid-row:1 / -1!important}
}
@media (min-width:351px) and (max-width:700px) {
  html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-city-facts--premium .bn-city-facts__item {
    padding-block:5px!important;
  }
}

@media (min-width:1024px) {
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button {
  --bn-depth: -1.125px;
  --bn-light: .2;
  position: relative;
  transform: translateY(0);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button {
  isolation: isolate;
  border-color: #141a23;
  color: #172029;
  background: conic-gradient(from 25deg at 50% 52%, #d4e1e7 0deg, #e8f3fa 25deg, #9aabba 58deg, #202a36 102deg, #667789 138deg, #f6fcff 178deg, #9baebc 212deg, #101720 255deg, #4b5967 280deg, #f8fcff 325deg, #d4e1e7 360deg);
  box-shadow: 0 -.75px 0 #d6e5f35c, 0 -1.5px 0 #4b5664, 0 -2.25px 0 #010207, 0 -3px .75px #8fa1b41c, 0 -3.75px 5.25px #0009;
  text-shadow: 0 -1px 0 #f6fbff87;
  transition: transform 135ms cubic-bezier(.2,.7,.25,1), box-shadow 135ms ease, color 135ms ease;
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(68deg, transparent 0%, #ffffff30 14%, transparent 28%, #08172612 44%, #ffffff28 64%, transparent 78%),
    repeating-linear-gradient(0deg, #ffffff0f 0px, #ffffff0f .45px, #0a1b2b0a .45px, #0a1b2b0a .9px, transparent .9px, transparent 1.7px),
    linear-gradient(0deg, #edf2f5 0%, #c7d0d7 12%, #a1adb8 35%, #8997a5 47%, #acb8c1 55%, #c8d1d8 72%, #a3afba 88%, #7b8999 100%);
  box-shadow: inset 0 -1px 0 #ffffffb3, inset 0 1px 1px #263443b3, inset 1px 0 1px #f4faff47, inset -1px 0 1px #101e2a66;
  pointer-events: none;
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button::after {
  content: '';
  position: absolute;
  inset: 1px;
  height: auto;
  border-radius: inherit;
  background: radial-gradient(ellipse at var(--bn-reflection, 32%) 100%, #ffffff40, transparent 58%);
  box-shadow: inset 0 0 0 .5px #edf8ff47;
  opacity: .8;
  pointer-events: none;
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button :is(.guide-sector-label, .event-date-label, .home-filter-label) { position: relative; z-index: 1; }
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button:hover:not([aria-pressed="true"]) {
  border-color: #141a23;
  background: conic-gradient(from 25deg at 50% 52%, #e0eaf0 0deg, #f2faff 25deg, #b1c4d1 58deg, #202a36 102deg, #718497 138deg, #fff 178deg, #b1c4d1 212deg, #1c2733 255deg, #5d6e7d 280deg, #fff 325deg, #e0eaf0 360deg);
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button[aria-pressed="true"],
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button:active {
  transform: translateY(var(--bn-depth));
  border-color: #FFD85A !important;
  color: #0B1020 !important;
  background: #FFD85A !important;
  box-shadow: 0 0 14px rgba(255,216,90,.16) !important;
  text-shadow: none !important;
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button[aria-pressed="true"]::before,
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button:active::before {
  background:linear-gradient(45deg,rgba(255,255,255,.16),rgba(255,255,255,0))!important;
  border-color:rgba(255,255,255,.18)!important;
  box-shadow:none!important;
}
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button[aria-pressed="true"]::after,
html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button:active::after {
  background:linear-gradient(65deg,rgba(255,255,255,0),rgba(255,255,255,.12),rgba(255,255,255,0))!important;
  box-shadow:none!important;
  text-shadow:none!important;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) { html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button { transition: none; } }

html body.marrakech-phase1[data-city-theme][data-home-architecture] [data-home-section="news"] .bn-news-advice-filters > button:focus-visible { outline: 2px solid #e8c878; outline-offset: 2px; }
}
