/* ───────── RESET / BASICS ───────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font:400 1rem/1.55 "Manrope",sans-serif;color:#1a1a1a}
.fade-up{opacity:0;transform:translateY(25px);transition:.6s}
.fade-up.in{opacity:1;transform:none}

/* ───────── HEADER ───────── */
.site-header{position:fixed;inset:0 0 auto;z-index:2000;pointer-events:none;background:transparent!important;transition:transform .3s ease;}
.site-header.hide{transform:translateY(-100%);}
.site-header.scrolled{background:rgba(0,0,0,0.05)!important;}
.nav-top{
  width:min(92%,1200px);margin:auto;
  padding:1.375rem 0 0.75rem 0;display:flex;justify-content:space-between;align-items:center;
  pointer-events:all;z-index:2001;
}
.brand{font:600 1.25rem "Inter",sans-serif;color:#fefefe;text-decoration:none;margin-right:0;margin-left:-1rem;}
.desktop-logo{display:block;}
.mobile-logo{display:none;}

/* burger */
.burger{width:28px;height:22px;border:0;background:0 0;cursor:pointer;position:relative;padding:0;pointer-events:all;z-index:2002;}
.burger .bar{position:absolute;left:0;width:100%;height:3px;background:#fefefe;transition:.35s cubic-bezier(.65,0,.35,1)}
.burger .bar:nth-child(1){top:0}
.burger .bar:nth-child(2){top:50%;transform:translateY(-50%)}
.burger .bar:nth-child(3){bottom:0}
.burger.open .bar:nth-child(1){transform:translateY(9px) rotate(45deg)}
.burger.open .bar:nth-child(2){opacity:0}
.burger.open .bar:nth-child(3){transform:translateY(-9px) rotate(-45deg)}

.site-nav{
  position:fixed;top:0;left:0;width:100%;
  background:transparent!important;
  transform:translateY(-100%);
  transition:transform .4s ease;pointer-events:none;z-index:1500;
}
.site-nav.open{transform:translateY(0);pointer-events:all;}
.site-nav ul{display:flex;flex-direction:row;gap:3.5rem;list-style:none;padding:3rem 0 1.5rem 0;margin:0;align-items:center;justify-content:center;}
.site-nav a{color:#fefefe;font:500 1.25rem "Manrope",sans-serif;text-decoration:none;position:relative;transition:.25s}
.site-nav a::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:4px;background:currentColor;transition:width .35s}
.site-nav a:hover{color:#fefefe;transform:translateY(-2px)}
.site-nav a:hover::after{width:100%}

/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  padding: 0.15rem 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2003;
  margin-top: 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.4rem 1rem;
  color: #fefefe;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fefefe;
  transform: none;
}

.dropdown-menu a::after {
  display: none;
}

@media (max-width:767px){
  .site-nav{
    background:rgba(0,0,0,0.92)!important;
    z-index:1999!important;
  }
  .site-nav.open{
    z-index:1999!important;
  }
  .site-nav ul{
    flex-direction:column!important;
    gap:1.8rem!important;
    padding:6rem 0 3rem!important;
    width:100%!important;
    min-height:100vh!important;
    justify-content:flex-start!important;
    align-items:center!important;
  }
  .site-nav a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0.75rem 1.5rem!important;
    min-height:48px!important;
    min-width:48px!important;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
  }
  
  /* Mobile dropdown styles */
  .dropdown {
    position: static;
  }
  
  .dropdown > a {
    display: block;
    text-align: center;
    padding: 1rem 1.25rem;
    min-height: 56px;
    width: 100%;
    border-radius: 12px;
  }
  
  .dropdown > a::after {
    content: none !important;
    display: none !important;
  }
  
  .dropdown-menu {
    display: none !important;
  }
  
  /* Mobile project submenu */
  .mobile-projects-submenu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #a3b5b2;
    z-index: 3000;
    padding: 6rem 2rem 2rem;
  }
  
  .mobile-projects-submenu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: all !important;
  }
  
  .mobile-projects-submenu .back-button,
  .mobile-projects-submenu .close-button {
    position: absolute;
    top: 2rem;
    background: transparent !important;
    border: none !important;
    color: #fefefe;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-projects-submenu .back-button {
    left: 2rem;
  }
  
  .mobile-projects-submenu .close-button {
    right: 2rem;
    font-size: 1.9rem;
  }
  
  .mobile-projects-submenu h3 {
    color: #fefefe;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
  }
  
  .mobile-projects-submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-projects-submenu li {
    margin-bottom: 1rem;
  }
  
  .mobile-projects-submenu a {
    display: block;
    padding: 1rem;
    color: #fefefe;
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .mobile-projects-submenu a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
}

