/* ============================================================
   ThinkOnline.IN — sitemap.css
   Branded HTML sitemap page styles
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.sm-hero {
  background: linear-gradient(135deg, #030a5a 0%, #061288 60%, #0096c7 100%);
  padding: 90px 24px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  pointer-events: none;
}

.sm-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sm-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #90e0ef;
  border: 1px solid rgba(144,224,239,0.3);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sm-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}
.sm-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.sm-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.sm-hero-meta strong { color: #48cae4; }
.sm-sep { opacity: 0.4; }
.sm-xml-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.sm-xml-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-1px);
}

/* ── Wrapper ────────────────────────────────────────────────── */
.sm-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.sm-section-full {
  grid-column: 1 / -1;
}

/* ── Section Cards ──────────────────────────────────────────── */
.sm-section {
  background: #fff;
  border: 1px solid rgba(6,18,136,0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(6,18,136,0.06);
  transition: box-shadow 0.2s;
}
.sm-section:hover {
  box-shadow: 0 6px 28px rgba(6,18,136,0.11);
}
.sm-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(6,18,136,0.07);
}
.sm-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.sm-section-head h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f1a3e;
  margin: 0 0 4px;
}
.sm-section-head p {
  font-size: 0.8rem;
  color: #5a6890;
  margin: 0;
  line-height: 1.5;
}
.sm-view-all {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0096c7;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  transition: color 0.2s;
}
.sm-view-all:hover { color: #061288; }

/* ── List ───────────────────────────────────────────────────── */
.sm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sm-list-3col {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 4px;
}
.sm-item {}
.sm-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
}
.sm-link:hover {
  background: rgba(6,18,136,0.04);
  transform: translateX(3px);
}
.sm-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 26px;
  text-align: center;
}
.sm-item-text {
  flex: 1;
  min-width: 0;
}
.sm-item-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f1a3e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sm-item-text small {
  font-size: 0.74rem;
  color: #5a6890;
  display: block;
  margin-top: 2px;
}

/* ── Priority Badges ────────────────────────────────────────── */
.sm-priority {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.sm-pri-high   { background: rgba(6,18,136,0.08);   color: #061288; }
.sm-pri-med    { background: rgba(0,150,199,0.08);  color: #0096c7; }
.sm-pri-low    { background: rgba(90,104,144,0.08); color: #5a6890; }

/* ── Blog Grid ──────────────────────────────────────────────── */
.sm-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
}
.sm-blog-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(6,18,136,0.08);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #fafbff;
  transition: all 0.18s;
  position: relative;
}
.sm-blog-card:hover {
  border-color: #0096c7;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,150,199,0.12);
  transform: translateY(-2px);
}
.sm-blog-date {
  font-size: 0.7rem;
  color: #0096c7;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.sm-blog-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f1a3e;
  line-height: 1.4;
  flex: 1;
}
.sm-blog-arrow {
  font-size: 0.8rem;
  color: rgba(6,18,136,0.3);
  align-self: flex-end;
  transition: color 0.15s, transform 0.15s;
}
.sm-blog-card:hover .sm-blog-arrow {
  color: #0096c7;
  transform: translateX(3px);
}

/* ── XML Section ────────────────────────────────────────────── */
.sm-xml-section {
  background: linear-gradient(135deg, #f4f6ff, #e8f4ff);
  border-color: rgba(6,18,136,0.12);
}
.sm-xml-card {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sm-xml-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.sm-xml-body {
  flex: 1;
  min-width: 200px;
}
.sm-xml-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f1a3e;
  margin: 0 0 6px;
}
.sm-xml-body p {
  font-size: 0.82rem;
  color: #5a6890;
  margin: 0 0 10px;
  line-height: 1.6;
}
.sm-xml-body code {
  display: inline-block;
  background: rgba(6,18,136,0.07);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #061288;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Empty state ────────────────────────────────────────────── */
.sm-empty {
  color: #5a6890;
  font-size: 0.88rem;
  padding: 16px 0;
  text-align: center;
}

/* ── Reveal animation ───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sm-wrap {
    grid-template-columns: 1fr;
    padding: 36px 16px 60px;
    gap: 20px;
  }
  .sm-section-full { grid-column: 1; }
  .sm-hero { padding: 60px 20px 50px; }
  .sm-xml-card { flex-direction: column; align-items: flex-start; }
  .sm-list-3col { grid-template-columns: 1fr; }
  .sm-blog-grid { grid-template-columns: 1fr; }
  .sm-hero-meta { gap: 6px; }
}
