/* Article pages: layout and components (loaded only on article pages that use .ed-article) */
.ed-article{
  --ed-red:#ff0000;
  --ed-red-text:#c8001e;
  --ed-pink:#ffc5c5;
  --ed-pink-soft:#fff1f1;
  --ed-pink-line:#ffd3d3;
  --ed-ink:#1c1c1c;
  --ed-muted:#5a5a5a;
  --ed-black:#000;
  --ed-white:#fff;
  font-family:"Muli",Sans-serif;
  color:var(--ed-ink);
  font-size:18px;
  line-height:1.7;
  font-weight:400;
  text-align:left;
}
.ed-article *,.ed-article *::before,.ed-article *::after{box-sizing:border-box}
.ed-wrap{max-width:1040px;margin:0 auto;padding:0 20px}

/* type */
.ed-article h1,.ed-article h2{font-family:"Muli",Sans-serif;color:var(--ed-black);text-transform:none}
.ed-article h2{font-size:30px;line-height:1.25;font-weight:700;letter-spacing:-.3px;margin:0 0 20px}
.ed-article h2::before{content:"";display:block;width:48px;height:4px;background:var(--ed-red);margin:0 0 18px}
.ed-article p{margin:0 0 1.1em}
.ed-article p:last-child{margin-bottom:0}
.ed-article a{color:var(--ed-red-text);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.ed-article a:hover,.ed-article a:focus{color:var(--ed-black)}
.ed-article a:focus-visible{outline:2px solid var(--ed-red);outline-offset:2px}
.ed-lead{font-size:22px;line-height:1.6;font-weight:300;color:var(--ed-black)}

/* hero: pink panel with H1, photo to the right edge */
.ed-hero{position:relative;background:var(--ed-pink);overflow:hidden}
.ed-hero__inner{display:flex;align-items:flex-end;min-height:440px;padding-top:64px;padding-bottom:56px}
.ed-hero__text{width:calc(50% - 20px);padding-right:40px}
.ed-article .ed-hero h1{font-size:48px;line-height:1.08;font-weight:400;letter-spacing:-.5px;margin:0}
.ed-hero__media{position:absolute;top:0;right:0;bottom:0;width:50%;margin:0}
.ed-hero__media img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}