/* Mobile submenu base styles */
.mobile-projects-submenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .mobile-projects-submenu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ───────── HERO ───────── */
.hero{min-height:100dvh;display:flex;justify-content:center;align-items:center;text-align:center;color:#fefefe;position:relative;margin:0;padding:0;}
.hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.55)}
.hero-content{position:relative;max-width:800px;padding:0 1rem;z-index:2;}
.hero-content img{max-width:70%;height:auto;}
.hero h1{font-family:"Manrope",sans-serif;font-size:clamp(2.5rem,8vw,4rem);margin-bottom:1rem;font-weight:600}

/* ───────── ABOUT ───────── */
.about{padding:3rem 1.25rem;background:#fdfdfd;display:block!important;visibility:visible!important;}
.about-grid{display:grid;gap:2rem;max-width:92%;margin:auto}
.about h2{font-family:"Playfair Display",serif;font-size:2rem}
.about h3{font-family:"Playfair Display",serif;font-size:1.25rem;margin:1.25rem 0 .75rem}
.about p,.about li{font-size:1rem;line-height:1.6}
.about ul{list-style:disc inside;margin-left:1rem}
.about-map{height:320px;min-width:260px;width:100%;max-width:520px;margin:auto;}
.about-map iframe{width:100%;height:100%;border:none;}
#map{height:100%;width:100%;border-radius:8px;}
@media (min-width:768px){
  .about-map{height:300px!important;max-width:100%!important;width:100%!important;min-width:100%!important;}
  .about-map iframe{height:100%!important;width:100%!important;}
  .about-grid > div:nth-child(2) > p { margin-bottom: 10px !important; }
}

/* ───────── STATS ───────── */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;padding:3rem 0;text-align:center;background:#fafafa;visibility:visible!important;}
@media (max-width:767px){
  .stats{display:grid!important;grid-template-columns:1fr 1fr!important;grid-template-rows:1fr 1fr!important;gap:1rem!important;}
}
.stat-num{font-size:2.25rem;font-weight:600}
.stat-label{font-size:.75rem;text-transform:uppercase;letter-spacing:1px}

/* ───────── PROJECTS ───────── */
#projects-d {
  padding-top: 2rem;
}

