/* ================= BLOG (SINGLE PAGE CSS) ================= */
*{margin:0;padding:0;box-sizing:border-box;}
html,body{width:100%;overflow-x:hidden;}
body{
  font-family:"Outfit",sans-serif;
  background:#ffffff;
  color:#111;
}
img{max-width:100%;display:block;height:auto;}
a{text-decoration:none;color:inherit;}

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* ================= VIEW SWITCH ================= */
.view{ display:none; }
.view.is-active{ display:block; }

/* ================= TOP BAR ================= */
.blog-top{
  padding:22px 0 10px;
}
.blog-top-inner{
  position:relative;
  min-height:64px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

/* logo */
.blog-logo{
  position:absolute;
  left: 40px;
  top:0;
  display:inline-flex;
  align-items:center;
  z-index:5;
}
.blog-logo img{
  width:170px;
  height:auto;
}

/* desktop nav pill */
.blog-nav{
  background:#fff;
  border-radius:10px;
  padding:14px 32px;
  display:flex;
  gap:44px;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 18px rgba(0,0,0,0.18);
  border:1px solid rgba(0,0,0,0.08);
  z-index:4;
}
.blog-nav a{
  font-weight:500;
  color:#111;
  font-size:14px;
}
.blog-nav a.is-active{
  color:#0b7ea8;
  font-weight:600;
}

/* ================= MOBILE HAMBURGER ================= */
.nav-toggle{
  display:none;
  position:absolute;
  right:0;
  top:4px;
  width:44px;
  height:40px;
  border:0;
  background:transparent;
  cursor:pointer;
  z-index:60;
}
.nav-toggle span{
  display:block;
  height:3px;
  width:26px;
  margin:5px auto;
  background:#fff;
  border-radius:10px;
}

/* dropdown + overlay */
.mobile-menu{
  display:none;
  position:absolute;
  right:0;
  top:56px;
  width:220px;
  background:#fff;
  border-radius:14px;
  padding:14px 14px;
  box-shadow:0 18px 30px rgba(0,0,0,0.25);
  border:1px solid rgba(0,0,0,0.10);
  z-index:80;
}
.mobile-menu a{
  display:block;
  padding:12px 10px;
  font-weight:600;
  color:#111;
  border-radius:10px;
}
.mobile-menu a:hover{
  background:#f3f3f3;
}

.menu-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.25);
  z-index:70;
}

/* open state */
.menu-open .mobile-menu{ display:block; }
.menu-open .menu-overlay{ display:block; }

/* ================= BLOG HEADER ================= */
.blog-header{
  padding:18px 0 10px;
  text-align:center;
}
.blog-header h1{
  font-size:40px;
  font-weight:700;
  margin-top:10px;
}
.blog-header p{
  max-width:760px;
  margin:14px auto 0;
  font-size:13px;
  line-height:1.6;
  color:#666;
}

/* ================= BLOG LIST ================= */
.blog-list{
  padding:28px 0 70px;
}

.blog-item{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:70px;
  align-items:start;
  padding:34px 0;
}

.blog-item-img{
  width:340px;
}
.blog-item-img img{
  width:100%;
  border-radius:2px;
}

.blog-item-caption{
  margin-top:14px;
  font-size:14px;
  color:#444;
  line-height:1.35;
}

.blog-item-content{
  display:flex;
  flex-direction:column;
}

.blog-item-content h2{
  font-size:16px;
  font-weight:600;
  color:#333;
  margin-top:6px;
}
.blog-item-content p{
  margin-top:12px;
  font-size:12.5px;
  line-height:1.75;
  color:#666;
  max-width:560px;
}

.blog-h3{
  margin-top:22px;
  font-size:14px;
  font-weight:600;
  color:#333;
}
.blog-p{
  margin-top:10px;
}

.blog-readmore{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:18px;
  margin-left:auto;
  margin-right:auto;
  padding:10px 22px;
  border:1.5px solid rgba(0,0,0,0.75);
  border-radius:999px;
  font-size:12.5px;
  font-weight:600;
  color:#111;
  background:#fff;
}
.blog-readmore span{
  font-size:16px;
  line-height:1;
}

