/* Blog: que las imágenes del contenido sean anchas por defecto */
.post-content .wp-block-image img,
.post-content figure.post-image img,
.post-content .wp-caption img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;          /* opcional, mismo look del tema */
  box-shadow: 0 8px 20px rgba(0,0,0,.06); /* opcional */
}

/* Espacios consistentes alrededor de imágenes */
.post-content .wp-block-image,
.post-content figure.post-image,
.post-content .wp-caption {
  margin: 16px 0 20px;
}

/* Si Gutenberg guardó tamaños “is-resized” con width en línea, limítalo al contenedor */
.post-content .wp-block-image.is-resized img {
  max-width: 100% !important;
  height: auto !important;
}

/* Alinear wide/full de Gutenberg dentro del ancho del contenido del tema */
.post-content .alignwide,
.post-content .alignfull {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}




/* ===============================
   RESET & BASE
================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #0B1E40;
  background-color: #fff;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #0B1E40;
  text-decoration: none;
}
a:hover {
  opacity: .85;
}

/* ===============================
   LAYOUT CONTAINERS
================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.grid {
  display: grid;
  gap: 24px;
}

/* ===============================
   HEADER & NAV
================================= */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e9edf2;
  position: relative;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.brand img,
.custom-logo {
  max-height: 52px;
  width: auto;
}
.menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu li {
  margin: 0;
}
.menu a {
  font-weight: 600;
  padding: 8px 2px;
  display: inline-block;
}

/* ===============================
   HERO BANNER
================================= */
.hero-banner {
  background: url('https://anniemachlg.com/wp-content/uploads/2025/09/banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 100px 20px;
  text-align: left;
  position: relative;
}
.hero-banner .hero-content {
  max-width: 700px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: .5rem 0 1rem;
}
.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}
.hero-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-select {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}
.hero-go,
.btn {
  background: #0B1E40;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}
.hero-go:hover,
.btn:hover {
  opacity: .9;
}
.btn-accent {
  background: #00A379;
}
.btn-light {
  background: #f7f7f7;
  color: #0B1E40;
}
.btn-primary {
  background: #0B1E40;
  color: #fff;
}

/* ===============================
   TEAM CARDS
================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 20px 0;
}
.card.team-card {
  border: 1px solid #e9edf2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
  padding: 16px;
}
.team-photo {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
}
.team-meta {
  margin: .5rem 0;
  font-size: .9rem;
  opacity: .85;
}
.team-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1rem;
}
.team-contact .ci {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f7f7;
  border-radius: 6px;
  padding: 6px 10px;
}
.team-contact .ci-icon {
  width: 20px;
  height: 20px;
  color: #0B1E40;
  flex-shrink: 0;
}
.team-contact .ci-text {
  font-size: .9rem;
}
.team-contact .ci-label {
  font-weight: 600;
  font-size: .8rem;
  color: #555;
}

/* ===============================
   FOOTER
================================= */
.site-footer {
  background: #0B1E40;
  color: #fff;
  padding: 40px 20px 20px;
}
.footer-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 24px;
  margin-bottom: 20px;
}
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin: .25rem 0;
}
.footer-list a {
  color: #fff;
  font-size: .9rem;
}
.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.footer-social .icon {
  width: 22px;
  height: 22px;
  fill: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.2);
  margin-top: 20px;
  padding-top: 12px;
  text-align: center;
  font-size: .85rem;
  opacity: .85;
}
.footer-disclaimer {
  font-size: .75rem;
  opacity: .75;
  margin-top: 12px;
  line-height: 1.4;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
  .hero-banner {
    padding: 60px 16px;
    text-align: center;
  }
  .hero-controls {
    justify-content: center;
  }
  .site-header .container {
    flex-wrap: wrap;
  }
  .menu {
    flex-wrap: wrap;
    gap: 12px;
  }
}