#projects-d .project-panel-desktop{
  display:grid;
  grid-template-columns:45% 55%;
  grid-template-areas:"copy media";
  min-height:550px;
}
#projects-d .project-panel-desktop:nth-child(even){
  grid-template-columns:55% 45%;
  grid-template-areas:"media copy";
}
.panel-copy-desktop{
  grid-area:copy;
  background:#a3b5b2;
  color:#fefefe;
  display:flex; flex-direction:column; justify-content:center;
  gap:1.2rem;
  padding:4rem 3rem;
  font-family:'Manrope',sans-serif;
}
#projects-d .project-panel-desktop:nth-child(2) .panel-copy-desktop,
#projects-d .project-panel-desktop:nth-child(5) .panel-copy-desktop {
  background:#c4d1cf;
}
#projects-d .project-panel-desktop:nth-child(3) .panel-copy-desktop,
#projects-d .project-panel-desktop:nth-child(6) .panel-copy-desktop {
  background:#7a8f8b;
}
.panel-copy-desktop h2{margin:0;font-size:3rem;}
.panel-copy-desktop p{font-size:1.25rem;max-width:28ch;}
.panel-media-desktop{
  grid-area:media;
  background:#a3b5b2;
  position:relative; overflow:hidden;
}
#projects-d .project-panel-desktop:nth-child(2) .panel-media-desktop,
#projects-d .project-panel-desktop:nth-child(5) .panel-media-desktop {
  background:#c4d1cf;
}
#projects-d .project-panel-desktop:nth-child(3) .panel-media-desktop,
#projects-d .project-panel-desktop:nth-child(6) .panel-media-desktop {
  background:#7a8f8b;
}
.panel-slides-desktop{position:relative;width:100%;height:100%}
.panel-slides-desktop .slide-desktop{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0; transition:opacity 2s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index:0;
  cursor: pointer;
}
.panel-slides-desktop .slide-desktop.active{opacity:1;z-index:2}

/* ───────── PROJECT MODAL ───────── */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  display: flex;
  opacity: 1;
}

.project-modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.project-modal-image {
  width: 80vh;
  height: 80vh;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.project-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
}

