/* Media layout and user choices. Additional text roles are defined in
 * media-typography.css; the approved hero keeps its independent contract. */
body.barnes-media-kit {--media-card-gap:40px;}
body.barnes-media-kit .media-kit-heading {display:flex;flex-direction:column;gap:0!important;min-width:0;width:100%;margin:0;padding:0;}
body.barnes-media-kit :is(.media-weekly__inner,.media-market__inner,.media-fresh__header,.media-analytics__header) > .media-kit-heading {align-items:center;text-align:center;}
body.barnes-media-kit .media-cta-banner__inner > .media-kit-heading {align-items:center;text-align:center;}
/* Text-action geometry; typography is defined only in media-typography.css. */
body.barnes-media-kit :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link) {
 box-sizing:border-box;display:inline-flex!important;align-items:center;align-self:flex-start;
 width:max-content;max-width:100%;min-height:44px;padding:8px 0!important;
 text-decoration:underline!important;text-decoration-thickness:1px!important;
 text-underline-offset:4px!important;border-bottom:0;
}
body.barnes-media-kit .ui-more-link {min-height:44px;padding-block:8px;border-bottom-color:transparent!important;}
body.barnes-media-kit .ui-more-link__label {text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important;}
/* Decorative arrows stay visible on touch screens; only their motion is hover-only. */
body.barnes-media-kit :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link) {
 position:relative;gap:12px;padding-right:5px!important;border-bottom:0;
 opacity:1!important;
}
body.barnes-media-kit :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::before {
 content:none;
}
body.barnes-media-kit :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::after {
 content:"";display:block;flex:0 0 20px;width:20px;height:12px;
 background:currentColor;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M1 6h17m-5-4 5 4-5 4' fill='none' stroke='black' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
 transition:transform 180ms ease-out;pointer-events:none;
}
body.barnes-media-kit :is(a,button):focus-visible :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::after,
body.barnes-media-kit .team-member-card__link:focus-visible::after {transform:translateX(5px);}
body.barnes-media-kit :is(a,button):focus-visible :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::before,
body.barnes-media-kit .team-member-card__link:focus-visible::before {transform:scaleX(1);}
body.barnes-media-kit .ui-more-link__icon {transition:transform 180ms ease-out;}
body.barnes-media-kit .ui-more-link:focus-visible .ui-more-link__icon {transform:translate(3px,-3px);}
@media(hover:hover) and (pointer:fine) {
 body.barnes-media-kit :is(a,button):hover :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::after,
 body.barnes-media-kit .team-member-card__link:hover::after {transform:translateX(5px);}
 body.barnes-media-kit :is(a,button):hover :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::before,
 body.barnes-media-kit .team-member-card__link:hover::before {transform:scaleX(1);}
 body.barnes-media-kit .ui-more-link:hover .ui-more-link__icon {transform:translate(3px,-3px);}
}
@media(prefers-reduced-motion:reduce) {
 body.barnes-media-kit :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::after,
 body.barnes-media-kit .ui-more-link__icon {transform:none!important;transition:none!important;}
 body.barnes-media-kit :is(.media-intents__action,.media-weekly__action,.media-fresh__action,.media-market__featured-action,.team-member-card__link)::before {transition:none!important;}
}
/* Match the editorial card rhythm of the homepage news carousel. */
body.barnes-media-kit :is(.media-weekly__layout,.media-weekly__grid,.media-fresh__grid,.media-market__layout,.media-analytics__grid,.media-analytics__side) {gap:var(--media-card-gap)!important;}
body.barnes-media-kit .media-weekly__card-body {padding:16px!important;gap:12px!important;}
body.barnes-media-kit .media-fresh__body {gap:12px!important;}
/* Reserve a separate badge row above the featured analytic title. */
body.barnes-media-kit :is(.media-analytics__featured-body,.media-analytics__card-body) {padding-top:64px!important;}
body.barnes-media-kit .media-analytics__card-body {gap:24px!important;}
@media(max-width:540px) {body.barnes-media-kit {--media-card-gap:24px;}}

