/* ==========================================================================
   TutorGuide in India — Modern Landing Page (front-page.php)
   ========================================================================== */

body.home #right-sidebar,
body.home .is-right-sidebar,
body.home.no-sidebar .sidebar,
body.front-page #right-sidebar {
  display: none !important;
}

body.home .site.grid-container,
body.front-page .site.grid-container {
  max-width: 100% !important;
  width: 100% !important;
}

body.home .site-content .content-area,
body.front-page .site-content .content-area {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
}

body.home .site-content,
body.front-page .site-content {
  padding: 0 !important;
}

body.home .site-main,
body.front-page .site-main {
  margin: 0 !important;
}

body.home .inside-article,
body.home .entry-header,
body.home .entry-content {
  display: none;
}

/* ── Hero Section ── */
.tg-hero-wrap {
  background:
    radial-gradient(1100px 500px at 15% -10%, rgba(229, 152, 25, 0.22), transparent 55%),
    linear-gradient(160deg, #071224 0%, #0d1e38 55%, #0b1a30 100%);
  color: #f8fafc;
  padding: 4rem 1.25rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.tg-hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.tg-hero-container {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.tg-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tg-amber-gold, #e59819);
  background: rgba(229, 152, 25, 0.12);
  border: 1px solid rgba(229, 152, 25, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.tg-hero-kicker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tg-amber-gold, #e59819);
  box-shadow: 0 0 8px var(--tg-amber-gold, #e59819);
}

.tg-hero-h1 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
  margin: 0 auto 1.25rem;
  max-width: 880px;
  letter-spacing: -0.02em;
}

.tg-hero-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.tg-hero-search-box {
  max-width: 620px;
  margin: 0 auto 2rem;
  position: relative;
}

.tg-search-form {
  display: flex;
  background: #ffffff;
  border-radius: 999px;
  padding: 5px 6px 5px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.tg-search-input {
  flex: 1 1 auto;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 15px;
  color: #1e293b;
  background: transparent;
  padding: 8px 10px;
}

.tg-search-btn {
  flex: 0 0 auto;
  background: var(--tg-amber-gold, #e59819);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease;
}

.tg-search-btn:hover {
  background: var(--tg-amber-hover, #c9820f);
}

/* Quick Hub Pills */
.tg-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.25rem;
}

.tg-pill-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  margin-right: 4px;
}

.tg-pill-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #f1f5f9 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.18s ease;
}

.tg-pill-link:hover {
  background: rgba(229, 152, 25, 0.2);
  border-color: var(--tg-amber-gold, #e59819);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Hero Trust Strip */
.tg-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tg-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.tg-trust-item svg {
  color: var(--tg-amber-gold, #e59819);
  flex-shrink: 0;
}

/* ── Common Section Container ── */
.tg-section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  box-sizing: border-box;
}

.tg-section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.tg-section-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tg-amber-gold, #e59819);
  display: block;
  margin-bottom: 0.5rem;
}

.tg-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--tg-navy-dark, #0b1a30);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

.tg-section-sub {
  font-size: 16px;
  color: var(--tg-text-muted, #64748b);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Category Hub Cards Grid ── */
.tg-hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tg-hub-card {
  background: #ffffff;
  border: 1px solid var(--tg-border-light, #e2e8f0);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 2px 8px rgba(11, 26, 48, 0.04);
  position: relative;
}

.tg-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 26, 48, 0.08);
  border-color: #cbd5e1;
}

.tg-hub-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(19, 46, 84, 0.06);
  color: var(--tg-navy-primary, #132e54);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.tg-hub-card:hover .tg-hub-icon-wrap {
  background: var(--tg-amber-light, #fff8e7);
  color: var(--tg-amber-gold, #e59819);
}

.tg-hub-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tg-navy-dark, #0b1a30);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

.tg-hub-desc {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.tg-hub-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tg-navy-primary, #132e54);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tg-hub-link:hover {
  color: var(--tg-amber-gold, #e59819);
}

/* ── Spotlight Rank #1 Showcase ── */
.tg-spotlight-bg {
  background: #f1f5f9;
}

.tg-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.tg-rank-spotlight-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  box-shadow: 0 6px 18px rgba(11, 26, 48, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tg-rank-badge-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e59819 0%, #c9820f 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 1rem;
}

.tg-spotlight-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--tg-navy-dark, #0b1a30);
  margin: 0 0 0.4rem;
}

.tg-spotlight-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 1rem;
}

.tg-spotlight-specs {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.tg-spotlight-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
  margin-bottom: 0.65rem;
}

.tg-spotlight-specs li svg {
  color: var(--tg-emerald, #059669);
  flex-shrink: 0;
}

.tg-spotlight-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-btn-primary {
  background: var(--tg-navy-primary, #132e54);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s ease;
}

.tg-btn-primary:hover {
  background: var(--tg-navy-dark, #0b1a30);
}

.tg-btn-outline {
  background: transparent;
  color: var(--tg-navy-primary, #132e54) !important;
  border: 1.5px solid var(--tg-navy-primary, #132e54);
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 6px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.tg-btn-outline:hover {
  background: rgba(19, 46, 84, 0.05);
}

/* ── Methodology 4-Pillars Grid ── */
.tg-method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tg-method-card {
  padding: 1.5rem;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.tg-method-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--tg-amber-gold, #e59819);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.tg-method-h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--tg-navy-dark, #0b1a30);
  margin: 0 0 0.5rem;
}

.tg-method-p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* ── Latest Audits Grid ── */
.tg-audits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.tg-audit-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(11, 26, 48, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tg-audit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(11, 26, 48, 0.08);
}

.tg-audit-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tg-audit-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tg-navy-primary, #132e54);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

.tg-audit-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--tg-navy-dark, #0b1a30);
  line-height: 1.35;
  margin: 0 0 0.65rem;
}

.tg-audit-title a {
  color: var(--tg-navy-dark, #0b1a30) !important;
  text-decoration: none !important;
}

.tg-audit-title a:hover {
  color: var(--tg-amber-gold, #e59819) !important;
}

.tg-audit-meta {
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Conversion CTA Banner ── */
.tg-cta-wrap {
  background: linear-gradient(135deg, #0b1a30 0%, #132e54 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1rem;
  box-shadow: 0 12px 30px rgba(11, 26, 48, 0.2);
}

.tg-cta-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.tg-cta-content p {
  font-size: 15px;
  color: #cbd5e1;
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}

.tg-cta-actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
}

.tg-btn-gold {
  background: linear-gradient(135deg, #e59819 0%, #c9820f 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(229, 152, 25, 0.35);
  transition: transform 0.15s ease;
}

.tg-btn-gold:hover {
  transform: translateY(-2px);
}

/* ── Responsive Breakpoints ── */
@media (max-width: 1024px) {
  .tg-hubs-grid,
  .tg-method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tg-hero-h1 {
    font-size: 28px;
  }

  .tg-hero-lead {
    font-size: 14.5px;
  }

  .tg-showcase-grid {
    grid-template-columns: 1fr;
  }

  .tg-audits-grid {
    grid-template-columns: 1fr;
  }

  .tg-cta-wrap {
    flex-direction: column;
    text-align: center;
    padding: 2.25rem 1.5rem;
  }

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

  .tg-section-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .tg-hubs-grid,
  .tg-method-grid {
    grid-template-columns: 1fr;
  }

  .tg-hero-wrap {
    padding: 2.5rem 1rem 3rem;
  }

  .tg-search-form {
    flex-direction: column;
    border-radius: 12px;
    padding: 8px;
    gap: 8px;
  }

  .tg-search-btn {
    width: 100%;
    padding: 10px;
  }
}

/* ── Reveal & Focus Enhancements ── */
.tg-reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tg-reveal-init.tg-in-view {
  opacity: 1;
  transform: translateY(0);
}

.tg-hero-search.is-focused {
  border-color: var(--tg-amber-gold, #e59819) !important;
  box-shadow: 0 0 0 3px rgba(229, 152, 25, 0.25) !important;
}