.project-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.project-modal-nav:hover {
  transform: translateY(-50%) scale(1.2);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.project-modal-nav.prev {
  left: 20px;
}

.project-modal-nav.next {
  right: 20px;
}

.project-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

/* ───────── SERVICES ───────── */
#services{background:#a3b5b2;padding:2rem 0;display:block!important;visibility:visible!important;margin-top:-2rem;}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.25rem;}
@media (max-width:767px){
  .services-grid{grid-template-columns:1fr!important;}
  .card{height:220px;margin-bottom:1rem;}
}
.card{position:relative;height:320px;padding:2rem;display:flex;flex-direction:column;justify-content:center;align-items:center;background-size:cover;background-position:center;background-repeat:no-repeat;color:#01303f;border-radius:4px;overflow:hidden;text-align:center;cursor:pointer;transition:all .3s;z-index:1;border:1px solid rgba(163,181,178,0.3);}
.card h4{font-size:1.6rem;font-weight:300;margin:0 0 .75rem;z-index:2;position:relative;color:#fefefe;text-shadow:0 1px 4px rgba(0,0,0,.6);}
.card p{font-size:1rem;opacity:0;transform:translateY(.5rem);transition:.3s;color:#fefefe;text-shadow:0 1px 4px rgba(0,0,0,.6);z-index:2;position:relative;}
.card::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.4);opacity:0;transition:.3s;z-index:0;}
.card:hover::before,.card.active::before{opacity:1;}
.card:hover p,.card.active p{opacity:1;transform:none;}

/* ───────── CONTACT ───────── */
#contact{padding:60px 1.5rem 3rem;border-top:4px solid #b2c2c1;max-width:1100px;margin:auto;display:flex;flex-direction:column;align-items:center;}
#contact .contact-head{text-align:center;}
#contact .contact-head h2{font-size:2.5rem;font-weight:400;margin-bottom:0.5rem;}
#contact .contact-head p{font-size:1.25rem;opacity:0.8;line-height:1.5;}
#contact .contact-options{margin-top:2rem;}
#contact .whatsapp-link{display:inline-flex;align-items:center;gap:0.5rem;padding:0.75rem 1.5rem;background:#25D366;color:#fefefe;text-decoration:none;border-radius:8px;font-weight:500;transition:all 0.3s ease;}
#contact .whatsapp-link:hover{background:#128C7E;transform:translateY(-2px);box-shadow:0 4px 12px rgba(37,211,102,0.3);}
#contact .whatsapp-link svg{flex-shrink:0;}

/* ───────── FOOTER ───────── */
.desktop-footer{background:#fff;color:#385270;font-family:"Crimson Pro",serif;font-weight:300;text-align:center;padding:2rem 1.5rem 1rem;z-index:10;position:relative;display:block;}
.footer-inner{max-width:1200px;margin:auto;display:flex;flex-direction:column;gap:0.5rem;align-items:center}
.desktop-footer h2{font-size:2.625rem;margin:0 0 .6rem}
.desktop-footer p{font-size:1.5rem;margin:0.5rem 0}
.desktop-footer nav,.desktop-footer .social{display:flex;gap:3rem;flex-wrap:wrap;justify-content:center}
.desktop-footer a{color:inherit;text-decoration:none;position:relative;font-size:1.575rem;letter-spacing:.06em;transition:.25s}
.desktop-footer a::after{content:"";position:absolute;left:0;bottom:-4px;width:0;height:4px;background:currentColor;transition:width .35s}
.desktop-footer a:hover{transform:translateY(-2px)}
.desktop-footer a:hover::after{width:100%}

.mobile-footer {
  background: #fff;
  color: #385270;
  font-family: "Crimson Pro", serif;
  font-weight: 300;
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  position: relative !important;
  z-index: 10;
  overflow: hidden;
}

.mobile-footer-inner {
  max-width: 1200px;
  margin: auto;
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.mobile-footer h2 {
  font-size: 1.75rem;
  margin: 0 0 0.6rem;
}

.mobile-footer p {
  margin: 0.5rem 0;
}

.mobile-footer nav,
.mobile-footer .social {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mobile-footer a {
  color: inherit;
  text-decoration: none;
  position: relative;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  transition: 0.25s;
}

.mobile-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 4px;
  background: currentColor;
  transition: width 0.35s;
}

.mobile-footer a:hover {
  transform: translateY(-2px);
}

.mobile-footer a:hover::after {
  width: 100%;
}

@media (max-width:767px){
  .desktop-footer{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;min-height:0!important;overflow:hidden!important;}
  .mobile-footer{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;min-height:60px!important;overflow:visible!important;}
  .hero video{
    display:block!important;
    visibility:visible!important;
    position:absolute!important;
    top:0!important;left:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:brightness(.55)!important;z-index:1!important;
  }
  .hero-content{
    position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%, -50%)!important;z-index:2!important;width:90%!important;max-width:800px!important;text-align:center!important;
  }
  .desktop-logo{display:none !important;}
  .mobile-logo{display:block !important;margin-left:1rem;}
  #projects-d .project-panel-desktop {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    background: #a3b5b2 !important;
    overflow: hidden !important;
  }
  .panel-media-desktop {
    min-height: 280px !important;
    height: 50vmin !important;
    position: relative !important;
  }
  .panel-slides-desktop {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  .panel-slides-desktop .slide-desktop {
    display: none !important;
    opacity: 0 !important;
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .panel-slides-desktop .slide-desktop.active {
    display: block !important;
    opacity: 1 !important;
    z-index: 2 !important;
  }
}

/* ───────── Tablet: 768px–1024px (projects image area) ───────── */
@media (min-width:768px) and (max-width:1024px){
  #projects-d .project-panel-desktop{
    min-height: 420px !important;
  }
  .panel-media-desktop{
    min-height: 320px !important;
  }
}

/* ─────────  ≥768 px  ───────── */
@media (min-width:768px){
  .desktop-footer{display:block!important;visibility:visible!important;opacity:1!important;height:auto!important;}
  .mobile-footer{display:none!important;visibility:hidden!important;opacity:0!important;height:0!important;min-height:0!important;overflow:hidden!important;}
  .hero h1{font-size:clamp(2rem,5vw,3.5rem)}
  .about{padding:4.5rem 2rem}
  .about-grid{grid-template-columns:1fr 1fr;max-width:1200px}
  .about h2{font-size:2.8rem}
  .about h3{font-size:1.5rem}
  .about p,.about li{font-size:1.05rem}
  .stat-num{font-size:3rem}
  #projects-d .project-panel-desktop{
    grid-template-columns:45% 55%;grid-template-areas:"copy media";min-height:550px
  }
  #projects-d .project-panel-desktop:nth-child(even){
    grid-template-columns:55% 45%;grid-template-areas:"media copy"
  }
  .panel-copy-desktop{padding:4rem 3rem}
  .panel-copy-desktop h2{font-size:3rem}
  .panel-copy-desktop p{font-size:1.25rem;max-width:28ch}
  .panel-copy-desktop p.location-desktop{font-size:1rem;opacity:0.8;text-transform:uppercase;letter-spacing:1px;margin-bottom:0.5rem}
  #services{padding-top:2.625rem;}
  .services-grid{grid-template-columns:repeat(3,1fr)}
  .card{height:400px}
  .card h4{font-size:2.3rem;font-weight:300}
  #contact{padding:80px 4rem}
}

/* ───────── BLOG (on-brand with home) ───────── */
.blog-archive,
.blog-single {
  background: #e8eeed;
  padding: 0 1.25rem 3rem;
  display: block !important;
  visibility: visible !important;
  min-height: 100vh;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem 3rem;
}

/* Blog archive header – brand strip like home sections */
.blog-archive .page-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 2.5rem 2rem 2rem;
  background: #a3b5b2;
  color: #fefefe;
  border-radius: 4px;
  border: 1px solid rgba(163, 181, 178, 0.4);
}

