/* ZEITUNG.IO
   ARTICLE CONTINUATION / RETENTION
   VISUAL SYSTEM V117
   ------------------------------------------------
   Goal:
   continuation of the front page, not a widget area.
*/

.ior116{
  --io-paper:#f5f0e8;
  --io-paper-2:#eee8de;
  --io-ink:#0c0f10;
  --io-muted:#6e716e;
  --io-line:#c8c0b5;
  --io-line-dark:#9e978d;
  --io-red:#f23b30;
  --io-dark:#10272d;
  --io-white:#f7f4ee;

  width:100%;
  margin:72px 0 0;
  padding:0;
  background:var(--io-paper);
  color:var(--io-ink);
  border-top:3px solid var(--io-red);
  font-family:Arial,Helvetica,sans-serif;
}

.ior116 *,
.ior116 *::before,
.ior116 *::after{
  box-sizing:border-box;
}

.ior116 a{
  color:inherit;
  text-decoration:none;
}

.ior116-shell{
  width:min(1376px,calc(100% - 48px));
  margin:0 auto;
}

/* ------------------------------------------------
   SECTION RHYTHM — same newspaper spacing
------------------------------------------------ */

.ior116-section{
  width:100%;
  padding:48px 0 54px;
  border-bottom:1px solid var(--io-line);
}

.ior116-eyebrow{
  margin:0 0 12px;
  color:var(--io-red);
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.26em;
  text-transform:uppercase;
}

.ior116-titlebar{
  min-height:48px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px;
  margin:0 0 27px;
}

.ior116-titlebar h2{
  position:relative;
  margin:0;
  padding:0 0 0 17px;
  font-size:clamp(31px,3vw,44px);
  line-height:.98;
  font-weight:800;
  letter-spacing:-.045em;
}

.ior116-titlebar h2::before{
  content:"";
  position:absolute;
  left:0;
  top:2px;
  bottom:2px;
  width:4px;
  background:var(--io-red);
}

.ior116-titlebar > a{
  flex:0 0 auto;
  padding:0 0 6px;
  border-bottom:1px solid var(--io-ink);
  font-size:10px;
  line-height:1;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.ior116-titlebar > a:hover{
  border-color:var(--io-red);
  color:var(--io-red);
}

/* ------------------------------------------------
   3 STORY GRID
------------------------------------------------ */

.ior116-related{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid var(--io-line-dark);
  border-bottom:1px solid var(--io-line-dark);
}

.ior116-card{
  position:relative;
  min-width:0;
  padding:24px 27px 31px;
  border-right:1px solid var(--io-line);
  background:transparent;
}

.ior116-card:first-child{
  padding-left:0;
}

.ior116-card:last-child{
  padding-right:0;
  border-right:0;
}

.ior116-media{
  position:relative;
  display:block;
  width:100%;
  margin:0 0 19px;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#d9d2c7;
}

.ior116-media:empty{
  display:none;
}

.ior116-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  transform:scale(1.001);
  transition:transform .28s ease;
}

.ior116-card:hover .ior116-media img,
.ior116-small:hover .ior116-media img{
  transform:scale(1.018);
}

.ior116-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px 11px;
  margin:0 0 10px;
  color:var(--io-muted);
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.ior116-num{
  color:var(--io-red);
  font-size:11px;
  font-weight:900;
}

.ior116-card h3{
  max-width:95%;
  margin:0 0 19px;
  font-size:clamp(23px,2vw,30px);
  line-height:1.02;
  font-weight:800;
  letter-spacing:-.035em;
}

.ior116-read{
  display:inline-block;
  padding-bottom:4px;
  border-bottom:1px solid transparent;
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.ior116-read:hover{
  color:var(--io-red);
  border-color:var(--io-red);
}

/* ------------------------------------------------
   LIVE / JETZT
------------------------------------------------ */

.ior116-live{
  width:100%;
  background:var(--io-dark);
  color:var(--io-white);
  border-bottom:1px solid #091a1f;
}

.ior116-live .ior116-shell{
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  min-height:338px;
}

.ior116-live-head{
  padding:41px 34px 38px 0;
  border-right:1px solid rgba(255,255,255,.18);
}

.ior116-live-head strong{
  display:flex;
  align-items:center;
  gap:9px;
  margin:0 0 20px;
  color:var(--io-red);
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.19em;
}

.ior116-live-head strong::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--io-red);
}

