/* =============================================
   PARKAR.IN - GCC Blog Post Styles
   css/gcc-blog.css
   Used by: pages/GCC/GccBlogs/*.html
   ============================================= */

/* ─── Base ─── */
body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body::-webkit-scrollbar { display: none; }

/* ══════════════════════════════════════
   BLOG HERO
══════════════════════════════════════ */
.blog-hero {
  position: relative;
  padding-top: 80px;
  background: var(--navy);
}
.blog-hero-inner {
  padding: 64px 0 0;
}
.blog-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.blog-hero-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  background: rgba(27,174,159,0.1);
  border: 1px solid rgba(27,174,159,0.25);
  border-radius: 100px;
  padding: 5px 14px;
}
.blog-hero-date {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-hero-date svg { width: 14px; height: 14px; }
.blog-hero-inner h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--white);
  margin-bottom: 28px;
  max-width: 820px;
}
.blog-hero-inner h1 span { color: var(--teal); }
.blog-hero-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 20px;
}
.blog-hero-img img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
}

/* Share bar */
.blog-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.blog-share-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}
.blog-share-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
  text-decoration: none;
}
.blog-share-btn:hover {
  border-color: var(--teal);
  background: rgba(27,174,159,0.1);
}
.blog-share-btn svg { width: 14px; height: 14px; color: rgba(255,255,255,0.6); }
.blog-share-btn:hover svg { color: var(--teal); }

/* ══════════════════════════════════════
   BLOG LAYOUT — body + sidebar
══════════════════════════════════════ */
.blog-layout {
  padding: 56px 0 100px;
  background: var(--navy);
}
.blog-layout-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: start;
}

/* ── Article body ── */
.blog-body h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin: 48px 0 18px;
}
.blog-body h2:first-child { margin-top: 0; }
.blog-body h3 {
  font-family: var(--font-head);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  margin: 36px 0 14px;
}
.blog-body p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
}
.blog-body p strong {
  color: var(--white);
  font-weight: 700;
}
.blog-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-body ul li {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  padding-left: 24px;
  position: relative;
}
.blog-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}
.blog-body blockquote {
  border-left: 3px solid var(--teal);
  padding: 20px 24px;
  margin: 28px 0;
  background: rgba(27,174,159,0.04);
  border-radius: 0 8px 8px 0;
}
.blog-body blockquote p {
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* FAQ section inside blog body */
.blog-faq { margin-top: 48px; }
.blog-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.blog-faq-item:first-child { border-top: 1px solid var(--border); }
.blog-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}
.blog-faq-q h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
  flex: 1;
  transition: color 0.25s;
}
.blog-faq-item.open .blog-faq-q h4 { color: var(--teal); }
.blog-faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s, transform 0.3s;
}
.blog-faq-item.open .blog-faq-toggle {
  border-color: var(--teal);
  transform: rotate(180deg);
}
.blog-faq-toggle svg { width: 14px; height: 14px; color: rgba(255,255,255,0.5); }
.blog-faq-item.open .blog-faq-toggle svg { color: var(--teal); }
.blog-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.blog-faq-item.open .blog-faq-a { max-height: 300px; padding-top: 14px; }
.blog-faq-a p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

/* ── Sidebar ── */
.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* CTA card */
.blog-sidebar-cta {
  background: linear-gradient(145deg, rgba(27,174,159,0.12) 0%, var(--card-bg) 100%);
  border: 1px solid rgba(27,174,159,0.2);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
}
.blog-sidebar-cta h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-sidebar-cta p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

/* Related posts */
.blog-sidebar-related h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.blog-related-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-related-card {
  display: flex;
  gap: 14px;
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.25s;
}
.blog-related-card:hover { background: rgba(255,255,255,0.03); }
.blog-related-thumb {
  width: 72px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.blog-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-related-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}
.blog-related-info span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
}
.blog-related-info p {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-related-card:hover .blog-related-info p { color: var(--teal); }

/* ══════════════════════════════════════
   BOTTOM CTA BANNER
══════════════════════════════════════ */
.blog-bottom-cta {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(27,174,159,0.12) 0%, transparent 70%),
              linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 1px solid var(--border);
}
.blog-bottom-cta .section-label { display: block; margin-bottom: 20px; }
.blog-bottom-cta h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  max-width: 620px;
  margin: 0 auto 14px;
  color: var(--white);
}
.blog-bottom-cta h2 span { color: var(--teal); }
.blog-bottom-cta p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .blog-layout-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .blog-hero-inner { padding: 48px 0 0; }
  .blog-hero-img img { aspect-ratio: 16/9; }
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
}