.blog-archive .page-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: #fefefe;
  margin: 0;
  font-weight: 400;
}

.archive-description {
  font-size: 1.1rem;
  color: rgba(254, 254, 254, 0.9);
  max-width: 800px;
  margin: 0.75rem auto 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 0;
}

/* Cards – panel feel like home project blocks */
.blog-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(163, 181, 178, 0.35);
  box-shadow: 0 2px 12px rgba(1, 48, 63, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(1, 48, 63, 0.1);
  border-color: #a3b5b2;
}

.blog-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #c4d1cf;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-content {
  padding: 1.5rem 1.5rem 1.75rem;
}

.blog-card-header {
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
}

.blog-card-title a {
  color: #01303f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: #7a8f8b;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #5a6b68;
  margin-top: 0.5rem;
  font-family: "Manrope", sans-serif;
}

.blog-card-meta a {
  color: #7a8f8b;
  text-decoration: none;
}

.blog-card-meta a:hover {
  color: #01303f;
  text-decoration: underline;
}

.blog-card-excerpt {
  color: #385270;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.blog-card-footer {
  margin-top: 0.5rem;
}

.read-more-link {
  color: #a3b5b2;
  text-decoration: none;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
  transition: color 0.3s ease;
}

.read-more-link:hover {
  color: #7a8f8b;
}

.blog-pagination {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  text-align: center;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-pagination .page-numbers li {
  display: inline-block;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #01303f;
  text-decoration: none;
  border: 1px solid rgba(163, 181, 178, 0.5);
  border-radius: 4px;
  background: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-pagination a:hover,
.blog-pagination .current {
  background: #a3b5b2;
  color: #fefefe;
  border-color: #a3b5b2;
}

/* Single Post – on-brand */
.blog-single .blog-container {
  padding-top: 6rem;
}

.blog-back-link {
  margin-bottom: 1.25rem;
}

.back-to-blog {
  display: inline-block;
  color: #7a8f8b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: "Manrope", sans-serif;
  transition: color 0.3s ease;
}

.back-to-blog:hover {
  color: #01303f;
}

.blog-post {
  background: #fff;
  padding: 2.25rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(163, 181, 178, 0.35);
  box-shadow: 0 2px 12px rgba(1, 48, 63, 0.06);
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #a3b5b2;
}

.blog-post-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #01303f;
  margin: 0 0 1rem 0;
  line-height: 1.25;
  font-weight: 400;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #5a6b68;
  font-family: "Manrope", sans-serif;
}

.blog-post-meta a {
  color: #7a8f8b;
  text-decoration: none;
}

.blog-post-meta a:hover {
  color: #01303f;
  text-decoration: underline;
}

.blog-post-featured-image {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(163, 181, 178, 0.25);
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content {
  font-size: 1rem;
  line-height: 1.65;
  color: #385270;
  font-family: "Manrope", sans-serif;
}

.blog-post-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  margin: 2rem 0 0.75rem;
  color: #01303f;
}

.blog-post-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  margin: 1.5rem 0 0.5rem;
  color: #01303f;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
}

