@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Source+Serif+4:wght@400;600;700;800&display=swap');

/* =========================================================
   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:"Source Serif 4",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;
  }
}
