/* === SOURCE: style.css === */
/* =========================================================
   INSIGHTSPRECISE - CLEAN RESPONSIVE STYLES
   Desktop + tablet + mobile
   Image banners use a 2:1 ratio and are never cropped.
   ========================================================= */

:root{
  --navy:#071a33;
  --blue:#1264e5;
  --ink:#152033;
  --muted:#667085;
  --line:#e1e7ee;
  --soft:#f5f7fa;
  --max:1760px;
  --sans:Inter,Arial,sans-serif;
  --serif:"Newsreader","Playfair Display",Georgia,serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:var(--sans);
  line-height:1.45;
  overflow-x:hidden;
}
body.drawer-open{overflow:hidden}
img{max-width:100%;height:auto}
a{text-decoration:none;color:inherit}
a:hover{color:var(--blue)}
button,input{font:inherit}
.container{
  width:min(var(--max),calc(100% - 48px));
  margin:0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.topbar{
  height:36px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:10px;
}
.socials{display:none!important}
.socials a{
  width:22px;height:22px;border:1px solid #d6dce4;border-radius:50%;
  display:grid;place-items:center;font-size:9px;font-weight:800;
}

.site-header{
  background:#fff;
  width:100%;
  position:relative;
  z-index:100;
}

.site-header .masthead{
  position:relative;
  width:100%;
  min-height:124px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,auto) minmax(0,1fr);
  align-items:center;
  gap:20px;
  padding:14px 0;
}

.site-header .brand{
  grid-column:2;
  grid-row:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-width:0;
}

.site-header .logo-link{
  display:block;
  width:350px;
  max-width:calc(100vw - 40px);
  line-height:0;
}

.site-header .site-logo{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
}

.site-header .logo{
  display:block;
  font-size:36px;
  line-height:1.05;
  white-space:nowrap;
  letter-spacing:-1.8px;
}

.site-header .tagline{
  display:block;
  font-size:12px;
  line-height:1.35;
  color:var(--muted);
  margin:7px 0 0;
  text-align:center;
}

.site-header .contact{
  grid-column:3;
  grid-row:1;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:100%;
  min-width:0;
  margin:0;
  text-align:right;
  font-size:12px;
  line-height:1.4;
  white-space:nowrap;
}
.site-header .contact a{color:#12213b}

.site-header .navbar{
  width:100%;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}

.site-header .nav-inner{
  min-height:50px;
  height:50px;
  display:flex;
  align-items:center;
  gap:0;
}

.site-header .menu-trigger{
  flex:0 0 48px;
  display:grid;
  place-items:center;
  width:48px;
  height:50px;
  padding:0;
  margin:0 15px 0 0;
  border:0;
  background:#fff;
  cursor:pointer;
  position:relative;
  z-index:3002;
  touch-action:manipulation;
}

.site-header .lines,
.site-header .lines:before,
.site-header .lines:after{
  content:"";
  display:block;
  width:28px;
  height:3px;
  background:var(--navy);
  position:relative;
  border-radius:2px;
}
.site-header .lines:before,
.site-header .lines:after{position:absolute;left:0}
.site-header .lines:before{top:-8px}
.site-header .lines:after{top:8px}

.site-header .desktop-nav{
  display:flex;
  align-items:center;
  gap:28px;
  min-width:0;
  overflow:hidden;
  flex:1;
}
.site-header .desktop-nav a{
  display:flex;
  align-items:center;
  height:50px;
  white-space:nowrap;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  color:#101828;
  border-bottom:3px solid transparent;
}
.site-header .desktop-nav a.active{
  color:var(--blue);
  border-bottom-color:var(--blue);
}
.site-header .search{
  margin-left:auto;
  font-size:27px;
  line-height:1;
  color:var(--navy);
}

/* Drawer */
.drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.42);
  z-index:9000;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease;
}
.drawer-backdrop.open{
  opacity:1;
  visibility:visible;
}
.drawer{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:min(380px,88vw);
  background:#fff;
  z-index:9001;
  transform:translateX(-105%);
  transition:transform .24s ease;
  overflow-y:auto;
  pointer-events:none;
  box-shadow:8px 0 30px rgba(0,0,0,.2);
}
.drawer.open{
  transform:translateX(0);
  pointer-events:auto;
}
.drawer-head{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  border-bottom:1px solid var(--line);
}
.drawer-logo{
  font-size:25px;
  font-weight:800;
  text-decoration:none;
}
.drawer-logo span{color:var(--blue)}
.drawer-close{
  width:40px;
  height:40px;
  border:0;
  background:none;
  font-size:31px;
  cursor:pointer;
  color:var(--navy);
}
.drawer-nav{padding:8px 20px 24px}
.drawer-nav a{
  display:block;
  padding:13px 2px;
  border-bottom:1px solid var(--line);
  font-size:14px;
  font-weight:700;
}
.drawer-group{
  padding:18px 2px 7px;
  color:var(--muted);
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:800;
}

/* =========================================================
   HOMEPAGE / STORY SECTIONS
   ========================================================= */

.section{padding-top:24px}
.section-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.section-head h2{
  margin:0;
  font-size:14px;
  text-transform:uppercase;
  font-weight:850;
}
.section-head:after{
  content:"";
  height:1px;
  background:var(--blue);
  flex:1;
}

.hero-grid{
  display:grid;
  grid-template-columns:minmax(220px,270px) minmax(0,1fr) minmax(220px,270px);
  gap:18px;
  align-items:start;
}
.story-list{min-width:0}
.story{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:10px;
  padding-bottom:10px;
  margin-bottom:10px;
  border-bottom:1px solid var(--line);
  min-width:0;
}
.story-thumb{
  width:86px;
  aspect-ratio:2/1;
  height:auto;
  border-radius:2px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
}
.story h3{
  margin:0;
  font:700 12px/1.2 var(--serif);
}
.story h3 a{display:block}
.story-category{
  font-size:8px;
  color:var(--blue);
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:2px;
}
.date{font-size:9px;color:#8993a1;margin-top:4px}

.feature{
  min-height:370px;
  aspect-ratio:16/9;
  position:relative;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border-radius:2px;
  overflow:hidden;
}
.feature:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,.30) 0%,
    rgba(0,0,0,.45) 35%,
    rgba(0,0,0,.82) 75%,
    rgba(0,0,0,.94) 100%
  );
  z-index:1;
}
.feature-content{
  position:absolute;
  left:28px;
  right:28px;
  bottom:22px;
  z-index:2;
  color:#fff;
}
.feature-tag{
  display:inline-block;
  background:var(--blue);
  padding:6px 9px;
  border-radius:2px;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
}
.feature h1{
  color:#fff;
  font-size:31px;
  line-height:1.08;
  margin:10px 0 8px;
  text-shadow:0 2px 4px rgba(0,0,0,.75),0 1px 2px rgba(0,0,0,.9);
}
.feature p{
  font-size:11px;
  color:#fff;
  max-width:650px;
  margin:0;
  text-shadow:0 1px 3px rgba(0,0,0,.75);
}
.feature-meta{
  font-size:9px;
  color:#fff;
  margin-top:7px;
  text-shadow:0 1px 3px rgba(0,0,0,.75);
}
.feature-btn{
  display:inline-block;
  background:var(--blue);
  color:#fff;
  padding:7px 11px;
  margin-top:9px;
  font-size:9px;
  font-weight:800;
  border-radius:2px;
}

