:root {
    --primary: #1e40af;
    --primary-hover: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #2563eb;
    --background: #f8fafc;
    --card-background: #ffffff;
    --border-color: #e2e8f0;
    --text-primary-light: #0f172a;
    --text-secondary-light: #475569;
    --gradient-start: #1d4ed8;
    --gradient-end: #0891b2;
    --font-headers: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--text-primary-light);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.text-muted {
    color: #475569 !important;
}

.font-header {
    font-family: var(--font-headers);
}

.custom-transition {
    transition: all 0.2s ease-in-out;
}

/* ===== header ===== */
.header-block {
    font-family: 'Inter', sans-serif;
}

.header-block .font-headers {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.header-block .js-dropdown-menu {
    min-width: 14rem;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.header-block .js-dropdown-trigger[aria-expanded="true"]+.js-dropdown-menu {
    display: block;
}

.header-block .js-dropdown-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.header-block .js-dropdown-trigger i {
    transition: transform 0.2s ease;
}

/* ===== hero ===== */
.hero-section {
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8)),
    url('{{img-hero}}');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section .js-tab-btn.active {
    color: #3b82f6;
    border-color: #3b82f6;
}

.hero-section .js-tab-content {
    transition: opacity 0.2s ease-in-out;
}

/* ===== purpose-info ===== */
.project-purpose-section {
    font-family: 'Inter', sans-serif;
}

.project-purpose-section h2,
.project-purpose-section h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.project-purpose-section .active-tab {
    background-color: #1e40af !important;
    color: #ffffff !important;
}

/* ===== main-materials ===== */
.main-materials-section {
    font-family: 'Inter', sans-serif;
}

.main-materials-section h2,
.main-materials-section h3,
.main-materials-section h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.main-materials-section .js-tab-btn {
    color: #475569;
    background-color: transparent;
}

.main-materials-section .js-tab-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ===== support-response ===== */
.support-response-section .bg-white {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-response-section .bg-white:hover {
    border-color: #cbd5e1;
}

.support-response-section ::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.support-response-section :-ms-input-placeholder {
    color: #94a3b8;
}

.support-response-section ::-ms-input-placeholder {
    color: #94a3b8;
}

/* ===== choose-concerns ===== */
.choose-concerns-section .js-concern-tab.active-tab {
    border-color: #1e40af;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
    background-color: rgba(248, 250, 252, 0.5);
}

.choose-concerns-section .js-concern-tab:hover:not(.active-tab) {
    border-color: #0ea5e9;
}

.choose-concerns-section .js-concern-content {
    transition: opacity 0.15s ease-in-out;
}

/* ===== workflow ===== */
.workflow-section .step-btn-active {
    border-color: #1e40af;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.workflow-section .step-btn-active h3 {
    color: #1e40af;
}

.workflow-section .step-btn-inactive {
    border-color: #e2e8f0;
    background-color: transparent;
}

.workflow-section .step-btn-inactive:hover {
    border-color: #cbd5e1;
}

/* ===== grid-literature ===== */
.grid-literature-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

@media (min-width: 768px) {
    .grid-literature-section {
        padding: 6rem 0;
    }
}

.grid-literature-section .active-tab {
    background-color: #1e40af !important;
    color: #ffffff !important;
    border-color: #1e40af !important;
}

.grid-literature-section .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== footer ===== */
.rc-footer {
    background-color: #f8fafc;
}

.rc-footer .rc-footer-disclaimer {
    background-color: #f1f5f9;
    border-left-color: #1e40af;
}

.rc-footer .rc-footer-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.rc-footer .rc-footer-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

.header-block {
    font-family: 'Inter', sans-serif;
}

.header-block .font-headers {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.header-block .js-dropdown-menu {
    min-width: 14rem;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.header-block .js-dropdown-trigger[aria-expanded="true"]+.js-dropdown-menu {
    display: block;
}

.header-block .js-dropdown-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.header-block .js-dropdown-trigger i {
    transition: transform 0.2s ease;
}

.hero-section {
    background-image: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.8)),
    url('{{img-hero}}');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-section .hero-badge-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.hero-section .hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

.hero-section .hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.catalog-section {
    background-color: #f8fafc;
}

.catalog-section .section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: #0f172a;
}

.catalog-section .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.catalog-section .catalog-search-input {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
}

.catalog-section .catalog-search-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.catalog-section .catalog-sort-select {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
}

.catalog-section .catalog-card-tag {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

.catalog-section .catalog-card-date {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.catalog-section .catalog-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #0f172a;
}

.catalog-section .catalog-card-author {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.catalog-section .catalog-card-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #475569;
}

.catalog-section .catalog-card-cta {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.catalog-section .catalog-card-share {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.catalog-section .no-results-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #0f172a;
}

.catalog-section .no-results-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.catalog-section .reset-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.rc-footer {
    background-color: #f8fafc;
}

.rc-footer .rc-footer-disclaimer {
    background-color: #f1f5f9;
    border-left-color: #1e40af;
}

.rc-footer .rc-footer-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.rc-footer .rc-footer-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}


/* ===== PAGE: about ===== */
.about-journal .search-input::placeholder { color: #94a3b8; opacity: 1; }

/* ===== PAGE: endnote ===== */
.endnote-content {
  font-family: 'Inter', sans-serif;
}
.endnote-content h1, 
.endnote-content h2, 
.endnote-content h3, 
.endnote-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.endnote-content .js-category-tab.is-active {
  background-color: #1e40af !important;
  color: #ffffff !important;
  border-color: transparent !important;
}
.endnote-content .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.endnote-content .accordion-content.is-open {
  max-height: 400px;
}
.endnote-content .custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}
.endnote-content .custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.endnote-content .custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* ===== PAGE: contact ===== */
.contact-section-block {
  font-family: 'Inter', sans-serif;
}
.contact-section-block h1, 
.contact-section-block h2, 
.contact-section-block h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.contact-section-block input::placeholder,
.contact-section-block textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* ===== PAGE: privacy ===== */
.privacy-policy-section .js-toc-link.active {
  color: #1e40af !important;
  border-left-color: #1e40af !important;
  background-color: #f1f5f9;
  font-weight: 600;
}

/* ===== PAGE: terms ===== */
.terms-page {
  font-family: 'Inter', sans-serif;
}
.terms-page h1,
.terms-page h2,
.terms-page h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.terms-page .js-toc-link {
  transition: all 0.2s ease-in-out;
}

/* ===== PAGE: disclaimer ===== */
.rc-disclaimer-section {
  font-family: 'Inter', sans-serif;
}
.rc-disclaimer-section h2, .rc-disclaimer-section h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.rc-disclaimer-section .js-tab-btn {
  border-color: #e2e8f0;
  background-color: #ffffff;
  color: #475569;
}
.rc-disclaimer-section .js-tab-btn:hover {
  border-color: #1e40af;
  color: #1e40af;
}
.rc-disclaimer-section .js-tab-btn.active {
  background-color: #1e40af;
  border-color: #1e40af;
  color: #ffffff;
}
.rc-disclaimer-section .js-clause-card {
  display: block;
}
.rc-disclaimer-section .js-clause-card.hidden {
  display: none !important;
}
.rc-disclaimer-section .js-no-results.hidden {
  display: none;
}

/* ===== PAGE: journal ===== */
.journal-section .js-filter-btn.active {
  background-color: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
}
.journal-section input::placeholder {
  color: #94a3b8;
}
.journal-section .js-faq-trigger i {
  transition: transform 0.2s ease-in-out;
}

/* ===== PAGE: source-context ===== */
.source-context-guidelines .guideline-card { transition: transform 0.2s ease, border-color 0.2s ease; }
.source-context-guidelines .guideline-card:hover { transform: translateY(-4px); border-color: #1e40af; }
.source-context-guidelines .checklist-section input[type="checkbox"]:checked + span { text-decoration: line-through; opacity: 0.7; }
.source-context-guidelines .checklist-section { background: linear-gradient(135deg, #1e40af 0%, #0891b2 100%); }

/* ===== PAGE: study-limitations ===== */
.study-limitations-section .js-filter-btn.active {
  background-color: #1e40af !important;
  color: #ffffff !important;
  border-color: #1e40af !important;
}
.study-limitations-section .js-limit-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.study-limitations-section blockquote {
  border-left: 4px solid #1e40af;
  padding-left: 1rem;
  font-style: italic;
  color: #475569;
}
@media (max-width: 767px) {
  .study-limitations-section .js-filter-container {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .study-limitations-section .js-filter-btn {
    flex-shrink: 0;
  }
}

/* ===== PAGE: evidence-cases ===== */
.evidence-cases-section .js-filter-btn.active {
  background-color: #1e40af;
  color: #ffffff;
  border-color: #1e40af;
}

.evidence-cases-section .evidence-case-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.evidence-cases-section .evidence-case-card:hover {
  transform: translateY(-4px);
}

.evidence-cases-section .js-case-item {
  display: flex;
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PAGE: editorial-standards ===== */
.editorial-standards-page .js-nav-link.active { color: #1e40af; border-left-color: #1e40af; font-weight: 700; } .editorial-standards-page .js-content-section { transition: opacity 0.3s ease; } .editorial-standards-page .scroll-mt-24 { scroll-margin-top: 6rem; }

.comment-card {
    font-family: 'Inter', sans-serif;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    font-size: 16px;
    user-select: none;
}

.font-headers {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {}


/* ===== PAGE TEMPLATE: literature-reviews ===== */
.header-block {
    font-family: 'Inter', sans-serif;
}

.header-block .font-headers {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.header-block .js-dropdown-menu {
    min-width: 14rem;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.header-block .js-dropdown-trigger[aria-expanded="true"]+.js-dropdown-menu {
    display: block;
}

.header-block .js-dropdown-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.header-block .js-dropdown-trigger i {
    transition: transform 0.2s ease;
}

.universal-detail-page {
    font-family: 'Inter', sans-serif;
}

.universal-detail-page h1,
.universal-detail-page h2,
.universal-detail-page h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.universal-detail-page .content-rich-text blockquote {
    border-left-color: #1e40af;
    background-color: #f8fafc;
}

.universal-detail-page .js-detail-tab.active {
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
}

.rc-footer {
    background-color: #f8fafc;
}

.rc-footer .rc-footer-disclaimer {
    background-color: #f1f5f9;
    border-left-color: #1e40af;
}

.rc-footer .rc-footer-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.rc-footer .rc-footer-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}

/* ===== PAGE TEMPLATE: relevance-assessment ===== */
.header-block {
    font-family: 'Inter', sans-serif;
}

.header-block .font-headers {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.header-block .js-dropdown-menu {
    min-width: 14rem;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.header-block .js-dropdown-trigger[aria-expanded="true"]+.js-dropdown-menu {
    display: block;
}

.header-block .js-dropdown-trigger[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.header-block .js-dropdown-trigger i {
    transition: transform 0.2s ease;
}

.universal-detail-page {
    font-family: 'Inter', sans-serif;
}

.universal-detail-page h1,
.universal-detail-page h2,
.universal-detail-page h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.universal-detail-page .content-rich-text blockquote {
    border-left-color: #1e40af;
    background-color: #f8fafc;
}

.universal-detail-page .js-detail-tab.active {
    color: #1e40af;
    border-bottom: 2px solid #1e40af;
}

.rc-footer {
    background-color: #f8fafc;
}

.rc-footer .rc-footer-disclaimer {
    background-color: #f1f5f9;
    border-left-color: #1e40af;
}

.rc-footer .rc-footer-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.rc-footer .rc-footer-input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.1);
}