/* ============================================
   SheIVF Blog - Improved Styles v2.0
   Clean, readable, mobile-first design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Open Sans", "Segoe UI", sans-serif;
  background: #fff;
  color: #2d2d2d;
  padding-top: 85px; /* fixed header clearance */
  line-height: 1.7;
}

/* --- Blog Layout --- */
.blog-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* --- Blog Header --- */
.blog-header {
  text-align: center;
  margin-bottom: 32px;
}
.blog-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
  margin-bottom: 14px;
}
.blog-meta {
  color: #888;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* --- Featured Image --- */
.blog-featured-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 24px 0 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: block;
}

/* --- Table of Contents --- */
.table-of-contents {
  background: linear-gradient(135deg, #fff5f0 0%, #fff9f7 100%);
  border: 1px solid #ffe0d0;
  border-left: 4px solid #FF6B35;
  padding: 24px 28px;
  border-radius: 12px;
  margin: 0 0 36px;
}
.table-of-contents h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #FF6B35;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.table-of-contents ul {
  margin: 0;
  padding-left: 18px;
  columns: 1;
}
.table-of-contents li { margin: 6px 0; }
.table-of-contents a {
  color: #444;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.table-of-contents a:hover { color: #FF6B35; }

/* --- Main Blog Content --- */
.blog-content, .content, .blog-content .content {
  font-size: 17px;
  line-height: 1.85;
  color: #333;
}
.blog-content h2, .content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #1a1a2e;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}
.blog-content h3, .content h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: #1a1a2e;
  margin: 32px 0 14px;
}
.blog-content h4, .content h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FF6B35;
  margin: 24px 0 10px;
}
.blog-content p, .content p { margin-bottom: 18px; }
.blog-content a, .content a {
  color: #FF6B35;
  text-decoration: underline;
  text-decoration-color: rgba(255,107,53,0.35);
  transition: color 0.2s;
}
.blog-content a:hover, .content a:hover {
  color: #d44e1e;
  text-decoration-color: #d44e1e;
}

/* --- Lists --- */
.blog-content ul, .content ul,
.blog-content ol, .content ol {
  margin: 16px 0 20px;
  padding-left: 28px;
}
.blog-content li, .content li { margin: 8px 0; }