/* bands */
.ed-band{padding:72px 0}
.ed-band--tight{padding-top:56px}
.ed-band--head{padding-bottom:30px}
.ed-band--pink{background:var(--ed-pink-soft)}
.ed-band--dark{background:var(--ed-black);color:#f2f2f2}
.ed-band--dark h2{color:var(--ed-white)}
.ed-band--dark a{color:var(--ed-white)}
.ed-band--dark a:hover,.ed-band--dark a:focus{color:var(--ed-pink)}
/* white band right after another white band: no double gap */
.ed-band:not(.ed-band--pink):not(.ed-band--dark):not(.ed-band--photo) + .ed-band:not(.ed-band--pink):not(.ed-band--dark):not(.ed-band--photo){padding-top:0}
.ed-block + .ed-block{margin-top:56px}

/* callout */
.ed-note{position:relative;background:var(--ed-pink-soft);border-left:6px solid var(--ed-red);padding:30px 36px}
.ed-note--pause{padding-left:92px}
.ed-note--pause::before{content:"";position:absolute;left:32px;top:32px;width:38px;height:38px;border-radius:50%;
  background:var(--ed-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M9 6v12M15 6v12'/%3E%3C/svg%3E") center/20px no-repeat}

/* list of rights as a grid */
.ed-article ul.ed-checks{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ed-checks li{position:relative;margin:0;background:var(--ed-pink-soft);border:1px solid var(--ed-pink-line);padding:20px 22px 20px 62px;font-size:17px;line-height:1.6}
.ed-checks li::before{content:"";position:absolute;left:20px;top:21px;width:26px;height:26px;border-radius:50%;
  background:var(--ed-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat}

/* cards */
.ed-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}
.ed-cards--rows{grid-template-columns:1fr;gap:16px}
.ed-cards--rows .ed-card{border-top:0;border-left:4px solid var(--ed-red);padding:24px 30px}
.ed-card{background:var(--ed-white);border-top:4px solid var(--ed-red);padding:26px 26px 28px;font-size:17px;line-height:1.65}
.ed-band--pink .ed-card{box-shadow:0 1px 0 var(--ed-pink-line)}
.ed-card p{margin:0}

/* photo band with a lifted panel or lifted cards */
.ed-band--photo{padding:0 0 72px}
.ed-photo{margin:0;height:clamp(260px,30vw,460px);overflow:hidden;background:var(--ed-pink)}
.ed-photo img{display:block;width:100%;height:100%;object-fit:cover;max-width:none}
.ed-lift{position:relative;margin-top:-140px}
.ed-panel{background:var(--ed-white);padding:48px 52px;box-shadow:0 18px 40px rgba(0,0,0,.10)}
.ed-lift .ed-cards{margin-top:0}
.ed-lift .ed-card{box-shadow:0 18px 40px rgba(0,0,0,.10)}

/* data table */
.ed-table{margin:28px 0 0;overflow-x:auto}
.ed-article .ed-table table{width:100%;border-collapse:collapse;margin:0;border:0;font-size:16px;line-height:1.45;font-variant-numeric:tabular-nums}
.ed-article .ed-table th,.ed-article .ed-table td{border:0;border-bottom:1px solid #e7e7e7;padding:15px 16px;text-align:left;vertical-align:top}
.ed-article .ed-table thead th{background:var(--ed-black);color:var(--ed-white);font-weight:700;font-size:15px;text-transform:none;letter-spacing:0;border-bottom:4px solid var(--ed-red)}
.ed-article .ed-table tbody tr:nth-child(even) td{background:var(--ed-pink-soft)}
.ed-article .ed-table tbody td:first-child{font-weight:700;color:var(--ed-black)}
.ed-article .ed-table td.ed-num{white-space:nowrap}
.ed-article .ed-table td.ed-down{color:var(--ed-red-text);font-weight:700}
.ed-source{margin-top:14px !important;font-size:15px;color:var(--ed-muted)}

/* closing note */
.ed-disclaimer{border-top:1px solid #e3e3e3;padding-top:22px;font-size:15px;line-height:1.6;color:var(--ed-muted)}

/* responsive */
@media (max-width:1100px){
  .ed-cards{grid-template-columns:1fr}
}
@media (max-width:1024px){
  .ed-article .ed-hero h1{font-size:36px}
  .ed-hero__inner{min-height:380px}
  .ed-hero__text{padding-right:24px}
}
@media (max-width:767px){
  .ed-article{font-size:17px}
  .ed-lead{font-size:19px}
  .ed-article h2{font-size:25px}
  .ed-band{padding:48px 0}
  .ed-band--tight{padding-top:40px}
  .ed-band--head{padding-bottom:24px}
  .ed-band--photo{padding:0 0 48px}
  .ed-block + .ed-block{margin-top:44px}
  .ed-hero__media{position:static;width:100%;height:auto;aspect-ratio:3/2}
  .ed-hero__inner{display:block;min-height:0;padding-top:30px;padding-bottom:36px}
  .ed-hero__text{width:auto;padding-right:0}
  .ed-article .ed-hero h1{font-size:34px;line-height:1.12;overflow-wrap:break-word}
  .ed-article ul.ed-checks{grid-template-columns:1fr}
  .ed-note{padding:24px 22px}
  .ed-note--pause{padding-top:80px}
  .ed-note--pause::before{left:22px;top:24px}
  .ed-lift{margin-top:-60px}
  .ed-panel{padding:30px 22px}
  .ed-card,.ed-cards--rows .ed-card{padding:22px 20px 24px}
  /* table as stacked rows */
  .ed-article .ed-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .ed-article .ed-table table,.ed-article .ed-table tbody,.ed-article .ed-table tr,.ed-article .ed-table td{display:block;width:100%}
  .ed-article .ed-table tr{border:1px solid var(--ed-pink-line);border-top:4px solid var(--ed-red);margin-bottom:14px;background:var(--ed-white)}
  .ed-article .ed-table tbody tr:nth-child(even) td{background:transparent}
  .ed-article .ed-table td{display:grid;grid-template-columns:minmax(0,44%) minmax(0,1fr);gap:12px;padding:10px 14px}
  .ed-article .ed-table td:last-child{border-bottom:0}
  .ed-article .ed-table td::before{content:attr(data-label);font-weight:400;font-size:14px;color:var(--ed-muted)}
  .ed-article .ed-table td:first-child{display:block;background:var(--ed-pink-soft) !important;font-size:17px}
  .ed-article .ed-table td:first-child::before{content:none}
  .ed-article .ed-table td.ed-num{white-space:normal}
}
@media (max-width:420px){
  .ed-article .ed-hero h1{font-size:30px}
  .ed-article .ed-table td{grid-template-columns:1fr;gap:2px}
}
