/* =========================================================
   blog-page.css — estilos propios del Blog Jaher (hero, tabs,
   tarjetas de tips, banner CTA, tip del día, FAQ y artículos
   relacionados). Antes vivían en un <style> inline dentro de
   blog.html.
   ========================================================= */

/* ===== BLOG HERO ===== */
#blog-hero {
     background: linear-gradient(135deg, #0575E6 0%, #021B79 100%);
     padding: 160px 0 90px 0;
     text-align: center;
     color: #fff;
}

#blog-hero h1 {
     font-size: 42px;
     font-weight: 800;
     margin-bottom: 15px;
     color: #ffffff !important;
}

#blog-hero p {
     font-size: 18px;
     max-width: 700px;
     margin: 0 auto;
     color: #ffffff !important;
     opacity: 0.92;
}

#blog-hero .hero-badge {
     display: inline-block;
     background: rgba(255, 255, 255, 0.18);
     border: 1px solid rgba(255, 255, 255, 0.5);
     padding: 6px 18px;
     border-radius: 30px;
     font-size: 13px;
     letter-spacing: 1px;
     text-transform: uppercase;
     margin-bottom: 20px;
     color: #ffffff !important;
     font-weight: 700;
}

#blog-hero .hero-meta {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 22px;
     margin-top: 22px;
}

#blog-hero .hero-meta span {
     color: #ffffff !important;
     opacity: 0.9;
     font-size: 14px;
}

#blog-hero .hero-meta i {
     margin-right: 6px;
}

/* ===== TABS ===== */
.blog-tabs {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 12px;
     margin: -35px auto 50px auto;
     position: relative;
     z-index: 10;
}

.blog-tab-btn {
     background: #fff;
     border: 2px solid #0575E6;
     color: #0575E6;
     font-weight: 700;
     padding: 12px 26px;
     border-radius: 40px;
     cursor: pointer;
     transition: all 0.25s ease;
     box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
     font-size: 15px;
}

.blog-tab-btn i {
     margin-right: 8px;
}

.blog-tab-btn:hover {
     background: #eaf4ff;
}

.blog-tab-btn.active {
     background: #0575E6;
     color: #fff;
}

/* ===== TIP CARDS ===== */
.tip-grid {
     display: none;
}

.tip-grid.active {
     display: flex;
     flex-wrap: wrap;
     gap: 24px;
}

.tip-card {
     background: #fff;
     border-radius: 16px;
     padding: 28px 24px;
     flex: 1 1 300px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
     border-top: 4px solid #0575E6;
     transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tip-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.tip-card .tip-icon {
     width: 56px;
     height: 56px;
     border-radius: 14px;
     background: linear-gradient(135deg, #1a8cff, #0575E6);
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 24px;
     margin-bottom: 18px;
}

.tip-card h4 {
     font-weight: 700;
     margin-bottom: 10px;
     color: #222;
}

.tip-card p {
     font-size: 15px;
     color: #666;
     line-height: 1.6;
     margin: 0;
}

.brand-strip {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 30px;
}

.brand-strip .brand-pill {
     background: #0575E6;
     color: #fff;
     font-weight: 800;
     letter-spacing: 1px;
     padding: 8px 20px;
     border-radius: 30px;
     text-transform: uppercase;
     font-size: 14px;
}

.brand-strip .brand-sub {
     color: #888;
     font-size: 15px;
}

/* ===== CTA BANNER ===== */
#cta-blindate {
     background: #f5f9ff;
     border-radius: 20px;
     padding: 50px 40px;
     margin: 70px 0 40px 0;
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     justify-content: space-between;
     gap: 24px;
     border: 1px solid #dceaff;
}

#cta-blindate h3 {
     font-weight: 800;
     margin-bottom: 8px;
     color: #0b2d55;
}

#cta-blindate p {
     color: #555;
     margin: 0;
     max-width: 480px;
}

