/* AMG rounded editorial system — shared by homepage and internal previews. */
:root{
  --amg-radius-xs:10px;
  --amg-radius-sm:16px;
  --amg-radius-md:24px;
  --amg-radius-lg:34px;
  --amg-pill:999px;
  --amg-soft-shadow:0 16px 42px rgba(10,18,24,.10);
  --amg-lift-shadow:0 22px 54px rgba(10,18,24,.16);
  --amg-ease:cubic-bezier(.2,.7,.2,1);
}

/* Navigation and compact controls. */
.ed-utility nav a,.ed-nav a,.ed-search,.ed-footer nav a{
  padding:.55rem .82rem;
  border-radius:var(--amg-pill);
}
.ed-utility nav a:hover,.ed-nav a:hover,.ed-search:hover,.ed-footer nav a:hover{
  background:rgba(255,255,255,.08);
}
.ed-label,.ed-date,.ed-button,.ed-services-all,.ws-kicker,.ws-button{
  border-radius:var(--amg-pill);
}
.ed-label{padding:7px 12px;letter-spacing:.06em}
.ed-button,.ed-services-all,.ws-button{
  min-height:46px;
  align-items:center;
  justify-content:center;
  padding-inline:24px;
}

/* Editorial feature areas and story cards. */
.ed-hero{padding:16px 0 22px}
.ed-lead{gap:12px}
.ed-story,.ed-side-card,.ed-video,.ed-service{
  border-radius:var(--amg-radius-md);
  isolation:isolate;
  box-shadow:var(--amg-soft-shadow);
}
.ed-story-copy{
  margin:0 14px 14px;
  padding:22px!important;
  border-radius:var(--amg-radius-sm);
  background:linear-gradient(135deg,rgba(5,8,10,.84),rgba(5,8,10,.48));
  backdrop-filter:blur(7px);
}
.ed-story-main .ed-story-copy{padding:28px!important}

/* Content modules become distinct, softly framed sections. */
.ed-module{
  padding:24px;
  border:1px solid #e4e7e9;
  border-radius:var(--amg-radius-lg);
  background:#fff;
  box-shadow:0 10px 34px rgba(16,27,35,.055);
}
.ed-module-head{border-bottom:0}
.ed-module-head h2,.ed-panel-title{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:8px 16px;
  border:0;
  border-radius:var(--amg-pill);
  background:#fff0f2;
  color:#b90f28;
}
.ed-module-head a{
  padding:10px 15px;
  border-radius:var(--amg-pill);
  background:#f4f5f6;
}
.ed-update{
  padding:10px;
  border:1px solid #eceeef;
  border-radius:var(--amg-radius-sm);
  background:#fff;
}
.ed-update img{border-radius:12px}

