/*
  sil-blog.css — estilos del header/footer Silicium y overrides del listing.
  Antes vivían inyectados en la configuración del blog (Settings); ahora son
  parte del tema y los renderizan los partials header.html / footer.html.
*/

/* ===== HEADER ===== */
@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Manrope:wght@300;400;500;600;700&display=swap');

/* Ocultar elementos heredados de la plantilla HubSpot que no usamos.
   OJO: ya NO ocultamos .body-wrapper > div:first-child / :last-child —
   ahora el header y footer reales del tema son los buenos. */
.blog-post__tags { display: none !important; }
.blog-comments, .comment-section { display: none !important; }
.blog-post-wrapper form[data-form-id] { display: none !important; }
.content-wrapper { display: block !important; }
.custom-recent-posts { display: none !important; }

/* ===== HEADER ===== */
.sil-header {
  background: #fff;
    font-family: 'Familjen Grotesk', sans-serif;
  position: relative;
  z-index: 100;
}
.sil-header__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
}
.sil-header__logo img { height: 50px; width: auto; }

/* NAV */
.sil-header__nav { display: flex; gap: 0; align-items: center; }
.sil-header__nav-item { position: relative; }
.sil-header__nav-item > a {
  color: #333; text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 8px 14px; transition: color 0.2s;
  font-family: 'Familjen Grotesk', sans-serif; display: flex; align-items: center; gap: 4px;
}
.sil-header__nav-item > a:hover { color: #1a592c; }
.sil-header__nav-item > a.active { color: #1a592c; font-weight: 600; }
.sil-header__nav-item > a .chevron {
  width: 10px; height: 10px; transition: transform 0.2s;
}

/* DROPDOWN */
.sil-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 240px; padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1); border-radius: 0 0 4px 4px; z-index: 200;
}
.sil-header__nav-item:hover .sil-dropdown { display: block; }
.sil-dropdown a {
  display: block; padding: 8px 20px; color: #444; font-size: 14px;
  text-decoration: none; font-family: 'Familjen Grotesk', sans-serif; transition: color 0.15s;
}
.sil-dropdown a:hover { color: #1a592c; }

/* RIGHT ICONS */
.sil-header__right { display: flex; align-items: center; gap: 20px; }
.sil-header__right a { color: #333; text-decoration: none; display: flex; }
.sil-header__right a:hover { color: #1a592c; }
.sil-header__right svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .sil-header__inner { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 12px 15px; }
  .sil-header__nav { flex-wrap: wrap; justify-content: center; }
  .sil-header__nav-item > a { font-size: 13px; padding: 5px 8px; }
  .sil-header__right { gap: 14px; }
  .sil-header__right svg { width: 18px; height: 18px; }
  .sil-dropdown { position: static; box-shadow: none; min-width: 100%; }
}


/* ===== POST LAYOUT (Living Silica style) ===== */

/* Featured image - show it as hero */
.hs-featured-image, .blog-post__featured-image,
.content-wrapper > .post-header img,
.blog-section .post-header img {
  display: block !important;
  width: 100% !important;
  max-width: 800px !important;
  max-height: 420px !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  margin: 0 auto 32px !important;
}

/* Content area - centered and readable */
.content-wrapper, .blog-post-wrapper, .blog-section {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 32px 24px !important;
}

/* Title - no uppercase, elegant */
article h1, .blog-post h1, h1,
.content-wrapper h1 {
  font-family: 'Familjen Grotesk', sans-serif !important;
  font-weight: 600 !important;
  color: #1a2a1a !important;
  font-size: 40px !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  margin-bottom: 12px !important;
}

/* Meta info (date, tags) */
.blog-post__meta, article > ul:first-of-type,
.content-wrapper > div > ul:first-of-type {
  display: flex !important;
  gap: 16px !important;
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  color: #888 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px !important;
  border-bottom: 1px solid #eee !important;
  padding-bottom: 16px !important;
}
.blog-post__meta li, article > ul:first-of-type li,
.content-wrapper > div > ul:first-of-type li {
  list-style: none !important;
}
.blog-post__meta a, article > ul:first-of-type a,
.content-wrapper > div > ul:first-of-type a {
  color: #1a592c !important;
  font-size: 13px !important;
}

/* Content headings */
article h2, .blog-post h2, .content-wrapper h2 {
  font-family: 'Familjen Grotesk', sans-serif !important;
  font-weight: 600 !important;
  color: #1a2a1a !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
  margin: 40px 0 16px !important;
}
article h3, .blog-post h3, .content-wrapper h3 {
  font-family: 'Familjen Grotesk', sans-serif !important;
  font-weight: 600 !important;
  color: #333 !important;
  font-size: 21px !important;
  line-height: 1.35 !important;
  margin: 32px 0 12px !important;
}
article h4, .blog-post h4, .content-wrapper h4 {
  font-family: 'Familjen Grotesk', sans-serif !important;
  font-weight: 600 !important;
  color: #333 !important;
  font-size: 18px !important;
  margin: 28px 0 10px !important;
}

/* Paragraphs */
article p, .blog-post p, .content-wrapper p {
  font-family: 'Manrope', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #444 !important;
  margin-bottom: 20px !important;
}

/* Lists */
article ul, article ol, .blog-post ul, .blog-post ol {
  font-family: 'Manrope', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #444 !important;
  margin-bottom: 20px !important;
  padding-left: 24px !important;
}
article li, .blog-post li {
  margin-bottom: 8px !important;
}

/* Links in content */
article a, .blog-post a, .content-wrapper a {
  color: #1a592c !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

/* Bold text */
article strong, .blog-post strong {
  color: #222 !important;
  font-weight: 600 !important;
}

/* Images in content */
article img, .blog-post img, .content-wrapper img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
  margin: 24px auto !important;
  display: block !important;
}
article figure, .blog-post figure {
  margin: 32px 0 !important;
  text-align: center !important;
}


/* Share section */
.simpleblog-socialshare {
  max-width: 800px !important;
  margin: 0 auto !important;
  padding: 24px 24px 32px !important;
  border-top: 1px solid #eee !important;
}
.simpleblog-socialshare h3.block-title {
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #999 !important;
  margin: 0 0 12px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.simpleblog-socialshare .simpleblog-socialshare-icons {
  display: flex !important;
  gap: 10px !important;
}
.simpleblog-socialshare .simpleblog-socialshare-icons a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #f5f5f5 !important;
  border: none !important;
  transition: background 0.2s !important;
  text-decoration: none !important;
  padding: 0 !important;
}
.simpleblog-socialshare .simpleblog-socialshare-icons a.btn:hover {
  background: #e0efe3 !important;
}
.simpleblog-socialshare .simpleblog-socialshare-icons a.btn svg.svgic {
  width: 18px !important;
  height: 18px !important;
  fill: #1a592c !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}
.simpleblog-socialshare .simpleblog-socialshare-icons a.btn svg path {
  fill: #1a592c !important;
}

/* Responsive */
@media (max-width: 768px) {
  .content-wrapper, .blog-post-wrapper, .blog-section {
    padding: 20px 16px !important;
  }
  article h1, .blog-post h1, h1, .content-wrapper h1 {
    font-size: 26px !important;
  }
  article h2, .blog-post h2, .content-wrapper h2 {
    font-size: 22px !important;
  }
}

/* Language switcher */
.sil-header__lang {
  position: relative;
  margin-left: 12px;
}
.sil-header__lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #333;
}
.sil-header__lang-btn:hover { border-color: #1a592c; }
.sil-header__lang-btn svg { width: 16px; height: 16px; }
.sil-header__lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  min-width: 140px;
  z-index: 200;
  overflow: hidden;
}
.sil-header__lang.open .sil-header__lang-dropdown { display: block; }
.sil-header__lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
  transition: background 0.15s;
}
.sil-header__lang-dropdown a:hover { background: #f5f5f5; }
.sil-header__lang-dropdown a.active { font-weight: 700; color: #1a592c; }

/* ===== LISTING OVERRIDES ===== */
/* Hide the "Blog" banner image */
#hs_cos_wrapper_Banner,
.blog-banner {
  display: none !important;
}

/* Reset HubSpot template float-based layout */
.hs-blog-listing .post-item {
  float: none !important;
  width: auto !important;
  clear: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.hs-blog-listing .post-listing {
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
}
.hs-blog-listing .post-item .post-item-inner {
  margin-bottom: 0 !important;
}
.hs-blog-listing .blog-index {
  display: block !important;
}

/* Override content-wrapper width for listing */
.hs-blog-listing .blog-list-wrap .content-wrapper {
  max-width: 1200px !important;
  padding: 40px 24px !important;
}

/* 3-column grid for post cards */
.hs-blog-listing .post-listing {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  padding: 0 !important;
}

/* Card styling */
.hs-blog-listing .post-item {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  display: flex !important;
  flex-direction: column !important;
}
.hs-blog-listing .post-item:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1) !important;
  transform: translateY(-3px) !important;
}
.hs-blog-listing .post-item-inner {
  padding: 28px 24px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}
.hs-blog-listing .entry-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

/* Title */
.hs-blog-listing .blog-headline {
  margin-bottom: 12px !important;
}
.hs-blog-listing .blog-headline a {
  font-family: 'Familjen Grotesk', sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #1a2a1a !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  display: block !important;
  text-align: center !important;
}
.hs-blog-listing .blog-headline a:hover {
  color: #1a592c !important;
}

/* Hide date and categories */
.hs-blog-listing .post-meta {
  display: none !important;
}

/* Excerpt */
.hs-blog-listing .entry-content > p {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #666 !important;
  text-align: center !important;
  flex: 1 !important;
  margin: 0 0 20px !important;
}

/* Read More link */
.hs-blog-listing .read-more {
  text-align: center !important;
  margin-top: auto !important;
}
.hs-blog-listing .read-more a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1a592c !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1.5px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  display: inline !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.hs-blog-listing .read-more a:hover {
  color: #145223 !important;
  text-decoration-thickness: 2px !important;
}

/* Pagination */
.hs-blog-listing .blog-pagination {
  margin-top: 48px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}
.hs-blog-listing .blog-pagination a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  text-decoration: none !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
  background: transparent !important;
}
.hs-blog-listing .blog-pagination a.active {
  background: #1a592c !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.hs-blog-listing .blog-pagination a.disabled {
  display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
  .hs-blog-listing .post-listing {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .hs-blog-listing .blog-list-wrap .content-wrapper {
    padding: 24px 16px !important;
  }
}
@media (max-width: 600px) {
  .hs-blog-listing .post-listing {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hs-blog-listing .blog-headline a {
    font-size: 18px !important;
  }
}

/* ===== FEATURED IMAGE (post) ===== */
.sil-featured-hero { max-width: 800px; margin: 0 auto 32px; padding: 0 24px; }
.sil-featured-hero img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 768px) { .sil-featured-hero { padding: 0 16px; margin-bottom: 24px; } .sil-featured-hero img { max-height: 280px; border-radius: 8px; } }

/* ===== FOOTER ===== */
.widget-type-post_listing { display: none !important; }
.custom-recent-posts { display: none !important; }
@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700&display=swap');



.sil-footer {
  background: #f5f5f5;
  padding: 60px 30px 30px;
  font-family: 'Manrope', sans-serif;
}
.sil-footer__inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
  gap: 40px;
}
.sil-footer__col h4 {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 18px;
}
.sil-footer__col a {
  color: #6e6e6e;
  text-decoration: none;
  font-size: 16px;
  line-height: 26px;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.sil-footer__col a:hover { color: #1a592c; }
.sil-footer__col p {
  color: #000;
  font-size: 16px;
  line-height: 26px;
  margin: 0 0 12px;
}
.sil-footer__newsletter-title {
  margin-bottom: 15px;
}
.sil-footer__form-wrap {
  font-family: 'Manrope', sans-serif;
}
.sil-footer__form-wrap .hs-form-field label {
  display: none;
}
.sil-footer__form-wrap .hs-form-field input[type="email"],
.sil-footer__form-wrap .hs-form-field input[type="text"] {
  width: 100% !important;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Manrope', sans-serif;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.sil-footer__form-wrap .hs-submit input[type="submit"] {
  background: #1a592c;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}
.sil-footer__form-wrap .hs-submit input[type="submit"]:hover {
  background: #237a3b;
}
.sil-footer__form-wrap .hs-error-msgs { color: #c00; font-size: 12px; list-style: none; padding: 0; }
.sil-footer__form-wrap .submitted-message { color: #1a592c; font-size: 14px; }
.sil-footer__old-newsletter-title {
  font-family: 'Familjen Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #1a592c;
  line-height: 1.3;
}
.sil-footer__more-info {
  color: #1a592c !important;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}
.sil-footer__more-info svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}
.sil-footer__more-info:hover { opacity: 0.8; }
.sil-footer__social {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}
.sil-footer__social a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 25px;
  border: none;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: #1a592c;
  background: #fff;
  margin-bottom: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: box-shadow 0.2s, transform 0.2s;
}
.sil-footer__social a:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); transform: translateY(-1px); color: #1a592c; }
.sil-footer__social a svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.sil-footer__bottom {
  background: #1a592c;
  margin: 30px -30px 0;
  padding: 10px 30px;
}
.sil-footer__bottom-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.sil-footer__copyright { color: rgba(255,255,255,0.85); font-size: 13px; }
.sil-footer__copyright a { color: rgba(255,255,255,0.85); text-decoration: none; }
.sil-footer__copyright a:hover { color: #fff; }
.sil-footer__payments { display: flex; align-items: center; gap: 8px; }
.sil-footer__payments svg { height: 24px; width: auto; }
@media (max-width: 480px) { .sil-footer__bottom-inner { justify-content: center; text-align: center; } }
@media (max-width: 900px) { .sil-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sil-footer__inner { grid-template-columns: 1fr; } } }

/* ===== BREADCRUMBS (post) ===== */
.sil-breadcrumbs {
  max-width: 800px;
  margin: 0 auto 16px;
  padding: 0 24px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #888;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.sil-breadcrumbs a { color: #1a592c; text-decoration: none; }
.sil-breadcrumbs a:hover { text-decoration: underline; }
.sil-breadcrumbs__current {
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

/* ===== AUTHOR BOX (post) ===== */
.sil-author-box {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f7f9f7;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
}
.sil-author-box__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sil-author-box__label { display: block; font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.sil-author-box__name { font-size: 16px; font-weight: 700; color: #1a592c; text-decoration: none; }
.sil-author-box__name:hover { text-decoration: underline; }
.sil-author-box__bio { margin: 6px 0 0; font-size: 13.5px; line-height: 1.6; color: #555; }
@media (max-width: 600px) {
  .sil-breadcrumbs__current { max-width: 180px; }
  .sil-author-box { margin: 24px 16px 0; padding: 16px; }
}