/* --- Images inside content --- */
.blog-content img, .content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* --- Tables --- */
.blog-content table, .content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  overflow-x: auto;
  display: block;
}
.blog-content th, .content th {
  background: #1a1a2e;
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.blog-content td, .content td {
  padding: 11px 14px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}
.blog-content tr:nth-child(even) td,
.content tr:nth-child(even) td { background: #fafafa; }
.blog-content tr:hover td, .content tr:hover td { background: #fff5f0; }

/* --- Blockquote --- */
.blog-content blockquote, .content blockquote {
  border-left: 4px solid #FF6B35;
  padding: 16px 20px;
  margin: 24px 0;
  color: #555;
  font-style: italic;
  background: #fff8f5;
  border-radius: 0 8px 8px 0;
}

/* --- FAQ Section --- */
.faq-section {
  background: #f8f9ff;
  border: 1px solid #e8ebff;
  padding: 32px;
  border-radius: 16px;
  margin: 40px 0;
}
.faq-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  color: #1a1a2e;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  border: none !important;
}
.faq-item {
  border-bottom: 1px solid #e0e4ff;
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.faq-item:last-child { border-bottom: none; margin-bottom: 0; }
.faq-question {
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a1a2e;
  padding: 4px 0;
  gap: 12px;
}
.faq-question i { color: #FF6B35; flex-shrink: 0; transition: transform 0.3s; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 12px 0 4px; color: #555; line-height: 1.7; }
.faq-answer.show { display: block; }

/* --- Social Share Bar --- */
.blog-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 36px 0;
  flex-wrap: wrap;
}
.blog-share-bar span {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.whatsapp:hover { background: #1ea852; color: #fff; }
.share-btn.twitter { background: #1DA1F2; color: #fff; }
.share-btn.twitter:hover { background: #0d8bd9; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn.facebook:hover { background: #0d5dbf; color: #fff; }
.share-btn.copy-link { background: #f0f0f0; color: #333; }
.share-btn.copy-link:hover { background: #e0e0e0; }

/* --- Author Box --- */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4e 100%);
  border-radius: 16px;
  padding: 28px;
  margin: 40px 0;
  color: #fff;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #FF6B35;
  flex-shrink: 0;
  background: #FF6B35;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  min-width: 72px;
  min-height: 72px;
}
.author-info { flex: 1; }
.author-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF6B35;
  font-weight: 600;
  margin-bottom: 4px;
}
.author-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.author-title { font-size: 13px; color: #aaa; margin-bottom: 8px; }
.author-bio { font-size: 14px; color: #ccc; line-height: 1.6; }

/* --- CTA Banner inside content --- */
.blog-cta-banner {
  background: linear-gradient(135deg, #FF6B35, #FF8C42);
  border-radius: 16px;
  padding: 28px 32px;
  text-align: center;
  margin: 36px 0;
  color: #fff;
}
.blog-cta-banner h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.blog-cta-banner p { margin-bottom: 18px; color: rgba(255,255,255,0.9); font-size: 15px; }
.blog-cta-btn {
  display: inline-block;
  background: #fff;
  color: #FF6B35 !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  transition: all 0.2s;
}
.blog-cta-btn:hover { background: #1a1a2e; color: #fff !important; }

/* --- Progress Bar (reading indicator) --- */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #FF6B35, #FF8C42);
  z-index: 99999;
  transition: width 0.1s linear;
}

/* --- WP Block Button (fix) --- */
.wp-block-buttons { margin: 20px 0; }
.wp-block-button__link {
  display: inline-block;
  background: #FF6B35;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}
.wp-block-button__link:hover { background: #d44e1e; }

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  body { padding-top: 70px; }
  .blog-container { padding: 24px 16px 48px; }
  .blog-title { font-size: 1.5rem; }
  .blog-content, .content { font-size: 16px; }
  .faq-section { padding: 20px; }
  .author-box { flex-direction: column; gap: 14px; }
  .table-of-contents { padding: 18px 20px; }
  .blog-cta-banner { padding: 22px 20px; }
}
@media (max-width: 480px) {
  .blog-share-bar { gap: 8px; }
  .share-btn { padding: 7px 12px; font-size: 12px; }
}
/* ========== FINAL FIX: FOOTER FORM & MAP SIDE BY SIDE ========== */
/* Force desktop layout */
@media (min-width: 992px) {
    .contact-form-section .row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 30px !important;
    }
    
    .contact-form-section .col-lg-6 {
        flex: 1 !important;
        max-width: calc(50% - 15px) !important;
        width: auto !important;
    }
    
    .contact-form-wrapper,
    .contact-info-wrapper {
        height: 100% !important;
    }
}

/* Force mobile stack */
@media (max-width: 991px) {
    .contact-form-section .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .contact-form-section .col-lg-6 {
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}

/* Ensure footer is visible */
#footer {
    display: block !important;
    clear: both !important;
    width: 100% !important;
}
/* ============================================================
   BLOG PAGE - FOOTER, CONTACT FORM & CALLBACK FIX
   Fixes styling broken due to missing Bootstrap CSS on blogs
   These styles mirror what Bootstrap + header-footer.css provide
   ============================================================ */

/* --- Bootstrap Grid Fix for Contact Section --- */
.contact-form-section .container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.contact-form-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-form-section .col-lg-6 {
    padding: 0 15px;
    box-sizing: border-box;
    width: 50%;
}

@media (max-width: 991px) {
    .contact-form-section .col-lg-6 {
        width: 100%;
        margin-bottom: 24px;
    }
}

/* --- form-control fix (Bootstrap reset kills padding/height) --- */
.contact-form-wrapper .form-control,
.callback-form-container .form-control,
.contact-form-section .form-control {
    display: block;
    width: 100%;
    height: 48px;
    padding: 10px 15px;
    font-size: 15px;
    font-family: "Open Sans", "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 15px;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form-wrapper .form-control:focus,
.callback-form-container .form-control:focus,
.contact-form-section .form-control:focus {
    border-color: #f28f4b;
    box-shadow: 0 0 0 3px rgba(242,143,75,0.15);
}

textarea.form-control {
    height: auto;
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

/* --- btn-primary fix --- */
.contact-form-section .btn-primary,
.contact-form-wrapper .btn-primary,
.callback-form-container .btn-primary,
#universalSubmit,
#callbackSubmit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background-color: #f28f4b;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Open Sans", "Segoe UI", sans-serif;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-sizing: border-box;
    text-decoration: none;
}

.contact-form-section .btn-primary:hover,
.contact-form-wrapper .btn-primary:hover,
.callback-form-container .btn-primary:hover,
#universalSubmit:hover,
#callbackSubmit:hover {
    background-color: #d4742e;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(242,143,75,0.35);
    color: #fff;
}

.contact-form-section .btn-primary:disabled,
#universalSubmit:disabled,
#callbackSubmit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* --- Country code dropdown fix --- */
.country-code-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    width: 100%;
    align-items: stretch;
    box-sizing: border-box;
}

.country-code-selector .country-code-dropdown {
    flex-shrink: 0;
    width: 95px;
    position: relative;
}

.country-code-selector .country-code-dropdown .dropdown-toggle {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.3s;
    gap: 4px;
}

.country-code-selector .country-code-dropdown .dropdown-toggle:hover {
    border-color: #f28f4b;
}

.country-code-selector .phone-input-container {
    flex: 1;
    min-width: 0;
}

.country-code-selector .phone-input-container .form-control {
    margin-bottom: 0;
    height: 48px;
}

/* Bootstrap dropdown menu fix */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1070;
    min-width: 180px;
    padding: 6px 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    list-style: none;
    margin: 0;
    max-height: 220px;
    overflow-y: auto;
}

.dropdown-menu .dropdown-item {
    display: block;
    width: 100%;
    padding: 8px 14px;
    font-size: 13px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    transition: background 0.2s;
    box-sizing: border-box;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #fff5ee;
    color: #f28f4b;
}

/* --- Contact form wrapper (left orange border card) --- */
.contact-form-wrapper {
    border-left: 5px solid #f28f4b;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.contact-info-wrapper {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

/* --- Section heading --- */
.contact-form-section .section-heading h2 {
    font-size: 2rem;
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
}

.contact-form-section .section-heading h2 span {
    color: #f28f4b;
}

.contact-form-section .section-heading h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #c0d05b;
    margin: 10px auto 0;
    border-radius: 5px;
}

.contact-form-section .section-heading p {
    text-align: center;
    color: #666;
    margin-bottom: 0;
}

/* --- Map section --- */
.google-map-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 0;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.google-map {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

/* Call Now & WhatsApp buttons in map section */
.contact-info-wrapper .btn,
.contact-info-wrapper a.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    margin-right: 8px;
    margin-top: 12px;
}

.contact-info-wrapper .btn-outline-primary {
    border: 2px solid #f28f4b;
    color: #f28f4b;
    background: transparent;
}

.contact-info-wrapper .btn-outline-primary:hover {
    background: #f28f4b;
    color: #fff;
}

.contact-info-wrapper .btn-success,
a[href*="wa.me"].btn {
    background: #25D366;
    color: #fff;
}

.contact-info-wrapper .btn-success:hover {
    background: #1da851;
    color: #fff;
}

/* --- d-none utility --- */
.d-none { display: none !important; }

/* --- Form success/error messages --- */
#form-success {
    padding: 12px 16px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    font-size: 14px;
    margin-top: 10px;
}

#form-error {
    padding: 12px 16px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
    font-size: 14px;
    margin-top: 10px;
}

/* --- Callback floating button - ensure correct on blog pages --- */
.callback-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1060;
}

.callback-button {
    background-color: #f28f4b;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: 14px;
    font-family: "Open Sans", "Segoe UI", sans-serif;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.callback-button:hover {
    background-color: #d4742e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 1050;
}

.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    text-decoration: none;
    transition: all 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1da851;
    transform: scale(1.1);
    color: #fff;
}

/* Phone floating button */
.contact-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1050;
}

/* Callback form popup card */
.callback-form-container {
    position: absolute;
    bottom: 65px;
    right: 0;
    width: 320px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    padding: 24px;
    display: none;
    z-index: 1061;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.callback-form-container.show {
    display: block;
    animation: cbSlideUp 0.35s ease;
}

@keyframes cbSlideUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.callback-form-container h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    padding-right: 20px;
}

.close-form {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.close-form:hover { color: #333; }

.callback-loading {
    display: none;
    text-align: center;
    padding: 12px;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
}

.callback-loading.show { display: block; }

.callback-error {
    display: none;
    color: #dc3545;
    font-size: 13px;
    padding: 10px;
    background: #f8d7da;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
}

.callback-error.show { display: block; }

.thank-you-message {
    text-align: center;
    padding: 20px;
    display: none;
}

.thank-you-message.show { display: block; }

.thank-you-message i {
    font-size: 3rem;
    color: #f28f4b;
    margin-bottom: 14px;
    display: block;
}

/* --- mt/mb utility classes used in footer HTML --- */
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.text-center { text-align: center !important; }
.fw-bold { font-weight: 700 !important; }
.w-100 { width: 100% !important; }

/* --- Mobile responsive for callback form --- */
@media (max-width: 480px) {
    .callback-form-container {
        width: 290px;
        right: 0;
        padding: 18px;
    }
    .callback-button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ============================================================
   NEW SAVE-BLOG TEMPLATE STYLES
   Breadcrumb, article wrapper, related posts cards
   ============================================================ */

/* Breadcrumb */
.blog-breadcrumb { margin-bottom: 20px; padding: 0; }
.blog-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: #aaa; padding: 0; margin: 0; }
.blog-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.blog-breadcrumb li:not(:last-child)::after { content: '/'; color: #ddd; }
.blog-breadcrumb a { color: #aaa; text-decoration: none; transition: color .2s; }
.blog-breadcrumb a:hover { color: #f28f4b; }
.blog-breadcrumb li[aria-current] { color: #f28f4b; font-weight: 600; }

/* Article wrapper */
.blog-article { position: relative; }

/* Related posts — card with image + 2-line title */
.related-posts-section { margin-top: 40px; padding: 32px 0 0; border-top: 2px solid #f5f5f5; }
.related-posts-section h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.related-posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.related-post-card { background: #fff; border-radius: 10px; border: 1px solid #ebebeb; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.related-post-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-3px); }
.related-post-img-wrap { height: 130px; overflow: hidden; background: linear-gradient(135deg, #fff4ec, #f0f5e0); flex-shrink: 0; }
.related-post-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.related-post-card:hover .related-post-img-wrap img { transform: scale(1.06); }
.related-post-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; }
.related-post-body h4 { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: #1a1a2e; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-read-more { font-size: 11px; font-weight: 700; color: #f28f4b; display: flex; align-items: center; gap: 4px; margin-top: auto; transition: gap .2s; }
.related-post-card:hover .related-read-more { gap: 7px; }
.related-loading { font-size: 13px; color: #bbb; padding: 20px 0; text-align: center; }
.no-related { color: #ccc; font-size: 13px; text-align: center; padding: 16px; }

@media (max-width: 600px) {
    .related-posts-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .related-post-img-wrap { height: 110px; }
}
@media (max-width: 400px) {
    .related-posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   AI GENERATED CONTENT STYLES
   Info boxes, comparison tables, chart wrap
   ============================================================ */

/* Info box */
.blog-content .info-box {
    background: linear-gradient(135deg, #fff4ec, #fff8f0);
    border-left: 4px solid #f28f4b;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 24px 0;
}
.blog-content .info-box h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #f28f4b;
    margin-bottom: 8px;
}
.blog-content .info-box p {
    font-size: 14px;
    color: #444;
    margin: 0;
    line-height: 1.65;
}

/* Comparison table */
.blog-content .table-wrap {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.blog-content .comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 400px;
}
.blog-content .comparison-table thead tr {
    background: #1a1a2e;
    color: #fff;
}
.blog-content .comparison-table thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}
.blog-content .comparison-table tbody tr:nth-child(even) {
    background: #f9fafb;
}
.blog-content .comparison-table tbody tr:hover {
    background: #fff4ec;
}
.blog-content .comparison-table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid #ebebeb;
    color: #444;
    line-height: 1.5;
}
.blog-content .comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* Chart wrap */
.blog-content .chart-wrap {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 20px;
    margin: 28px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.blog-content .chart-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ebebeb;
}
.blog-content .chart-wrap canvas {
    max-height: 300px;
}

/* Step list */
.blog-content ol.step-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.blog-content ol.step-list li {
    counter-increment: step;
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.blog-content ol.step-list li::before {
    content: counter(step);
    background: #f28f4b;
    color: #fff;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
