/* ============================================================
   blog-enhanced.css  — Meetri Infotech Blog
   Inspired by Vinove's clean, editorial, reader-first layout
   Version: 2.0.0
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  /* Brand colours */
  --color-primary:        #1a56db;
  --color-primary-dark:   #1440a8;
  --color-primary-light:  #dbeafe;
  --color-accent:         #f97316;

  /* Neutrals */
  --color-bg:             #f8fafc;
  --color-surface:        #ffffff;
  --color-surface-alt:    #f1f5f9;
  --color-border:         #e2e8f0;
  --color-border-light:   #f0f4f8;

  /* Text */
  --color-text-primary:   #0f172a;
  --color-text-body:      #334155;
  --color-text-muted:     #64748b;
  --color-text-light:     #94a3b8;

  /* Typography */
  --font-display:  'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:     'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs:  0.375rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4.5rem;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  --shadow-card:0 2px 8px rgba(26,86,219,.06), 0 0 0 1px rgba(226,232,240,.8);

  /* Transition */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset / Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body.inner-pages-wrapper {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-body);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-y: visible;
  width: 100%;
  max-width: 100vw;
}

/* Mobile: Add padding to body for fixed header */
@media (max-width: 991px) {
  body.inner-pages-wrapper {
    padding-top: 70px !important;
  }
}

/* Consistent Typography Across All Sections */
h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1f2937;
  margin-bottom: 1rem;
}

h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
  color: #222;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  margin-bottom: 0.4rem;
  margin-top: 0.75rem;
}

h4 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #374151;
  margin-bottom: 0.35rem;
  margin-top: 0.65rem;
}

h5 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  margin-bottom: 0.5rem;
}

h6 {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  margin-bottom: 0.5rem;
}

p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 0.75rem;
}

/* Consistent link styling */
a {
  color: #025DBB;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #025DBB;
}

/* Strong and emphasis */
strong {
  font-weight: 600;
  color: #1f2937;
}

em {
  font-style: italic;
}

/* Responsive Typography */
@media (max-width: 768px) {
  body.inner-pages-wrapper {
    font-size: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  h4 {
    font-size: 1.15rem;
  }

  h5 {
    font-size: 1.05rem;
  }

  p {
    font-size: 1rem;
  }
}

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

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(20, 100, 130, 0.9), rgba(30, 140, 170, 0.9)),
              url('/placeholder.svg?height=600&width=1200') center/cover;
  color: white;
  padding: 80px 0;
  min-height: 500px;
  margin-top: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: left;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(249,115,22,.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(26,86,219,.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 0;
  text-align: left;
}

/* Badge row */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  font-size: 15px;
}

