/* ============================================================
   blog.css – Página de Blog | aidalorena.com
   Autor: Aida Lorena | Desarrollado en HTML limpio sin WordPress
   ============================================================ */

/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #000;
  background-color: #fff;
  line-height: 1.7em;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: #000;
  line-height: 1.1em;
  font-weight: 500;
  padding-bottom: 10px;
}

a { color: #0c71c3; text-decoration: none; }
a:hover { opacity: 0.8; }

p { padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

.container {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

/* ===========================
   HEADER
=========================== */
#main-header {
  background-color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.1);
  position: relative;
  z-index: 99999;
  font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
  font-weight: 600;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  padding: 10px 0;
}

#logo {
  max-height: 84px;
  width: auto;
}

#top-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  list-style: none;
}

#top-menu li { display: inline-block; padding-right: 22px; }
#top-menu li:last-child { padding-right: 0; }

#top-menu a {
  color: rgba(0,0,0,0.6);
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0;
  display: block;
  transition: opacity .3s ease;
}
#top-menu a:hover,
#top-menu li.active a { color: #0c71c3; }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 32px;
  color: #0c71c3;
  line-height: 1;
}

/* ===========================
   HERO SECTION
=========================== */
.section-hero {
  background-image: url('images/hero-bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-inner {
  width: 100%;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  display: inline-block;
}

.hero-title h1 {
  font-family: 'Abel', Helvetica, Arial, sans-serif;
  font-size: 65px;
  color: #fff;
  line-height: 1.1em;
  text-align: center;
  text-shadow: 0em 0em 0.3em #ffffff;
  text-transform: uppercase;
  padding-bottom: 10px;
}

.hero-title h2 {
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 4px;
  text-align: center;
  padding-bottom: 0;
}

/* ===========================
   BLOG INTRO SECTION (section-0)
=========================== */
.blog-intro-section {
  padding: 10px 0;
  background-color: #fff;
}

/* ===========================
   FEATURED + SIDEBAR SECTION (section-1)
=========================== */
.blog-main-section {
  padding: 0;
  background-color: #fff;
}

.blog-main-row {
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 2% 0;
  gap: 0;
  align-items: flex-start;
}

/* --- Featured Post (left 50%) --- */
.featured-post {
  width: 50%;
  padding: 15px;
}

.featured-post-inner {
  background: #fff;
  border: 20px solid #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,0.3);
  overflow: hidden;
}

.featured-post-inner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .4s ease;
}
.featured-post-inner:hover img { transform: scale(1.03); }

.featured-post-content {
  padding: 20px;
}

.featured-post-content h2 {
  font-family: 'Abel', Helvetica, Arial, sans-serif;
  font-size: 26px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2em;
  padding-bottom: 12px;
}

.featured-post-content h2 a {
  color: #000;
}
.featured-post-content h2 a:hover { color: #0c71c3; opacity: 1; }

.featured-post-content p {
  font-family: 'Abel', Helvetica, Arial, sans-serif;
  font-size: 20px;
  line-height: 1.8em;
  color: #000;
}

.btn-read-more {
  display: inline-block;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background-color: #0055e8;
  padding: 16px 30px;
  border-radius: 10px;
  border: 2px solid #39af1c;
  margin-top: 20px;
  transition: background-color .3s ease;
  cursor: pointer;
}
.btn-read-more:hover {
  background-color: rgba(0,85,232,0.67);
  opacity: 1;
  color: #fff;
}

/* --- Blog Sidebar (right 50%) --- */
.blog-sidebar {
  width: 50%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sidebar-whatsapp {
  text-align: center;
  margin-top: 53px;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 0;
  width: calc(100% - 60px);
}

.sidebar-whatsapp .btn-whatsapp {
  display: inline-block;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background-color: #0055e8;
  padding: 16px 30px;
  border-radius: 10px;
  border: 2px solid #39af1c;
  transition: background-color .3s ease;
  margin-bottom: 16px;
}
.sidebar-whatsapp .btn-whatsapp:hover {
  background-color: rgba(0,85,232,0.67);
  opacity: 1;
  color: #fff;
}

.sidebar-contact-text {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7em;
  color: #000;
  text-align: center;
  margin-top: 10px;
}
.sidebar-contact-text p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7em;
}

/* Social follow box */
.social-follow-box {
  background-color: #f7f7f7;
  margin-top: 30px;
  padding: 20px;
  width: 100%;
}

.social-follow-heading {
  background-color: #0c71c3;
  text-align: center;
  padding: 14px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.3);
  margin-bottom: -15px;
}

.social-follow-heading h4 {
  font-family: 'Poppins', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding-bottom: 0;
}

.social-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 30px;
  padding-bottom: 10px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  box-shadow: 0 2px 18px rgba(0,0,0,0.3);
  border-radius: 0;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.social-icon-link:hover { transform: scale(1.1); opacity: 1; }

.social-icon-link svg {
  width: 28px;
  height: 28px;
}