.latest-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
}
.latest-img{
  width:100%;
  aspect-ratio:2/1;
  height:auto;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.latest-cat{
  font-size:8px;
  color:var(--blue);
  font-weight:800;
  text-transform:uppercase;
  margin-top:5px;
}
.latest-title{font:700 11px/1.2 var(--serif);margin-top:3px}
.latest-date{font-size:8px;color:#8993a1;margin-top:4px}

/* Category strip */
.category-wrap{
  display:grid;
  grid-template-columns:160px repeat(5,minmax(0,1fr));
  border:1px solid var(--line);
  margin-top:24px;
}
.category-menu{
  background:var(--soft);
  padding:12px;
}
.category-menu h3{margin:0 0 8px;font-size:10px;text-transform:uppercase}
.category-menu a{
  display:block;
  padding:5px 0;
  border-bottom:1px solid var(--line);
  font-size:9px;
}
.category-menu .all{
  background:var(--blue);
  color:#fff;
  text-align:center;
  border:0;
  margin-top:8px;
  font-weight:800;
}
.category-card{padding:12px;border-left:1px solid var(--line);min-width:0}
.category-card h3{font-size:10px;text-transform:uppercase;margin:0 0 7px}
.category-image{
  display:block;
  width:100%;
  aspect-ratio:2/1;
  height:auto;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}
.category-card ul{margin:6px 0;padding-left:14px}
.category-card li{font-size:9px;line-height:1.35;margin-bottom:4px}
.category-card .more{font-size:8px;color:var(--blue);font-weight:800}

/* Newsletter */
.newsletter{
  margin-top:24px;
  background:var(--navy);
  color:#fff;
  padding:14px 18px;
  display:grid;
  grid-template-columns:1.25fr 1.7fr auto;
  gap:12px;
  align-items:center;
}
.newsletter h2{font-size:14px;margin:0}
.newsletter p{font-size:9px;color:#cad5e2;margin:2px 0 0}
.newsletter input{
  height:32px;
  width:100%;
  border:0;
  border-radius:3px;
  padding:0 10px;
}
.newsletter button{
  height:32px;
  border:0;
  border-radius:3px;
  background:var(--blue);
  color:#fff;
  padding:0 24px;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer{
  width:100%;
  background:var(--navy);
  color:#d8e2ed;
  overflow:visible;
}
.footer-grid{
  width:100%;
  display:grid;
  grid-template-columns:minmax(280px,1.6fr) repeat(4,minmax(0,1fr));
  align-items:start;
  gap:30px;
  padding:32px 0 18px;
}
.footer-grid>div{min-width:0}
.footer .logo{font-size:25px;color:#fff}
.footer-logo{
  display:block;
  width:240px;
  max-width:100%;
  line-height:0;
}
.footer-logo .site-logo{width:240px;height:auto;max-width:100%}
.footer h4{
  font-size:9px;
  text-transform:uppercase;
  color:#fff;
  margin:0 0 9px;
}
.footer p,.footer a{
  font-size:9px;
  color:#b8c5d5;
  overflow-wrap:anywhere;
}
.footer a{display:block;margin:4px 0}
.footer p{margin:5px 0}
.copyright{
  border-top:1px solid #223b5c;
  text-align:center;
  padding:8px;
  font-size:8px;
  color:#92a4ba;
}

/* =========================================================
   PAGE / CATEGORY / ARTICLE
   ========================================================= */

.page-hero{
  background:var(--navy);
  color:#fff;
  padding:42px 0;
}
.page-hero h1{
  font:700 40px/1.1 var(--serif);
  margin:0 0 8px;
}
.page-hero p{
  max-width:760px;
  color:#cbd6e2;
  margin:0;
}
.content{padding:30px 0 50px}
.content-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:30px;
}
.content-main{font-size:15px}
.content-main h2{font:700 28px/1.2 var(--serif);margin-top:29px}
.content-main p,.content-main li{color:#344054}
.side{
  border:1px solid var(--line);
  padding:18px;
  height:max-content;
}
.side h3{font:700 19px var(--serif);margin:0 0 10px}
.side a{
  display:block;
  padding:8px 0;
  border-bottom:1px solid var(--line);
  font-size:11px;
}
.notice{
  background:#f3f7fc;
  border-left:4px solid var(--blue);
  padding:12px 14px;
  font-size:12px;
}

/* Blog/category cards */
.blog-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.blog-card{
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
}
.blog-image{
  width:100%;
  aspect-ratio:2/1;
  height:auto;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.blog-body{padding:14px}
.blog-body h2{font:700 21px/1.2 var(--serif);margin:5px 0}
.blog-body p{font-size:12px;color:var(--muted)}

.post-card{
  border:1px solid var(--line);
  background:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.post-card .image{
  display:block;
  width:100%;
  aspect-ratio:2/1;
  height:auto;
  min-height:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.post-card .body{padding:15px}
.post-card .category-text{
  font-size:9px;
  color:var(--blue);
  font-weight:800;
  text-transform:uppercase;
}
.post-card h3{font:700 22px/1.22 var(--serif);margin:6px 0}
.post-card h3 a{color:var(--ink)}
.post-card p{font-size:12px;color:var(--muted);margin:7px 0}
.post-card .date{font-size:9px;color:#8993a1;margin-top:8px}

/* Article cover */
.article-cover{
  width:100%;
  aspect-ratio:2/1;
  height:auto;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  margin-bottom:25px;
}
.article-body{font-size:16px;max-width:820px}
.article-body h2{font:700 30px/1.2 var(--serif);margin-top:30px}

/* Mobile-safe tables */
.articlebody .table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.articlebody table{
  min-width:0;
  width:100%;
  border-collapse:collapse;
}
@media(max-width:650px){
  .articlebody table,
  .articlebody thead,
  .articlebody tbody,
  .articlebody tr,
  .articlebody th,
  .articlebody td{
    width:100%;
  }
  .articlebody table,
  .articlebody thead,
  .articlebody tbody,
  .articlebody tr{
    display:block;
  }
  .articlebody thead{display:none}
  .articlebody tbody tr{
    border:1px solid #dfe4ea;
    margin:0 0 12px;
    background:#fff;
  }
  .articlebody tbody td{
    display:grid;
    grid-template-columns:minmax(105px,40%) minmax(0,60%);
    gap:10px;
    border:0;
    border-bottom:1px solid #e8ecf1;
    padding:10px 11px;
    font-size:12px;
    overflow-wrap:anywhere;
    word-break:normal;
  }
  .articlebody tbody td:last-child{border-bottom:0}
  .articlebody tbody td:before{
    content:attr(data-label);
    font-weight:700;
    color:#172033;
  }
  .articlebody tbody td:empty:before{content:attr(data-label)}
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

@media(max-width:1450px){
  :root{--max:1380px}
  .hero-grid{grid-template-columns:minmax(200px,240px) minmax(0,1fr) minmax(200px,240px)}
  .site-header .desktop-nav{gap:20px}
  .site-header .desktop-nav a{font-size:11px}
}

@media(max-width:1100px){
  :root{--max:100%}
  .container{width:calc(100% - 40px)}
  .hero-grid{
    grid-template-columns:minmax(190px,220px) minmax(0,1fr);
  }
  .hero-grid>.story-list:last-child{display:none}
  .latest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-wrap{
    grid-template-columns:160px repeat(2,minmax(0,1fr));
  }
  .category-card:nth-child(5){grid-column:2}
  .category-card:nth-child(6){grid-column:3}
  .footer-grid{grid-template-columns:1.4fr repeat(3,minmax(0,1fr))}
  .footer-grid>div:last-child{grid-column:1/-1}
  .site-header .desktop-nav{gap:18px}
}

@media(max-width:950px){
  .blog-grid{grid-template-columns:1fr}
}

@media(max-width:700px){
  .container{width:calc(100% - 20px)}

  /* Header */
  .site-header .topbar{display:none}
  .site-header .masthead{
    min-height:136px;
    height:auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:16px 10px;
  }
  .site-header .brand{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    order:1;
  }
  .site-header .logo-link{
    width:270px;
    max-width:calc(100vw - 32px);
    height:auto;
  }
  .site-header .tagline{
    font-size:11px;
    white-space:normal;
    line-height:1.35;
    margin-top:6px;
  }
  .site-header .contact{
    order:2;
    display:flex;
    width:100%;
    justify-content:center;
    text-align:center;
    white-space:normal;
    font-size:11px;
    line-height:1.35;
  }
  .site-header .contact div{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:3px 5px;
  }
  .site-header .navbar{border-top:1px solid var(--line)}
  .site-header .nav-inner{
    height:50px;
    min-height:50px;
    padding:0 8px;
  }
  .site-header .menu-trigger{
    display:grid;
    flex:0 0 52px;
    width:52px;
    height:50px;
    margin:0;
  }
  .site-header .desktop-nav{display:none}
  .site-header .search{
    margin-left:auto;
    margin-right:4px;
    font-size:26px;
  }

  /* Homepage */
  .hero-grid{display:block}
  .hero-grid>.story-list{display:block}
  .hero-grid>.story-list:first-child{margin-bottom:18px}
  .hero-grid>.story-list:last-child{margin-top:18px}
  .feature{
    width:100%;
    min-height:0;
    aspect-ratio:16/9;
  }
  .feature-content{
    left:18px;
    right:18px;
    bottom:18px;
  }
  .feature h1{
    font-size:24px;
    line-height:1.12;
  }
  .latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-wrap{grid-template-columns:1fr}
  .category-menu{width:100%}
  .category-card{
    width:100%;
    border-left:0;
    border-top:1px solid var(--line);
  }
  .newsletter{grid-template-columns:1fr}
  .newsletter button{width:100%}
  .footer-grid{
    grid-template-columns:1fr;
    gap:20px;
    padding:26px 0 16px;
  }
  .footer-grid>div{grid-column:auto}
  .footer-logo{margin-bottom:4px}

  /* Content */
  .content-grid{grid-template-columns:1fr}
  .page-hero h1{font-size:32px}
  .article-cover{aspect-ratio:2/1}
}

@media(max-width:430px){
  .site-header .logo-link{width:245px}
  .site-header .tagline{font-size:10.5px}
  .site-header .contact{font-size:10.5px}
  .latest-grid{grid-template-columns:1fr}
  .latest-img{aspect-ratio:2/1}
  .footer-grid{grid-template-columns:1fr}
  .story{grid-template-columns:80px minmax(0,1fr)}
  .story-thumb{width:80px}
}

@media(max-width:360px){
  .site-header .logo-link{width:225px}
  .site-header .tagline{font-size:10px}
  .site-header .masthead{min-height:126px}
}
/* =========================================================
   FEATURED STORY - SHOW FULL 2:1 BLOG BANNER
   Desktop + Tablet + Mobile
   ========================================================= */

.feature {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 2 / 1 !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #fff !important;
}

/* Keep the featured content inside the image */
.feature-content {
  left: 28px !important;
  right: 28px !important;
  bottom: 22px !important;
}

@media (max-width: 700px) {
  .feature {
    aspect-ratio: 2 / 1 !important;
  }

  .feature-content {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
  }
}
@media(max-width:700px){

  .feature{
    height:360px !important;
    min-height:360px !important;
    background-position:center center !important;
  }

  .feature-content{
    left:18px !important;
    right:18px !important;
    bottom:18px !important;
    max-height:calc(100% - 36px) !important;
    overflow:hidden !important;
  }

  .feature-tag{
    font-size:9px !important;
    padding:6px 9px !important;
    margin-bottom:4px !important;
  }

  .feature h1{
    font-size:23px !important;
    line-height:1.12 !important;
    margin:8px 0 7px !important;
  }

  .feature-meta{
    font-size:9px !important;
    line-height:1.35 !important;
    margin-top:5px !important;
  }

  .feature p{
    font-size:11px !important;
    line-height:1.4 !important;
    margin:6px 0 0 !important;
    display:-webkit-box !important;
    -webkit-line-clamp:3 !important;
    -webkit-box-orient:vertical !important;
    overflow:hidden !important;
  }

  .feature-btn{
    display:inline-block !important;
    margin-top:9px !important;
    padding:8px 11px !important;
    font-size:9px !important;
  }
}


/* === SOURCE: guardian-header-footer.css === */
:root { /* Guardian Core Tokens */
  --color-guardian-navy: #052962;
  --color-guardian-navy-dark: #031b40;
  --color-guardian-navy-light: #0d3a7e;
  --color-guardian-yellow: #ffe500;
  --color-guardian-yellow-hover: #f5dc00;
  --color-live-red: #c70000;
  --color-live-red-dark: #a00000;
  --color-opinion-orange: #c74600;
  --color-opinion-bg: #fef9f5;
  --color-brand-blue: #1264e5;
  --color-brand-dark: #12213b;
  --color-sport-blue: #005689;
  --color-finance-green: #185e26;
  --color-culture-purple: #a11f58;

  /* Surfaces & Typography */
  --color-bg-page: #f6f6f6;
  --color-bg-card: #ffffff;
  --color-text-main: #121212;
  --color-text-headline: #121212;
  --color-text-muted: #555555;
  --color-text-light: #707070;
  --color-border: #dcdcdc;
  --color-border-subtle: #eaeaea;

  --font-headline: "Playfair Display", "Newsreader", Georgia, "Times New Roman", serif;
  --font-serif-body: "Newsreader", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1300px;
  --container-padding: 16px; }

.guardian-shell .container { max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding); }

.guardian-shell .top-bar { background-color: var(--color-guardian-navy);
  color: #ffffff;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); }

.guardian-shell .top-bar .container { display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px; }

.guardian-shell .edition-selector { display: flex;
  align-items: center;
  gap: 12px; }

.guardian-shell .edition-label { color: #c1d8fc;
  font-weight: 500; }

.guardian-shell .edition-links { display: flex;
  gap: 8px; }

.guardian-shell .edition-links a { color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.15s; }

.guardian-shell .edition-links a.active { background-color: rgba(255, 255, 255, 0.22);
  font-weight: 600; }

.guardian-shell .top-bar-right { display: flex;
  align-items: center;
  gap: 16px; }

.guardian-shell .date-badge { color: #c1d8fc; }

.guardian-shell .top-contact-link { color: #c1d8fc;
  display: inline-flex;
  align-items: center;
  gap: 4px; }

.guardian-shell .top-contact-link:hover { color: #ffffff; }

.guardian-shell .top-btn { background: transparent;
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 16px;
  transition: background 0.15s; }

.guardian-shell .top-btn:hover { background: rgba(255, 255, 255, 0.15); }

.guardian-shell .main-header { background-color: var(--color-guardian-navy);
  color: #ffffff; }

.guardian-shell .masthead-row { display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); }

.guardian-shell .brand-wrapper { display: flex;
  flex-direction: column; }

.guardian-shell .site-logo-link { font-family: var(--font-headline);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  line-height: 0.95;
  text-decoration: none !important; }

.guardian-shell .site-logo-link .logo-accent { color: var(--color-guardian-yellow);
  font-weight: 400; }

.guardian-shell .site-tagline { color: #c1d8fc;
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 4px;
  font-family: var(--font-serif-body); }

.guardian-shell .masthead-support { display: flex;
  align-items: center;
  gap: 16px; }

.guardian-shell .support-blurb { text-align: right;
  display: none; }

@media (min-width: 768px) {
.guardian-shell .support-blurb { display: block; }
}

.guardian-shell .support-blurb .title { color: var(--color-guardian-yellow);
  font-weight: 700;
  font-size: 0.875rem; }

.guardian-shell .support-blurb .desc { color: #c1d8fc;
  font-size: 0.75rem; }

.guardian-shell .btn-yellow { background-color: var(--color-guardian-yellow);
  color: var(--color-guardian-navy);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 8px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.1s; }

.guardian-shell .btn-yellow:hover { background-color: var(--color-guardian-yellow-hover);
  text-decoration: none;
  transform: translateY(-1px); }

.guardian-shell .navbar-guardian { display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25); }

.guardian-shell .menu-trigger { background: transparent;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.2); }

.guardian-shell .menu-trigger:hover { background: rgba(255, 255, 255, 0.1); }

.guardian-shell .lines-icon { display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px; }

.guardian-shell .lines-icon span { height: 2px;
  background-color: #ffffff;
  border-radius: 1px; }

.guardian-shell .primary-nav { display: flex;
  align-items: flex-end;
  overflow-x: auto;
  white-space: nowrap;
  flex-grow: 1; }

.guardian-shell .nav-item { color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 16px 8px;
  position: relative;
  transition: color 0.15s; }

.guardian-shell .nav-item:hover { text-decoration: none;
  color: var(--color-guardian-yellow); }

.guardian-shell .nav-item.active { color: #ffffff; }

.guardian-shell .nav-item.active::after { content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-guardian-yellow); }

.guardian-shell .nav-item.nav-legal.active::after { background-color: var(--color-opinion-orange); }

.guardian-shell .nav-item.nav-finance.active::after { background-color: var(--color-finance-green); }

.guardian-shell .nav-item.nav-tech.active::after { background-color: var(--color-brand-blue); }

.guardian-shell .nav-item.nav-saas.active::after { background-color: #7b1fa2; }

.guardian-shell .sub-nav { background-color: #0d3a7e;
  overflow-x: auto;
  white-space: nowrap; }

.guardian-shell .sub-nav .container { display: flex;
  gap: 16px;
  padding-top: 6px;
  padding-bottom: 6px; }

.guardian-shell .sub-nav a { color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 4px 6px;
  border-radius: 3px;
  transition: background 0.15s; }

.guardian-shell .sub-nav a:hover { background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none; }

.guardian-shell .sub-nav a.active { font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px; }

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

.guardian-shell .guardian-footer { background-color: var(--color-guardian-navy);
  color: #ffffff;
  border-top: 1px solid var(--color-guardian-navy-dark); }

.guardian-shell .footer-topics-bar { background-color: #ffffff;
  color: var(--color-guardian-navy);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0;
  font-size: 0.8125rem;
  overflow-x: auto;
  white-space: nowrap; }

.guardian-shell .footer-topics-bar .container { display: flex;
  gap: 16px; }

.guardian-shell .footer-topics-bar a { color: var(--color-guardian-navy);
  font-weight: 600; }

.guardian-shell .footer-topics-bar a:hover { text-decoration: underline; }

.guardian-shell .footer-main-content { padding: 36px 0 24px; }

.guardian-shell .footer-grid { display: grid;
  grid-template-columns: 1fr;
  gap: 28px; }

@media (min-width: 900px) {
.guardian-shell .footer-grid { grid-template-columns: 4fr 2fr 2fr 2fr 3fr; }
}

.guardian-shell .footer-col-tabs { display: flex;
  flex-direction: column;
  gap: 18px; }

.guardian-shell .footer-nav-pills { display: flex;
  flex-wrap: wrap;
  gap: 8px; }

.guardian-shell .footer-tab { background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.8125rem;
  font-weight: 600; }

.guardian-shell .footer-tab:hover { background: rgba(255, 255, 255, 0.25);
  text-decoration: none; }

.guardian-shell .footer-signup-box { display: flex;
  flex-direction: column;
  gap: 8px; }

.guardian-shell .footer-signup-label { font-size: 0.875rem;
  line-height: 1.35;
  color: #c1d8fc; }

.guardian-shell .footer-signup-btn { background: #ffffff;
  color: var(--color-guardian-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: none;
  cursor: pointer;
  transition: background 0.15s; }

.guardian-shell .footer-signup-btn:hover { background: var(--color-guardian-yellow);
  text-decoration: none; }

.guardian-shell .footer-links-col { display: flex;
  flex-direction: column;
  gap: 8px; }

.guardian-shell .footer-links-col h4 { color: var(--color-guardian-yellow);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 4px; }

.guardian-shell .footer-links-col a { color: #ffffff;
  font-size: 0.8125rem;
  opacity: 0.88; }

.guardian-shell .footer-links-col a:hover { opacity: 1;
  text-decoration: underline; }

.guardian-shell .footer-support-box { background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px; }

.guardian-shell .footer-support-title { color: var(--color-guardian-yellow);
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1; }

.guardian-shell .footer-support-desc { font-size: 0.8125rem;
  color: #c1d8fc;
  line-height: 1.4; }

.guardian-shell .footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0;
  font-size: 0.75rem;
  color: #9bb7e0; }

.guardian-shell .footer-bottom-bar .container { display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px; }

.guardian-shell .drawer { position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: var(--color-guardian-navy);
  color: #ffffff;
  z-index: 2500;
  transform: translateX(-100%);
  transition: transform 0.25s ease-in-out;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4); }

.guardian-shell .drawer.open { transform: translateX(0); }

.guardian-shell .drawer-head { padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); }

.guardian-shell .drawer-logo { font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff; }

.guardian-shell .drawer-logo span { color: var(--color-guardian-yellow); }

.guardian-shell .drawer-close { background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer; }

.guardian-shell .drawer-nav { padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px; }

.guardian-shell .drawer-group { font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-guardian-yellow);
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); }

.guardian-shell .drawer-nav a { color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 4px 0; }

.guardian-shell .drawer-backdrop { position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 2400;
  display: none; }

.guardian-shell .drawer-backdrop.open { display: block; }

#ip-search-overlay { position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 50px 16px;
  background: rgba(5, 41, 98, 0.72);
  backdrop-filter: blur(3px); }

#ip-search-overlay.open { display: flex; }

.ip-search-box { width: min(840px, 100%);
  max-height: 84vh;
  overflow: auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--color-border); }

.ip-search-head { position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-guardian-navy);
  border-bottom: 2px solid var(--color-guardian-yellow); }

.ip-search-input { flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  outline: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12); }

.ip-search-input::placeholder { color: #c1d8fc; }

.ip-search-input:focus { border-color: var(--color-guardian-yellow);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 229, 0, 0.25); }

.ip-search-close { width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s; }

.ip-search-close:hover { background: var(--color-guardian-yellow);
  color: var(--color-guardian-navy); }

.ip-search-status { padding: 14px 22px;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border-subtle);
  background: #fafafa; }

.ip-search-results { padding: 10px 20px 24px; }

.ip-search-result { display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--color-border-subtle);
  text-decoration: none;
  color: var(--color-text-main);
  transition: background 0.15s;
  border-radius: 4px; }

.ip-search-result:hover { background: #f8fafc;
  text-decoration: none; }

.ip-search-result img,
.ip-search-thumb { width: 110px;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
  background: #eef2f6; }

.ip-search-meta { display: inline-block;
  margin-bottom: 4px;
  color: var(--color-live-red);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px; }

.ip-search-title { margin: 0;
  font-family: var(--font-headline);
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 800;
  color: var(--color-text-headline); }

.ip-search-result:hover .ip-search-title { text-decoration: underline; }

.ip-search-excerpt { margin: 6px 0 0;
  color: var(--color-text-muted);
  font-family: var(--font-serif-body);
  font-size: 0.875rem;
  line-height: 1.45; }

@media (max-width: 650px) {
#ip-search-overlay { padding: 14px 10px; }

.ip-search-result { grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px; }

.ip-search-result img,
.ip-search-thumb { width: 80px;
    height: 60px; }

.ip-search-title { font-size: 1rem; }

.ip-search-excerpt { font-size: 0.75rem; }
}

.guardian-shell .toast-notice { position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--color-guardian-navy);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  z-index: 4000;
  display: none;
  font-size: 0.875rem;
  font-weight: 600; }

/* Scoped shell safeguards */
.guardian-shell { position: relative; isolation: isolate; }
.guardian-shell .container { width: 100%; }
.guardian-header-shell { z-index: 50; }
.guardian-footer-shell { z-index: 1; }
.guardian-shell .drawer { position: fixed; }
.guardian-shell .drawer-backdrop { position: fixed; }
.guardian-shell .top-bar a, .guardian-shell .main-header a, .guardian-shell .guardian-footer a { text-decoration: none; }
.guardian-shell .top-bar a:hover, .guardian-shell .main-header a:hover, .guardian-shell .guardian-footer a:hover { text-decoration: underline; }


/* === SOURCE: mobile-responsive.css === */
/* InsightsPrecise mobile-first responsive layer — loaded last on every page */
:root { --ip-mobile-gutter: clamp(12px, 4vw, 24px); }
html { width:100%; max-width:100%; overflow-x:clip; -webkit-text-size-adjust:100%; }
body { width:100%; max-width:100%; min-width:0; overflow-x:clip; }
img, video, iframe, svg, canvas { max-width:100%; }
pre, code { max-width:100%; overflow-x:auto; }
.container, main, article, section, header, footer, nav, aside { min-width:0; }
.container { width:100%; max-width:1300px; margin-inline:auto; padding-inline:var(--ip-mobile-gutter); }
button, input, select, textarea { max-width:100%; font:inherit; }
input, select, textarea { min-width:0; }

/* Guardian header */
.guardian-header-shell, .guardian-footer-shell, .guardian-shell { width:100%; max-width:100%; min-width:0; }
.guardian-shell .top-bar .container, .guardian-shell .topbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 14px; }
.guardian-shell .top-bar-right { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; min-width:0; }
.guardian-shell .masthead-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.guardian-shell .brand-wrapper { min-width:0; max-width:100%; }
.guardian-shell .site-logo-link { display:inline-block; max-width:100%; overflow-wrap:anywhere; font-size:clamp(2rem, 8vw, 3.2rem); line-height:1.02; }
.guardian-shell .site-tagline { max-width:100%; overflow-wrap:anywhere; }
.guardian-shell .masthead-support { min-width:0; max-width:100%; flex-wrap:wrap; }
.guardian-shell .navbar-guardian { min-width:0; max-width:100%; }
.guardian-shell .primary-nav { min-width:0; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; -webkit-overflow-scrolling:touch; }
.guardian-shell .nav-item { flex:0 0 auto; white-space:nowrap; }
.guardian-shell .sub-nav { max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
.guardian-shell .sub-nav .container { width:max-content; min-width:100%; }
.guardian-shell .drawer { max-width:min(88vw, 360px); overflow-y:auto; overscroll-behavior:contain; }
.guardian-shell .drawer-nav a { overflow-wrap:anywhere; }

/* Guardian footer */
.guardian-shell .footer-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
.guardian-shell .footer-grid > *, .guardian-shell .footer-links-col { min-width:0; }
.guardian-shell .footer-main-content { padding-block:28px 20px; }
.guardian-shell .footer-bottom-bar .container { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 16px; }
.guardian-shell .footer-topics-bar { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.guardian-shell .footer-topics-bar .container { width:max-content; min-width:100%; }
.guardian-shell .footer-support-box { max-width:100%; }
.guardian-shell .footer-signup-btn { max-width:100%; white-space:normal; }

/* Search overlay must be viewport-fixed and responsive */
#ip-search-overlay { position:fixed !important; inset:0 !important; z-index:99999 !important; width:100% !important; height:100dvh !important; max-width:100vw !important; max-height:100dvh !important; overflow-y:auto !important; padding:clamp(8px, 3vw, 24px) !important; box-sizing:border-box !important; }
#ip-search-overlay .ip-search-box { width:min(900px, 100%) !important; max-width:100% !important; max-height:calc(100dvh - 2 * clamp(8px, 3vw, 24px)) !important; margin:0 auto !important; overflow-y:auto !important; }
#ip-search-overlay .ip-search-head { display:flex; gap:8px; }
#ip-search-overlay .ip-search-input { flex:1 1 auto; width:100%; min-width:0; font-size:16px !important; }
#ip-search-overlay .ip-search-close { flex:0 0 44px; min-width:44px; min-height:44px; }
#ip-search-overlay .ip-search-result { min-width:0; }
#ip-search-overlay .ip-search-title, #ip-search-overlay .ip-search-excerpt { overflow-wrap:anywhere; }

/* Flexible content layouts shared by homepage, categories and articles */
.hero-grid, .latest-grid, .category-wrap, .content-grid, .article-layout, .blog-grid, .related-grid, .post-grid, .cards-grid { min-width:0; }
.feature img, .article-cover img, .category-image img, .story-thumb img, .latest-img img { width:100%; max-width:100%; height:auto; object-fit:cover; }
.article-content, .post-content, .entry-content, .article-body, .page-content { min-width:0; overflow-wrap:anywhere; }
.article-content table, .post-content table, .entry-content table, .article-body table, .page-content table, main table { width:100%; max-width:100%; border-collapse:collapse; }
.article-content th, .article-content td, .post-content th, .post-content td, .entry-content th, .entry-content td, main th, main td { overflow-wrap:anywhere; word-break:normal; }
blockquote, pre, figure { max-width:100%; }

@media (max-width: 900px) {
  .guardian-shell .footer-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .guardian-shell .footer-grid > :first-child, .guardian-shell .footer-grid > :last-child { grid-column:1 / -1; }
  .hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,2fr); }
  .latest-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .category-wrap { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .category-menu { grid-column:1 / -1; }
}
@media (max-width: 700px) {
  .container { padding-inline:12px !important; width:100% !important; }
  .guardian-shell .top-bar .container, .guardian-shell .topbar { align-items:flex-start; }
  .guardian-shell .edition-selector { width:100%; flex-wrap:wrap; gap:6px; }
  .guardian-shell .top-bar-right { width:100%; justify-content:space-between; gap:8px; }
  .guardian-shell .date-badge { font-size:12px; }
  .guardian-shell .top-contact-link { font-size:12px; overflow-wrap:anywhere; }
  .guardian-shell .top-btn { min-height:38px; padding:6px 10px; }
  .guardian-shell .masthead-row { flex-direction:column; align-items:flex-start; padding:16px 0 12px; }
  .guardian-shell .brand-wrapper { width:100%; }
  .guardian-shell .site-logo-link { font-size:clamp(2.1rem, 10vw, 3rem); letter-spacing:-1px; }
  .guardian-shell .site-tagline { font-size:0.82rem; }
  .guardian-shell .masthead-support { width:100%; justify-content:flex-start; }
  .guardian-shell .support-blurb { display:none !important; }
  .guardian-shell .btn-yellow { min-height:42px; padding:9px 16px; }
  .guardian-shell .navbar-guardian { display:flex; width:100%; }
  .guardian-shell .menu-trigger { min-height:46px; flex:0 0 auto; padding:10px 12px; }
  .guardian-shell .primary-nav { display:none !important; }
  .guardian-shell .sub-nav .container { gap:8px; padding-inline:12px; }
  .guardian-shell .sub-nav a { flex:0 0 auto; font-size:0.78rem; }
  .guardian-shell .footer-grid { grid-template-columns:minmax(0,1fr); gap:22px; }
  .guardian-shell .footer-grid > :first-child, .guardian-shell .footer-grid > :last-child { grid-column:auto; }
  .guardian-shell .footer-main-content { padding-block:24px 18px; }
  .guardian-shell .footer-col-tabs { gap:12px; }
  .guardian-shell .footer-bottom-bar .container { align-items:flex-start; flex-direction:column; }
  .hero-grid, .latest-grid, .category-wrap, .content-grid, .article-layout, .blog-grid, .related-grid, .post-grid, .cards-grid { grid-template-columns:minmax(0,1fr) !important; }
  .hero-grid { display:grid !important; }
  .hero-grid > *, .category-wrap > *, .latest-grid > * { min-width:0; width:100%; }
  .feature { aspect-ratio:16/10 !important; height:auto !important; min-height:0 !important; }
  .feature-content { left:14px !important; right:14px !important; bottom:14px !important; }
  .feature h1, .page-hero h1 { font-size:clamp(1.55rem, 6vw, 2rem) !important; line-height:1.15 !important; }
  .section-head { gap:10px; flex-wrap:wrap; }
  .section-head h2 { font-size:clamp(1.4rem, 6vw, 2rem); }
  .story { grid-template-columns:88px minmax(0,1fr) !important; gap:12px; }
  .story-thumb { width:88px; max-width:100%; }
  .newsletter { grid-template-columns:minmax(0,1fr) !important; gap:16px; }
  .newsletter-form { display:flex; flex-direction:column; width:100%; gap:10px; }
  .newsletter-form input, .newsletter-form button { width:100%; min-height:44px; }
  .page-hero { padding-inline:0; }
  .article-content img, .post-content img, .entry-content img, .article-body img { height:auto !important; max-width:100% !important; }
  .article-content pre, .post-content pre, .entry-content pre, .article-body pre { white-space:pre; overflow-x:auto; }
  .article-content table, .post-content table, .entry-content table, .article-body table, main table { display:block; overflow-x:auto; }
}
@media (max-width: 480px) {
  .guardian-shell .edition-links { flex-wrap:wrap; gap:4px; }
  .guardian-shell .edition-links a { padding:3px 5px; font-size:11px; }
  .guardian-shell .top-bar-right { align-items:flex-start; flex-wrap:wrap; }
  .guardian-shell .date-badge { width:100%; }
  .guardian-shell .site-logo-link { font-size:clamp(1.9rem, 9.5vw, 2.5rem); }
  .guardian-shell .site-tagline { font-size:0.75rem; }
  .guardian-shell .footer-topics-bar .container { gap:12px; }
  #ip-search-overlay { padding:8px !important; }
  #ip-search-overlay .ip-search-box { max-height:calc(100dvh - 16px) !important; }
  #ip-search-overlay .ip-search-result { grid-template-columns:72px minmax(0,1fr) !important; gap:9px !important; }
  #ip-search-overlay .ip-search-result img, #ip-search-overlay .ip-search-thumb { width:72px !important; height:56px !important; }
  #ip-search-overlay .ip-search-results { padding:8px 12px 16px !important; }
  #ip-search-overlay .ip-search-status { padding:10px 12px !important; }
}
@media (max-width: 360px) {
  .guardian-shell .site-logo-link { font-size:1.8rem; }
  .guardian-shell .menu-trigger { padding-inline:8px; font-size:0.8rem; }
  .story { grid-template-columns:72px minmax(0,1fr) !important; }
  .story-thumb { width:72px; }
}


/* ================================================================
   FINAL RESPONSIVE LAYOUT OVERRIDES — MOBILE, TABLET AND DESKTOP
   These rules intentionally reset inherited desktop grid placement
   so child cards cannot create implicit off-screen columns.
   ================================================================ */
html { width:100%; max-width:100%; overflow-x:clip; }
body { width:100%; max-width:100%; overflow-x:clip; }
img, video, iframe, svg { max-width:100%; }
main, section, article, .container, .section { min-width:0; }

/* Desktop: consistent centred page width and fluid content columns. */
@media (min-width: 1024px) {
  .main > .container, .main .container { width:min(100% - 48px, 1440px); margin-inline:auto; }
  .hero-grid { display:grid; grid-template-columns:minmax(190px, .82fr) minmax(0, 2fr) minmax(190px, .82fr); gap:22px; align-items:start; }
  .latest-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
  .category-wrap { display:grid; grid-template-columns:minmax(160px,.8fr) repeat(3,minmax(0,1fr)); gap:0; }
  .category-wrap > * { min-width:0; grid-column:auto !important; }
  .footer-grid { display:grid; grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr)); gap:32px; }
}

/* Tablet: reduce columns while keeping readable cards and spacing. */
@media (min-width: 601px) and (max-width: 1023px) {
  .main > .container, .main .container { width:calc(100% - 32px); margin-inline:auto; }
  .hero-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.7fr); gap:16px; }
  .hero-grid > [data-posts="top-right"] { display:none; }
  .latest-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .category-wrap { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:0; }
  .category-wrap > * { min-width:0; grid-column:auto !important; grid-row:auto !important; }
  .category-wrap > .category-menu { grid-column:1 / -1 !important; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:24px; }
  .footer-grid > * { grid-column:auto !important; }
}

