/*
 * UNOVIQ Taste News V1
 * Public-only editorial polish inspired by the Taste Skill.
 * No content is hidden by default; all motion is progressive enhancement.
 */

.unv-taste-news{
  --unv-taste-ink:#171214;
  --unv-taste-muted:#746b6f;
  --unv-taste-line:color-mix(in srgb,var(--mp-brand,#8f335f) 18%,#d9d5d6);
  --unv-taste-soft:color-mix(in srgb,var(--mp-brand,#8f335f) 5%,#fff);
  --unv-taste-shadow:0 18px 50px rgba(40,22,30,.08);
  --unv-taste-shadow-hover:0 28px 70px rgba(40,22,30,.14);
  background:#fff;
  color:var(--unv-taste-ink);
}

.unv-taste-news .mp-public-main{
  width:min(100%,1480px);
  max-width:1480px;
  padding:clamp(24px,3.5vw,56px) clamp(18px,3vw,40px) clamp(72px,8vw,130px);
}

/* Header — keep all dashboard-controlled assets and settings intact. */
.unv-taste-news .mp-public-header{
  background:rgba(255,255,255,.95);
  border-bottom:1px solid rgba(40,22,30,.08);
  box-shadow:0 10px 32px rgba(40,22,30,.045);
}
.unv-taste-news .mp-public-nav{
  gap:clamp(18px,2vw,34px);
  border-top:1px solid rgba(40,22,30,.055);
}
.unv-taste-news .mp-public-nav>a,
.unv-taste-news .mp-nav-item>a{
  letter-spacing:-.01em;
  transition:color .22s ease,opacity .22s ease,transform .22s ease;
}
.unv-taste-news .mp-public-nav>a:hover,
.unv-taste-news .mp-nav-item>a:hover{transform:translateY(-1px)}
.unv-taste-news .mp-public-search{
  transition:transform .22s ease,border-color .22s ease,background .22s ease;
}
.unv-taste-news .mp-public-search:hover{
  transform:rotate(-5deg) scale(1.04);
  background:var(--unv-taste-soft);
  border-color:color-mix(in srgb,var(--mp-brand,#8f335f) 45%,transparent);
}

/* Breaking strip */
.unv-taste-news .mpc-public-breaking{
  margin-bottom:clamp(26px,4vw,54px);
  padding:10px 12px;
  border:1px solid rgba(40,22,30,.08);
  border-radius:18px;
  background:#1b1517;
  color:#fff;
  box-shadow:0 14px 34px rgba(33,18,24,.08);
}
.unv-taste-news .mpc-public-breaking-label{
  background:var(--mp-brand,#8f335f);
  box-shadow:none;
}
.unv-taste-news .mpc-public-breaking-track a{color:#fff}
.unv-taste-news .mpc-ticker-toggle{color:rgba(255,255,255,.7)}

/* Editorial page title */
.unv-taste-news .mp-public-title-row{
  margin:0 0 clamp(28px,4vw,58px);
  align-items:flex-end;
  gap:24px;
}
.unv-taste-news .mp-public-title-row>div{
  position:relative;
  padding-inline-start:18px;
}
.unv-taste-news .mp-public-title-row>div:before{
  content:"";
  position:absolute;
  inset:8% 0 7% auto;
  width:4px;
  border-radius:99px;
  background:var(--mp-brand,#8f335f);
}
.unv-taste-news .mp-public-title-row>div>span{
  margin-bottom:8px;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.unv-taste-news .mp-public-title-row h1{
  max-width:18ch;
  font-size:clamp(38px,5vw,72px);
  line-height:1.02;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.unv-taste-news .mp-public-rule{
  height:1px;
  margin-bottom:10px;
  background:linear-gradient(90deg,transparent,var(--unv-taste-line));
}

/* Lead composition — editorial, not generic cards. */
.unv-taste-news .mp-lead-grid{
  grid-template-columns:minmax(0,1.5fr) minmax(360px,.92fr);
  gap:clamp(24px,3vw,42px);
}
.unv-taste-news .mp-lead-main{
  position:relative;
  overflow:visible;
  background:transparent;
}
.unv-taste-news .mp-lead-main .mp-card-image{
  aspect-ratio:16/9;
  border-radius:clamp(18px,2vw,30px);
  overflow:hidden;
  box-shadow:var(--unv-taste-shadow);
  isolation:isolate;
}
.unv-taste-news .mp-lead-main .mp-card-copy{
  position:relative;
  margin:-38px clamp(14px,3vw,42px) 0 0;
  padding:clamp(24px,3vw,40px);
  border:1px solid rgba(40,22,30,.075);
  border-radius:24px;
  background:rgba(255,255,255,.97);
  box-shadow:0 18px 52px rgba(40,22,30,.10);
  z-index:2;
}
.unv-taste-news .mp-lead-main h2{
  max-width:18ch;
  font-size:clamp(34px,4vw,62px);
  line-height:1.12;
  letter-spacing:-.04em;
  text-wrap:balance;
}
.unv-taste-news .mp-lead-main p{
  max-width:60ch;
  margin-top:16px;
  color:var(--unv-taste-muted);
  line-height:1.9;
}
.unv-taste-news .mp-lead-side{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(20px,2vw,28px);
}
.unv-taste-news .mp-side-card{
  padding-bottom:18px;
  border-bottom:1px solid var(--unv-taste-line);
}
.unv-taste-news .mp-side-card .mp-card-image{
  aspect-ratio:4/3;
  border-radius:18px;
  overflow:hidden;
  background:#f6f2f4;
}
.unv-taste-news .mp-side-card h3{
  font-size:clamp(18px,1.6vw,24px);
  line-height:1.45;
  text-wrap:balance;
}

/* Shared image interactions. */
.unv-taste-news .mp-card-image,
.unv-taste-news .mpc-topic-image,
.unv-taste-news .mpc-topic-list-image,
.unv-taste-news .mp-article-featured{
  position:relative;
  transform:translateZ(0);
}
.unv-taste-news .mp-card-image img,
.unv-taste-news .mpc-topic-image img,
.unv-taste-news .mpc-topic-list-image img,
.unv-taste-news .mp-article-featured img{
  transition:transform .7s cubic-bezier(.2,.75,.2,1),filter .45s ease;
}
@media (hover:hover){
  .unv-taste-news .mp-card-image:hover img,
  .unv-taste-news .mpc-topic-image:hover img,
  .unv-taste-news .mpc-topic-list-image:hover img{
    transform:scale(1.035);
    filter:saturate(1.04) contrast(1.02);
  }
}

/* Read CTA */
.unv-taste-news .unv-read-cta,
.unv-taste-news .unv-article-start{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:max-content;
  margin-top:18px;
  padding:10px 15px;
  border:1px solid color-mix(in srgb,var(--unv-cta-color,var(--mp-brand,#8f335f)) 28%,transparent);
  border-radius:999px;
  background:color-mix(in srgb,var(--unv-cta-color,var(--mp-brand,#8f335f)) 6%,#fff);
  color:var(--unv-cta-color,var(--mp-brand,#8f335f));
  font-weight:800;
  transition:transform .22s ease,background .22s ease,border-color .22s ease;
}
@media (hover:hover){
  .unv-taste-news .unv-read-cta:hover,
  .unv-taste-news .unv-article-start:hover{
    transform:translateX(-3px);
    background:color-mix(in srgb,var(--unv-cta-color,var(--mp-brand,#8f335f)) 10%,#fff);
  }
}

/* Home sections: intentional asymmetry with mathematically closed rows for 6 items. */
.unv-taste-news .mp-news-section{
  margin-top:clamp(74px,9vw,140px);
  padding-top:clamp(24px,3vw,40px);
  border-top:1px solid var(--unv-taste-line);
}
.unv-taste-news .mp-section-head{
  margin-bottom:clamp(24px,3vw,38px);
  align-items:flex-end;
}
.unv-taste-news .mp-section-head h2{
  font-size:clamp(30px,3vw,48px);
  letter-spacing:-.035em;
  text-wrap:balance;
}
.unv-taste-news .mp-section-grid{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-flow:dense;
  gap:clamp(20px,2.4vw,34px);
}
.unv-taste-news .mp-section-grid>.mp-news-card{grid-column:span 4}
.unv-taste-news .mp-section-grid>.mp-news-card:nth-child(1){grid-column:span 7}
.unv-taste-news .mp-section-grid>.mp-news-card:nth-child(2){grid-column:span 5}
.unv-taste-news .mp-section-grid>.mp-news-card:nth-child(6){
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);
  column-gap:32px;
  align-items:center;
  padding:20px;
  border:1px solid var(--unv-taste-line);
  border-radius:24px;
  background:linear-gradient(135deg,#fff,var(--unv-taste-soft));
}
.unv-taste-news .mp-section-grid>.mp-news-card:nth-child(6) .mp-card-image{
  grid-column:1;
  grid-row:1/6;
  margin:0;
  min-height:220px;
}
.unv-taste-news .mp-news-card{
  min-width:0;
}
.unv-taste-news .mp-news-card .mp-card-image{
  border-radius:18px;
  margin-bottom:16px;
  box-shadow:0 12px 34px rgba(40,22,30,.055);
}
.unv-taste-news .mp-news-card h3{
  margin-top:8px;
  font-size:clamp(19px,1.7vw,26px);
  line-height:1.5;
  letter-spacing:-.015em;
  text-wrap:balance;
}
.unv-taste-news .mp-meta{color:var(--unv-taste-muted)}

/* Listing / search / author archives */
.unv-taste-news .mp-listing-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(28px,3vw,46px) clamp(20px,2.3vw,34px);
}
.unv-taste-news .mp-listing-grid .mp-news-card{
  padding-bottom:24px;
  border-bottom:1px solid var(--unv-taste-line);
}
.unv-taste-news .mp-listing-grid .mp-news-card p{
  color:var(--unv-taste-muted);
  line-height:1.8;
}

/* Article page — calmer than homepage, maximum reading comfort. */
.unv-taste-news .mp-article-page{
  max-width:1500px;
  margin:0 auto;
  padding:clamp(32px,5vw,80px) clamp(18px,3vw,40px) clamp(80px,9vw,140px);
}
.unv-taste-news .mp-article-shell{max-width:none}
.unv-taste-news .mp-article-hero{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
  gap:clamp(34px,5vw,76px);
  align-items:center;
  padding-bottom:clamp(46px,6vw,86px);
  border-bottom:1px solid var(--unv-taste-line);
}
.unv-taste-news .mp-article-copy{max-width:780px}
.unv-taste-news .mp-article-hero h1{
  max-width:17ch;
  margin-top:18px;
  font-size:clamp(42px,5.2vw,76px);
  line-height:1.08;
  letter-spacing:-.045em;
  text-wrap:balance;
}
.unv-taste-news .mp-article-deck{
  max-width:58ch;
  margin-top:20px;
  color:var(--unv-taste-muted);
  font-size:clamp(18px,1.5vw,23px);
  line-height:1.85;
}
.unv-taste-news .mp-article-meta{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid var(--unv-taste-line);
  color:var(--unv-taste-muted);
}
.unv-taste-news .mp-article-featured{
  overflow:hidden;
  border-radius:clamp(20px,2.6vw,34px);
  box-shadow:var(--unv-taste-shadow);
}
.unv-taste-news .mp-article-featured img{display:block;width:100%;height:auto}
.unv-taste-news .mp-article-layout{
  display:grid;
  grid-template-columns:minmax(0,780px) minmax(250px,330px);
  justify-content:center;
  gap:clamp(44px,6vw,92px);
  margin-top:clamp(52px,7vw,92px);
  align-items:start;
}
.unv-taste-news .mp-article-content{
  font-size:clamp(18px,1.25vw,21px);
  line-height:2.02;
}
.unv-taste-news .mp-article-content>p,
.unv-taste-news .mp-article-content>ul,
.unv-taste-news .mp-article-content>ol{margin-block:0 1.45em}
.unv-taste-news .mp-article-content h2{
  margin:2.1em 0 .75em;
  font-size:clamp(28px,2.6vw,42px);
  line-height:1.3;
  letter-spacing:-.025em;
}
.unv-taste-news .mp-article-content h3{
  margin:1.8em 0 .65em;
  font-size:clamp(23px,2vw,32px);
}
.unv-taste-news .mp-article-content img{
  border-radius:18px;
}
.unv-taste-news .mp-article-content a:not(.unv-share-button){
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}
.unv-taste-news .mp-article-side{
  position:sticky;
  top:150px;
  display:grid;
  gap:18px;
  padding:20px;
  border:1px solid var(--unv-taste-line);
  border-radius:20px;
  background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--mp-brand,#8f335f) 3%,#fff));
  box-shadow:0 16px 44px rgba(40,22,30,.05);
}
.unv-taste-news .mp-article-content blockquote{
  margin:2em 0!important;
  padding:clamp(22px,3vw,34px)!important;
  border-inline-start:4px solid var(--mp-article-accent)!important;
  border-radius:18px!important;
  background:color-mix(in srgb,var(--mp-article-accent) 6%,#fff)!important;
  font-size:1.08em!important;
}

/* Topic hubs */
.unv-taste-news .mpc-topic-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(64px,8vw,124px) 0;
  background:
    radial-gradient(circle at 12% 20%,color-mix(in srgb,var(--mp-brand,#8f335f) 13%,transparent),transparent 34%),
    linear-gradient(180deg,#fff,color-mix(in srgb,var(--mp-brand,#8f335f) 4%,#fff));
  border-bottom:1px solid var(--unv-taste-line);
}
.unv-taste-news .mpc-topic-hero h1{
  max-width:16ch;
  font-size:clamp(48px,7vw,96px);
  line-height:1;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.unv-taste-news .mpc-topic-hero p{
  max-width:64ch;
  font-size:clamp(18px,1.5vw,23px);
  line-height:1.9;
  color:var(--unv-taste-muted);
}
.unv-taste-news .mpc-topic-featured,
.unv-taste-news .mpc-topic-latest{padding-block:clamp(68px,8vw,120px)}
.unv-taste-news .mpc-topic-feature-grid article,
.unv-taste-news .mpc-topic-list article{
  border-color:var(--unv-taste-line);
}
.unv-taste-news .mpc-topic-image,
.unv-taste-news .mpc-topic-list-image{border-radius:18px;overflow:hidden}
.unv-taste-news .mpc-topic-related{
  background:#1a1517;
  color:#fff;
}

/* Footer */
.unv-taste-news .mp-public-footer-v2{
  border-top:0;
  box-shadow:inset 0 1px rgba(255,255,255,.06);
}

/* Progressive motion. Content remains visible without JS. */
@media (prefers-reduced-motion:no-preference){
  .unv-taste-news.unv-taste-motion .unv-taste-reveal{
    opacity:0;
    transform:translateY(22px);
    transition:opacity .65s ease,transform .75s cubic-bezier(.2,.75,.2,1);
  }
  .unv-taste-news.unv-taste-motion .unv-taste-reveal.is-visible{
    opacity:1;
    transform:none;
  }
}

/* Tablet */
@media(max-width:1050px){
  .unv-taste-news .mp-lead-grid{grid-template-columns:1fr}
  .unv-taste-news .mp-lead-side{grid-template-columns:repeat(2,minmax(0,1fr))}
  .unv-taste-news .mp-section-grid>.mp-news-card:nth-child(n){grid-column:span 6}
  .unv-taste-news .mp-section-grid>.mp-news-card:nth-child(6){display:block;padding:0;border:0;background:transparent}
  .unv-taste-news .mp-article-hero{grid-template-columns:1fr}
  .unv-taste-news .mp-article-copy{max-width:900px}
  .unv-taste-news .mp-article-layout{grid-template-columns:minmax(0,780px)}
  .unv-taste-news .mp-article-side{position:static;grid-row:auto}
}

/* Mobile */
@media(max-width:680px){
  .unv-taste-news .mp-public-main{padding-inline:15px}
  .unv-taste-news .mp-public-title-row h1{font-size:clamp(34px,10vw,48px)}
  .unv-taste-news .mp-public-rule{display:none}
  .unv-taste-news .mp-lead-main .mp-card-copy{
    margin:-22px 10px 0;
    padding:20px;
    border-radius:18px;
  }
  .unv-taste-news .mp-lead-main h2{font-size:clamp(29px,8.5vw,40px)}
  .unv-taste-news .mp-lead-side{grid-template-columns:1fr}
  .unv-taste-news .mp-side-card{display:grid;grid-template-columns:128px minmax(0,1fr);gap:14px;align-items:start}
  .unv-taste-news .mp-side-card .mp-card-image{aspect-ratio:1}
  .unv-taste-news .mp-section-grid{grid-template-columns:1fr}
  .unv-taste-news .mp-section-grid>.mp-news-card:nth-child(n){grid-column:auto}
  .unv-taste-news .mp-section-grid>.mp-news-card:nth-child(6){display:block}
  .unv-taste-news .mp-listing-grid{grid-template-columns:1fr}
  .unv-taste-news .mp-article-page{padding-inline:15px}
  .unv-taste-news .mp-article-hero{gap:28px;padding-bottom:44px}
  .unv-taste-news .mp-article-hero h1{font-size:clamp(36px,11vw,52px)}
  .unv-taste-news .mp-article-layout{margin-top:48px;gap:38px}
  .unv-taste-news .mp-article-content{font-size:18px;line-height:1.95}
}

@media(prefers-reduced-motion:reduce){
  .unv-taste-news *,
  .unv-taste-news *:before,
  .unv-taste-news *:after{
    scroll-behavior:auto!important;
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}