.badge-item {
  font-family: 'Roboto', sans-serif;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Hero heading */
.hero h1 {
  font-family: 'Roboto', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 20px;
  max-width: 700px;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  color: white;
  max-width: 650px;
  margin: 0 0 30px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Roboto', sans-serif;
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #025FBD;
  color: white;
}
.btn-primary:hover {
  background: #025FBD;
  transform: translateY(-2px);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* ── LAYOUT: Content wrapper + Sidebar ───────────────────── */
.content-wrapper {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 40px 0 360px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  overflow: visible;
  position: relative;
}

/* ── SIDEBAR ──────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 120px;
  left: 60px;
  width: 280px;
  max-height: calc(100vh - 180px);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
  transform: translateX(-10px);
}

.sidebar.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sidebar h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a202c;
  padding-bottom: 14px;
  border-bottom: 2px solid #e2e8f0;
  margin-top: 0;
}

.sidebar h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #000000;
  border-radius: 2px;
}

.sidebar nav {
  overflow-y: auto;
  max-height: calc(100vh - 280px);
  padding-right: 8px;
  margin-right: -8px;
}

.sidebar nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar nav::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

.sidebar nav::-webkit-scrollbar-thumb {
  background: #000000;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.sidebar nav::-webkit-scrollbar-thumb:hover {
  background: #333333;
}

.sidebar nav {
  scrollbar-width: thin;
  scrollbar-color: #000000 #f1f5f9;
}

.sidebar nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar nav li {
  margin-bottom: 2px;
  position: relative;
}

.sidebar nav a {
  font-family: 'Roboto', sans-serif;
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 450;
  color: #4a5568;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  border-left: 3px solid transparent;
  line-height: 1.4;
}

.sidebar nav a:hover {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
  border-left-color: #000000;
  padding-left: 18px;
}

.sidebar nav a.active {
  color: #000000;
  background: rgba(0, 0, 0, 0.1);
  border-left-color: #000000;
  font-weight: 600;
}

/* ── MAIN CONTENT ─────────────────────────────────────────── */
.main-content {
  flex: 1;
  min-width: 0;
}

/* ── CONTENT SECTION (article wrapper) ───────────────────── */
.content-section {
  font-family: 'Roboto', sans-serif;
  max-width: 100%;
  margin-bottom: 1rem;
  line-height: 1.65;
  color: #333;
  scroll-margin-top: 120px;
  font-size: 1.125rem;
}

.content-section p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 0.75rem;
}

/* Section headings */
.content-section h2,
.guide-main-title {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.guide-subtitle-text {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  color: #333;
  margin: 0 0 0.75rem;
  font-weight: 400;
  line-height: 1.65;
}

.benefit-description {
  font-family: 'Roboto', sans-serif;
  font-size: 1.125rem;
  color: #333;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

/* ── GUIDE CONTENT BOX (inner sections) ──────────────────── */
.guide-content-box {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ── CRITERIA CARDS ──────────────────────────────────────── */
.criteria-list-container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.35rem;
  position: relative;
  transition: none;
  margin-bottom: 0.5rem;
}

.criteria-list-container:hover {
  border-color: transparent;
  box-shadow: none;
}

.criteria-list-container::before {
  display: none;
}

.criteria-header-section { margin-bottom: 0.25rem; }

.criteria-item-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.25rem;
  line-height: 1.35;
}

/* Inline "Ask these questions" label */
.criteria-list-container > span,
.criteria-list-container > div > span {
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.criteria-list-container strong {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-primary);
}

/* ── BULLET LIST ─────────────────────────────────────────── */
.criteria-bullet-list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.criteria-list-item {
  position: relative;
  padding: 0.15rem 0.25rem 0.15rem 1.1rem;
  background: transparent;
  border-radius: 0;
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.45;
  transition: none;
  border: none;
  margin: 0 0 0.15rem 0 !important;
}

.criteria-list-item:hover {
  background: transparent;
  border-color: transparent;
  color: var(--color-text-body);
}

.criteria-list-item::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 0.5rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #000000;
  flex-shrink: 0;
}

/* ── BLOG HERO IMAGE ─────────────────────────────────────── */
.tech-blog-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
  object-fit: cover;
  max-height: 420px;
  box-shadow: var(--shadow-md);
}

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--space-lg);
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 20%, rgba(249,115,22,.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-text a {
  color: #fcd34d;
  text-decoration: underline;
  font-weight: 600;
}

/* ── FAQ SECTION ─────────────────────────────────────────── */
.blog-faq-section {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.blog-faq-container {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: var(--space-xl);
  box-shadow: none;
}

.blog-faq-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
}

.blog-faq-header h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
}

.blog-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-faq-item {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: none;
}

.blog-faq-item:hover,
.blog-faq-item.active {
  border-color: transparent;
  box-shadow: none;
}

.blog-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.blog-faq-question:hover,
.blog-faq-item.active .blog-faq-question {
  background: transparent;
}

.blog-faq-question-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.45;
  flex: 1;
}

.blog-faq-item.active .blog-faq-question-text {
  color: #000000;
}

.blog-faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: #000000;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.blog-faq-item.active .blog-faq-icon {
  transform: rotate(45deg);
}

.blog-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.25s ease;
}

.blog-faq-item.active .blog-faq-answer {
  max-height: 400px;
}

.blog-faq-answer p {
  padding: 0 var(--space-lg) var(--space-md);
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-body);
  line-height: 1.75;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}

/* ── LATEST POSTS ─────────────────────────────────────────── */
.latest-posts-tags-section {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.latest-posts-tags-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.latest-posts-wrapper,
.tags-wrapper {
  display: block;
  visibility: visible;
}

.latest-posts-wrapper h2,
.tags-wrapper h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.latest-post-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  transition: none;
  box-shadow: none;
}

.latest-post-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.latest-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #bfdbfe;
}

.latest-post-image {
  overflow: hidden;
  height: 165px;
  background: transparent;
}

.latest-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.latest-post-card:hover .latest-post-image img {
  transform: scale(1.05);
}

.latest-post-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.latest-post-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
  background: transparent;
  padding: 0.2rem 0.6rem;
  border-radius: 0;
  width: fit-content;
  border: none;
}

.latest-post-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.4;
}

.latest-post-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ── TAGS CLOUD ───────────────────────────────────────────── */
.tags-cloud {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.5rem;
  visibility: visible !important;
}

.tag-item {
  display: inline-block !important;
  padding: 0.4rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: none;
  visibility: visible !important;
}

.tag-item:hover {
  background: transparent;
  border-color: transparent;
  color: #000000;
  transform: none;
}

/* ── MOBILE SIDEBAR TOGGLE ────────────────────────────────── */
.sidebar-toggle {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: background var(--transition), transform var(--transition);
}