/* Media, service and supporting slots. */
.ed-video-copy{
  right:10px;
  bottom:10px;
  left:10px;
  padding:12px;
  border-radius:14px;
  background:rgba(3,7,9,.68);
  backdrop-filter:blur(6px);
}
#services{
  padding:30px;
  border:1px solid #e3e6e8;
  border-radius:var(--amg-radius-lg);
  box-shadow:0 14px 42px rgba(10,18,24,.07);
}
.ed-service{border-radius:var(--amg-radius-md)!important}
.ed-arrow{border-radius:var(--amg-pill)}
.ed-panel,.ed-events,.ed-cta .ed-shell{
  overflow:hidden;
  border-radius:var(--amg-radius-md);
  box-shadow:var(--amg-soft-shadow);
}
.ed-bottom-grid>div,.ed-events-panel{
  padding:18px;
  border:1px solid #e6e8ea;
  border-radius:var(--amg-radius-lg);
  background:#fafafa;
}
.ed-event{margin:7px;border:1px solid #eceeef;border-radius:14px;background:#fff}
.ed-event:last-child{border-bottom:1px solid #eceeef}
.ed-date{min-width:46px}
.ed-side-card div{
  right:14px;
  bottom:14px;
  left:14px;
  padding:18px;
  border-radius:var(--amg-radius-sm);
  background:rgba(4,8,10,.72);
  backdrop-filter:blur(7px);
}
.ed-cta{padding:28px 0;background:#f3f5f5}
.ed-cta .ed-shell{padding:28px 34px;background:#071016;color:#fff}
.ed-footer{margin:0 18px 18px;border-radius:var(--amg-radius-lg)}

/* Internal Web & SEO page. */
.ws-header{margin:14px;border-radius:var(--amg-radius-md)}
.ws-hero{
  margin:0 14px;
  border-radius:var(--amg-radius-lg);
  overflow:hidden;
}
.ws-hero h1{letter-spacing:-.055em}
.ws-kicker{display:inline-flex;padding:9px 14px;background:#f5dfe3}
.ws-process article,.ws-card,.ws-note{
  border-radius:var(--amg-radius-md)!important;
  box-shadow:var(--amg-soft-shadow);
}
.ws-process article{position:relative;overflow:hidden;padding:30px}
.ws-process article b{
  display:inline-grid;
  place-items:center;
  min-width:42px;
  min-height:42px;
  padding:8px;
  border-radius:50%;
  background:#f7e5e8;
}
.ws-card-shot{border-radius:22px 22px 0 0!important}
.ws-card a{
  display:inline-flex;
  padding:10px 15px;
  border-radius:var(--amg-pill);
  background:#f5e4e7;
}
.ws-note{border:0!important}

/* Consistent motion and accessibility. */
.ed-update,.ed-panel,.ed-event,.ws-process article,.ws-card{
  transition:transform .28s var(--amg-ease),box-shadow .28s var(--amg-ease),border-color .22s ease;
}
.ed-update:hover,.ed-panel:hover,.ed-event:hover,.ws-process article:hover,.ws-card:hover{
  transform:translateY(-4px);
  border-color:#d7dadd;
  box-shadow:var(--amg-lift-shadow);
}
@media(max-width:760px){
  .ed-hero{padding-top:10px}
  .ed-story-copy{margin:0 8px 8px;padding:16px!important}
  .ed-module,#services{padding:16px;border-radius:24px}
  .ed-bottom-grid>div,.ed-events-panel{padding:12px;border-radius:24px}
  .ed-footer{margin:0 8px 8px;border-radius:24px}
  .ws-header,.ws-hero{margin-inline:8px}
  .ws-hero{border-radius:24px}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{transition:none!important;scroll-behavior:auto!important}
}

/* Editorial realism pass: photography leads; overlays stay compact. */
.ed-story:after{
  inset:34% 0 0;
  background:linear-gradient(180deg,transparent 0%,rgba(3,6,8,.22) 25%,rgba(3,6,8,.92) 100%);
}
.ed-story-copy,.ed-story-main .ed-story-copy{
  right:0;
  bottom:0;
  left:0;
  margin:0;
  padding:24px 26px!important;
  border-radius:0;
  background:none;
  backdrop-filter:none;
}
.ed-story-main .ed-story-copy{padding:30px 34px!important}
.ed-story h1{max-width:13ch;font-size:clamp(2.65rem,3.55vw,4rem);line-height:.94}
.ed-story h2{max-width:18ch;font-size:clamp(1.25rem,1.55vw,1.72rem);line-height:1.01}
.ed-story p{font-size:.95rem}
.ed-label{padding:6px 11px;font-size:10px}

.ed-video:after{
  inset:42% 0 0;
  background:linear-gradient(180deg,transparent 0%,rgba(3,6,8,.72) 48%,rgba(3,6,8,.96) 100%);
}
.ed-video img{object-position:center top}
.ed-video-copy{
  position:absolute;
  inset:0;
  padding:0;
  border-radius:0;
  background:none;
  backdrop-filter:none;
}
.ed-play{
  position:absolute;
  top:48%;
  left:50%;
  width:44px;
  height:44px;
  margin:0;
  transform:translate(-50%,-50%);
  background:rgba(4,8,10,.38);
  backdrop-filter:blur(3px);
}
.ed-video h3{
  position:absolute;
  right:14px;
  bottom:14px;
  left:14px;
  margin:0;
  font-size:.93rem;
  line-height:1.12;
}
.ed-video:hover .ed-play{transform:translate(-50%,-50%) scale(1.06)}

/* Supporting modules remain editorial, compact and content-led. */
.ed-module{padding:20px;border-radius:26px;box-shadow:0 8px 26px rgba(16,27,35,.05)}
.ed-module-head h2,.ed-panel-title{min-height:38px;padding:7px 14px;font-size:1.2rem}
.ed-bottom-grid>div,.ed-events-panel{padding:14px;border-radius:24px}
.ed-panel{min-height:0;border-radius:18px;box-shadow:0 10px 24px rgba(10,18,24,.07)}
.ed-edition{grid-template-columns:128px 1fr;gap:16px;padding:14px}
.ed-edition img{height:190px;border-radius:12px}
.ed-spotlight img{height:166px}
.ed-panel-copy{padding:15px}
.ed-panel-copy h3{font-size:1.4rem}
.ed-event{margin:6px;padding:11px 12px}

@media(max-width:760px){
  .ed-story-copy,.ed-story-main .ed-story-copy{padding:18px!important}
  .ed-story h1{font-size:clamp(2.25rem,11vw,3.15rem)}
  .ed-story h2{font-size:1.35rem}
  .ed-story p{display:none}
  .ed-video{min-height:280px}
  .ed-play{width:46px;height:46px}
  .ed-watch,.ed-services{scrollbar-width:none;-ms-overflow-style:none}
  .ed-watch::-webkit-scrollbar,.ed-services::-webkit-scrollbar{display:none}
}

/* Modern magazine direction: inspired by the supplied reference, AMG-owned. */
:root{
  --amg-mag-purple:#6232ff;
  --amg-mag-lime:#dcff52;
  --amg-mag-lavender:#f1efff;
  --amg-mag-ink:#090a0c;
  --amg-mag-muted:#62666d;
}
body{background:#fff;color:var(--amg-mag-ink);font-family:Arial,Helvetica,sans-serif}
.ed-story h1,.ed-story h2,.ed-side-card h3,.ed-panel-copy h3,.ed-cta h2,
.ws-hero h1,.ws-section h2,.ws-card h3{
  font-family:Arial,Helvetica,sans-serif;
  font-weight:900;
  letter-spacing:-.055em;
}
.ed-story h1{line-height:.91;text-transform:uppercase}
.ed-story h2{line-height:.96}
.ed-module-head h2,.ed-panel-title,.ed-services-head h2{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
}
.ed-meta,.ed-update small,.ed-event p,.ed-panel small{font-size:.72rem;letter-spacing:.015em}

/* Clear magazine pacing through alternating section colour. */
.ed-page{padding-top:30px}
#latest{background:#fff}
#watch{background:var(--amg-mag-lavender);border-color:#ded9ff}
#services{background:#fff}
.ed-bottom-grid{padding:20px;border-radius:30px;background:#f5f6f7}
.ed-bottom-grid>div,.ed-events-panel{background:#fff}
.ed-module-head h2,.ed-panel-title{background:#f9e9ec;color:#b90f28}
#watch .ed-module-head h2{background:#e5dfff;color:#4320bf}
#watch .ed-module-head a{background:var(--amg-mag-purple);color:#fff}
.ed-module-head a:hover{background:#111;color:#fff}

/* Small secondary accents bring energy without displacing AMG red. */
.ed-update:nth-child(2n) small{color:#4a24cf}
.ed-update:nth-child(2n+1) small{color:#b90f28}
.ed-play{border-color:#fff;background:rgba(9,10,12,.50)}
.ed-video:hover .ed-play{background:var(--amg-mag-purple);border-color:var(--amg-mag-purple)}
.ed-event:nth-child(2n) .ed-date{background:var(--amg-mag-purple)}
.ed-cta{background:var(--amg-mag-lime)}
.ed-cta .ed-shell{
  background:transparent;
  color:#0a0b0a;
  box-shadow:none;
}
.ed-cta .ed-button{background:#0a0b0a;color:#fff}
.ed-cta .ed-button:hover{background:var(--amg-mag-purple)}

/* Internal pages use the same confident type and section rhythm. */
.ws-hero{background:linear-gradient(125deg,#f7f1e9 52%,var(--amg-mag-lavender))}
.ws-kicker{background:#f9e9ec;color:#b90f28}
.ws-section:nth-of-type(even){background:var(--amg-mag-lavender)}
.ws-process article:nth-child(2) b{background:#e5dfff;color:#4320bf}
.ws-process article:nth-child(3) b{background:#efffc0;color:#304500}
.ws-card a:hover{background:var(--amg-mag-purple);color:#fff}
.ws-note{background:var(--amg-mag-lime)!important;color:#111!important}

@media(max-width:760px){
  .ed-story h1{text-transform:none;letter-spacing:-.045em}
  .ed-bottom-grid{padding:10px;border-radius:22px}
}

/* Cohesion pass — one AMG palette, radius scale and component language. */
:root{
  --amg-mag-purple:#ed1635;
  --amg-mag-lime:#f4f1ec;
  --amg-mag-lavender:#f5f3f0;
  --amg-surface:#ffffff;
  --amg-surface-soft:#f5f3f0;
  --amg-border:#dedbd5;
  --amg-red:#ed1635;
  --amg-red-dark:#bd1029;
  --amg-charcoal:#090d10;
  --amg-radius-card:20px;
  --amg-radius-section:28px;
}

/* Header alignment and navigation consistency. */
.ed-header-main{grid-template-columns:220px minmax(0,1fr) auto;gap:18px}
.ed-nav{gap:clamp(13px,1.45vw,25px)}
.ed-nav a,.ed-search{white-space:nowrap}
.ed-search{padding:10px 14px;border:1px solid #333a40!important;background:transparent}

/* Surfaces and shapes. */
.ed-story,.ed-side-card,.ed-video,.ed-service,.ed-panel,.ed-update,.ed-event,
.ws-process article,.ws-card,.ws-note{border-radius:var(--amg-radius-card)!important}
.ed-module,#services,.ed-bottom-grid,.ed-bottom-grid>div,.ed-events-panel,
.ws-hero{border-radius:var(--amg-radius-section)!important}
.ed-module,#services,.ed-bottom-grid>div,.ed-events-panel{
  border-color:var(--amg-border)!important;
  background:var(--amg-surface)!important;
}
.ed-bottom-grid{background:var(--amg-surface-soft)!important}

/* Red is the only chromatic interface accent. */
#watch{background:var(--amg-surface-soft);border-color:var(--amg-border)}
#watch .ed-module-head h2,.ed-module-head h2,.ed-panel-title{
  background:#fbe8eb;
  color:var(--amg-red-dark);
}
#watch .ed-module-head a,.ed-module-head a:hover,.ed-video:hover .ed-play,
.ed-event:nth-child(2n) .ed-date,.ed-event .ed-date{
  background:var(--amg-red);
  color:#fff;
}
.ed-update:nth-child(n) small{color:#74777b}
.ed-update:nth-child(n) h3{color:#111315}
.ed-label{background:var(--amg-red)}

/* One button treatment everywhere. */
.ed-button,.ed-services-all,.ws-button,.ed-module-head a{
  border:1px solid var(--amg-red);
  background:var(--amg-red);
  color:#fff!important;
  box-shadow:none;
}
.ed-button:hover,.ed-services-all:hover,.ws-button:hover,.ed-module-head a:hover{
  border-color:var(--amg-red-dark);
  background:var(--amg-red-dark);
  color:#fff!important;
}
.ws-button.alt{border-color:#cbc5bd;background:#fff;color:#292c2f!important}
.ws-button.alt:hover{border-color:#292c2f;background:#292c2f;color:#fff!important}

/* Calm CTA and footer transition. */
.ed-cta{padding:30px 0;background:var(--amg-surface-soft)}
.ed-cta .ed-shell{
  min-height:138px;
  padding:30px 36px;
  border:1px solid var(--amg-border);
  border-radius:var(--amg-radius-section);
  background:#fff;
  color:var(--amg-charcoal);
}
.ed-cta .ed-button{background:var(--amg-red);color:#fff}
.ed-footer{
  margin:0;
  border-radius:0;
  background:var(--amg-charcoal);
}

/* Internal pages inherit the same neutral section system. */
.ws-hero{background:linear-gradient(125deg,#f7f3ed 52%,#eeeae4)}
.ws-section:nth-of-type(even){background:var(--amg-surface-soft)}
.ws-process article:nth-child(n) b{background:#fbe8eb;color:var(--amg-red-dark)}
.ws-card a:hover{background:var(--amg-red);color:#fff}
.ws-note{background:#fbe8eb!important;color:#292c2f!important}

@media(max-width:1100px){
  .ed-header-main{grid-template-columns:190px minmax(0,1fr) auto}
  .ed-nav{gap:11px}
}
@media(max-width:760px){
  .ed-header-main{grid-template-columns:1fr auto;gap:10px}
  .ed-search{padding:9px 12px}
  .ed-cta{padding:18px 0}
  .ed-cta .ed-shell{padding:24px;border-radius:22px}
}

/* Latest Updates now uses the same image-led visual language as Watch. */
.ed-updates{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.ed-update{
  position:relative;
  display:block;
  height:255px;
  padding:0;
  overflow:hidden;
  border-color:#d9d7d2;
  background:#111;
}
.ed-update:after{
  content:"";
  position:absolute;
  inset:40% 0 0;
  background:linear-gradient(180deg,transparent,rgba(4,7,9,.80) 60%,rgba(4,7,9,.97));
  pointer-events:none;
}
.ed-update img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:0;
  object-fit:cover;
}
.ed-update>div{
  position:absolute;
  z-index:2;
  right:16px;
  bottom:15px;
  left:16px;
}
.ed-update:nth-child(n) small{color:#e0e2e4}
.ed-update:nth-child(n) h3{
  margin:5px 0 0;
  color:#fff;
  font-size:1.08rem;
  line-height:1.08;
}
@media(max-width:760px){
  .ed-updates{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .ed-updates::-webkit-scrollbar{display:none}
  .ed-update{flex:0 0 75vw;height:280px;scroll-snap-align:start}
}

/* AMG bottom grid layout fix */
.ed-bottom-grid{align-items:start}
.ed-edition img{width:100%;height:190px;object-fit:contain;object-position:center;background:#fff}

/* AMG balanced homepage bottom cards */
@media (min-width:981px){
.ed-bottom-grid{
grid-template-columns:repeat(3,minmax(0,1fr));
align-items:stretch;
gap:22px;
}

.ed-bottom-grid>div,
.ed-bottom-grid>.ed-events-panel{
display:flex;
flex-direction:column;
min-width:0;
height:100%;
}

.ed-bottom-grid .ed-panel{
flex:1;
min-height:0;
}

.ed-edition{
display:flex;
flex-direction:column;
padding:18px;
gap:14px;
}

.ed-edition>img{
display:block;
width:100%;
height:190px;
object-fit:contain;
object-position:center;
background:#fff;
border-radius:12px;
}

.ed-edition>div{
display:flex;
flex:1;
flex-direction:column;
min-width:0;
}

.ed-edition h3{
margin:6px 0 8px;
}

.ed-edition p{
margin:0 0 18px;
}

.ed-edition .ed-button{
margin-top:auto;
align-self:flex-start;
}

.ed-spotlight{
display:flex;
flex-direction:column;
}

.ed-spotlight>img{
width:100%;
height:220px;
object-fit:cover;
}

.ed-spotlight .ed-panel-copy{
display:flex;
flex:1;
flex-direction:column;
}

.ed-events{
height:100%;
}
}

/* Bottom feature section spans full desktop content width */
@media (min-width:1101px){
.ed-bottom-grid{
width:calc(100% + 350px);
max-width:none;
}
}

/* =========================================================
   AMG V5 LIGHT SURFACE TEXT FIX
   Prevent legacy AMG V4 white body text leaking into
   editorial light cards and modules.
   ========================================================= */

body.amg-v4 .ed-page,
body.amg-v4 .ed-main,
body.amg-v4 .ed-module,
body.amg-v4 .ed-bottom-grid,
body.amg-v4 .ed-bottom-grid > div,
body.amg-v4 .ed-events-panel,
body.amg-v4 .ed-panel,
body.amg-v4 .ed-update {
    color: #111820;
}

/* Bottom editorial cards */
body.amg-v4 .ed-bottom-grid .ed-panel-title {
    color: #b90f28;
}

body.amg-v4 .ed-bottom-grid .ed-edition,
body.amg-v4 .ed-bottom-grid .ed-edition h3,
body.amg-v4 .ed-bottom-grid .ed-edition p,
body.amg-v4 .ed-bottom-grid .ed-edition small {
    color: #111820;
}

body.amg-v4 .ed-bottom-grid .ed-spotlight,
body.amg-v4 .ed-bottom-grid .ed-spotlight h3,
body.amg-v4 .ed-bottom-grid .ed-spotlight p {
    color: #111820;
}

body.amg-v4 .ed-bottom-grid .ed-event,
body.amg-v4 .ed-bottom-grid .ed-event h3 {
    color: #111820;
}

body.amg-v4 .ed-bottom-grid .ed-event p {
    color: #656d73;
}

/* Keep red buttons/date badges white */
body.amg-v4 .ed-bottom-grid .ed-button,
body.amg-v4 .ed-bottom-grid .ed-date {
    color: #fff;
}

/* Other light homepage editorial modules */
body.amg-v4 .ed-module-head,
body.amg-v4 .ed-module-head h2 {
    color: #111820;
}

body.amg-v4 .ed-module-head p {
    color: #3b4146;
}

body.amg-v4 .ed-update,
body.amg-v4 .ed-update h3 {
    color: #111820;
}

body.amg-v4 .ed-update small {
    color: #697178;
}


/* =========================================================
   AMG EDITORIAL TOP STORIES V6
   Photography separated from editorial copy
   ========================================================= */

.ed-hero{
    background:#f7f8fa;
    padding:28px 0 36px;
}

.ed-hero .ed-lead{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    grid-template-rows:auto auto;
    gap:18px;
    align-items:stretch;
}

/* ----- CARD ----- */

.amg-top-story{
    min-width:0;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    background:#fff;
    border:1px solid #e1e5e8;
    border-radius:22px;
    box-shadow:0 5px 18px rgba(8,15,22,.055);
    transition:transform .2s ease,box-shadow .2s ease;
}

.amg-top-story:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(8,15,22,.10);
}

/* Main card occupies both rows */

.amg-top-story-main{
    grid-row:1 / span 2;
}

/* ----- IMAGE ----- */

.amg-top-image{
    display:block;
    overflow:hidden;
    background:#e9ecef;
}

.amg-top-image img{
    display:block;
    width:100% !important;
    height:auto !important;
    aspect-ratio:16 / 9;
    object-fit:cover !important;
    object-position:center !important;
    transform:none !important;
    transition:transform .35s ease !important;
}

.amg-top-story:hover .amg-top-image img{
    transform:scale(1.015) !important;
}

/* ----- COPY PANEL ----- */

.amg-top-copy{
    display:flex;
    flex:1;
    flex-direction:column;
    align-items:flex-start;
    padding:18px 20px 17px;
    color:#111820;
}

.amg-top-story-main .amg-top-copy{
    padding:22px 28px 22px;
}

.amg-top-copy .ed-label{
    position:static;
    display:inline-flex;
    width:auto;
    margin:0 0 11px;
    padding:7px 13px;
    border-radius:999px;
    background:#ed1635;
    color:#fff;
    font-size:.72rem;
    font-weight:800;
    line-height:1;
    letter-spacing:.035em;
    text-transform:uppercase;
}

/* ----- HEADLINES ----- */

.amg-top-title{
    display:block;
    color:#111820 !important;
    text-decoration:none;
}

.amg-top-title h1,
.amg-top-title h2{
    margin:0;
    color:#111820 !important;
    font-weight:850;
    letter-spacing:-.035em;
    text-transform:none;
}

.amg-top-title h1{
    max-width:17ch;
    font-size:clamp(2.2rem,2.75vw,3.35rem);
    line-height:1.01;
}

.amg-top-title h2{
    font-size:clamp(1.15rem,1.3vw,1.45rem);
    line-height:1.08;
}

/* ----- LEAD EXCERPT ----- */

.amg-top-excerpt{
    margin:12px 0 0;
    max-width:68ch;
    color:#535c65 !important;
    font-size:1rem;
    line-height:1.5;
}

/* ----- META / ARROW ----- */

.amg-top-footer{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:auto;
    padding-top:18px;
}

.amg-top-footer .ed-meta{
    position:static;
    color:#5e6872 !important;
    font-size:.82rem;
    font-weight:600;
}

.amg-top-footer .ed-meta b{
    padding:0 3px;
    font-weight:400;
}

.amg-top-arrow{
    flex:0 0 38px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#f0f2f4;
    color:#ed1635 !important;
    font-size:1.45rem;
    line-height:1;
    transition:background .2s ease,color .2s ease,transform .2s ease;
}

.amg-top-story-main .amg-top-arrow{
    background:#ed1635;
    color:#fff !important;
}

.amg-top-arrow:hover{
    transform:translateX(2px);
    background:#111820;
    color:#fff !important;
}

/* ----- TABLET ----- */

@media (max-width:1100px){
    .ed-hero .ed-lead{
        grid-template-columns:1fr 1fr;
    }

    .amg-top-story-main{
        grid-column:1 / -1;
        grid-row:auto;
    }

    .amg-top-story-main .amg-top-image img{
        aspect-ratio:16 / 8;
    }
}

/* ----- MOBILE ----- */

@media (max-width:700px){
    .ed-hero{
        padding:16px 0 24px;
    }

    .ed-hero .ed-lead{
        display:grid;
        grid-template-columns:1fr;
        gap:16px;
    }

    .amg-top-story-main{
        grid-column:auto;
    }

    .amg-top-image img,
    .amg-top-story-main .amg-top-image img{
        aspect-ratio:16 / 9;
    }

    .amg-top-copy,
    .amg-top-story-main .amg-top-copy{
        padding:17px 18px;
    }

    .amg-top-title h1{
        max-width:none;
        font-size:clamp(1.8rem,8vw,2.55rem);
    }

    .amg-top-title h2{
        font-size:1.25rem;
    }

    .amg-top-excerpt{
        font-size:.94rem;
    }
}


/* =========================================================
   AMG HERO V6.1 — BALANCED EDITORIAL CARDS
   ========================================================= */

@media (min-width:1101px){

    .ed-hero{
        padding:24px 0 32px;
    }

    .ed-hero .ed-lead{
        grid-template-columns:minmax(0,1.9fr) minmax(0,0.95fr) minmax(0,0.95fr);
        grid-template-rows:repeat(2,minmax(0,1fr));
        gap:18px;
        align-items:stretch;
    }

    /* Lead card */
    .amg-top-story-main{
        grid-column:1;
        grid-row:1 / span 2;
        height:100%;
    }

    .amg-top-story-main .amg-top-image{
        display:block;
        overflow:hidden;
        aspect-ratio:16 / 9;
        flex:0 0 auto;
    }

    .amg-top-story-main .amg-top-image img{
        width:100% !important;
        height:100% !important;
        aspect-ratio:auto !important;
        object-fit:cover !important;
    }

    .amg-top-story-main .amg-top-copy{
        padding:20px 26px 20px;
    }

    .amg-top-story-main .amg-top-title h1{
        font-size:clamp(2rem,2.35vw,2.85rem);
        line-height:1.02;
        letter-spacing:-0.035em;
        max-width:19ch;
        margin:12px 0 0;
    }

    .amg-top-story-main .amg-top-excerpt{
        font-size:1rem;
        line-height:1.5;
        margin:14px 0 0;
        max-width:68ch;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    /* Four secondary cards */
    .amg-top-story:not(.amg-top-story-main){
        min-width:0;
        height:100%;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-image{
        display:block;
        aspect-ratio:16 / 8.8;
        overflow:hidden;
        flex:0 0 auto;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-image img{
        width:100% !important;
        height:100% !important;
        aspect-ratio:auto !important;
        object-fit:cover !important;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-copy{
        padding:15px 18px 15px;
        min-height:0;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-copy .ed-label{
        font-size:.76rem;
        padding:7px 15px;
        margin-bottom:10px;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-title h2{
        font-size:clamp(1.05rem,1.12vw,1.32rem);
        line-height:1.06;
        letter-spacing:-0.025em;
        margin:0;
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .amg-top-footer{
        margin-top:auto;
        padding-top:14px;
    }

    .amg-top-story:not(.amg-top-story-main) .ed-meta{
        font-size:.82rem;
    }

    .amg-top-arrow{
        width:42px;
        height:42px;
        min-width:42px;
        font-size:1.25rem;
    }

    .amg-top-story-main .amg-top-arrow{
        width:46px;
        height:46px;
        min-width:46px;
    }
}

/* Tablet */
@media (min-width:701px) and (max-width:1100px){

    .amg-top-story-main .amg-top-title h1{
        font-size:clamp(2rem,4vw,2.75rem);
        max-width:20ch;
    }

    .amg-top-story-main .amg-top-excerpt{
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-title h2{
        font-size:1.15rem;
        line-height:1.1;
    }
}

/* Mobile */
@media (max-width:700px){

    .ed-hero{
        padding:16px 0 24px;
    }

    .ed-hero .ed-lead{
        gap:16px;
    }

    .amg-top-story-main .amg-top-copy,
    .amg-top-story:not(.amg-top-story-main) .amg-top-copy{
        padding:17px;
    }

    .amg-top-story-main .amg-top-title h1{
        font-size:clamp(1.75rem,8vw,2.25rem);
        line-height:1.04;
        max-width:none;
    }

    .amg-top-story-main .amg-top-excerpt{
        font-size:.95rem;
        line-height:1.5;
        display:-webkit-box;
        -webkit-line-clamp:3;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-title h2{
        font-size:1.2rem;
        line-height:1.08;
    }
}


/* =========================================================
   AMG HERO V6.2 — FINAL DESKTOP PROPORTIONS
   ========================================================= */

@media (min-width:1101px){

    .ed-hero .ed-lead{
        grid-template-columns:minmax(0,1.72fr) minmax(0,1fr) minmax(0,1fr);
        gap:16px;
    }

    .amg-top-story{
        border-radius:20px;
    }

    /* Main story */
    .amg-top-story-main .amg-top-image{
        aspect-ratio:16 / 8.6;
    }

    .amg-top-story-main .amg-top-copy{
        padding:18px 24px 18px;
    }

    .amg-top-story-main .amg-top-copy .ed-label{
        margin-bottom:8px;
    }

    .amg-top-story-main .amg-top-title h1{
        font-size:clamp(1.9rem,2.15vw,2.6rem);
        line-height:1.01;
        max-width:20ch;
        margin-top:8px;
    }

    .amg-top-story-main .amg-top-excerpt{
        margin-top:10px;
        font-size:.96rem;
        line-height:1.42;
        -webkit-line-clamp:2;
    }

    .amg-top-story-main .amg-top-footer{
        padding-top:12px;
    }

    /* Secondary stories */
    .amg-top-story:not(.amg-top-story-main) .amg-top-image{
        aspect-ratio:16 / 8.25;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-copy{
        padding:13px 17px 13px;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-copy .ed-label{
        padding:6px 14px;
        margin-bottom:8px;
        font-size:.72rem;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-title h2{
        font-size:clamp(1rem,1.04vw,1.22rem);
        line-height:1.05;
        -webkit-line-clamp:3;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-footer{
        padding-top:10px;
    }

    .amg-top-story:not(.amg-top-story-main) .ed-meta{
        font-size:.78rem;
    }

    .amg-top-story:not(.amg-top-story-main) .amg-top-arrow{
        width:38px;
        height:38px;
        min-width:38px;
    }
}


/* =========================================================
   AMG HOMEPAGE V7 — UNIFIED EDITORIAL DESIGN
   LATEST UPDATES
   ========================================================= */

#latest{
    padding:34px 0 42px;
}

#latest .ed-module-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
    padding-bottom:14px;
    border-bottom:1px solid #e5e7eb;
}

#latest .ed-module-head h2{
    margin:0;
    color:#111820;
    font-size:clamp(1.8rem,2.1vw,2.5rem);
    line-height:1;
    letter-spacing:-.035em;
}

#latest .ed-module-head > a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:40px;
    padding:0 17px;
    border-radius:999px;
    background:#f1f3f5;
    color:#111820;
    font-size:.82rem;
    font-weight:800;
    text-decoration:none;
    transition:.2s ease;
}

#latest .ed-module-head > a:hover{
    background:#ed1b2f;
    color:#fff;
}

#latest .ed-updates{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}

#latest .ed-update{
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid #e4e7eb;
    border-radius:20px;
    text-decoration:none;
    box-shadow:0 8px 24px rgba(17,24,32,.045);
    transition:transform .2s ease,box-shadow .2s ease;
}

#latest .ed-update:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 34px rgba(17,24,32,.09);
}

#latest .ed-update > img{
    display:block;
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/9;
    object-fit:cover !important;
    border-radius:0 !important;
    transition:transform .3s ease;
}

#latest .ed-update:hover > img{
    transform:scale(1.025);
}

#latest .ed-update > div{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:16px 17px 18px;
}

#latest .ed-update small{
    display:inline-flex;
    align-self:flex-start;
    margin:0 0 10px;
    color:#ed1b2f;
    font-size:.74rem;
    line-height:1;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.035em;
}

#latest .ed-update h3{
    margin:0;
    color:#111820;
    font-size:clamp(1.05rem,1.08vw,1.28rem);
    line-height:1.08;
    letter-spacing:-.02em;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

@media (max-width:1100px){
    #latest .ed-updates{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:600px){
    #latest{
        padding:26px 0 32px;
    }

    #latest .ed-module-head{
        align-items:center;
    }

    #latest .ed-module-head h2{
        font-size:1.75rem;
    }

    #latest .ed-updates{
        grid-template-columns:1fr;
        gap:15px;
    }

    #latest .ed-update{
        border-radius:18px;
    }
}


/* =========================================================
   AMG HOMEPAGE V7.1
   CLEAN LATEST + WATCH + SIDEBAR
   ========================================================= */

/* ---------- LATEST: REMOVE LEGACY OVERLAYS ---------- */

#latest .ed-update,
#latest .ed-update:hover{
    background:#fff !important;
    color:#111820 !important;
}

#latest .ed-update::before,
#latest .ed-update::after,
#latest .ed-update > div::before,
#latest .ed-update > div::after{
    content:none !important;
    display:none !important;
    background:none !important;
}

#latest .ed-update > div{
    position:relative !important;
    inset:auto !important;
    background:#fff !important;
    background-image:none !important;
    color:#111820 !important;
    opacity:1 !important;
}

#latest .ed-update small{
    position:static !important;
    color:#ed1b2f !important;
    opacity:1 !important;
}

#latest .ed-update h3{
    position:static !important;
    color:#111820 !important;
    text-shadow:none !important;
    opacity:1 !important;
}


/* ---------- WATCH APNA ---------- */

#watch{
    margin-top:26px;
    padding:30px 26px 34px;
    background:#fff;
    border:1px solid #e4e7eb;
    border-radius:28px;
}

#watch .ed-module-head{
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:24px;
    margin-bottom:22px;
}

#watch .ed-module-head h2{
    margin:0;
    display:inline-flex;
    width:max-content;
    padding:9px 18px;
    border-radius:999px;
    background:#fde8eb;
    color:#b70e25;
    font-size:1.35rem;
    line-height:1;
    letter-spacing:-.02em;
}

#watch .ed-module-head p{
    margin:0;
    color:#48515c;
    font-size:1rem;
}

#watch .ed-module-head > a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 20px;
    border-radius:999px;
    background:#ed1b2f;
    color:#fff !important;
    font-size:.82rem;
    font-weight:800;
    text-decoration:none;
}

#watch .ed-watch{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

#watch .ed-video{
    display:flex !important;
    flex-direction:column;
    position:relative;
    min-width:0;
    overflow:hidden;
    border:1px solid #e4e7eb;
    border-radius:20px;
    background:#fff !important;
    color:#111820 !important;
    text-decoration:none;
    box-shadow:0 8px 24px rgba(17,24,32,.045);
    transition:transform .2s ease,box-shadow .2s ease;
}

#watch .ed-video:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 34px rgba(17,24,32,.09);
}

#watch .ed-video::before,
#watch .ed-video::after{
    content:none !important;
    display:none !important;
}

#watch .ed-video > img{
    display:block;
    width:100% !important;
    height:auto !important;
    aspect-ratio:16/10;
    object-fit:cover !important;
    border-radius:0 !important;
}

#watch .ed-video-copy{
    position:static !important;
    inset:auto !important;
    display:flex;
    flex-direction:column;
    flex:1;
    min-height:105px;
    padding:16px 17px 17px;
    background:#fff !important;
    background-image:none !important;
    color:#111820 !important;
}

#watch .ed-video-copy::before,
#watch .ed-video-copy::after{
    content:none !important;
    display:none !important;
}

#watch .ed-video-copy h3{
    position:static !important;
    margin:0 !important;
    color:#111820 !important;
    font-size:1.08rem;
    line-height:1.08;
    letter-spacing:-.02em;
    text-shadow:none !important;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* Play button remains on image */
#watch .ed-play{
    position:absolute !important;
    top:calc((100% - 105px) / 2);
    left:50%;
    transform:translate(-50%,-50%);
    z-index:3;
    display:flex;
    align-items:center;
    justify-content:center;
    width:54px;
    height:54px;
    margin:0 !important;
    border:2px solid rgba(255,255,255,.9);
    border-radius:50%;
    background:rgba(17,24,32,.72);
    color:#fff !important;
    font-size:1rem;
    line-height:1;
    backdrop-filter:blur(4px);
}


/* ---------- SIDEBAR: FIX DARK TEXT ---------- */

.ed-side-card > div{
    color:#fff !important;
}

.ed-side-card small,
.ed-side-card h3{
    color:#fff !important;
    text-shadow:0 2px 12px rgba(0,0,0,.35);
}

.ed-side-card .ed-button{
    color:#fff !important;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width:1100px){

    #watch .ed-watch{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    #watch .ed-module-head{
        grid-template-columns:1fr auto;
    }

    #watch .ed-module-head p{
        grid-column:1 / -1;
        grid-row:2;
    }
}

@media (max-width:600px){

    #watch{
        padding:22px 16px 24px;
        border-radius:22px;
    }

    #watch .ed-module-head{
        grid-template-columns:1fr auto;
        gap:12px;
    }

    #watch .ed-module-head h2{
        font-size:1.1rem;
        padding:8px 14px;
    }

    #watch .ed-module-head p{
        font-size:.9rem;
    }

    #watch .ed-module-head > a{
        min-height:38px;
        padding:0 14px;
    }

    #watch .ed-watch{
        grid-template-columns:1fr;
        gap:15px;
    }
}


/* =========================================================
   AMG V7.2 — LATEST UPDATES DEFINITIVE CARD RESET
   ========================================================= */

body.amg-v4 #latest .ed-updates{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px !important;
}

body.amg-v4 #latest .ed-update{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
    gap:0 !important;
    align-items:stretch !important;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden !important;
    position:relative !important;

    background:#fff !important;
    background-image:none !important;

    border:1px solid #e2e6ea !important;
    border-radius:20px !important;

    color:#111820 !important;
}

/* kill every legacy card gradient */
body.amg-v4 #latest .ed-update::before,
body.amg-v4 #latest .ed-update::after{
    content:none !important;
    display:none !important;
    background:none !important;
}

/* IMAGE */
body.amg-v4 #latest .ed-update > img{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;

    position:relative !important;
    inset:auto !important;

    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;

    aspect-ratio:16 / 9 !important;
    object-fit:cover !important;

    margin:0 !important;
    padding:0 !important;

    border:0 !important;
    border-radius:0 !important;

    transform:none;
}