/* ===== Hero (home) ===== */
.hero-banner{
  position: relative;
  min-height: clamp(420px, 70vh, 760px);  /* da altura visible */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Fondo de la imagen (cámbialo por tu banner real) */
.hero-banner::before{
  content:"";
  position:absolute; inset:0;
  background: url('/wp-content/uploads/2025/09/banner.jpg') center/cover no-repeat;
  /* ↑ Reemplaza /wp-content/uploads/2025/09/banner.jpg por tu imagen real */
}

/* Velo para mejorar legibilidad del texto */
.hero-banner::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(11,30,64,.55), rgba(11,30,64,.15));
}

/* Contenido del hero */
.hero-banner .hero-content{
  position: relative; z-index: 1;
  color:#fff;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.hero-title{
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
}
.hero-sub{
  margin: 0 0 14px;
  font-size: clamp(16px, 2.1vw, 20px);
  opacity: .95;
}

/* Controles (select + botón) */
.hero-controls{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-select{
  appearance:none; -webkit-appearance:none;
  padding:.7rem .9rem; border-radius:.7rem; border:0;
  background:#fff; color:#0B1E40; font-weight:600;
}
.hero-go{
  background:#00A379; color:#fff; border:0;
  padding:.7rem 1rem; border-radius:.7rem; font-weight:800; cursor:pointer;
}
.hero-go:hover{ filter:brightness(.95); }

/* Ajuste cuando estás


/* ------- Blog Single ------- */
.post-wrap { padding: 24px 0; }
.post-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 0 16px;
}
@media (min-width: 980px) {
  .post-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}
.card {
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 18px;
}

/* Main article */
.post-card .post-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display:block;
}
.post-head { margin: .5rem 0 1rem; }
.post-title { margin: 0 0 .3rem; color:#0B1E40; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.post-meta { opacity:.8; display:flex; gap:8px; flex-wrap:wrap; font-size:.95rem; }
.post-content > *:first-child { margin-top: 0; }
.post-content img { max-width:100%; height:auto; border-radius:8px; }
.post-content blockquote {
  border-left:4px solid #4278BC; padding:8px 12px; background:#f7f9fb; border-radius:8px;
}
.post-foot { margin-top: 16px; }
.post-foot .tags a { display:inline-block; background:#EEECE9; padding:6px 10px; border-radius:999px; margin: 4px 6px 0 0; font-weight:700; }

/* Sidebar */
.post-side { display:grid; gap:16px; }
.cta-services h3 { margin:.15rem 0 .4rem; color:#0B1E40; }
.cta-services p { margin:0 0 .6rem; }
.svc-links{ list-style:none; padding:0; margin:0 0 .6rem; display:grid; gap:6px; }
.svc-links a { text-decoration:none; color:#4278BC; font-weight:700; }
.svc-links a:hover { text-decoration:underline; }

/* Reusa tus botones */
.btn { display:inline-block; padding:.7rem 1rem; border-radius:.7rem; font-weight:800; text-decoration:none; }
.btn-primary { background:#00A379; color:#fff; }



.hlg-blog .blog-grid{
  display:grid; gap:20px;
  grid-template-columns:1fr;
}
@media(min-width:900px){
  .hlg-blog .blog-grid{grid-template-columns:repeat(2,1fr);}
}
.hlg-blog .blog-card{
  background:#fff; border:1px solid #e9edf2; border-radius:14px;
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  overflow:hidden;
}
.hlg-blog .blog-card__link{display:block; color:inherit; text-decoration:none;}
.hlg-blog .blog-thumb{
  aspect-ratio:16/9; background:#f6f8fb; overflow:hidden;
}
.hlg-blog .blog-thumb img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.hlg-blog .blog-title{margin:14px 16px 6px; font-size:1.25rem; color:#0B1E40;}
.hlg-blog .blog-excerpt{margin:0 16px 16px; opacity:.9;}
.hlg-blog .blog-pagination{margin-top:18px; text-align:center;}