.ior116-live-head h2{
  max-width:210px;
  margin:0;
  font-size:37px;
  line-height:.94;
  font-weight:800;
  letter-spacing:-.045em;
}

.ior116-live-list{
  padding:18px 0 18px 31px;
}

.ior116-live-item{
  display:grid;
  grid-template-columns:66px minmax(0,1fr) 105px;
  gap:18px;
  align-items:center;
  min-height:59px;
  border-bottom:1px solid rgba(255,255,255,.14);
}

.ior116-live-item:last-child{
  border-bottom:0;
}

.ior116-live-item time{
  color:var(--io-red);
  font-size:11px;
  line-height:1;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.ior116-live-item span{
  padding:8px 0;
  font-size:17px;
  line-height:1.14;
  font-weight:700;
  letter-spacing:-.015em;
}

.ior116-live-item b{
  justify-self:end;
  color:#b9c3c5;
  font-size:8px;
  line-height:1;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.ior116-live-item:hover span,
.ior116-live-item:hover b{
  color:#fff;
}

/* ------------------------------------------------
   DAS WICHTIGSTE HEUTE
------------------------------------------------ */

.ior116-today{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid var(--io-line-dark);
  border-bottom:1px solid var(--io-line-dark);
}

.ior116-small{
  min-width:0;
  padding:22px 22px 26px;
  border-right:1px solid var(--io-line);
}

.ior116-small:first-child{
  padding-left:0;
}

.ior116-small:last-child{
  padding-right:0;
  border-right:0;
}

.ior116-small .ior116-media{
  margin-bottom:16px;
  aspect-ratio:4/3;
}

.ior116-small h3{
  margin:7px 0 0;
  font-size:21px;
  line-height:1.04;
  font-weight:800;
  letter-spacing:-.028em;
}

.ior116-small > a:last-child{
  display:block;
}

/* ------------------------------------------------
   ANALYSIS FEATURE — same language as homepage
------------------------------------------------ */

.ior116 > .ior116-shell[style]{
  padding:54px 0 !important;
}

.ior116-analysis{
  display:grid;
  grid-template-columns:54% 46%;
  min-height:390px;
  margin:0;
  background:#0d1113;
  color:var(--io-white);
  border:0;
}

.ior116-analysis-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:50px 55px;
}

.ior116-analysis-copy span{
  margin:0 0 17px;
  color:var(--io-red);
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}

.ior116-analysis-copy h2{
  max-width:690px;
  margin:0 0 27px;
  font-size:clamp(35px,3.6vw,55px);
  line-height:.96;
  font-weight:800;
  letter-spacing:-.048em;
}

.ior116-analysis-copy a{
  align-self:flex-start;
  padding-bottom:5px;
  border-bottom:1px solid #8d999b;
  font-size:9px;
  line-height:1;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.ior116-analysis-copy a:hover{
  border-color:var(--io-red);
  color:var(--io-red);
}

.ior116-analysis > .ior116-media{
  height:100%;
  min-height:390px;
  margin:0;
  aspect-ratio:auto;
  background:#26383d;
}

.ior116-analysis > .ior116-media img{
  height:100%;
  object-fit:cover;
}

/* ------------------------------------------------
   TRANSITION TO NEWSLETTER / FOOTER
------------------------------------------------ */

.ior116::after{
  content:"";
  display:block;
  height:1px;
  background:var(--io-line-dark);
}

.ior116 + *{
  margin-top:0 !important;
}

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

@media(max-width:1000px){

  .ior116-shell{
    width:min(100% - 32px,1376px);
  }

  .ior116-related{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ior116-card:nth-child(2){
    border-right:0;
    padding-right:0;
  }

  .ior116-card:nth-child(3){
    grid-column:1/-1;
    padding:25px 0 29px;
    border-top:1px solid var(--io-line);
    border-right:0;
  }

  .ior116-card:nth-child(3) .ior116-media{
    max-width:620px;
  }

  .ior116-live .ior116-shell{
    grid-template-columns:210px 1fr;
  }

  .ior116-live-item{
    grid-template-columns:58px minmax(0,1fr);
  }

  .ior116-live-item b{
    display:none;
  }

  .ior116-today{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ior116-small:nth-child(2){
    border-right:0;
  }

  .ior116-small:nth-child(3),
  .ior116-small:nth-child(4){
    border-top:1px solid var(--io-line);
  }

  .ior116-small:nth-child(3){
    padding-left:0;
  }

  .ior116-analysis{
    grid-template-columns:1fr 1fr;
  }

  .ior116-analysis-copy{
    padding:42px 35px;
  }
}

/* ------------------------------------------------
   MOBILE — app-like, no horizontal accidents
------------------------------------------------ */

@media(max-width:720px){

  .ior116{
    margin-top:45px;
  }

  .ior116-shell{
    width:calc(100% - 28px);
  }

  .ior116-section{
    padding:37px 0 41px;
  }

  .ior116-titlebar{
    display:block;
    margin-bottom:22px;
  }

  .ior116-titlebar h2{
    font-size:31px;
  }

  .ior116-titlebar > a{
    display:inline-block;
    margin-top:17px;
  }

  .ior116-related{
    display:block;
  }

  .ior116-card,
  .ior116-card:first-child,
  .ior116-card:nth-child(2),
  .ior116-card:nth-child(3),
  .ior116-card:last-child{
    display:grid;
    grid-template-columns:116px minmax(0,1fr);
    column-gap:15px;
    padding:17px 0;
    border:0;
    border-bottom:1px solid var(--io-line);
  }

  .ior116-card:last-child{
    border-bottom:0;
  }

  .ior116-card .ior116-media{
    grid-column:1;
    grid-row:1/5;
    width:116px;
    aspect-ratio:1/1;
    margin:0;
  }

  .ior116-card .ior116-meta,
  .ior116-card h3,
  .ior116-card .ior116-read{
    grid-column:2;
  }

  .ior116-card h3{
    max-width:none;
    margin:3px 0 10px;
    font-size:20px;
  }

  .ior116-live .ior116-shell{
    display:block;
    min-height:0;
  }

  .ior116-live-head{
    padding:31px 0 25px;
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.18);
  }

  .ior116-live-head h2{
    max-width:none;
    font-size:31px;
  }

  .ior116-live-list{
    padding:7px 0 10px;
  }

  .ior116-live-item{
    grid-template-columns:48px minmax(0,1fr);
    min-height:57px;
    gap:11px;
  }

  .ior116-live-item span{
    font-size:15px;
  }

  .ior116-today{
    display:block;
  }

  .ior116-small,
  .ior116-small:first-child,
  .ior116-small:nth-child(2),
  .ior116-small:nth-child(3),
  .ior116-small:nth-child(4),
  .ior116-small:last-child{
    display:grid;
    grid-template-columns:105px minmax(0,1fr);
    column-gap:14px;
    padding:16px 0;
    border:0;
    border-bottom:1px solid var(--io-line);
  }

  .ior116-small:last-child{
    border-bottom:0;
  }

  .ior116-small .ior116-media{
    grid-column:1;
    grid-row:1/4;
    width:105px;
    aspect-ratio:1/1;
    margin:0;
  }

  .ior116-small .ior116-meta,
  .ior116-small > a:last-child{
    grid-column:2;
  }

  .ior116-small h3{
    margin-top:3px;
    font-size:19px;
  }

  .ior116 > .ior116-shell[style]{
    width:100%;
    padding:0 !important;
  }

  .ior116-analysis{
    display:flex;
    flex-direction:column-reverse;
    min-height:0;
  }

  .ior116-analysis-copy{
    padding:31px 20px 36px;
  }

  .ior116-analysis-copy h2{
    font-size:33px;
  }

  .ior116-analysis > .ior116-media{
    width:100%;
    height:240px;
    min-height:240px;
  }
}

@media(max-width:420px){

  .ior116-shell{
    width:calc(100% - 24px);
  }

  .ior116-card,
  .ior116-card:first-child,
  .ior116-card:nth-child(2),
  .ior116-card:nth-child(3),
  .ior116-card:last-child{
    grid-template-columns:92px minmax(0,1fr);
  }

  .ior116-card .ior116-media{
    width:92px;
  }

  .ior116-small,
  .ior116-small:first-child,
  .ior116-small:nth-child(2),
  .ior116-small:nth-child(3),
  .ior116-small:nth-child(4),
  .ior116-small:last-child{
    grid-template-columns:88px minmax(0,1fr);
  }

  .ior116-small .ior116-media{
    width:88px;
  }
}
