/* ===== Reading Progress Bar ===== */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #FE2972, #ff6b9d);
  z-index: 9999;
  width: 0%;
  transition: width 0.15s ease-out;
}

/* ===== Breadcrumb ===== */
.breadcrumb-nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 20px 0;
}
.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #888;
  font-family: 'Quicksand', sans-serif;
}
.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  margin-left: 6px;
  color: #ccc;
}
.breadcrumb-list a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-list a:hover { color: #FE2972; }
.breadcrumb-list li[aria-current="page"] span { color: #333; font-weight: 600; }

/* ===== Article layout column (hero, banner, body share one width) ===== */
.blog-layout-inner,
.blog-hero {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* ===== Hero Section ===== */
.blog-hero {
  padding: 24px 20px 20px;
}
.blog-hero-inner {
  width: 100%;
  min-width: 0;
}
.blog-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.domain-badge {
  display: inline-block;
  padding: 4px 14px;
  background: linear-gradient(135deg, #FE2972, #ff6b9d);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Quicksand', sans-serif;
}
.category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f0f0f0;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.2s;
}
.category-tag:hover {
  background: #FE2972;
  color: #fff;
}
.blog-hero-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}
.blog-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FE2972, #ff6b9d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-details {
  display: flex;
  flex-direction: column;
}
.author-name {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}
.publish-date {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  color: #888;
  font-weight: 500;
}
.blog-actions {
  display: flex;
  gap: 8px;
}
.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.25s ease;
}
.action-btn:hover {
  border-color: #FE2972;
  color: #FE2972;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254, 41, 114, 0.15);
}

/* ===== Banner Image ===== */
.blog-banner-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  aspect-ratio: 800 / 206;
  min-height: 160px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-banner.is-image-error {
  cursor: default;
}
.blog-banner.is-image-error .blog-banner-img {
  display: none !important;
}
.blog-banner-fallback {
  display: none;
  margin: 0;
  padding: 28px 32px;
  width: 100%;
  min-height: inherit;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.55;
  color: #374151;
  background: linear-gradient(135deg, #fff5f7 0%, #f3f4f6 100%);
  border-radius: 16px;
}
.blog-banner.is-image-error .blog-banner-fallback {
  display: flex;
}
.blog-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.05);
  pointer-events: none;
}
.blog-banner-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 206px;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.blog-banner:hover .blog-banner-img {
  transform: scale(1.02);
}