/* Phones: no fixed desktop grid placements, no clipped logo, no page-wide scroll. */
@media (max-width: 600px) {
  html, body { min-width:0 !important; width:100% !important; overflow-x:clip !important; }
  .container, main > .container, .main > .container, .main .container,
  .section, .main > section { width:100% !important; max-width:100% !important; margin-inline:auto !important; padding-left:14px !important; padding-right:14px !important; }

  /* Header and brand */
  .guardian-shell .masthead-row { display:flex !important; flex-direction:column !important; align-items:center !important; gap:10px !important; width:100%; }
  .guardian-shell .brand-wrapper { width:100% !important; min-width:0 !important; align-items:center !important; text-align:center !important; }
  .guardian-shell .site-logo-link { display:inline-block !important; width:auto !important; max-width:100% !important; white-space:nowrap !important; word-break:keep-all !important; overflow-wrap:normal !important; font-size:clamp(27px, 8.5vw, 39px) !important; line-height:1.08 !important; letter-spacing:-1.2px !important; }
  .guardian-shell .site-logo-link .logo-accent { white-space:nowrap !important; }
  .guardian-shell .site-tagline { text-align:center !important; font-size:12px !important; line-height:1.35 !important; max-width:100% !important; }
  .guardian-shell .masthead-support { width:100% !important; justify-content:center !important; }
  .guardian-shell .top-bar .container, .guardian-shell .topbar { width:100% !important; padding-inline:10px !important; }
  .guardian-shell .top-bar-right { min-width:0; flex-wrap:wrap !important; align-items:center !important; }
  .guardian-shell .top-contact-link { min-width:0; overflow-wrap:anywhere !important; }
  .guardian-shell .navbar-guardian { width:100% !important; min-width:0 !important; }
  .guardian-shell .primary-nav { display:none !important; }
  .guardian-shell .sub-nav { width:100% !important; max-width:100% !important; overflow-x:auto !important; overscroll-behavior-x:contain; }
  .guardian-shell .sub-nav .container { display:flex !important; width:max-content !important; max-width:none !important; min-width:100% !important; gap:16px !important; white-space:nowrap !important; padding:9px 12px !important; }
  .guardian-shell .sub-nav a { flex:0 0 auto !important; white-space:nowrap !important; }

  /* Homepage story sections */
  .hero-grid { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:16px !important; width:100% !important; }
  .hero-grid > *, .hero-grid .story-list, .hero-grid [data-posts] { min-width:0 !important; width:100% !important; grid-column:1 / -1 !important; }
  .hero-grid > [data-posts="top-right"] { display:none !important; }
  .feature { width:100% !important; max-width:100% !important; aspect-ratio:16/10 !important; height:auto !important; min-height:190px !important; }
  .feature-content { max-width:calc(100% - 28px) !important; }
  .feature h1 { font-size:clamp(20px,6vw,29px) !important; line-height:1.12 !important; }
  .latest-grid { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:14px !important; }
  .latest-grid > * { min-width:0 !important; width:100% !important; }
  .section { padding-top:18px !important; padding-bottom:18px !important; }
  .section-head { display:flex !important; align-items:center !important; flex-wrap:wrap !important; gap:8px !important; margin-bottom:14px !important; }
  .section-head h2 { font-size:clamp(22px,6vw,29px) !important; line-height:1.12 !important; }

  /* Critical reset: category cards used explicit desktop grid-column values. */
  .category-wrap { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:0 !important; width:100% !important; }
  .category-wrap > *, .category-wrap > .category-card,
  .category-wrap > .category-menu,
  .category-wrap > .category-card:nth-child(n) { grid-column:1 / -1 !important; grid-row:auto !important; width:100% !important; min-width:0 !important; }
  .category-card { border-left:0 !important; border-right:0 !important; border-top:1px solid var(--line, #dcdcdc) !important; }
  .category-card img, .category-card picture { width:100% !important; max-width:100% !important; height:auto !important; object-fit:cover; }

  /* Article and category page content */
  .content-grid, .article-layout, .blog-grid, .related-grid, .post-grid, .cards-grid,
  .category-layout, .category-content-grid, .article-grid { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:18px !important; }
  .content-grid > *, .article-layout > *, .blog-grid > *, .related-grid > *, .post-grid > *, .cards-grid > *,
  .category-layout > *, .category-content-grid > *, .article-grid > * { min-width:0 !important; max-width:100% !important; }
  .page-hero h1, h1 { overflow-wrap:anywhere; }
  .article-content, .post-content, .entry-content, .article-body, .page-content { max-width:100% !important; min-width:0 !important; }
  .article-content img, .post-content img, .entry-content img, .article-body img, main img { max-width:100% !important; height:auto !important; }
  .article-content table, .post-content table, .entry-content table, .article-body table, main table { max-width:100% !important; }

  /* Footer */
  .guardian-shell .footer-grid { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:22px !important; }
  .guardian-shell .footer-grid > *, .guardian-shell .footer-grid > :first-child,
  .guardian-shell .footer-grid > :last-child { grid-column:1 / -1 !important; min-width:0 !important; }
  .guardian-shell .footer-logo { font-size:clamp(28px,8vw,36px) !important; white-space:nowrap !important; }
  .guardian-shell .footer-bottom-bar .container { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:8px !important; }
  .guardian-shell .footer-links-col a { overflow-wrap:anywhere; }

  /* Search overlay is fixed to viewport, never rendered as a footer row. */
  #ip-search-overlay { position:fixed !important; inset:0 !important; z-index:999999 !important; display:none; width:100vw !important; max-width:100vw !important; height:100dvh !important; max-height:100dvh !important; overflow-y:auto !important; }
  #ip-search-overlay.open, #ip-search-overlay[aria-hidden="false"] { display:block !important; }
  #ip-search-overlay .ip-search-box { width:100% !important; max-width:100% !important; max-height:calc(100dvh - 16px) !important; margin:0 auto !important; }
}

@media (max-width: 360px) {
  .guardian-shell .site-logo-link { font-size:clamp(25px,8.2vw,29px) !important; letter-spacing:-1.3px !important; }
  .guardian-shell .site-tagline { font-size:11px !important; }
  .category-menu a, .category-card a { overflow-wrap:anywhere; }
}


/* ================================================================
   FINAL RESPONSIVE LAYOUT OVERRIDES
   Desktop footer columns, tablet grid, and phone-first stacking.
   ================================================================ */
.guardian-shell .guardian-footer .footer-grid,
.guardian-shell .guardian-footer-shell .footer-grid,
.guardian-shell .footer-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.25fr) !important;
  align-items: start !important;
  gap: clamp(14px, 1.8vw, 28px) !important;
  width: 100% !important;
}
.guardian-shell .footer-grid > *,
.guardian-shell .footer-grid > :first-child,
.guardian-shell .footer-grid > :last-child {
  grid-column: auto !important;
  min-width: 0 !important;
  width: auto !important;
}
.guardian-shell .footer-grid .footer-links-col,
.guardian-shell .footer-grid > div { min-width: 0 !important; }
.guardian-shell .footer-grid a { overflow-wrap: anywhere; }