#cta-blindate .cta-btn {
     background: #0575E6;
     color: #fff;
     font-weight: 700;
     padding: 14px 30px;
     border-radius: 40px;
     text-decoration: none;
     white-space: nowrap;
     transition: background 0.25s ease, transform 0.25s ease;
}

#cta-blindate .cta-btn:hover {
     background: #045ec3;
     color: #fff;
     transform: translateY(-2px);
}

/* ===== TIP DEL DIA ===== */
#tip-del-dia {
     background: linear-gradient(135deg, #021B79 0%, #0575E6 100%);
     border-radius: 20px;
     padding: 45px 40px;
     margin: 20px 0 10px 0;
     color: #fff;
     display: flex;
     flex-wrap: wrap;
     align-items: center;
     gap: 28px;
     justify-content: space-between;
}

#tip-del-dia .tdd-left {
     display: flex;
     align-items: center;
     gap: 20px;
     flex: 1 1 380px;
}

#tip-del-dia .tdd-icon {
     width: 64px;
     height: 64px;
     min-width: 64px;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.15);
     border: 1px solid rgba(255, 255, 255, 0.4);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 26px;
}

#tip-del-dia .tdd-label {
     text-transform: uppercase;
     font-size: 12px;
     letter-spacing: 1px;
     opacity: 0.8;
     margin-bottom: 6px;
}

#tip-del-dia h4 {
     color: #fff !important;
     font-weight: 800;
     margin-bottom: 6px;
}

#tip-del-dia p {
     color: #fff !important;
     opacity: 0.92;
     margin: 0;
     font-size: 15px;
}

#tip-del-dia .tdd-btn {
     background: #fff;
     color: #0575E6;
     border: none;
     font-weight: 700;
     padding: 12px 24px;
     border-radius: 40px;
     cursor: pointer;
     transition: transform 0.2s ease;
     white-space: nowrap;
}

#tip-del-dia .tdd-btn:hover {
     transform: scale(1.05);
}

/* ===== FAQ ===== */
#faq-section {
     margin: 60px 0 20px 0;
}

#faq-section .faq-item {
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
     margin-bottom: 14px;
     overflow: hidden;
     border: 1px solid #eef2f7;
}

#faq-section .faq-question {
     padding: 18px 22px;
     font-weight: 700;
     color: #0b2d55;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: space-between;
}

#faq-section .faq-question i {
     color: #0575E6;
     transition: transform 0.25s ease;
}

#faq-section .faq-answer {
     padding: 0 22px;
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease, padding 0.3s ease;
     color: #666;
     font-size: 15px;
     line-height: 1.6;
}

#faq-section .faq-item.open .faq-answer {
     padding: 0 22px 20px 22px;
     max-height: 300px;
}

#faq-section .faq-item.open .faq-question i {
     transform: rotate(180deg);
}

/* ===== RELATED ===== */
#related-section {
     margin: 20px 0 40px 0;
}

#related-section .related-card {
     display: flex;
     align-items: center;
     gap: 16px;
     background: #fff;
     border-radius: 14px;
     padding: 20px;
     box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
     text-decoration: none;
     transition: transform 0.2s ease;
     height: 100%;
}

#related-section .related-card:hover {
     transform: translateY(-4px);
}

#related-section .related-icon {
     width: 48px;
     height: 48px;
     min-width: 48px;
     border-radius: 12px;
     background: #eaf4ff;
     color: #0575E6;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 20px;
}

#related-section .related-card h5 {
     margin: 0 0 4px 0;
     color: #222;
     font-weight: 700;
}

#related-section .related-card p {
     margin: 0;
     font-size: 13px;
     color: #888;
}

@media (max-width: 767px) {
     #blog-hero { padding: 140px 20px 70px 20px; }
     #blog-hero h1 { font-size: 30px; }
     .tip-grid.active { flex-direction: column; }
     #tip-del-dia { flex-direction: column; align-items: flex-start; }
}