/* Removed by user request; hide before hydration to avoid a flash or blank gap. */
.media-subscribe { display: none !important; }

/* User-approved Media typography: headings except hero H1, including cards and dialogs. */
body.barnes-media-kit :is(h1,h2,h3,h4,h5,h6):not(.media-hero__title,.home-owner-host *) {text-transform:uppercase!important;}


/* Visible checked state for the imported quiz consent control. */
.home-owner-host .home-owner-form__consent-box {position:relative;}
.home-owner-host .home-owner-form__consent-input:checked + .home-owner-form__consent-box {background:#8b1d25;border-color:#8b1d25;}
.home-owner-host .home-owner-form__consent-input:checked + .home-owner-form__consent-box::after {content:"";position:absolute;left:4px;top:0;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);}

/* Keep every category reachable when its intrinsic row is wider than a tablet. */
body.barnes-media-kit :is(.media-fresh__filters,.media-analytics__filters) {min-width:0;max-width:100%;overflow-x:auto;}

/* Quiet architectural Moscow image, with a continuous text-protection mask. */
body.barnes-media-kit .media-market__featured-media::after {
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(16,19,18,.82) 0%,rgba(16,19,18,.72) 24%,rgba(16,19,18,.48) 45%,rgba(16,19,18,.18) 66%,rgba(16,19,18,0) 90%);
}
body.barnes-media-kit .media-market__featured-content {background:transparent!important;}
body.barnes-media-kit .media-market__featured :is(.media-market__featured-name,.media-market__featured-text,.media-market__featured-action) {color:#fff!important;}
body.barnes-media-kit .media-market__featured .media-market__featured-badge {color:rgba(255,255,255,.8)!important;}

/* Page-specific user override. Layered !important rules also cap shared-kit
 * controls and pseudo-elements; the shared dialog owns its own geometry. */
@layer media-radius-limit {
  body.barnes-media-kit,
  body.barnes-media-kit *:not(.home-owner-host,.home-owner-host *),
  body.barnes-media-kit *:not(.home-owner-host,.home-owner-host *)::before,
  body.barnes-media-kit *:not(.home-owner-host,.home-owner-host *)::after {border-radius:1px!important;}
  /* The expert portrait is a circular avatar, not a rectangular UI surface. */
  body.barnes-media-kit .floating-expert__avatar {border-radius:50%!important;overflow:hidden;}
  /* Carousel navigation keeps the circular geometry of the homepage kit. */
  body.barnes-media-kit .team-section__nav-btn {border-radius:50%!important;}
  /* The Resort hub uses a pill-shaped favourites counter, not a square badge. */
  body.barnes-media-kit .site-header__favorites-count {border-radius:999px!important;}
}

/* A column-sized white veil ended at 20% opacity and left a visible vertical
 * seam. Paint the veil across the complete desktop card, fading fully to zero. */
@media (min-width:1025px) {
  body.barnes-media-kit .media-weekly__featured-link {isolation:isolate;}
  body.barnes-media-kit .media-weekly__featured-link::before {
    content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
    background:linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,rgba(255,255,255,.92) 20%,
      rgba(255,255,255,.84) 30%,rgba(255,255,255,.70) 40%,
      rgba(255,255,255,.46) 48%,rgba(255,255,255,.20) 56%,
      rgba(255,255,255,.05) 64%,rgba(255,255,255,0) 72%);
  }
  body.barnes-media-kit .media-weekly__featured-panel {background:transparent;z-index:2;}
}

/* Keep the hotel visible when the real panoramic photograph is cropped narrowly. */
body.barnes-media-kit img[src$="/moscow-q1-2026-photo.webp"] {object-position:80% 30%;}
@media (min-width:541px) and (max-width:1024px) {
  /* Retain the previous tablet image frame despite the photograph's 3:2 ratio. */
  body.barnes-media-kit .media-weekly__featured-image[src$="/moscow-q1-2026-photo.webp"] {
    height:auto;aspect-ratio:1672 / 941;
  }
}