@media (min-width: 1100px) {
  .guardian-shell .footer-grid { grid-template-columns: minmax(0,1.45fr) repeat(3,minmax(0,.8fr)) minmax(0,1.25fr) !important; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .guardian-shell .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 22px !important; }
  .guardian-shell .footer-grid > :first-child { grid-column: 1 / -1 !important; }
  .guardian-shell .footer-grid > :last-child { grid-column: auto !important; }
  .guardian-shell .footer-logo { font-size: clamp(28px, 4vw, 38px) !important; white-space: nowrap !important; }
}
@media (max-width: 699px) {
  .guardian-shell .footer-grid { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
  .guardian-shell .footer-grid > *,
  .guardian-shell .footer-grid > :first-child,
  .guardian-shell .footer-grid > :last-child { grid-column: 1 / -1 !important; }
  .guardian-shell .footer-bottom-bar .container { display:flex !important; flex-direction:column !important; align-items:flex-start !important; gap:8px !important; }
}

/* Ensure the search interface remains an overlay rather than a visible page row. */
#ip-search-overlay { position: fixed !important; inset: 0 !important; z-index: 999999 !important; display: none; }
#ip-search-overlay.open { display: flex !important; }


/* FINAL HEADER FIX: keep Guardian navigation dark and hamburger consistent */
.guardian-shell .main-header,
.guardian-shell .main-header > .container,
.guardian-shell .navbar-guardian,
.guardian-shell nav.navbar-guardian {
  background: var(--color-guardian-navy, #052962) !important;
  color: #fff !important;
}
.guardian-shell .navbar-guardian {
  display: flex !important;
  align-items: center !important;
  min-height: 48px !important;
  border-top: 1px solid rgba(255,255,255,.2) !important;
  border-bottom: 1px solid rgba(255,255,255,.25) !important;
}
.guardian-shell .navbar-guardian .menu-trigger,
.guardian-shell .main-header .menu-trigger,
.guardian-shell .site-header .menu-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-width: 54px !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 8px 14px !important;
  margin: 0 !important;
  color: #fff !important;
  background: var(--color-guardian-navy, #052962) !important;
  border: 0 !important;
  border-right: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: none !important;
}
.guardian-shell .menu-trigger .lines-icon,
.guardian-shell .menu-trigger .lines {
  display: flex !important;
  flex: 0 0 22px !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 4px !important;
  width: 22px !important;
  height: 18px !important;
  min-width: 22px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.guardian-shell .menu-trigger .lines-icon::before,
.guardian-shell .menu-trigger .lines-icon::after,
.guardian-shell .menu-trigger .lines::before,
.guardian-shell .menu-trigger .lines::after {
  content: none !important;
  display: none !important;
}
.guardian-shell .menu-trigger .lines-icon span,
.guardian-shell .menu-trigger .lines span {
  display: block !important;
  flex: 0 0 2px !important;
  width: 22px !important;
  height: 2px !important;
  min-height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 1px !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.guardian-shell .navbar-guardian .primary-nav,
.guardian-shell .navbar-guardian .nav-item { background: transparent !important; }
.guardian-shell .navbar-guardian .nav-item { color: #fff !important; }

/* Keep date, email and search visible on phones, with wrapping instead of hiding. */
@media (max-width: 700px) {
  .guardian-shell .top-bar { display: block !important; visibility: visible !important; height: auto !important; max-height: none !important; overflow: visible !important; }
  .guardian-shell .top-bar > .container,
  .guardian-shell .top-bar .topbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 5px !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 5px 10px !important;
  }
  .guardian-shell .edition-selector { display: flex !important; width: 100% !important; min-width: 0 !important; }
  .guardian-shell .top-bar-right {
    display: flex !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 4px 10px !important;
    visibility: visible !important;
    overflow: visible !important;
  }
  .guardian-shell .date-badge,
  .guardian-shell .top-contact-link,
  .guardian-shell .top-btn {
    display: inline-flex !important;
    visibility: visible !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    color: #c1d8fc !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
  .guardian-shell .date-badge { flex: 0 0 auto !important; }
  .guardian-shell .top-contact-link { overflow-wrap: anywhere !important; }
  .guardian-shell .top-btn { color: #fff !important; min-height: 28px !important; padding: 3px 6px !important; }
  .guardian-shell .main-header .container { width: 100% !important; max-width: 100% !important; }
  .guardian-shell .navbar-guardian { background: #052962 !important; }
  .guardian-shell .menu-trigger { justify-content: flex-start !important; }
}


/* Performance improvements: prioritize and reserve space for images without changing the visual design. */
.feature { isolation:isolate; }
.feature-image { position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%; max-width:none; object-fit:contain; object-position:center; }
.story-thumb { display:block; overflow:hidden; background-image:none !important; }
.story-thumb img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
.latest-img { display:block; overflow:hidden; background-image:none !important; }
.latest-img img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
.post-card .image, .list-thumb { overflow:hidden; background-image:none !important; }
.post-card .image img, .list-thumb img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
.category-image { overflow:hidden; }
.category-image img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; }
/* Do not animate/rotate the lead story; changing text and image every few seconds creates avoidable layout instability. */
.feature { isolation:isolate; }



/* =========================================================
   INSIGHTSPRECISE FOOTER — STABLE RESPONSIVE GRID
   This is the final footer rule set and intentionally overrides
   earlier legacy single-column mobile footer declarations.
   ========================================================= */
.guardian-shell .guardian-footer .footer-grid,
.guardian-shell .footer-grid {
  display:grid!important;
  grid-template-columns:minmax(185px,1.45fr) repeat(3,minmax(110px,.82fr)) minmax(155px,1.18fr)!important;
  grid-auto-flow:row!important;
  align-items:start!important;
  gap:clamp(18px,2.2vw,32px)!important;
  width:100%!important;
}
.guardian-shell .footer-grid > * {
  grid-column:auto!important;
  grid-row:auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}
.guardian-shell .footer-col-tabs {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:14px!important;
  min-width:0!important;
}
.guardian-shell .footer-col-tabs > div:first-child {
  display:block!important;
  width:100%!important;
  min-width:0!important;
}
.guardian-shell .footer-grid .footer-links-col {
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-width:0!important;
  width:100%!important;
}
.guardian-shell .footer-grid .footer-links-col h4 {
  display:block!important;
  width:100%!important;
  margin:0 0 3px!important;
  padding:0!important;
  color:#ffe500!important;
  font-size:13px!important;
  line-height:1.25!important;
  font-weight:700!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
}
.guardian-shell .footer-grid .footer-links-col a {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  padding:0!important;
  margin:0!important;
  color:#fff!important;
  font-size:13px!important;
  line-height:1.5!important;
  font-weight:400!important;
  text-decoration:none!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
.guardian-shell .footer-grid .footer-links-col a:hover {
  color:#ffe500!important;
  text-decoration:underline!important;
}
.guardian-shell .footer-recent-posts-list {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
}
.guardian-shell .footer-social-row {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:12px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:12px 0 4px!important;
  padding:0!important;
  overflow:visible!important;
}
.guardian-shell .footer-social-label {
  flex:0 0 auto!important;
  width:auto!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.3!important;
  white-space:nowrap!important;
}
.guardian-shell .ip-footer-social-icons {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  flex:0 0 auto!important;
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  height:auto!important;
  overflow:visible!important;
}
.guardian-shell .ip-footer-social-icons a {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 30px!important;
  width:30px!important;
  min-width:30px!important;
  max-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  max-height:30px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#fff!important;
  line-height:1!important;
  font-size:0!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
}
.guardian-shell .ip-footer-social-icons a:hover,
.guardian-shell .ip-footer-social-icons a:focus-visible {
  background:#ffe500!important;
  color:#052962!important;
  border-color:#ffe500!important;
}
.guardian-shell .ip-footer-social-icons svg {
  display:block!important;
  position:static!important;
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  transform:none!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  stroke-width:1.2!important;
  color:inherit!important;
}
.guardian-shell .ip-footer-social-icons svg rect,
.guardian-shell .ip-footer-social-icons svg circle:not(.ip-dot) {
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
}
.guardian-shell .ip-footer-social-icons svg .ip-dot {
  fill:currentColor!important;
  stroke:none!important;
}
.guardian-shell .footer-bottom-bar .container {
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px 18px!important;
}

/* Tablet: brand row first, followed by three evenly spaced groups and recent posts. */
@media (min-width:700px) and (max-width:1099px) {
  .guardian-shell .footer-grid {
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px!important;
  }
  .guardian-shell .footer-grid > .footer-col-tabs {
    grid-column:1 / -1!important;
  }
}

/* Mobile: brand/contact/social full width, then Explore | Company, Policies | Recent Posts. */
@media (max-width:699px) {
  .guardian-shell .footer-main-content {
    padding:26px 0 22px!important;
  }
  .guardian-shell .footer-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    align-items:start!important;
    column-gap:24px!important;
    row-gap:27px!important;
    width:100%!important;
  }
  .guardian-shell .footer-grid > .footer-col-tabs {
    grid-column:1 / -1!important;
    grid-row:auto!important;
    width:100%!important;
    min-width:0!important;
    gap:12px!important;
  }
  .guardian-shell .footer-grid > .footer-links-col {
    grid-column:auto!important;
    grid-row:auto!important;
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    gap:10px!important;
  }
  .guardian-shell .footer-grid > .footer-links-col h4 {
    font-size:13px!important;
    line-height:1.25!important;
    margin-bottom:4px!important;
  }
  .guardian-shell .footer-grid > .footer-links-col a {
    font-size:13px!important;
    line-height:1.48!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }
  .guardian-shell .footer-social-row {
    margin:12px 0 2px!important;
    gap:11px!important;
  }
  .guardian-shell .ip-footer-social-icons {
    gap:8px!important;
  }
  .guardian-shell .ip-footer-social-icons a {
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
  }
  .guardian-shell .footer-bottom-bar .container {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:8px!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
}
@media (max-width:360px) {
  .guardian-shell .footer-grid {
    column-gap:15px!important;
  }
  .guardian-shell .footer-grid > .footer-links-col a {
    font-size:12px!important;
  }
  .guardian-shell .ip-footer-social-icons {
    gap:6px!important;
  }
  .guardian-shell .ip-footer-social-icons a {
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }
}



/* Header social icons: visible on desktop and mobile, always horizontal and white. */
.guardian-shell .top-bar-right .ip-header-social{
  display:flex!important;
  flex:0 0 auto!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  width:auto!important;
  min-width:max-content!important;
  height:auto!important;
  margin:0 4px 0 0!important;
  padding:0!important;
  overflow:visible!important;
}
.guardian-shell .top-bar-right .ip-header-social a{
  display:inline-flex!important;
  flex:0 0 29px!important;
  width:29px!important;
  min-width:29px!important;
  max-width:29px!important;
  height:29px!important;
  min-height:29px!important;
  max-height:29px!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.8)!important;
  border-radius:50%!important;
  color:#fff!important;
  background:transparent!important;
  text-decoration:none!important;
  line-height:1!important;
  font-size:0!important;
}
.guardian-shell .top-bar-right .ip-header-social a:hover,
.guardian-shell .top-bar-right .ip-header-social a:focus-visible{
  color:#052962!important;
  background:#ffe500!important;
  border-color:#ffe500!important;
  outline:none!important;
}
.guardian-shell .top-bar-right .ip-header-social svg{
  display:block!important;
  position:static!important;
  flex:0 0 16px!important;
  width:16px!important;
  min-width:16px!important;
  max-width:16px!important;
  height:16px!important;
  min-height:16px!important;
  max-height:16px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  transform:none!important;
  color:inherit!important;
  fill:currentColor!important;
  stroke:currentColor!important;
  stroke-width:1.2!important;
}
.guardian-shell .top-bar-right .ip-header-social svg rect,
.guardian-shell .top-bar-right .ip-header-social svg circle:not(.ip-dot){
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
}
.guardian-shell .top-bar-right .ip-header-social svg .ip-dot{
  fill:currentColor!important;
  stroke:none!important;
}
/* The Recent Posts column remains visible on desktop and is removed from phones. */
@media(max-width:699px){
  .guardian-shell .top-bar-right .ip-header-social{
    display:flex!important;
    flex:0 0 auto!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    width:auto!important;
    min-width:max-content!important;
    align-self:center!important;
    order:0!important;
  }
  .guardian-shell .top-bar-right .ip-header-social a{
    flex:0 0 28px!important;
    width:28px!important;
    min-width:28px!important;
    max-width:28px!important;
    height:28px!important;
    min-height:28px!important;
    max-height:28px!important;
  }
  .guardian-shell .top-bar-right .ip-header-social svg{
    flex-basis:15px!important;
    width:15px!important;
    min-width:15px!important;
    max-width:15px!important;
    height:15px!important;
    min-height:15px!important;
    max-height:15px!important;
  }
  .guardian-shell .footer-grid > .footer-recent-posts{
    display:none!important;
  }
  /* With Recent Posts hidden, Policies spans the full row for a balanced mobile footer. */
  .guardian-shell .footer-grid > .footer-links-col:nth-child(4){
    grid-column:1 / -1!important;
  }
  .guardian-shell .footer-grid > .footer-links-col:nth-child(4) a{
    width:calc(50% - 10px)!important;
  }
  .guardian-shell .footer-grid > .footer-links-col:nth-child(4){
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:20px!important;
    row-gap:10px!important;
  }
  .guardian-shell .footer-grid > .footer-links-col:nth-child(4) h4{
    grid-column:1 / -1!important;
  }
}
