/* Minimalist Blog Theme - Tattvas IT */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #2a2a2a;
  background-color: #F5F4F0;
}

/* Header */
.header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #E5E5E5;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 48px;
  height: 72px;
}

.logo {
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-links a {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px;
  transition: color 0.2s ease;
  border-radius: 8px;
}

.nav-links a:hover {
  color: #111111;
}

.nav-cta {
  margin-left: 12px;
  background: #111111 !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: background 0.2s ease !important;
}

.nav-cta:hover {
  background: rgba(17,17,17,0.85) !important;
  color: #fff !important;
}

/* Main Content */
.main-content {
  min-height: calc(100vh - 140px);
  padding: 48px 20px 80px;
}

.content-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.content {
  background: transparent;
  padding: 0;
  margin: 0;
}

/* Back to Resources link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #999;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.back-link:hover {
  color: #111111;
}

/* ===== Auto-generated blog content (class="blog-post-container") ===== */
.blog-post-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
}

.blog-header {
  margin-bottom: 48px;
  border-bottom: 1px solid #E5E5E5;
  padding-bottom: 32px;
}

.blog-header h1 {
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.blog-date {
  color: #999;
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}

.blog-tag-inline {
  display: inline-block;
  background: #111111;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
}

.blog-content {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.85;
  color: #2a2a2a;
}

.blog-content p {
  margin-bottom: 20px;
}

/* ===== Content Typography ===== */
.content h1 {
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

.content h2 {
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin: 48px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #E5E5E5;
  letter-spacing: -0.01em;
}

.content h3 {
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 32px 0 12px 0;
}

.content h4 {
  color: #111111;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 24px 0 8px 0;
}

.content p {
  margin-bottom: 20px;
  text-align: left;
  font-size: 1rem;
  line-height: 1.85;
  color: #2a2a2a;
}

.content ul, .content ol {
  margin: 16px 0 20px 24px;
  color: #2a2a2a;
}

.content li {
  margin-bottom: 10px;
  line-height: 1.75;
  list-style-type: disc;
}

.content ol li {
  list-style-type: decimal;
}

.content strong {
  color: #111111;
  font-weight: 600;
}

.content em {
  color: #2a2a2a;
  font-style: italic;
}

.content a {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ccc;
  transition: text-decoration-color 0.2s;
}

.content a:hover {
  text-decoration-color: #111111;
}

/* Tables */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9375rem;
}

.content th, .content td {
  border: 1px solid #E5E5E5;
  padding: 12px 16px;
  text-align: left;
}

.content th {
  background-color: #FAFAFA;
  font-weight: 600;
  color: #111111;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.content img {
  max-width: 100%;
  height: auto;
  margin: 28px 0;
  border-radius: 8px;
}

.content blockquote {
  border-left: 2px solid #111111;
  margin: 28px 0;
  padding: 16px 24px;
  font-style: italic;
  color: #2a2a2a;
  background: #FAFAFA;
  border-radius: 0 6px 6px 0;
}

/* ===== Special Content Boxes (Template A blogs) ===== */
.blog-tag {
  display: inline-block;
  background: #111111;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 12px;
}

.blog-meta {
  color: #999;
  font-size: 0.8125rem;
  margin-top: 12px;
}

.intro-highlight {
  background: #FAFAFA;
  border-left: 2px solid #111111;
  padding: 24px;
  border-radius: 0 6px 6px 0;
  margin: 28px 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #2a2a2a;
}

.highlight-box {
  background: #FAFAFA;
  border-left: 2px solid #ccc;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}

.highlight-box h4, .highlight-box strong {
  color: #111111;
}

.info-box {
  background: #FAFAFA;
  border-left: 2px solid #999;
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 6px 6px 0;
}

.info-box h4, .info-box strong {
  color: #111111;
}

.key-points {
  background: #FAFAFA;
  padding: 24px;
  margin: 28px 0;
  border-radius: 6px;
  border: 1px solid #E5E5E5;
}

.key-points h3, .key-points h4 {
  color: #111111;
  margin-top: 0;
}

.conclusion-box {
  background: #111111;
  color: #fff;
  padding: 32px;
  margin: 40px 0;
  border-radius: 8px;
}

.conclusion-box h2, .conclusion-box h3 {
  color: #fff;
  border-bottom: none;
  margin-top: 0;
}

.conclusion-box p {
  color: rgba(255,255,255,0.75);
}

.conclusion-box strong {
  color: #fff;
}

.references {
  background: #FAFAFA;
  padding: 24px;
  margin: 40px 0 0;
  border-radius: 6px;
  border: 1px solid #E5E5E5;
}

.references h3 {
  margin-top: 0;
  font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
  background: #111111;
  color: rgba(255,255,255,0.4);
  padding: 24px;
  text-align: center;
  margin-top: 0;
  font-size: 0.8125rem;
}

.footer-bottom {
  color: rgba(255,255,255,0.4);
}

.footer a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    height: auto;
    padding: 15px 20px;
  }

  .nav-links {
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: 0.8125rem;
  }

  .main-content {
    padding: 24px 16px 48px;
  }

  .content-wrapper {
    max-width: 100%;
  }

  .content h1,
  .blog-header h1 {
    font-size: 1.625rem;
  }

  .content h2 {
    font-size: 1.1875rem;
  }

  .logo {
    font-size: 0.9rem;
  }

  .logo img {
    height: 36px;
  }
}