.sidebar-toggle:hover {
  background: #333333;
  transform: scale(1.08);
}

/* ── HIDE STICKY CTA ──────────────────────────────────────── */
.sticky-cta {
  display: none !important;
}

/* ── FORM STYLES ──────────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  background: #ffffff;
  color: #333;
  transition: all 0.25s ease;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #000000;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button[type="submit"],
input[type="submit"] {
  padding: 12px 24px;
  background: #000000;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Roboto', sans-serif;
}

button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #333333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

label {
  font-size: 14px;
  font-weight: 500;
  color: #1a202c;
  margin-bottom: 6px;
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .content-wrapper {
    padding: 20px;
    margin: 20px auto;
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    height: 100vh;
    width: 280px;
    z-index: 999;
    transition: left 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
    border-radius: 0;
  }

  .sidebar.active {
    left: 0;
  }

  .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-content {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 20px;
    min-height: 350px;
  }
  
  .hero-content {
    padding-left: 0;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  .content-wrapper {
    padding: 15px;
    margin: 15px auto;
    gap: 20px;
  }

  .content-section {
    margin-bottom: 0.75rem;
  }
  
  .content-section p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }
  
  h2 {
    margin-top: 0.75rem;
    margin-bottom: 0.4rem;
    font-size: 1.5rem;
  }
  
  h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    font-size: 1.25rem;
  }
  
  h4 {
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
  }
  
  .criteria-list-container {
    padding: 0.25rem;
    margin-bottom: 0.4rem;
  }
  
  .criteria-item-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }
  
  .criteria-list-item {
    padding: 0.1rem 0.2rem 0.1rem 1rem;
    margin-bottom: 0.1rem !important;
    line-height: 1.4;
    font-size: 0.95rem;
  }
  
  .criteria-bullet-list {
    gap: 0.05rem;
  }
  
  .guide-content-box {
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
  
  .guide-subtitle-text {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }
  
  .benefit-description {
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }

  .blog-faq-container,
  .blog-faq-question {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .latest-posts-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 40px 15px;
    min-height: 300px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .badge-item {
    font-size: 12px;
    padding: 4px 12px;
  }

  .content-wrapper {
    margin: 10px auto;
    padding: 0 12px;
  }

  .content-section {
    margin-bottom: 0.5rem;
  }
  
  .content-section p {
    margin-bottom: 0.4rem;
    line-height: 1.55;
    font-size: 1rem;
  }

  .content-section h2 {
    font-size: 1.35rem;
    margin-top: 0.6rem;
    margin-bottom: 0.3rem;
  }
  
  h3 {
    font-size: 1.15rem;
    margin-top: 0.4rem;
    margin-bottom: 0.25rem;
  }
  
  h4 {
    font-size: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
  }
  
  .criteria-list-container {
    padding: 0.2rem;
    margin-bottom: 0.3rem;
  }
  
  .criteria-item-title {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
  }
  
  .criteria-list-item {
    padding: 0.08rem 0.15rem 0.08rem 0.9rem;
    margin-bottom: 0.08rem !important;
    line-height: 1.35;
    font-size: 0.9rem;
  }
  
  .criteria-list-item::before {
    left: 0.25rem;
    top: 0.45rem;
    width: 3px;
    height: 3px;
  }
  
  .criteria-bullet-list {
    gap: 0.03rem;
  }
  
  .guide-content-box {
    gap: 0.4rem;
    margin-top: 0.4rem;
  }
  
  .guide-subtitle-text {
    margin-bottom: 0.4rem;
    line-height: 1.55;
    font-size: 1rem;
  }
  
  .benefit-description {
    margin-bottom: 0.4rem;
    line-height: 1.55;
    font-size: 1rem;
  }

  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ── OFFSHORE GUIDE WRAPPER ──────────────────────────────── */
.offshore-guide-wrapper {
  /* inherits .content-section — no extra styles needed */
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .sidebar, .sidebar-toggle, .hero-buttons, .cta-section { display: none; }
  .content-wrapper { grid-template-columns: 1fr; }
  .content-section { box-shadow: none; border: 1px solid #ccc; }
}


/* ============================================
   FINAL THOUGHTS CTA SECTION STYLES
   ============================================ */

.final-thoughts-cta {
  background: transparent;
  border-radius: 16px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 2rem 0;
}

.final-thoughts-cta .cta-content h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.final-thoughts-cta .cta-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  margin: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  color: #ffffff;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cta-button:hover {
  background: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  text-decoration: none;
}

.cta-button .arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .final-thoughts-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .final-thoughts-cta .cta-content h3 {
    font-size: 1.25rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}
