/* ===== CRITICAL CSS - INLINE IN <head> ===== */
:root {
  /* ===== STUDY DECODE BRAND COLORS ===== */
  
  /* Primary Brand Colors */
  --primary-dark: #1A365D;      /* Deep Navy - Primary brand */
  --primary-dark-2: #0F2440;    /* Darker Navy - Secondary */
  --primary-light: #2B9B9B;     /* Vibrant Teal - Accent, CTAs */
  --primary-light-2: #35B0B0;   /* Lighter Teal - Hover states */
  
  /* Accent Colors */
  --accent: #2B9B9B;            /* Vibrant Teal - CTA & highlights */
  --accent-dark: #1F7A7A;       /* Darker teal for hover states */
  --accent-light: #D4ECEC;      /* Light teal for backgrounds */
  
  /* Backgrounds */
  --bg-sage: #EBF4FF;           /* Soft Sky Blue - Main background */
  --bg-cream: #F8FAFC;          /* Warm White - Card backgrounds */
  --bg-light: #F0F7FF;          /* Slightly lighter blue for sections */
  --white: #FFFFFF;
  
  /* Neutrals */
  --text-dark: #2D3748;         /* Dark Charcoal - Body text */
  --text-muted: #5A6B7C;        /* Muted gray - Secondary text */
  --text-light: #8A9BAE;        /* Lighter gray for subtle text */
  --border-light: #D4E8E8;      /* Teal-tinted border */
  --border-medium: #B8D4D4;     /* Darker teal border */
  
  /* Functional Colors */
  --success: #38A169;           /* Green for success */
  --error: #E53E3E;             /* Red for errors */
  --warning: #D69E2E;           /* Amber for warnings */
  
  /* Shadows */
  --shadow-sm: rgba(26, 54, 93, 0.06);
  --shadow-md: rgba(26, 54, 93, 0.10);
  --shadow-lg: rgba(26, 54, 93, 0.16);
}

/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Poppins', sans-serif;
  background-color: var(--bg-sage);
  color: var(--text-dark);
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { 
  font-size: clamp(1.5rem, 4vw, 2rem); 
  border-bottom: 2px solid var(--accent); 
  padding-bottom: 0.5rem; 
}
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.25rem; }
h5, h6 { font-size: 1.1rem; }

/* ===== LINKS ===== */
a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-dark);
  color: white;
  padding: 12px 20px;
  z-index: 9999;
}

.skip-to-main:focus {
  top: 0;
}

/* ===== HEADER ===== */
header, .bg-theme-color {
  background: var(--primary-dark);
}

.header-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  min-height: 80px;
}

.logo-section img {
  max-width: 70px;
  height: auto;
}

.title-section {
  flex: 1;
}

.journal-title {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: white;
}

.info-section {
  text-align: right;
}

.issn-info {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
}

/* ===== SITE HEADER - WHITE/CREAM BACKGROUND ===== */
.site-header {
  background: var(--bg-cream);
  box-shadow: 0 2px 10px var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
}

.logo-section img {
  max-width: 70px;
  height: auto;
}

.site-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

.site-title small {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: var(--primary-dark);
  padding: 0.5rem 0;
}

.navbar-nav {
  gap: 0.25rem;
}

.navbar .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 0.7rem 1.25rem;
  margin: 0.25rem 0;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.navbar .nav-link:hover {
  background-color: rgba(43, 155, 155, 0.25);
  transform: translateY(-1px);
}

.navbar .nav-link.active {
  background-color: var(--accent);
  color: white !important;
  font-weight: 600;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 0;
    padding: 0.5rem 0;
  }
  
  .navbar .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.125rem 0;
  }
  
  .navbar-toggler {
    margin: 0.5rem 0;
    border: none;
    background: rgba(255, 255, 255, 0.2);
  }
  
  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }
}

/* Desktop Navigation */
@media (min-width: 992px) {
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar .nav-link {
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 1200px) {
  .navbar-nav {
    gap: 0.75rem;
  }
  
  .navbar .nav-link {
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
  }
}

/* ===== HEADER SOCIAL ICONS ===== */
.social-icons-header {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--primary-dark);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

.social-icon i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .social-icons-header {
    gap: 0.5rem;
  }
  .social-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .social-icons-header {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--primary-dark);
  color: white;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-dark-2);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(43, 155, 155, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.btn-outline-theme {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline-theme:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-cream);
  border-radius: 10px;
  box-shadow: 0 2px 8px var(--shadow-sm);
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow-md);
}