/* TEXT PANEL */
body.amg-v4 #latest .ed-update > div{
    display:flex !important;
    flex-direction:column !important;
    position:relative !important;
    inset:auto !important;

    flex:1 1 auto !important;
    min-height:125px !important;

    margin:0 !important;
    padding:16px 18px 18px !important;

    background:#fff !important;
    background-image:none !important;

    color:#111820 !important;
    opacity:1 !important;
}

/* remove any gradient attached to text */
body.amg-v4 #latest .ed-update > div::before,
body.amg-v4 #latest .ed-update > div::after{
    content:none !important;
    display:none !important;
    background:none !important;
}

body.amg-v4 #latest .ed-update small,
body.amg-v4 #latest .ed-update:nth-child(n) small{
    display:block !important;
    position:static !important;

    margin:0 0 10px !important;

    color:#ed1b2f !important;
    font-size:.75rem !important;
    line-height:1 !important;
    font-weight:900 !important;
    letter-spacing:.035em !important;
    text-transform:uppercase !important;

    opacity:1 !important;
}

body.amg-v4 #latest .ed-update h3,
body.amg-v4 #latest .ed-update:nth-child(n) h3{
    display:-webkit-box !important;
    position:static !important;

    margin:0 !important;

    color:#111820 !important;
    font-size:1.08rem !important;
    line-height:1.1 !important;
    font-weight:800 !important;
    letter-spacing:-.025em !important;

    text-shadow:none !important;
    opacity:1 !important;

    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

body.amg-v4 #latest .ed-update:hover > img{
    transform:scale(1.025) !important;
}

/* TABLET */
@media (max-width:1100px){
    body.amg-v4 #latest .ed-updates{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}

/* MOBILE */
@media (max-width:620px){
    body.amg-v4 #latest .ed-updates{
        display:grid !important;
        grid-template-columns:1fr !important;
        overflow:visible !important;
    }

    body.amg-v4 #latest .ed-update{
        width:100% !important;
        flex:none !important;
    }
}