/* Social colors */
.si-whatsapp  { background-color: #25D366; }
.si-instagram { background-color: #ea2c59; }
.si-facebook  { background-color: #3b5998; }
.si-linkedin  { background-color: #007bb6; }
.si-youtube   { background-color: #E02B20; }

/* ===========================
   BLOG GRID SECTION
=========================== */
.blog-grid-section {
  background-color: #fff;
  padding: 30px 0 40px;
}

.blog-grid-row {
  width: 95%;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 2.5%;
}

/* --- Post Card --- */
.post-card {
  background: #fff;
  border: 15px solid #fff;
  box-shadow: 0 2px 18px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.post-card-image {
  overflow: hidden;
  position: relative;
}
.post-card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-content {
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-title {
  font-family: 'Abel', Helvetica, Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4em;
  color: #000;
  padding-bottom: 10px;
}

.post-card-title a {
  color: #000;
}
.post-card-title a:hover { color: #0c71c3; opacity: 1; }

.post-card-excerpt {
  display: none;
}

.post-card-link {
  display: inline-block;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background-color: #0055e8;
  border-radius: 2px;
  padding: 8px 18px;
  margin-top: 12px;
  transition: background-color .3s;
}
.post-card-link:hover { background-color: rgba(0,85,232,0.8); opacity: 1; color: #fff; }

/* ===========================
   DISCLAIMER
=========================== */
.section-disclaimer {
  padding: 20px 0 30px;
  background-color: #fff;
}

.disclaimer-text {
  font-size: 13px;
  color: #666;
  text-align: center;
  line-height: 1.6em;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

/* ===========================
   FOOTER
=========================== */
#main-footer {
  background-color: #0333a1;
  padding: 40px 0 0;
}

.footer-grid {
  width: 80%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col img {
  max-width: 140px;
  margin-bottom: 10px;
}

.footer-col p, .footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}
.footer-col a:hover { color: #fdca4a; opacity: 1; }

.footer-heading {
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 8px;
  display: block;
  padding-bottom: 0;
}

.footer-email {
  text-align: center;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  transition: background-color .3s;
  text-decoration: none;
}
.social-links a:hover { background-color: #0c71c3; opacity: 1; }
.social-links svg { width: 18px; height: 18px; }

.footer-links li { margin-bottom: 8px; }
.footer-links li::before { content: '* '; color: #fff; }
.footer-links a { color: rgba(255,255,255,0.8); }
.footer-links a:hover { color: #fdca4a; opacity: 1; }


/* ===========================
   COOKIE BANNER
=========================== */
#cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background-color: #212b46;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 99999;
  font-size: 14px;
}
#cookie-bar a { color: #fdca4a; }

.cookie-btn {
  padding: 7px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.cookie-btn-accept { background-color: #4b8ee6; color: #fff; }
.cookie-btn-reject { background-color: transparent; color: #fff; border: 1px solid #fff; }
.cookie-btn:hover { opacity: 0.85; }

/* ===========================
   WHATSAPP FLOAT
=========================== */
#whatsapp-float {
  position: fixed;
  bottom: 15px; right: 15px;
  z-index: 99999;
  display: flex;
  align-items: center;
  cursor: pointer;
}
#whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
}
#whatsapp-float svg { width: 50px; height: 50px; }

/* ===========================
   SCROLL TO TOP
=========================== */
#scroll-top {
  position: fixed;
  bottom: 125px; right: 0;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 36px; height: 40px;
  font-size: 22px;
  cursor: pointer;
  display: none;
  z-index: 99999;
}
#scroll-top:hover { background: rgba(0,0,0,0.7); }

/* ===========================
   UTILITY
=========================== */
.text-center { text-align: center; }

/* ===========================
   RESPONSIVE – TABLET (≤980px)
=========================== */
@media (max-width: 980px) {
  /* Header */
  #top-menu { display: none; flex-direction: column; width: 100%; background: #fff; padding: 10px 0; }
  #top-menu.open { display: flex; }
  #top-menu li { padding: 8px 20px; }
  .mobile-menu-btn { display: block; }
  .header-inner { flex-wrap: wrap; }

  /* Hero */
  .hero-title h1 { font-size: 55px; }
  .hero-title h2 { font-size: 16px; }

  /* Blog main row stacks */
  .featured-post,
  .blog-sidebar {
    width: 100%;
    padding: 10px 0;
  }

  .sidebar-whatsapp {
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  /* Blog grid: 2 columns */
  .blog-grid-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-grid { flex-direction: column; }
}

/* ===========================
   RESPONSIVE – MOBILE (≤767px)
=========================== */
@media (max-width: 767px) {
  /* Hero */
  .section-hero { min-height: 320px; }
  .hero-inner { padding: 50px 15px; }
  .hero-title h1 { font-size: 40px; }
  .hero-title h2 { font-size: 14px; letter-spacing: 2px; }

  /* Blog grid: 1 column */
  .blog-grid-row {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  /* Container */
  .container { width: 92%; }

  .blog-main-row { width: 100%; padding: 15px; }

  .featured-post-content h2 { font-size: 22px; }

  .post-card-title { font-size: 18px; letter-spacing: 2px; }
  .post-card-excerpt { font-size: 16px; }
}

/* ===========================
   RESPONSIVE – SMALL (≤479px)
=========================== */
@media (max-width: 479px) {
  .hero-title h1 { font-size: 32px; }
  .hero-title h2 { font-size: 13px; letter-spacing: 1px; }

  .featured-post-inner { border-width: 8px; }

  .btn-read-more,
  .sidebar-whatsapp .btn-whatsapp {