.card-body {
  padding: 1.25rem;
}

.card-header.bg-theme-color {
  background: var(--primary-dark);
  color: white;
  padding: 1rem 1.25rem;
}

/* ===== SIDEBAR ===== */
.sidebar {
  margin-bottom: 2rem;
}

.sidebar-widget {
  background: var(--bg-cream);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px var(--shadow-sm);
  border-left: 3px solid var(--accent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 4px 20px var(--shadow-md);
}

.sidebar-widget h4 {
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--accent);
  position: relative;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s ease;
}

.sidebar-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-link {
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.sidebar-link i {
  color: var(--accent);
  width: 24px;
  font-size: 0.9rem;
}

.sidebar-link:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.sidebar-link:hover i {
  color: var(--accent-dark);
}

/* CTA Widget */
.cta-widget {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  color: white;
  text-align: center;
}

.cta-widget h4 {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-widget p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cta-widget i {
  color: var(--accent-light);
}

.btn-sidebar {
  background: white;
  color: var(--accent);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-sidebar:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  color: var(--accent-dark);
}

/* Trust List */
.trust-list li {
  display: flex;
  align-items: center;
  border-bottom: none !important;
  margin-bottom: 0.5rem !important;
}

.trust-list i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Resources Widget */
.resources-widget .resource-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.resources-widget .resource-item:last-child {
  border-bottom: none;
}

.resources-widget .resource-item i {
  color: var(--accent);
  width: 24px;
}

.resources-widget .resource-item a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.resources-widget .resource-item a:hover {
  color: var(--accent);
  margin-left: 5px;
}

/* Contact in Sidebar */
.sidebar-contact .contact-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.sidebar-contact .contact-item i {
  color: var(--accent);
  width: 24px;
}

.sidebar-contact .contact-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-contact .contact-item a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .sidebar-widget {
    padding: 1.2rem;
  }
  .sidebar-widget h4 {
    font-size: 1.1rem;
  }
  .sidebar-link {
    font-size: 0.9rem;
  }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-light);
  margin-top: 4rem;
  padding: 3rem 0 0;
}

.footer-heading {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.9rem;
}

/* Footer Links */
.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* Footer Contact */
.footer-contact li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  color: var(--accent);
  margin-top: 0.2rem;
  width: 20px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact .address i {
  margin-top: 0.25rem;
}

/* Social Icons in Footer */
.social-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-footer:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.legal-links li {
  margin-left: 1.5rem;
}

.legal-links li:first-child {
  margin-left: 0;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: var(--accent);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 0;
  }
  .footer-heading {
    margin-bottom: 1rem;
  }
  .footer-heading::after {
    width: 30px;
  }
  .legal-links {
    justify-content: center;
  }
  .legal-links li {
    margin: 0 0.75rem;
  }
}

@media (max-width: 576px) {
  .footer-contact li {
    flex-wrap: wrap;
  }
  .footer-contact li i {
    margin-bottom: 0.25rem;
  }
}

/* ===== BLOG ===== */
.blog-card {
  background: var(--bg-cream);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-sm);
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow-md);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.blog-card-content {
  padding: 1.25rem;
}

.blog-card-category {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.blog-card-category:hover {
  background: var(--accent);
  color: white;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-title a {
  color: var(--primary-dark);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--accent);
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-card-meta i {
  color: var(--accent);
  margin-right: 0.25rem;
}

.blog-card-meta span {
  margin-right: 1rem;
}

.blog-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.blog-card-readmore {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.blog-card-readmore:hover {
  color: var(--accent-dark);
  gap: 0.75rem;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 2rem;
}

.blog-pagination .pagination {
  justify-content: center;
}

.blog-pagination .page-link {
  color: var(--accent);
  border: 1px solid var(--border-light);
  margin: 0 3px;
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.blog-pagination .page-link:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: var(--accent);
}

.blog-pagination .active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Blog Sidebar Widgets */
.blog-sidebar-widget {
  background: var(--bg-cream);
  padding: 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px var(--shadow-sm);
  border-left: 3px solid var(--accent);
}

.blog-sidebar-widget h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.blog-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar-list li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.blog-sidebar-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.blog-sidebar-list a {
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}

.blog-sidebar-list a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

/* Blog Search Widget */
.blog-search-widget .input-group {
  border-radius: 50px;
  overflow: hidden;
}

.blog-search-widget .form-control {
  border: 1px solid var(--border-light);
  border-right: none;
  padding: 0.6rem 1rem;
}

.blog-search-widget .form-control:focus {
  box-shadow: none;
  border-color: var(--accent);
}

.blog-search-widget .btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
}

.blog-search-widget .btn:hover {
  background: var(--accent-dark);
}

/* Category Widget */
.category-widget .badge-count {
  float: right;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-size: 0.7rem;
}

/* ===== BLOG POST PAGE ===== */
/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--text-muted);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted);
  content: "›";
}

