/*
Theme Name: Prime Pagine Oggi
Author: Prime Pagine Oggi
Description: Tema editoriale blu, moderno e responsive per Prime Pagine Oggi.
Version: 4.13.0
*/
:root{--pp-blue:#082f68;--pp-blue2:#1764d8;--pp-light:#edf4ff;--pp-bg:#f6f9fd;--pp-card:#fff;--pp-text:#10294b;--pp-muted:#71809a;--pp-border:#e1e8f2;--pp-max:1240px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--pp-bg);color:var(--pp-text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit}
.pp-header{background:#fff;color:var(--pp-blue);border-top:4px solid var(--pp-blue2);border-bottom:1px solid var(--pp-border);position:sticky;top:0;z-index:100;box-shadow:0 5px 20px rgba(15,50,100,.07)}
.pp-header-inner{max-width:var(--pp-max);margin:auto;min-height:82px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:34px}.pp-brand{display:flex;align-items:center;line-height:0;text-decoration:none;flex-shrink:0}.pp-brand img{display:block;width:330px;height:auto;max-height:66px;object-fit:contain;object-position:left center}
.pp-nav{display:flex;gap:5px;align-items:center}.pp-nav a{text-decoration:none;font-size:16px;font-weight:800;color:var(--pp-blue);padding:12px 16px;border-radius:8px;transition:.18s ease}.pp-nav a:hover{background:var(--pp-light);color:var(--pp-blue2)}.pp-nav-home{color:var(--pp-blue2)!important}
.pp-main{min-height:70vh}.pp-hero{max-width:var(--pp-max);margin:0 auto;padding:52px 22px 38px;text-align:center;position:relative;overflow:hidden;background:radial-gradient(circle at 8% 50%,rgba(42,113,220,.12) 0 2px,transparent 3px) 0 0/18px 18px,radial-gradient(circle at 92% 50%,rgba(42,113,220,.10) 0 2px,transparent 3px) 0 0/18px 18px}
.pp-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(246,249,253,.98) 0%,rgba(246,249,253,.88) 25%,rgba(246,249,253,.9) 75%,rgba(246,249,253,.98) 100%);z-index:0}.pp-hero>*{position:relative;z-index:1}.pp-hero h1{margin:0;color:var(--pp-blue);font-size:68px;line-height:1.05;letter-spacing:-3px;font-weight:800}.pp-hero-rule{width:54px;height:4px;border-radius:10px;background:var(--pp-blue2);margin:18px auto 20px}.pp-hero p{font-size:20px;line-height:1.45;color:#334761;margin:0 auto 24px}.pp-hero-date{display:inline-flex;align-items:center;gap:9px;background:#fff;color:var(--pp-blue);padding:11px 20px;border-radius:30px;box-shadow:0 8px 25px rgba(15,50,100,.12);font-size:16px;font-weight:700}
.ppo{max-width:var(--pp-max)!important;padding:18px 22px 30px!important}.ppo>h1,.ppo>.ppo-date{display:none}.ppo-section-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(100deg,#092f67,#0d3977);border-radius:12px;padding:0 16px 0 22px;margin:42px 0 20px;box-shadow:0 8px 25px rgba(7,42,91,.12)}.ppo-section{font-size:30px!important;letter-spacing:-.5px;margin:0!important;padding:18px 0!important;background:none!important;color:#fff!important;border-radius:0!important}.ppo-section-link{color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.5);border-radius:25px;padding:9px 17px;font-size:14px;font-weight:800;white-space:nowrap}.ppo-section-link:hover{background:#fff;color:var(--pp-blue)}
.ppo-grid{grid-template-columns:repeat(3,1fr)!important;gap:24px!important}.ppo-card{border:1px solid var(--pp-border)!important;border-radius:15px!important;box-shadow:0 8px 28px rgba(11,45,92,.08);transition:transform .18s ease,box-shadow .18s ease;background:#fff;overflow:hidden}.ppo-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(11,45,92,.13)}.ppo-name{font-size:21px!important;padding:16px 18px!important;border-bottom:1px solid var(--pp-border);color:var(--pp-blue)}.ppo-img{background:#eef2f6!important}.ppo-img img{width:100%!important;height:auto!important;display:block}.ppo-empty{min-height:300px;display:flex;align-items:center;justify-content:center;color:var(--pp-muted)}
.pp-footer{margin-top:70px;background:var(--pp-blue);color:#fff;border-top:5px solid #174985}.pp-footer-inner{max-width:var(--pp-max);margin:auto;padding:42px 22px;display:flex;justify-content:space-between;gap:30px}.pp-footer-brand{font-weight:800;font-size:21px}.pp-footer small{color:#c9d7e8}.pp-page{max-width:var(--pp-max);margin:auto;padding:55px 22px}.pp-page h1{font-size:42px;letter-spacing:-1.5px;margin:0 0 12px}.pp-page .entry-content{font-size:17px}.pp-single{max-width:980px!important;margin:0 auto!important;padding:42px 22px 60px!important}.pp-single h1,.ppo-single h1{font-size:44px!important;letter-spacing:-1.5px;color:var(--pp-blue)}.ppo-single-cover{background:#fff!important;border:1px solid var(--pp-border);border-radius:15px!important;padding:20px!important;box-shadow:0 10px 32px rgba(11,45,92,.08)}.ppo-single-cover img{max-height:none!important}.ppo-back a{color:var(--pp-blue)!important;font-size:14px;font-weight:700}.ppo-single-date{text-align:center;color:var(--pp-muted);margin-bottom:28px}
@media(max-width:950px){.pp-brand img{width:270px}.pp-hero h1{font-size:56px}.ppo-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:640px){.pp-header-inner{min-height:68px;padding:0 12px;gap:10px}.pp-brand img{width:210px;max-height:50px}.pp-nav{gap:0}.pp-nav a{font-size:12px;padding:8px 7px}.pp-nav-home{display:none}.pp-hero{padding:38px 16px 30px}.pp-hero h1{font-size:42px;letter-spacing:-1.8px}.pp-hero p{font-size:16px}.pp-desktop-break{display:none}.ppo{padding:8px 14px 20px!important}.ppo-grid{grid-template-columns:1fr!important}.ppo-section-row{margin:30px 0 16px;padding-left:17px}.ppo-section{font-size:24px!important}.ppo-section-link{font-size:12px;padding:8px 12px}.pp-footer-inner{display:block}.pp-single h1,.ppo-single h1{font-size:34px!important}}


/* v1.7 — lightweight editorial icons, no external icon library */


.pp-section-icon{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#2d78e8;color:#fff;box-shadow:0 4px 10px rgba(20,86,170,.25);flex:0 0 42px}
.pp-section-icon svg{width:23px;height:23px;display:block}
.pp-date-icon{width:18px;height:18px;display:inline-flex;vertical-align:-3px;margin-right:7px;color:#123f7c}
.pp-date-icon svg{width:100%;height:100%;display:block}
.pp-arrow-icon{display:inline-flex;width:18px;height:18px;vertical-align:-4px;margin-left:5px}
.pp-arrow-icon svg{width:100%;height:100%;display:block}

.pp-brand{display:flex;align-items:center;gap:9px;text-decoration:none}.pp-brand-icon{display:inline-flex;width:27px;height:27px;align-items:center;justify-content:center}.pp-brand-icon svg{width:100%;height:100%;display:block}.pp-brand-name{font-weight:800;line-height:1;font-size:20px}
@media(max-width:650px){.pp-brand-icon{width:24px;height:24px}.pp-brand-name{font-size:18px}}

.pp-brand{display:flex!important;align-items:center!important;gap:9px!important;text-decoration:none!important}.pp-brand-icon{display:inline-flex!important;width:30px!important;height:30px!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important}.pp-brand-icon svg{width:100%!important;height:100%!important;display:block!important}.pp-brand-name{font-weight:800!important;font-size:21px!important;line-height:1!important;white-space:nowrap!important}@media(max-width:650px){.pp-brand-icon{width:25px!important;height:25px!important;flex-basis:25px!important}.pp-brand-name{font-size:18px!important}}

/* v2.8 - use WordPress Custom Logo */
.pp-brand-custom{display:flex!important;align-items:center!important}
.pp-brand-custom .custom-logo-link{display:flex!important;align-items:center!important}
.pp-brand-custom .custom-logo{display:block!important;width:auto!important;max-width:260px!important;height:auto!important;max-height:58px!important}
@media(max-width:650px){
  .pp-brand-custom .custom-logo{max-width:190px!important;max-height:42px!important}
}

/* v2.9 - logo visibility fix */
.pp-brand-image{display:flex!important;align-items:center!important}
.pp-brand-image img{display:block!important;width:auto!important;max-width:260px!important;max-height:58px!important;height:auto!important}
.pp-brand-custom .custom-logo-link{display:flex!important;align-items:center!important}
.pp-brand-custom .custom-logo{display:block!important;width:auto!important;max-width:260px!important;max-height:58px!important;height:auto!important}
@media(max-width:650px){
 .pp-brand-image img,.pp-brand-custom .custom-logo{max-width:190px!important;max-height:42px!important}
}

/* v2.10 final: bundled logo, no claim */
.pp-brand-image{display:flex!important;align-items:center!important}
.pp-brand-image img{display:block!important;width:auto!important;max-width:260px!important;max-height:58px!important;height:auto!important}
@media(max-width:650px){.pp-brand-image img{max-width:190px!important;max-height:42px!important}}

/* =========================================================
   Prime Pagine Oggi v2.11 - compact homepage
   Visual CSS is intentionally kept in the theme.
   ========================================================= */
.pp-hero{
  padding:18px 22px 8px!important;
}
.pp-hero h1{
  margin:0!important;
  line-height:1!important;
}
.pp-hero-rule{
  display:none!important;
}
.pp-hero p{
  margin:0!important;
}
.pp-hero-date{
  margin:8px auto 0!important;
  padding:6px 14px!important;
}
.ppo{
  padding-top:0!important;
}
.ppo-section-row{
  margin-top:4px!important;
  margin-bottom:12px!important;
}
.pp-footer-description{
  max-width:760px;
  margin:10px auto 0;
  padding:0 16px;
  text-align:center;
  font-size:13px;
  line-height:1.5;
  opacity:.78;
}
.ppo-sport-3{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
}
@media(max-width:650px){
  .pp-hero{
    padding:14px 12px 4px!important;
  }
  .pp-hero h1{
    font-size:38px!important;
  }
  .pp-hero-date{
    margin-top:6px!important;
    padding:6px 12px!important;
  }
  .ppo-section-row{
    margin-top:2px!important;
    margin-bottom:8px!important;
  }
  .ppo-sport-3{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .ppo-sport-3 .ppo-card{
    min-width:0!important;
  }
  .ppo-sport-3 .ppo-card img{
    width:100%!important;
    height:auto!important;
    display:block!important;
  }
  .pp-footer-description{
    font-size:12px;
    margin-top:8px;
  }
}

/* v2.12 - clean logo, no line/claim */
.pp-brand,
.pp-brand a,
.pp-brand-image,
.pp-brand-image img,
.pp-brand-custom,
.pp-brand-custom .custom-logo-link,
.pp-brand-custom .custom-logo{
  text-decoration:none!important;
  border:0!important;
  box-shadow:none!important;
}
.pp-brand::after,
.pp-brand-image::after,
.pp-brand-custom::after{
  display:none!important;
  content:none!important;
}

/* v2.13 definitive homepage/header */
.pp-brand-image{display:flex!important;align-items:center!important;text-decoration:none!important;border:0!important}
.pp-brand-image img{display:block!important;width:auto!important;max-width:260px!important;max-height:54px!important;height:auto!important;border:0!important;box-shadow:none!important}
.pp-brand-image::after,.pp-brand-image img::after{display:none!important;content:none!important}
.pp-hero{padding:18px 22px 6px!important}
.pp-hero h1{margin:0!important;line-height:1!important}
.pp-hero-rule{display:none!important}
.pp-hero p{display:none!important}
.pp-hero-date{margin:7px auto 0!important;padding:6px 14px!important}
@media(max-width:650px){
 .pp-brand-image img{max-width:190px!important;max-height:42px!important}
 .pp-hero{padding:14px 12px 3px!important}
 .pp-hero h1{font-size:38px!important}
 .pp-hero-date{margin-top:5px!important}
}

/* =========================================================
   v3.0 MOBILE FIRST
   ========================================================= */
img{
  max-width:100%;
  height:auto;
}
@media (max-width: 767px){
  html,body{
    max-width:100%;
    overflow-x:hidden!important;
  }
  .pp-header,
  .pp-main,
  .pp-hero,
  .ppo,
  .pp-footer{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  /* Home: compact but readable */
  .pp-hero{
    padding:12px 10px 4px!important;
  }
  .pp-hero h1{
    font-size:36px!important;
    line-height:1.05!important;
  }
  .pp-hero-date{
    margin-top:5px!important;
    padding:6px 11px!important;
  }

  /* Cover cards: always fit the viewport */
  .ppo-grid{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .ppo-card{
    min-width:0!important;
    width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .ppo-card img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }

  /* Sport: exactly 3 cards, compact */
  .ppo-sport-3{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
  }

  /* Single newspaper page */
  .ppo-single-image,
  .ppo-paper-image,
  .ppo-cover,
  .ppo-single-content{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  .ppo-single-image img,
  .ppo-paper-image img,
  .ppo-cover img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain!important;
    margin:0 auto!important;
  }
}

/* v3.1 footer legal navigation */
.pp-footer-links{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:18px auto 4px;
  padding:0 12px;
  font-size:13px;
  line-height:1.4;
}
.pp-footer-links a{
  text-decoration:none!important;
  font-weight:600;
}
.pp-footer-links a:hover{
  text-decoration:underline!important;
}
.pp-footer-sep{
  opacity:.5;
}
@media(max-width:650px){
  .pp-footer-links{
    font-size:12px;
    gap:6px;
    margin-top:14px;
  }
}

/* v3.2 editable primary menu */
.pp-primary-menu{display:flex;align-items:center;justify-content:center;gap:18px;list-style:none;margin:0;padding:0}
.pp-primary-menu li{list-style:none;margin:0;padding:0}
.pp-primary-menu a{text-decoration:none!important;font-weight:700}
.pp-primary-menu a:hover{text-decoration:underline!important}
@media(max-width:650px){.pp-primary-menu{gap:11px;font-size:13px;flex-wrap:wrap}}

/* v3.3 editable footer menu */
.pp-footer-menu{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}
.pp-footer-menu li{list-style:none;margin:0;padding:0}
.pp-footer-menu a{text-decoration:none!important;font-weight:600}
.pp-footer-menu a:hover{text-decoration:underline!important}
@media(max-width:650px){
  .pp-footer-menu{gap:6px;font-size:12px}
}


/* v3.4 — compact newspaper detail pages.
   Applied by the theme itself, not the scraping plugin. */
body.ppo-newspaper-page .pp-page{
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.ppo-newspaper-page .pp-page article{
  margin:0!important;
  padding:0!important;
}
body.ppo-newspaper-page .pp-single{
  max-width:980px!important;
  margin:0 auto!important;
  padding:8px 22px 40px!important;
}
body.ppo-newspaper-page .ppo-single h1,
body.ppo-newspaper-page .pp-single h1{
  font-size:30px!important;
  line-height:1.08!important;
  letter-spacing:-.7px!important;
  margin:0 0 4px!important;
  padding:0!important;
}
body.ppo-newspaper-page .ppo-back{
  margin:0 0 7px!important;
  padding:0!important;
}
body.ppo-newspaper-page .ppo-single-date{
  font-size:13px!important;
  line-height:1.15!important;
  margin:0 0 10px!important;
  padding:0!important;
}
body.ppo-newspaper-page .ppo-single-cover{
  margin:0!important;
}
@media(max-width:650px){
  body.ppo-newspaper-page .pp-single,
  body.ppo-newspaper-page .ppo-single{
    width:100%!important;
    max-width:none!important;
    padding:4px 6px 24px!important;
  }
  body.ppo-newspaper-page .ppo-single h1,
  body.ppo-newspaper-page .pp-single h1{
    font-size:21px!important;
    line-height:1.08!important;
    letter-spacing:-.3px!important;
    margin:0 0 3px!important;
  }
  body.ppo-newspaper-page .ppo-back{
    margin:0 0 5px!important;
  }
  body.ppo-newspaper-page .ppo-single-date{
    font-size:11px!important;
    line-height:1.1!important;
    margin:0 0 6px!important;
  }
  body.ppo-newspaper-page .ppo-single-cover{
    padding:0!important;
    margin:0!important;
  }
}



/* v3.5 — clearer homepage H1, less repetitive with the header */
.pp-hero h1{
  font-size:44px!important;
  line-height:1.08!important;
  letter-spacing:-1.5px!important;
}
@media(max-width:767px){
  .pp-hero h1{
    font-size:30px!important;
    line-height:1.08!important;
    letter-spacing:-.8px!important;
  }
}


/* v3.6 — Home hero: compact SEO H1 + press-review subtitle */
body.home .pp-hero h1,
body.front-page .pp-hero h1{
  font-size:36px!important;
  line-height:1.12!important;
  letter-spacing:-.5px!important;
  margin:0 0 6px!important;
}
body.home .pp-hero h1::after,
body.front-page .pp-hero h1::after{
  content:"";
  display:none!important;
}
body.home .pp-hero .pp-date,
body.front-page .pp-hero .pp-date{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
}
body.home .pp-hero .pp-date::before,
body.front-page .pp-hero .pp-date::before{
  content:"Rassegna stampa di";
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.2!important;
}
@media(max-width:650px){
  body.home .pp-hero h1,
  body.front-page .pp-hero h1{
    font-size:24px!important;
    line-height:1.12!important;
    letter-spacing:-.25px!important;
    margin:0 0 4px!important;
  }
  body.home .pp-hero h1::after,
  body.front-page .pp-hero h1::after{
    font-size:13px!important;
    margin-top:5px!important;
  }
}


@media(max-width:650px){
  body.home .pp-hero .pp-date,
  body.front-page .pp-hero .pp-date{
    gap:5px!important;
    font-size:13px!important;
    white-space:nowrap!important;
  }
  body.home .pp-hero .pp-date::before,
  body.front-page .pp-hero .pp-date::before{
    font-size:13px!important;
  }
}

/* v3.8 — Minimal home hero */
body.home .pp-hero,
body.front-page .pp-hero{
  padding-top:22px!important;
  padding-bottom:18px!important;
}
body.home .pp-hero h1,
body.front-page .pp-hero h1{
  font-size:32px!important;
  line-height:1.12!important;
  letter-spacing:-.35px!important;
  margin:0 0 5px!important;
}
body.home .pp-hero .pp-date,
body.front-page .pp-hero .pp-date{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  white-space:nowrap!important;
  font-size:16px!important;
  line-height:1.25!important;
}
body.home .pp-hero .pp-date::before,
body.front-page .pp-hero .pp-date::before{
  content:"Rassegna stampa di";
  font-size:16px!important;
  font-weight:500!important;
  line-height:1.25!important;
}
@media(max-width:650px){
  body.home .pp-hero,
  body.front-page .pp-hero{
    padding-top:16px!important;
    padding-bottom:12px!important;
  }
  body.home .pp-hero h1,
  body.front-page .pp-hero h1{
    font-size:23px!important;
    line-height:1.15!important;
    letter-spacing:-.2px!important;
    margin:0 0 4px!important;
  }
  body.home .pp-hero .pp-date,
  body.front-page .pp-hero .pp-date{
    gap:5px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  body.home .pp-hero .pp-date::before,
  body.front-page .pp-hero .pp-date::before{
    font-size:13px!important;
  }
}

/* v4.12 — Mobile homepage newspaper names: compact, single line */
@media(max-width:650px){
  .ppo-grid .ppo-card .ppo-name{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    font-size:12px!important;
    line-height:1.15!important;
    font-weight:800!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    text-align:center!important;
    padding:8px 3px!important;
    letter-spacing:-.2px!important;
  }
}

/* v4.0 — center newspaper detail page title */
body.ppo-newspaper-page .ppo-single h1,
body.ppo-newspaper-page .pp-single h1{
  text-align:center!important;
  width:100%!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:650px){
  body.ppo-newspaper-page .ppo-single h1,
  body.ppo-newspaper-page .pp-single h1{
    text-align:center!important;
  }
}

/* v4.1 — the visible title is the theme page H1, not the plugin H1 */
body.ppo-newspaper-page .pp-page > article > h1{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  text-align:center!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
@media(max-width:650px){
  body.ppo-newspaper-page .pp-page > article > h1{
    text-align:center!important;
  }
}


/* v4.2 performance: reserve image space to prevent layout shifts. */
.ppo-img img,
.ppo-single-cover img { display:block; max-width:100%; height:auto; }
.ppo-img, .ppo-single-cover { min-width:0; }

/* v4.9 — HARD RESET: newspaper cards must end at the real image, never at a reserved legacy height. */
.ppo-home-grid{display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;align-content:flex-start!important;gap:24px!important;height:auto!important;min-height:0!important;grid-auto-rows:auto!important;}
.ppo-home-grid .ppo-card{display:block!important;flex:0 0 calc((100% - 48px)/3)!important;width:calc((100% - 48px)/3)!important;height:auto!important;min-height:0!important;max-height:none!important;align-self:flex-start!important;contain:none!important;content-visibility:visible!important;contain-intrinsic-size:none!important;}
.ppo-home-grid .ppo-name{height:auto!important;min-height:0!important;max-height:none!important;}
.ppo-home-grid .ppo-img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;contain:none!important;content-visibility:visible!important;contain-intrinsic-size:none!important;}
.ppo-home-grid .ppo-img a{display:block!important;width:100%!important;height:auto!important;min-height:0!important;line-height:0!important;}
.ppo-home-grid .ppo-img img{display:block!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:initial!important;object-position:center top!important;}
.ppo-home-grid .ppo-card-hidden{display:none!important;}
.ppo-home-grid .ppo-load-more{flex:0 0 100%!important;width:100%!important;}
@media(max-width:950px){.ppo-home-grid .ppo-card{flex-basis:calc((100% - 24px)/2)!important;width:calc((100% - 24px)/2)!important;}}
@media(max-width:640px){.ppo-home-grid{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.ppo-home-grid .ppo-card{flex:0 0 calc((100% - 16px)/3)!important;width:calc((100% - 16px)/3)!important;min-width:0!important;max-width:calc((100% - 16px)/3)!important}.ppo-home-grid .ppo-mobile-first-extra{display:block!important}}


/* v4.12 — final mobile override: newspaper names must fit on one line.
   This is intentionally very compact because the homepage has 3 columns. */
@media(max-width:650px){
  .ppo-home-grid .ppo-card .ppo-name,
  .ppo-home-grid .ppo-name{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    font-size:10px!important;
    line-height:1.1!important;
    font-weight:800!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:clip!important;
    text-align:center!important;
    padding:6px 0!important;
    margin:0!important;
    letter-spacing:-.35px!important;
  }
}

/* v4.13 — restore bundled header logo asset */
