/* K13 News v1.0.44 — clean end lines for the original newspaper structure.
   No homepage replacement, no artificial ads, and no changes to PDFs. */
@media screen {
 .front-grid.k13-front-composer {
   padding-bottom:4px;
   margin-bottom:0;
   border-bottom:1px solid var(--line);
 }
 .front-grid.k13-front-composer + .k13-ad-unit.k13-ad-bottom {
   margin-top:0;
   margin-bottom:8px;
 }
 /* A 40px empty footer gutter was also imposed below the final article grid. */
 #main > .secondary-grid {margin-bottom:8px;}
 .front-grid.k13-front-composer > .front-left,
 .front-grid.k13-front-composer > .front-center,
 .front-grid.k13-front-composer > .front-right {
   min-width:0;
 }
 .front-grid.k13-front-composer > .front-left > .story-card:last-child,
 .front-grid.k13-front-composer > .front-center > .story-card:last-child,
 .front-grid.k13-front-composer > .front-right > .story-card:last-child {
   border-bottom:1px solid var(--line);
 }
 .story-design.k13-frame-bottom .article-layout {
   margin-bottom:8px;
 }
 .story-design.k13-frame-bottom > .k13-ad-unit.k13-ad-bottom {
   margin-top:0;
 }
}
/* At intermediate widths the original stylesheet hid the entire right rail,
   including its unique editorial stories and paid advertisements. */
@media screen and (min-width:721px) and (max-width:1170px) {
 .front-grid.k13-front-composer > .front-right {
   display:grid;
   grid-column:1/-1;
   grid-template-columns:repeat(3,minmax(0,1fr));
   align-content:start;
   gap:0 20px;
   border-left:0;
   border-top:2px solid var(--ink);
   padding:14px 0 0;
   margin-top:12px;
 }
 .front-grid.k13-front-composer > .front-right > .eyebrow {
   grid-column:1/-1;
 }
 .front-grid.k13-front-composer > .front-right > .k13-ad-unit {
   grid-column:auto;
 }
}
@media screen and (max-width:720px) {
 .front-grid.k13-front-composer > .front-right {
   display:grid;
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:0 14px;
   border-left:0;
   border-top:2px solid var(--ink);
   padding:12px 0 0;
 }
 .front-grid.k13-front-composer > .front-right > .eyebrow {
   grid-column:1/-1;
 }
 .front-grid.k13-front-composer > .front-left > .eyebrow {
   grid-column:1/-1;
 }
}
@media screen and (max-width:540px) {
 .front-grid.k13-front-composer > .front-left,
 .front-grid.k13-front-composer > .front-right {
   display:block;
 }
 .front-grid.k13-front-composer > .front-left .story-card,
 .front-grid.k13-front-composer > .front-right .story-card {
   padding:15px 0;
 }
 .front-grid.k13-front-composer > .front-right .eyebrow {
   margin-top:10px;
 }
}
/* Preserve editorial sidebar instead of hiding related stories and the
   legitimately active advertising on article pages. */
@media screen and (min-width:751px) {
 .story-design.k13-frame-bottom .article-layout {
   display:grid;
   max-width:100%;
   grid-template-columns:minmax(0,3fr) minmax(215px,1fr);
   gap:clamp(18px,2.4vw,38px);
   align-items:start;
 }
 .story-design.k13-frame-bottom .article-aside {
   display:flex;
   min-width:0;
   flex-direction:column;
   justify-content:flex-start;
   gap:18px;
   align-self:stretch;
 }
 .story-design.k13-frame-bottom .article-main .newspaper-prose {
   max-width:none;
 }
}
@media screen and (max-width:750px) {
 .story-design.k13-frame-bottom .article-aside {
   display:block;
   border-top:2px solid var(--ink);
   padding:16px 0 0;
   margin-top:25px;
 }
 .story-design.k13-frame-bottom .article-main .newspaper-prose {
   columns:1!important;
 }
}
/* Spare headlines are genuine article previews, set as compact print briefs.
   A smaller predictable height makes responsive column balancing accurate. */
@media screen and (min-width:1171px) {
 .front-grid.k13-front-composer > div > .story-card.k13-density-inserted h2 {
   font-size:clamp(18px,1.45vw,23px);
   line-height:1.18;
 }
 .front-grid.k13-front-composer .story-card.k13-density-inserted > p {
   display:-webkit-box;
   -webkit-box-orient:vertical;
   -webkit-line-clamp:4;
   overflow:hidden;
   line-height:1.48;
   margin-bottom:9px;
 }
 .front-grid.k13-front-composer .story-card.k13-density-inserted .k13-photo-wrap {
   margin:10px 0 10px;
 }
 .front-grid.k13-front-composer .story-card.k13-density-inserted .k13-photo {
   aspect-ratio:16/8;
   max-height:175px;
 }
}
