/* Resources (Recursos) Section Styles - Clean Modern Design */

/* Hero Section */
.resources-hero {
  background: #ffffff;
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.resources-hero h1 {
  font-family: 'Sansation', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.resources-hero .hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Container
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
} */

/* Resources Sections */
.resources-section {
  padding: 6rem 0;
  background: #ffffff;
}
.articles-listing .resources-section {
  padding-top: 2rem;
}

.resources-section:nth-child(even) {
  background: #fafafa;
}

.section-header {
  display: block;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-family-title);
  font-size: 2rem;
  font-weight: 500;
  color: #15263d;
  margin: 0;
}

.section-link {
  color: #2EB67D;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.section-link:hover {
  color: #248f5f;
}

.section-description {
  color: #666;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Resource Card - Modern Style */
.resource-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
}

.resource-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.resource-image {
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* If a real image is used inside the card */
.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Different gradient backgrounds for variety */
.resource-image.article-1 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.resource-image.article-2 {
  background: linear-gradient(135deg, #2EB67D 0%, #1a8f5f 100%);
}

.resource-image.article-3 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.resource-image.article-4 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.resource-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.375rem 0.875rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1a1a1a;
}

.resource-content {
  padding: 1.5rem;
}

.resource-type {
  display: inline-block;
  color: #2EB67D;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resource-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.resource-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.resource-title a:hover {
  color: #2EB67D;
}

.resource-description {
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* Glossary Preview Section */
.glossary-preview {
  margin-top: 2rem;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.glossary-preview-card {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.2s ease;
}

.glossary-preview-card:hover {
  border-color: #c1c1c1;
  box-shadow: 0 4px 12px rgba(46, 182, 125, 0.1);
}

.glossary-term {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.glossary-term a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.glossary-term a:hover {
  opacity: .8;
}

.glossary-snippet {
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 1.5rem 0;
}

.faq-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  list-style: none;
  padding-right: 2rem;
  position: relative;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: #292929;
  transition: transform 0.3s ease;
  line-height: 1em;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question:hover {
  color: #292929;
}

.faq-answer {
  padding-top: 1rem;
  padding-right: 2rem;
}

.faq-answer p {
  color: #666;
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
  font-size: 1.1em;
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #e0e0e0;
}

.faq-cta p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 1.5rem;
}

/* Dark CTA Section */
.faq-cta-dark {
  background: linear-gradient(135deg, #10181b 0%, #20292c 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.faq-cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq-cta-dark h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.faq-cta-dark p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #2EB67D;
  color: white;
}

.btn-primary:hover {
  background: #248f5f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 182, 125, 0.3);
}

.btn-secondary {
  background: white;
  color: #2EB67D;
  border: 2px solid #2EB67D;
}

.btn-secondary:hover {
  background: #2EB67D;
  color: white;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #999;
}

.breadcrumbs a {
  color: #2EB67D;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs li.active {
  color: #666;
}

/* Article Detail - Enhanced Typography & Sidebar Layout */
.article-detail {
  padding: 4rem 0;
  background: #ffffff;
}

.article-header {
  margin-bottom: 4rem;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* Article hero image shown above the title */
.article-hero {
  margin-bottom: 2rem;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  border-radius: 8px;
}

.article-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.article-header h1 {
  font-family: 'Sansation', sans-serif;
  font-size: 3.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  font-weight: 700;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.article-card .article-meta {
  justify-content: flex-start;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.article-main {
  min-width: 0; /* Prevent grid blowout */
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 4rem;
  font-weight: 300;
  max-width: none;
}

/* Make inline images responsive and nicely spaced */
.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
}

.article-content figure {
  margin: 1.5rem 0;
}

.article-content figcaption {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

.article-content h2 {
  font-family: 'Sansation', sans-serif;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: #1a1a1a;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.article-content h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 1.5rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.3;
}

.article-content h4 {
  font-family: 'Sansation', sans-serif;
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  font-weight: 500;
  line-height: 1.4;
}

.article-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
  padding-left: 2rem;
  color: #2a2a2a;
}

.article-content li {
  margin-bottom: 0.75rem;
  color: #2a2a2a;
  line-height: 1.6;
}

.article-content strong {
  color: #1a1a1a;
  font-weight: 500;
}

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

.article-content blockquote {
  border-left: 4px solid #2EB67D;
  padding-left: 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.article-content blockquote p {
  margin-bottom: 1rem;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 0.95rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
}

.article-content th,
.article-content td {
  border: 1px solid #e8e8e8;
  padding: 1rem;
  text-align: left;
  color: #2a2a2a;
}

.article-content th {
  background: #f5f5f5;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.article-content td {
  background: #ffffff;
  line-height: 1.5;
}

.article-content tr:nth-child(even) td {
  background: #fafafa;
}

/* Glossary term links within content */
.glossary-link {
  color: #666;
  text-decoration: underline;
  text-decoration-color: #d0d0d0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.glossary-link:hover {
  color: #1a1a1a;
  text-decoration-color: #999;
}

/* Article Sidebar */
.sidebar-section {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-section h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.sidebar-intro {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Glossary Sidebar */
.glossary-terms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glossary-term-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.glossary-term-card:hover {
  border-color: #2EB67D;
  box-shadow: 0 2px 8px rgba(46, 182, 125, 0.1);
}

.glossary-term-card h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.3;
}

.term-link {
  color: #2EB67D;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.term-link:hover {
  color: #248f5f;
  text-decoration: underline;
}

.term-definition {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

/* Table of Contents */
.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 0.5rem;
}

.table-of-contents a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.table-of-contents a:hover {
  color: #2EB67D;
}

/* Tags in Sidebar */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-link {
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  color: #666;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tag-link:hover {
  background: #2EB67D;
  border-color: #2EB67D;
  color: white;
}

/* Related Articles */
.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e8e8e8;
}

.related-articles h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Article Final CTA - Full Width */
.article-final-cta {
  background: linear-gradient(135deg, #10181b 0%, #20292c 100%);
  padding: 4rem 0;
  margin-top: 4rem;
  text-align: center;
}

.article-final-cta .cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.article-final-cta h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.article-final-cta .cta-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.article-final-cta .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Articles Listing */
.articles-listing {
  padding: 4rem 0 0rem;
  background: #ffffff;
}

.articles-header {
  text-align: center;
  margin-bottom: 3rem;
}

.articles-header h1 {
  font-family: 'Sansation', sans-serif;
  font-size: 3rem;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.articles-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.articles-filters {
  margin-bottom: 3rem;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.filter-link {
  padding: 0.6rem 1.2rem;
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-link:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
  color: #1a1a1a;
}

.filter-link.active {
  background: #e8e8e8;
  border-color: #999;
  color: #1a1a1a;
  font-weight: 600;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.article-card {
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 1.5rem;
  transition: all 0.2s ease;
}

.article-card:hover {
  border-color: #d0d0d0;
  background: #fafafa;
}

.article-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #757575;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.article-title {
  font-family: 'Sansation', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  color: #1a1a1a;
}

.article-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-title a:hover {
  color: #757575;
}

.article-excerpt {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-weight: 300;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.article-tags a {
  color: #333;
  text-decoration: none;
  background: #eaeaea;
  border-radius: 10px;
  padding: 4px 8px;
  font-size: .9rem;
}

.article-tags a:hover {
  color: #444;
  background: #d0d0d0;
  transition: all 0.2s ease;
}


/* Glossary Hero */
.glossary-hero {
  background: #ffffff;
  padding: 5rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.glossary-hero h1 {
  font-family: 'Sansation', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.glossary-hero .hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Glossary Main Content */
.glossary-main {
  padding: 2rem 0;
  background: #f8f8f8;
}

.glossary-main .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glossary Filters */
.glossary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
}

/* Glossary Alphabet Navigation */
.glossary-alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0 3rem;
  padding: 1.5rem;
  border-top: 1px solid #e8e8e8;
}

.letter-link {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  color: #555;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.letter-link:hover {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.letter-section {
  margin-bottom: 3rem;
}

.letter-heading {
  font-family: 'Sansation', sans-serif;
  font-size: 2.5rem;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #e0e0e0;
  font-weight: 700;
}

.entries-list {
  display: grid;
  gap: 1.5rem;
}

.entry-item {
  padding: 1.5rem;
  background: #fafafa;
  border-radius: 8px;
  border-left: 4px solid #666;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.entry-item:hover {
  background: #f5f5f5;
  border-left-color: #1a1a1a;
  transform: translateX(2px);
}

.entry-term {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.entry-header .entry-term {
  font-size: 3rem;
}

.entry-term a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entry-term a:hover {
  color: #555;
}

.entry-category {
  display: inline-block;
  background: #666;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.entry-definition {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.read-more {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #555;
  text-decoration: underline;
}

/* Glossary Entry Detail - Dictionary Style */
.glossary-entry-detail {
  padding: 4rem 0;
  background: #ffffff;
}

.glossary-entry-detail .sidebar-section.related-articles {
  margin-top: 0;
}

.glossary-entries .entry-item {
  background-color: white;
}

.entry-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.entry-main {
  min-width: 0;
}

.entry-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  padding: 2.5rem 0;
}

.term-main {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.entry-term {
  font-family: 'Sansation', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.entry-term a {
  margin-bottom: 10px;
  display: inline-block;
}

.entry-category-badge {
  background: linear-gradient(135deg, #666 0%, #555 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2a2a2a;
  margin-bottom: 3rem;
}

.entry-content h1 {
  display: none; /* Hide the duplicate H1 from markdown */
}

.entry-content h2 {
  font-family: 'Sansation', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.entry-content h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.entry-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.entry-content strong {
  color: #1a1a1a;
  font-weight: 600;
}

.entry-footer {
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
}

/* Entry Sidebar */
.entry-sidebar .sidebar-section {
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.entry-sidebar h3 {
  font-family: 'Sansation', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.info-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.info-value {
  color: #1a1a1a;
  font-weight: 500;
  font-size: 0.9rem;
}

.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-article-item {
  padding: 1rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.related-article-item:hover {
  border-color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.related-article-item .article-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
}

.related-article-item .article-link {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-article-item .article-link:hover {
  color: #555;
}

.related-article-item .article-category {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.related-article-item .article-excerpt {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
  margin: 0;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-link {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
  display: block;
}

/* Filters */
.articles-filters,
.glossary-filters {
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
  align-items: center;
}

.filter-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-link {
  padding: 0.6rem 1.2rem;
  background: white;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-link:hover {
  background: #f0f0f0;
  border-color: #999;
  color: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-link.active {
  background: #1a1a1a;
  color: white;
  border-color: #1a1a1a;
  font-weight: 600;
}

/* CTA Sections */
.cta-box {
  background: linear-gradient(135deg, #2EB67D 0%, #1a8f5f 100%);
  color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  margin: 2rem 0;
}

.cta-box h2,
.cta-box h3 {
  color: white;
  margin-bottom: 1rem;
}

.cta-center {
  text-align: center;
  margin: 2rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #F6C84C;
  color: #1a1a1a;
}

.btn-primary:hover {
  background: #e0b23a;
  transform: translateY(-2px);
}

.btn-secondary {
  background: white;
  color: #2EB67D;
  border: 2px solid #2EB67D;
}

.btn-secondary:hover {
  background: #2EB67D;
  color: white;
}

/* Utility */
.no-content,
.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .article-sidebar {
    position: static;
    order: -1;
  }

  .sidebar-section {
    display: none;
  }

  .sidebar-section.glossary-sidebar {
    display: block;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .resources-hero h1,
  .glossary-hero h1 {
    font-size: 2rem;
  }

  .glossary-hero {
    padding: 3rem 0 2rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .article-content {
    font-size: 1.0625rem;
  }

  .article-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
  }

  .article-content h3 {
    font-size: 1.375rem;
    margin-top: 2rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .glossary-alphabet {
    gap: 0.25rem;
  }

  .letter-link {
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
  }

  .article-layout {
    gap: 2rem;
  }

  .sidebar-section {
    padding: 1.25rem;
  }

  .glossary-terms {
    gap: 0.75rem;
  }

  .glossary-term-card {
    padding: 0.875rem;
  }

  .article-final-cta {
    padding: 3rem 0;
  }

  .article-final-cta h3 {
    font-size: 1.75rem;
  }

  .article-final-cta .cta-text {
    font-size: 1.125rem;
  }

  .article-final-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Glossary Entry Responsive */
  .entry-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .entry-sidebar {
    order: -1;
  }

  .entry-header {
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .entry-term {
    font-size: 2.25rem;
    min-width: auto;
  }

  .term-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .entry-content {
    font-size: 1.0625rem;
  }

  .related-article-item {
    padding: 0.875rem;
  }
}