/* ===== Media Gallery ===== */
.media-gallery {
  max-width: 800px;
  margin: 16px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.media-gallery::-webkit-scrollbar { height: 4px; }
.media-gallery::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }
.media-thumb {
  flex: 0 0 auto;
  width: 140px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.media-thumb:hover {
  border-color: #FE2972;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(254,41,114,0.15);
}
.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Blog lead form (fixed top-right desktop / mobile popup) ===== */
.blog-lead-aside {
  position: fixed;
  top: 64px;
  right: 16px;
  width: 300px;
  max-width: calc(100vw - 32px);
  z-index: 105;
  box-sizing: border-box;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.blog-lead-modal {
  position: relative;
  width: 100%;
}
.blog-lead-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #374151;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #e5e7eb;
}
.blog-lead-close:hover {
  background: #f3f4f6;
  color: #111;
}
.blog-lead-close svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 1025px) {
  .blog-lead-aside {
    transform: none;
  }
  .blog-lead-aside.is-closed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(calc(100% + 24px));
  }
  .blog-lead-aside .hero-lead-form {
    max-width: 300px;
  }
  .blog-lead-toggle.blog-lead-toggle--show {
    display: inline-flex;
    top: 64px;
    right: 16px;
  }
}
.blog-lead-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 110;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #FE2972, #ff6b9d);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(254, 41, 114, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-lead-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(254, 41, 114, 0.45);
}
.blog-lead-toggle-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.blog-lead-backdrop {
  display: none;
}
.hero-lead-form {
  margin-top: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.hero-lead-form h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #1a1a1a;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
}
.hero-lead-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.hero-lead-form .input-with-icon {
  position: relative;
  width: 100%;
}
.hero-lead-form .input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
  transition: color 0.2s ease;
}
.hero-lead-form .input-with-icon:focus-within .input-icon {
  color: #374151;
}
.hero-lead-form input {
  width: 100%;
  padding: 8px 12px 8px 38px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.hero-lead-form input:focus {
  border-color: #374151;
}
.hero-lead-submit {
  width: 100%;
  font-size: 13px;
  font-weight: 400 !important;
}
.hero-lead-submit .hero-btn-icon {
  width: 16px;
  height: 16px;
}
.hero-lead-success-message {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-lead-success-message .success-icon {
  width: 48px;
  height: 48px;
  color: #22c55e;
  stroke-width: 2.5;
}
.hero-lead-success-message h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'Quicksand', sans-serif;
}
.hero-lead-success-message p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  justify-content: center;
  white-space: nowrap;
}
.hero-btn.call {
  background: #FE2972;
  color: white;
}
.hero-btn.call:hover {
  background: #e61e64;
}
.hero-lead-submit.hero-btn.call {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  font-weight: 400;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.hero-lead-submit.hero-btn.call:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}
.hero-btn-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (max-width: 1024px) {
  .blog-lead-toggle.blog-lead-toggle--show {
    display: inline-flex;
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(254, 41, 114, 0.35);
  }
  .blog-lead-aside {
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: none;
    z-index: 250;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: transparent;
    box-shadow: none;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  .blog-lead-aside.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
  }
  .blog-lead-modal {
    width: min(100%, 360px);
    pointer-events: auto;
    transform: scale(0.92) translateY(16px);
    transition: transform 0.3s ease;
  }
  .blog-lead-aside.is-open .blog-lead-modal {
    transform: scale(1) translateY(0);
  }
  .blog-lead-close {
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  .blog-lead-close svg {
    width: 20px;
    height: 20px;
  }
  .blog-lead-aside .hero-lead-form {
    max-width: none;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  }
  .blog-lead-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 240;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .blog-lead-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ===== Blog Content ===== */
.blog-content-wrapper {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 32px 20px 20px;
  box-sizing: border-box;
  min-width: 0;
}
.blog-content-wrapper > * {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.blog-content {
  font-family: 'Quicksand', sans-serif;
  font-size: 16.5px;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  max-width: 100%;
}
.blog-content h1 { font-size: 26px; font-weight: 800; color: #1a1a1a; margin: 32px 0 12px; line-height: 1.3; }
.blog-content h2 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin: 28px 0 10px; line-height: 1.35; }
.blog-content h3 { font-size: 18px; font-weight: 700; color: #333; margin: 24px 0 8px; }
.blog-content p { margin: 0 0 16px; }
.blog-content img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  border-radius: 12px;
  margin: 16px 0;
}
.blog-content ul, .blog-content ol { margin: 12px 0 16px 20px; }
.blog-content li { margin-bottom: 6px; }
.blog-content a {
  color: #FE2972;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.blog-content a:hover { color: #d41d5c; }
.blog-content blockquote {
  border-left: 4px solid #FE2972;
  margin: 20px 0;
  padding: 12px 20px;
  background: #fff5f8;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}
.blog-content strong, .blog-content b { font-weight: 700; color: #1a1a1a; }
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6,
.blog-content p,
.blog-content li {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.blog-content div,
.blog-content section {
  max-width: 100%;
  box-sizing: border-box;
}
.blog-content figure,
.blog-content picture {
  max-width: 100%;
  margin: 16px 0;
}
.blog-content video,
.blog-content iframe,
.blog-content embed,
.blog-content object {
  max-width: 100% !important;
  height: auto;
}
.blog-content pre,
.blog-content code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.blog-content pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Keep page width fixed; tables scroll inside their own box */
html.blog-detail-fast,
html.blog-detail-fast body {
  overflow-x: hidden;
  max-width: 100vw;
}
.blog-content-wrapper {
  overflow-x: hidden;
}
.blog-content {
  overflow-x: hidden;
  max-width: 100%;
}

/* Table scroll box (SSR + JS wrapped) */
.blog-table-scroll {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  max-height: min(70vh, 560px);
  margin: 16px 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.blog-table-scroll::before {
  content: 'Swipe sideways →';
  display: block;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-align: center;
  background: linear-gradient(90deg, #fff5f8, #fff);
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Quicksand', sans-serif;
  letter-spacing: 0.02em;
}
.blog-table-scroll__inner {
  display: block;
  width: 100%;
  min-width: 0;
  max-height: calc(min(70vh, 560px) - 36px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  scrollbar-color: #fe2972 #f5f5f5;
}
.blog-table-scroll__inner::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.blog-table-scroll__inner::-webkit-scrollbar-thumb {
  background: #fe2972;
  border-radius: 4px;
}
.blog-content .blog-table-scroll table {
  display: table !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  border-collapse: collapse;
  border: none;
  table-layout: auto !important;
}
.blog-content > table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  border-radius: 8px;
  table-layout: auto;
}
.blog-content th,
.blog-content td {
  padding: 10px 14px;
  border: 1px solid #eee;
  text-align: left;
  font-size: 14px;
  overflow-wrap: anywhere;
  word-break: break-word;
}
/* Never squash cells inside scroll box — allow horizontal scroll */
.blog-content .blog-table-scroll th,
.blog-content .blog-table-scroll td {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  min-width: 5.5rem;
  max-width: none !important;
  width: auto !important;
  font-size: 13px;
  padding: 10px 12px;
  vertical-align: middle;
}
.blog-content .blog-table-scroll th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f8f8f8;
  box-shadow: 0 1px 0 #eee;
  font-weight: 700;
}
.blog-content th {
  background: #f8f8f8;
  font-weight: 700;
}

@media (min-width: 641px) {
  .blog-table-scroll::before {
    display: none;
  }
  .blog-table-scroll__inner {
    max-height: min(70vh, 560px);
  }
}

/* ===== Tags Footer ===== */
.blog-tags-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  margin-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.tags-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-tag {
  padding: 5px 14px;
  background: #f5f5f5;
  border-radius: 20px;
  font-size: 13px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  color: #555;
  transition: all 0.2s;
  cursor: default;
}
.footer-tag:hover {
  background: #FE2972;
  color: #fff;
}

/* ===== Share Bar ===== */
.share-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 8px;
}
.share-label {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}
.share-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}
.share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.share-icon.whatsapp { background: #e8f5e9; color: #25D366; }
.share-icon.whatsapp:hover { background: #25D366; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(37,211,102,0.3); }
.share-icon.twitter { background: #e8f4fd; color: #1DA1F2; }
.share-icon.twitter:hover { background: #1a1a1a; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.share-icon.facebook { background: #e8eaf6; color: #1877F2; }
.share-icon.facebook:hover { background: #1877F2; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(24,119,242,0.3); }
.share-icon.linkedin { background: #e3f2fd; color: #0A66C2; }
.share-icon.linkedin:hover { background: #0A66C2; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(10,102,194,0.3); }
.share-icon.copy-link { background: #f5f5f5; color: #666; }
.share-icon.copy-link:hover { background: #FE2972; color: #fff; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(254,41,114,0.3); }

/* ===== Author Card ===== */
.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  margin-top: 16px;
  background: linear-gradient(135deg, #fff5f8 0%, #fce4ec 100%);
  border-radius: 16px;
  border: 1px solid rgba(254,41,114,0.08);
}
.author-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FE2972, #ff6b9d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  font-size: 24px;
  flex-shrink: 0;
  overflow: hidden;
}
.author-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.author-card-label { font-family: 'Quicksand', sans-serif; font-size: 12px; color: #999; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.author-card-name { font-family: 'Quicksand', sans-serif; font-size: 17px; font-weight: 800; color: #1a1a1a; }
.author-card-desc { font-family: 'Quicksand', sans-serif; font-size: 13px; color: #888; font-weight: 500; }

/* ===== Related Posts ===== */
.related-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.related-heading {
  font-family: 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 24px;
  text-align: center;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid #f0f0f0;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(254,41,114,0.15);
}
.related-card-img {
  height: 160px;
  overflow: hidden;
  background: #f8f8f8;
}
.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.related-card:hover .related-card-img img { transform: scale(1.05); }
.related-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}
.related-card-body { padding: 16px; }
.related-card-domain {
  display: inline-block;
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #FE2972;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.related-card-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-date {
  font-family: 'Quicksand', sans-serif;
  font-size: 12px;
  color: #999;
  font-weight: 500;
}

/* ===== Edit Post Button ===== */
.edit-post-btn {
  margin-top: 10px;
  color: #FE2972;
  border: 1.5px solid #FE2972;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 14px;
  margin-right: 14px;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  transition: all 0.2s;
}
.edit-post-btn:hover {
  background: #FE2972;
  color: #fff;
}


.pulse { animation: pulse 2s infinite; }

/* ===== Image Preview Modal ===== */
.image-preview-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.image-preview-modal.active { opacity: 1; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 10001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.image-preview-content { max-height: 85vh; max-width: 90vw; display: flex; align-items: center; justify-content: center; }
.image-preview-img { max-height: 85vh; max-width: 90vw; object-fit: contain; border-radius: 4px; }
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10001;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.nav-button:hover { background: rgba(255,255,255,0.25); }
.nav-button.left { left: 16px; }
.nav-button.right { right: 16px; }

/* ===== Toast ===== */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1a1a;
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.toast-notification.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== Footer ===== */
.site-footer {
  margin-top: 0;
  font-family: 'Quicksand', sans-serif;
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 0 20px;
}
.newsletter-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.newsletter-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.newsletter-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(254,41,114,0.12);
  color: #FE2972;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.newsletter-text h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.newsletter-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  margin: 0;
  font-weight: 500;
  max-width: 300px;
}
.newsletter-form { flex-shrink: 0; position: relative; }
.newsletter-email-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.newsletter-input-group {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.newsletter-input-group input {
  padding: 14px 20px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  min-width: 240px;
  backdrop-filter: blur(4px);
}
.newsletter-input-group input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-input-group input:focus { background: rgba(255,255,255,0.15); }
.newsletter-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, #FE2972, #ff6b9d);
  border: none;
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.newsletter-btn:hover {
  background: linear-gradient(135deg, #e0215f, #FE2972);
  padding-right: 32px;
}
.newsletter-btn .btn-arrow { transition: transform 0.3s ease; }
.newsletter-btn:hover .btn-arrow { transform: translateX(3px); }
.newsletter-note {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  text-align: right;
  font-weight: 500;
}

/* Footer Main */
.footer-main {
  background: #111827;
  padding: 0 20px;
}
.footer-main-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {}
.footer-logo {
  font-family: 'Quicksand', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
}
.footer-logo:hover { color: #FE2972; }
.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin: 0 0 20px;
  font-weight: 500;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}
.social-link:hover {
  background: #FE2972;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(254,41,114,0.3);
}
.footer-links-col {}
.footer-col-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.footer-link {
  display: block;
  font-size: 13px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  transition: all 0.2s ease;
}
.footer-link:hover {
  color: #FE2972;
  transform: translateX(4px);
}
.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer Bottom */
.footer-bottom {
  background: #0b0f19;
  padding: 0 20px;
}
.footer-bottom-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copyright {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
}
.footer-made-with {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== Lists in content ===== */
dl, ol, ul { margin-top: 0; margin-bottom: 1rem; margin-left: 20px; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
  .blog-lead-toggle.blog-lead-toggle--show {
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    padding: 11px 16px;
    font-size: 14px;
  }
  .blog-hero-title { font-size: 22px; }
  .blog-hero { padding: 16px 16px 16px; }
  .breadcrumb-nav { padding: 12px 16px 0; }
  .breadcrumb-list { font-size: 12px; }
  .blog-banner-wrapper { padding: 0 16px; }
  .blog-banner { border-radius: 12px; aspect-ratio:0; }
  .blog-banner-img { max-height: 240px; }
  .blog-content-wrapper { padding: 24px 16px 16px; }
  .blog-content { font-size: 15px; line-height: 1.75; }
  .blog-table-scroll {
    max-height: min(58vh, 420px);
    margin-bottom: 20px;
  }
  .blog-table-scroll__inner {
    max-height: calc(min(58vh, 420px) - 34px);
  }
  .blog-content .blog-table-scroll th,
  .blog-content .blog-table-scroll td {
    font-size: 12px;
    padding: 8px 10px;
    min-width: 4.75rem;
  }
  .blog-content h1 { font-size: 20px; }
  .blog-content h2 { font-size: 18px; }
  .blog-content h3 { font-size: 16px; }

  .media-gallery { padding: 0 16px; }
  .media-thumb { width: 110px; height: 80px; border-radius: 8px; }

  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .related-section { padding: 32px 16px; }
  .related-card { display: flex; flex-direction: row; }
  .related-card-img { width: 120px; height: 100px; flex-shrink: 0; }
  .related-card-body { padding: 12px; display: flex; flex-direction: column; justify-content: center; }
  .related-card-title { font-size: 14px; -webkit-line-clamp: 2; }

  .share-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .share-buttons { gap: 8px; }
  .share-icon { width: 38px; height: 38px; }

  .author-card { padding: 20px; }
  .author-card-avatar { width: 48px; height: 48px; font-size: 20px; }

  .newsletter-inner { flex-direction: column; padding: 32px 0; gap: 20px; text-align: center; }
  .newsletter-content { flex-direction: column; gap: 12px; }
  .newsletter-text p { max-width: 100%; }
  .newsletter-input-group { flex-direction: column; border-radius: 12px; }
  .newsletter-input-group input { min-width: auto; border-radius: 12px 12px 0 0; padding: 14px 16px; text-align: center; }
  .newsletter-btn { justify-content: center; border-radius: 0 0 12px 12px; padding: 14px; }
  .newsletter-note { text-align: center; }

  .footer-main-inner { grid-template-columns: 1fr; gap: 32px; padding: 36px 0 32px; text-align: center; }
  .footer-tagline { max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-socials { justify-content: center; }
  .footer-contact-link { justify-content: center; }
  .footer-link:hover { transform: none; }

  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; padding: 16px 0; }



  .blog-author-row { flex-wrap: wrap; }
  .author-avatar { width: 36px; height: 36px; font-size: 15px; }
  .author-name { font-size: 13px; }
  .publish-date { font-size: 12px; }
  .action-btn { width: 34px; height: 34px; }
}

/* ===== Tablet ===== */
@media (min-width: 641px) and (max-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-hero-title { font-size: 24px; }
}

    /* WhatsApp button */
  #sticky-whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 100px; /* Positioned above the call button */
    width: 150px;
    height: 42px;
    background-color: #25D366; /* WhatsApp green */
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
  }

  #sticky-whatsapp-btn:hover {
    background-color: #20ba57; /* Darker green on hover */
  }

  #whatsapp-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-left: 12px;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
  }

  @keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
  }

  .pulse-green {
    animation: pulse-green 2s infinite;
  }

  .svg:not(:root){
      overflow: hidden;
      height: 17px;
      margin-top: 8px;
  }
  /* Call button */
  #sticky-call-btn {
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 150px;
    height: 42px;
    background-color: #FE2972;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(254, 41, 114, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
  }
  
  #sticky-call-btn:hover {
    background-color: #e61e64;
  }
  
  .button-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding-left: 18px;
  }
  
  .phone-icon {
    width: 24px;
    height: 24px;
    fill: white;
    flex-shrink: 0;
  }
  
  #call-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-left: 12px;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(254, 41, 114, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(254, 41, 114, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 41, 114, 0); }
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }

  /* Stack above mobile Book Now bar (blogLeadToggle) */
  @media (max-width: 1024px) {
    #sticky-call-btn {
      bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 52px + 12px);
    }
    #sticky-whatsapp-btn {
      bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 52px + 12px + 42px + 12px);
    }
  }
  @media (max-width: 640px) {
    #sticky-call-btn {
      bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 52px + 12px);
    }
    #sticky-whatsapp-btn {
      bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 52px + 12px + 42px + 12px);
    }
  }

/* ===== Blog detail header (staff edit) ===== */
.blog-detail-header nav {
  width: 100%;
}
.blog-detail-header-logo {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 20px;
  box-sizing: border-box;
}
.blog-header-edit-btn {
  margin-left: auto;
  color: #fe2972;
  border: 1px solid #fe2972;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.blog-header-edit-btn:hover {
  background: #fe2972;
  color: #fff;
  text-decoration: none;
}

/* FAQ accordion (JSON: question + answer) */
.blog-faqs {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}
.blog-faqs__heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
}
.blog-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.blog-faq-item {
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  overflow: hidden;
}
.blog-faq-item.is-open {
  border-color: #ffd0e0;
  background: #fff;
}
.blog-faq-q {
  width: 100%;
  text-align: left;
  padding: 1rem 1.1rem;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  box-shadow: none;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.blog-faq-q:focus-visible {
  outline: 2px solid #FE2972;
  outline-offset: 2px;
}
.blog-faq-q__text {
  flex: 1;
  min-width: 0;
}
.blog-faq-q__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: #fe2972;
  font-weight: 400;
}
.blog-faq-q__icon::before {
  content: "+";
}
.blog-faq-item.is-open .blog-faq-q__icon::before {
  content: "\2212";
}
.blog-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-faq-item.is-open .blog-faq-a {
  grid-template-rows: 1fr;
}
.blog-faq-a__panel {
  overflow: hidden;
  min-height: 0;
}
.blog-faq-a__inner {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: #444;
  line-height: 1.65;
  font-size: 0.95rem;
}
@media (prefers-reduced-motion: reduce) {
  .blog-faq-a {
    transition: none;
  }
}

/* Defer off-screen paint cost for below-fold sections */
.related-section,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}