/* ================= SINGLE POST ================= */
.post{
  padding:26px 0 60px;
}
.post-wrap{
  max-width:760px;
  margin:0 auto;
}

.post-title{
  text-align:center;
  margin-top:4px;
}
.post-title h1{
  font-size:40px;
  font-weight:700;
  margin-bottom:10px;
}
.post-title p{
  font-size:13px;
  line-height:1.6;
  color:#666;
  max-width:760px;
  margin:0 auto;
}

.post-feature{
  width:260px;
  margin:38px 0 0 0;
}
.post-feature img{
  width:100%;
}

.post-label{
  margin-top:14px;
  font-size:14px;
  color:#444;
  line-height:1.35;
}

.post-content{
  margin-top:22px;
}
.post-content h2{
  font-size:18px;
  font-weight:600;
  color:#333;
  margin:18px 0 10px;
}
.post-content h3{
  font-size:16px;
  font-weight:600;
  color:#333;
  margin:22px 0 10px;
}
.post-content p{
  font-size:12.5px;
  line-height:1.75;
  color:#666;
  margin-top:10px;
}

.post-back{
  display:flex;
  justify-content:center;
  margin-top:26px;
}
.post-back a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 18px;
  border:1.5px solid rgba(0,0,0,0.55);
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  color:#111;
  background:#fff;
}
.post-back a span{
  font-size:16px;
}

/* ================= FOOTER ================= */
.footer{
  background:#2a2a2a;
  color:#d8d8d8;
  padding:34px 0 18px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:26px;
  align-items:start;
}

.footer-logo{
  width:170px;
  display:block;
  height:auto;
}

.footer-about{
  text-align:left;
}

.footer-desc{
  font-size:12px;
  line-height:1.5;
  max-width:260px;
  margin:14px 0 16px;
  color:#cfcfcf;
}

.footer-follow-title{
  font-weight:600;
  margin:10px 0 10px;
  color:#fff;
  font-size:18px;
}

.footer-social{
  display:flex;
  gap:10px;
  align-items:center;
}

.footer-social a{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  color:#d8d8d8;
  opacity:.9;
  border:none;
  background:transparent;
}

.footer-social svg{
  width:22px;
  height:22px;
}

/* centered icon + title, content directly under title */
.footer-grid .footer-col:not(.footer-about){
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

.footer-grid .footer-col:not(.footer-about) .footer-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:10px;
}

.footer-grid .footer-col:not(.footer-about) .footer-icon{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
  margin:0 auto;
}

.footer-grid .footer-col:not(.footer-about) .footer-title{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#fff;
}

.footer-grid .footer-col:not(.footer-about) .footer-links{
  list-style:none;
  padding:0;
  margin:0 auto;
  width:fit-content;
  text-align:left;
}

.footer-grid .footer-col:not(.footer-about) .footer-links li{
  margin:9px 0;
}

.footer-grid .footer-col:not(.footer-about) .footer-links a{
  text-decoration:none;
  color:#cfcfcf;
  font-size:12px;
}

.footer-grid .footer-col:not(.footer-about) .footer-text{
  width:fit-content;
  max-width:220px;
  margin:0 auto;
  font-size:12px;
  line-height:1.5;
  color:#cfcfcf;
  text-align:left;
}

.footer-bottom{
  text-align:center;
  padding-top:18px;
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  color:#bdbdbd;
  font-size:12px;
}

/* responsive */
@media (max-width:900px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:30px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .blog-item{
    grid-template-columns:1fr;
    gap:22px;
  }
  .blog-item-img{ width:340px; }
}

@media (max-width: 520px){
  .blog-nav{ display:none; }
  .nav-toggle{ display:block; }

  .blog-top{
    background: linear-gradient(180deg, #0c4a60 0%, #0b2a35 70%, #000 100%);
    padding:16px 0 14px;
  }

  .blog-top-inner{
    align-items:center;
    justify-content:flex-start;
    min-height:52px;
  }

  .blog-logo{
    position:static;
    z-index:60;
  }
  .blog-logo img{ width:170px; }

  .blog-header h1{ font-size:34px; }
  .blog-item-img{ width:100%; }

  .footer-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .footer-about{
    text-align:center;
  }
}