/* Post Content */
.post-content {
  color: var(--text-dark);
  line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.25rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

/* Blockquote */
.post-content blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  padding: 0.75rem 1.25rem;
  background: var(--accent-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.post-content th,
.post-content td {
  border: 1px solid var(--border-light);
  padding: 0.75rem;
}

.post-content th {
  background: var(--accent-light);
  font-weight: 600;
}

/* Code */
.post-content pre {
  background: var(--primary-dark);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
}

.post-content code {
  background: var(--accent-light);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

/* ===== FAQ ACCORDION ===== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  background: transparent;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-header {
  background: var(--bg-cream);
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow-sm);
  transition: all 0.2s ease;
}

.accordion-header:hover {
  box-shadow: 0 4px 12px var(--shadow-md);
}

.accordion-button {
  background: var(--bg-cream);
  color: var(--text-dark);
  font-weight: 600;
  padding: 1.25rem;
  border-radius: 12px !important;
  box-shadow: none;
  font-size: 1rem;
  border: 1px solid var(--border-light);
}

.accordion-button:not(.collapsed) {
  background: var(--bg-cream);
  color: var(--primary-dark);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232B9B9B'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button.collapsed::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232B9B9B'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--accent);
  outline: none;
}

.accordion-button:hover {
  background: var(--accent-light);
}

.accordion-body {
  background: var(--bg-cream);
  color: var(--text-muted);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
  .accordion-body {
    padding: 1rem;
    font-size: 0.85rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-accent { color: var(--accent); }
.bg-accent { background: var(--accent); color: white; }
.text-primary-dark { color: var(--primary-dark); }
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
}
.shadow-sm { box-shadow: 0 1px 3px var(--shadow-sm); }

/* Stats Card */
.stats-card {
  background: var(--bg-cream);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px var(--shadow-md);
}

/* Step Number */
.step-number {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-number:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.step-divider {
  width: 2px;
  height: 40px;
  background: var(--accent-light);
  margin: 0.5rem auto;
}

/* Tabs */
.nav-tabs .nav-link.active {
  background: var(--accent) !important;
  color: white !important;
}

.nav-tabs .nav-link:hover {
  background: var(--accent-dark);
  color: white;
}

/* Tables */
.table-bordered th,
.table-bordered td {
  border-color: var(--border-light);
  padding: 1rem;
  vertical-align: middle;
}

.table-hover tbody tr:hover {
  background: var(--accent-light);
}

/* Tags */
.tag {
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag:hover {
  background: var(--accent);
  color: white;
}

/* Post Meta */
.post-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

/* Pagination */
.page-link {
  color: var(--accent);
  border: 1px solid var(--border-light);
  margin: 0 3px;
  border-radius: 8px;
}

.page-link:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
  border-color: var(--accent);
}

.page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Blog Full Width */
.blog-full-width {
  width: 100%;
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1400px) {
  .blog-full-width {
    max-width: 1400px;
    padding-left: 0;
    padding-right: 0;
  }
}

.blog-page .container {
  max-width: 100% !important;
  width: 100% !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  .info-section {
    text-align: center;
  }
  .sidebar-widget {
    margin-bottom: 1rem;
  }
  .card-body {
    padding: 1rem;
  }
}

@media (min-width: 992px) {
  .main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
  }
}

/* ===== PRINT ===== */
@media print {
  .navbar, .footer, .sidebar-widget, .btn {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}