.blog-post-content ul,
.blog-post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.blog-post-content a {
  color: #a3b5b2;
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: #7a8f8b;
}

.blog-post-navigation {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #a3b5b2;
}

.blog-post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.blog-post-navigation .nav-previous,
.blog-post-navigation .nav-next {
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(163, 181, 178, 0.35);
  box-shadow: 0 2px 12px rgba(1, 48, 63, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-navigation .nav-previous:hover,
.blog-post-navigation .nav-next:hover {
  transform: translateY(-3px);
  border-color: #a3b5b2;
  box-shadow: 0 6px 20px rgba(1, 48, 63, 0.08);
}

.blog-post-navigation a {
  display: block;
  text-decoration: none;
  color: #01303f;
}

.blog-post-navigation .nav-subtitle {
  display: block;
  font-size: 0.8125rem;
  color: #a3b5b2;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: "Manrope", sans-serif;
}

.blog-post-navigation .nav-title {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: #01303f;
}

.blog-post-navigation .nav-next {
  text-align: right;
}

.no-results {
  text-align: center;
  padding: 3rem;
  background: #fff;
  border-radius: 4px;
  border: 1px solid rgba(163, 181, 178, 0.35);
  color: #385270;
}

@media (max-width: 767px) {
  .blog-archive .page-header {
    padding: 1.75rem 1.25rem;
  }
  .blog-archive .page-title {
    font-size: 1.75rem;
  }
  .blog-container {
    padding-top: 5.5rem;
  }
  .blog-card-image {
    height: 200px;
  }
  .blog-post {
    padding: 1.5rem 1.25rem;
  }
  .blog-post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
}

.no-results p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .blog-archive,
  .blog-single {
    padding: 4.5rem 2rem;
  }
  
  .page-title {
    font-size: 2.8rem;
  }
  
  .blog-post-title {
    font-size: 2.8rem;
  }
  
  .blog-post-content h2 {
    font-size: 2.8rem;
  }
  
  .blog-post-content h3 {
    font-size: 1.5rem;
  }
  
  .blog-post-content {
    font-size: 1.05rem;
  }
}

@media (max-width: 767px) {
  .blog-container {
    padding: 6rem 1rem 2rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-post {
    padding: 1.5rem;
  }
  
  .blog-post-title {
    font-size: 1.75rem;
  }
  
  .blog-post-navigation .nav-links {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .blog-post-navigation .nav-next {
    text-align: left;
  }
}

/* ───────── COMMENTS ───────── */
.comments-area {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #a3b5b2;
}

.comments-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.comment {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.comment-author .avatar {
  border-radius: 50%;
  margin-right: 1rem;
}

.comment-author .fn {
  font-weight: 600;
  color: #1a1a1a;
  font-style: normal;
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  font-size: 0.875rem;
  color: #666;
  margin-left: auto;
}

.comment-content {
  color: #333;
  line-height: 1.6;
  margin-top: 1rem;
}

.comment-content p {
  margin-bottom: 1rem;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 1rem;
  color: #a3b5b2;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.comment-reply-link:hover {
  color: #7a8f8b;
}

.comment-form {
  margin-top: 2rem;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1a1a1a;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form input[type="submit"] {
  background: #a3b5b2;
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.comment-form input[type="submit"]:hover {
  background: #7a8f8b;
}

.no-comments {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-style: italic;
}

