/* 
   Aperito Publishing - Editorial Minimal Theme
   Design: Clean, Academic, Warm Teal
   Fonts: DM Sans + DM Serif Display
*/

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #ccfbf1;
    --accent: #f59e0b;
    --cranberry: #a5161d;
    --navy: #071827;
    --dark: #111827;
    --text: #1f2937;
    --muted: #6b7280;
    --light: #f9fafb;
    --border: #e5e7eb;

    --font-body: 'DM Sans', sans-serif;
    --font-display: 'DM Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: white;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--dark); font-weight: 800; letter-spacing: 0; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 700; color: var(--dark); }

/* ========================
   NAVBAR - White with gradient accent border
   ======================== */
.navbar {
    background: white !important;
    border-bottom: none;
    box-shadow: 0 1px 0 var(--border);
    padding: 0.7rem 0;
    position: relative;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.brand-mark {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.5px;
}

.brand-mark-sm {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
    border-radius: 8px;
}

.site-logo {
    width: 250px;
    max-width: 34vw;
    height: auto;
    display: block;
}

.brand-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--dark);
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text) !important;
    font-size: 0.88rem;
    padding: 0.45rem 0.9rem !important;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: white !important;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--primary);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
}

/* ========================
   HERO - Centered with geometric pattern
   ======================== */
.hero-main {
    background:
        linear-gradient(120deg, rgba(7, 24, 39, 0.94), rgba(13, 148, 136, 0.78)),
        url('../uploads/pages/research-community.png');
    background-size: cover;
    background-position: center;
    padding: 115px 0 90px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    pointer-events: none;
}

.hero-main::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(180deg, transparent, white);
}

.hero-orbit {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    transform: rotate(-18deg);
}

.hero-orbit-one {
    width: 480px;
    height: 150px;
    right: -110px;
    top: 70px;
}

.hero-orbit-two {
    width: 330px;
    height: 95px;
    left: -120px;
    bottom: 75px;
}

.hero-badge-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-pill i {
    color: var(--primary);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.8rem;
    line-height: 1.15;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: #fbbf24;
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(251,191,36,0.18);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========================
   STATS STRIP
   ======================== */
.stats-strip {
    background: var(--dark);
    padding: 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item {
    padding: 28px 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* ========================
   SECTION HELPERS
   ======================== */
.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading {
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.section-light {
    background: var(--light);
}

.link-arrow {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: gap 0.2s;
}

.link-arrow:hover {
    color: var(--primary-dark);
}

/* ========================
   ABOUT SECTION
   ======================== */
.about-image-block {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 420px;
    box-shadow: 0 24px 60px rgba(7,24,39,0.16);
}

.about-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(13,148,136,0.3);
}

.about-content {
    padding-left: 1rem;
}

.accent-bar {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ========================
   ARTICLE TILES
   ======================== */
.article-tile {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.article-tile:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.article-tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.article-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.article-date {
    color: var(--muted);
    font-size: 0.78rem;
}

.article-tile-title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: 8px;
}

.article-tile-title a {
    text-decoration: none;
    color: var(--dark);
    transition: color 0.2s;
}

.article-tile-title a:hover {
    color: var(--primary);
}

.article-tile-authors {
    color: var(--muted);
    font-size: 0.82rem;
    margin-bottom: auto;
}

.article-tile-action {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

/* ========================
   JOURNAL WIDE CARDS (Horizontal)
   ======================== */
.journal-wide-card {
    display: flex;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

.journal-wide-card:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.journal-wide-cover {
    width: 180px;
    min-height: 180px;
    flex-shrink: 0;
    background: var(--light);
    overflow: hidden;
}

.journal-wide-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.journal-wide-card:hover .journal-wide-cover img {
    transform: scale(1.05);
}

.journal-wide-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #d1d5db;
    font-size: 2rem;
}

.journal-wide-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journal-wide-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.journal-scroll-shell {
    max-height: 650px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 14px 8px 0;
    scrollbar-color: var(--primary) #e5e7eb;
    scrollbar-width: thin;
}

.journal-scroll-shell::-webkit-scrollbar {
    width: 9px;
}

.journal-scroll-shell::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 999px;
}

.journal-scroll-shell::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--cranberry));
    border-radius: 999px;
}

.journal-scroll-grid {
    padding-bottom: 4px;
}

/* ========================
   STEPS LIST (Why Publish)
   ======================== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-left: 3px solid var(--border);
    transition: all 0.3s;
}

.step-item:hover {
    border-left-color: var(--primary);
    background: white;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.step-item:hover .step-number {
    opacity: 1;
}

/* ========================
   EDITOR TILES
   ======================== */
.editor-tile {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: white;
    height: 100%;
    transition: all 0.3s;
}

.editor-tile:hover {
    border-color: var(--primary-light);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.editor-tile-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-light);
}

.editor-tile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editor-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--light);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

/* ========================
   CTA BANNER
   ======================== */
.cta-banner {
    padding: 0 0 5rem;
}

.cta-inner {
    background: linear-gradient(135deg, var(--dark) 0%, #1e3a3a 100%);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(13,148,136,0.15);
}

/* ========================
   FOOTER
   ======================== */
.footer-top {
    background:
        linear-gradient(135deg, rgba(7,24,39,0.98), rgba(13,68,71,0.96)),
        radial-gradient(circle at 80% 20%, rgba(245,158,11,0.18), transparent 34%);
    padding: 70px 0 44px;
    color: white;
    border-top: 5px solid #fbbf24;
}

.footer-logo {
    opacity: 0.95;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.footer-panel {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.045);
    border-radius: 18px;
    padding: 34px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.18);
}

.footer .brand-name,
.footer h6,
.footer .fw-bold {
    color: white;
}

.footer-summary,
.footer-contact {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
}

.footer-contact i {
    color: #fbbf24;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.footer-links a:hover {
    color: #fbbf24;
}

.footer-social {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social:hover {
    background: #fbbf24;
    border-color: #fbbf24;
    color: var(--navy);
}

.footer-license-mini {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.74);
    font-size: 0.82rem;
}

.cc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    border: 1px solid currentColor;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.footer-bottom {
    background: #06111f;
    padding: 18px 0;
    font-size: 0.9rem;
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.55);
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #fbbf24;
}

.cc-license {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ========================
   JOURNAL DIRECTORY + DETAIL
   ======================== */
.journals-directory-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.journals-directory-hero::before,
.journal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,24,39,0.95) 0%, rgba(7,24,39,0.76) 45%, rgba(7,24,39,0.24) 100%);
}

.journals-directory-copy,
.journal-hero-content {
    position: relative;
    max-width: 820px;
    padding: 82px 0;
}

.journals-directory-copy h1,
.journal-hero h1 {
    color: white;
    font-size: clamp(2.25rem, 4vw, 4.5rem);
    line-height: 1.04;
    margin: 0.4rem 0 1rem;
}

.journals-directory-intro,
.journal-hero-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 760px;
}

.journal-directory-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.journal-directory-stats span,
.journal-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.11);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
    backdrop-filter: blur(8px);
}

.journal-directory-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%);
}

.journal-directory-toolbar {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 34px;
}

.journal-directory-toolbar h2 {
    margin: 0;
    font-size: clamp(1.65rem, 2vw, 2.4rem);
}

.journal-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 22px;
}

.all-articles-list {
    display: grid;
    gap: 20px;
}

.all-article-card {
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 16px 42px rgba(15,23,42,0.07);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.all-article-card:hover {
    transform: translateY(-3px);
    border-color: #99d8d0;
    box-shadow: 0 20px 52px rgba(15,23,42,0.11);
}

.all-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.all-article-card h3 {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 10px;
}

.all-article-card h3 a {
    color: #06111f;
    text-decoration: none;
}

.all-article-card h3 a:hover {
    color: var(--primary-dark);
}

.all-article-authors {
    color: #334155;
    font-weight: 800;
    margin-bottom: 12px;
}

.all-article-abstract {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 18px;
}

.all-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.all-article-actions a {
    border: 1px solid #cbd8e6;
    border-radius: 999px;
    color: var(--primary-dark);
    font-weight: 900;
    padding: 8px 14px;
    text-decoration: none;
}

.all-article-actions a:hover {
    background: var(--primary-light);
    border-color: #99d8d0;
}

.all-article-actions span {
    color: #64748b;
    font-size: 0.92rem;
    font-weight: 800;
}

.journal-directory-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    background: white;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 14px 40px rgba(15,23,42,0.07);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.journal-directory-card:hover {
    transform: translateY(-3px);
    border-color: rgba(13,148,136,0.28);
    box-shadow: 0 18px 52px rgba(15,23,42,0.12);
}

.journal-card-media {
    display: block;
    background: #e2e8f0;
    height: 230px;
    overflow: hidden;
}

.journal-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journal-card-media i {
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    color: #94a3b8;
}

.journal-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.journal-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.journal-card-meta span {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-dark);
    background: #ecfeff;
    border: 1px solid #ccfbf1;
    border-radius: 999px;
    padding: 5px 9px;
}

.journal-card-body h3 {
    font-size: 1.12rem;
    line-height: 1.35;
    margin-bottom: 10px;
}

.journal-card-body h3 a,
.journal-card-actions a {
    color: var(--dark);
    text-decoration: none;
}

.journal-card-body p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 18px;
}

.journal-card-actions {
    display: flex;
    gap: 16px;
    margin-top: auto;
    font-weight: 800;
    font-size: 0.86rem;
}

.journal-card-actions a {
    color: var(--primary-dark);
}

.journal-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.journal-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.journal-subnav {
    position: relative;
    top: auto;
    z-index: 1200;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 28px rgba(15,23,42,0.08);
    backdrop-filter: blur(10px);
    overflow: visible;
}

.journal-subnav .container {
    overflow: visible;
}

.journal-subnav .nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
    padding: 12px 0;
}

.journal-subnav .nav-link {
    border: 0;
    background: transparent;
    white-space: nowrap;
    border-radius: 999px;
    color: var(--text);
    font-weight: 800;
    padding: 10px 16px;
}

.journal-subnav .nav-link.active,
.journal-subnav .nav-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark) !important;
}

.journal-guidelines-dropdown .dropdown-menu {
    border-radius: 8px;
    min-width: 230px;
    padding: 8px;
    z-index: 1300;
}

.journal-guidelines-dropdown .dropdown-item {
    border-radius: 6px;
    color: var(--text);
    font-weight: 700;
    padding: 10px 12px;
}

.journal-guidelines-dropdown .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

@media (max-width: 991px) {
    .journal-subnav .nav {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 14px;
    }
}

.journal-content-shell {
    padding: 56px 0;
    background: #fff;
}

.journal-description {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text) !important;
}

.journal-description > h2:first-child {
    display: none;
}

.journal-section-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary-dark);
}

.journal-section-icon-success {
    background: #dcfce7;
    color: #15803d;
}

.journal-sidebar-cover {
    width: 100%;
    height: 430px;
    object-fit: contain;
    background: #f8fafc;
    padding: 12px;
    display: block;
}

.journal-description h3 {
    margin-top: 2rem;
    font-size: 1.45rem;
}

.journal-description ul {
    padding-left: 1.25rem;
}

@media (max-width: 767px) {
    .journal-directory-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .journals-directory-copy,
    .journal-hero-content {
        padding: 58px 0;
    }
}

/* ========================
   INNER PAGES + ACCOUNT
   ======================== */
.inner-hero {
    background:
        linear-gradient(120deg, rgba(6,17,31,0.98), rgba(9,70,87,0.9) 58%, rgba(13,148,136,0.78)),
        radial-gradient(circle at 82% 22%, rgba(245,158,11,0.24), transparent 28%);
    padding: 84px 0 78px;
    position: relative;
    overflow: hidden;
    color: white;
    border-bottom: 4px solid #f2bd2e;
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

.inner-hero::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: -140px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    pointer-events: none;
}

.inner-hero-image {
    background-size: cover;
    background-position: center;
}

.inner-hero .container {
    position: relative;
    z-index: 1;
}

.inner-eyebrow {
    display: inline-block;
    color: #f2bd2e;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.inner-hero h1 {
    color: white;
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    margin: 0;
    max-width: 980px;
}

.inner-hero p {
    max-width: 820px;
    margin: 14px 0 0;
    color: rgba(255,255,255,0.84);
    font-size: 1.12rem;
    line-height: 1.75;
}

.inner-page-shell {
    background:
        linear-gradient(180deg, #f8fafc 0, #fff 210px);
    padding: 66px 0 78px;
}

.inner-content-card {
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    padding: 42px;
    box-shadow: 0 20px 60px rgba(15,23,42,0.08);
}

.inner-side-panel {
    position: sticky;
    top: 120px;
    background: #fff;
    border: 1px solid #dbe5ef;
    border-top: 4px solid var(--primary);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 16px 42px rgba(15,23,42,0.07);
}

.inner-side-kicker {
    display: block;
    color: var(--primary-dark);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.inner-side-panel h2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #06111f;
    line-height: 1.25;
    margin: 0;
}

.inner-side-rule {
    width: 52px;
    height: 3px;
    background: #f2bd2e;
    margin: 18px 0;
}

.inner-side-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    padding: 12px 0;
    border-top: 1px solid #e2e8f0;
}

.inner-side-link i {
    color: var(--primary-dark);
}

.inner-side-link:hover {
    color: var(--primary-dark);
}

.user-content {
    color: #25364a;
    font-size: 1.04rem;
    line-height: 1.85;
}

.user-content .lead {
    color: #17324c;
    font-size: 1.18rem;
    line-height: 1.75;
    border-left: 4px solid var(--primary);
    background: #f0fdfa;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
}

.user-content h2,
.user-content h3,
.user-content h4 {
    color: #06111f;
    font-weight: 900;
    line-height: 1.25;
}

.policy-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.7rem;
    color: var(--navy);
}

.policy-content ul {
    display: grid;
    gap: 10px;
    padding-left: 0;
    list-style: none;
}

.policy-content li {
    position: relative;
    margin-bottom: 0;
    padding: 12px 14px 12px 40px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.policy-content li::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 19px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,148,136,0.12);
}

.policy-expansion {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #dbe5ef;
}

.policy-expansion h3 {
    color: #06111f;
    font-size: 1.28rem;
    font-weight: 900;
    margin-top: 1.5rem;
}

.info-panel {
    height: 100%;
    border-left: 4px solid var(--primary);
    background: #f8fafc;
    border-radius: 8px;
    padding: 22px;
}

.contact-page-title {
    color: #06111f;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 16px;
}

.contact-page-copy {
    color: #334155;
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 28px;
}

.contact-info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 8px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(15,23,42,0.06);
}

.contact-info-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 8px;
    background: #f0fdfa;
    color: var(--primary-dark);
    font-size: 1.25rem;
}

.contact-info-card h5 {
    color: #06111f;
    font-weight: 900;
    margin-bottom: 6px;
}

.contact-info-card p {
    color: #475569;
    margin: 0;
}

.contact-info-card a {
    color: #475569;
}

.contact-form-card h4 {
    color: #06111f;
    font-weight: 900;
}

.contact-form-card .form-control {
    border-color: #cbd8e6;
    border-radius: 8px;
    padding: 13px 14px;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,148,136,0.12);
}

.account-shell {
    background:
        linear-gradient(120deg, rgba(248,250,252,0.98), rgba(241,245,249,0.96)),
        radial-gradient(circle at 16% 24%, rgba(13,148,136,0.12), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(242,189,46,0.12), transparent 28%);
    padding: 68px 0;
}

.account-card {
    background: rgba(255,255,255,0.96);
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 40px;
    min-height: 100%;
    box-shadow: 0 18px 60px rgba(15,23,42,0.08);
}

.account-card-login {
    border-top: 4px solid var(--primary);
}

.account-card-register {
    border-top: 4px solid #f2bd2e;
}

.account-card h1 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.account-card p {
    color: #274260;
    font-size: 1.05rem;
}

.account-icon {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: #f0fdfa;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    margin-bottom: 24px;
}

.role-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 24px;
}

.role-pills label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #cbd8e6;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 800;
    color: #06111f;
    cursor: pointer;
    background: #f8fafc;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.role-pills label:has(input:checked) {
    border-color: var(--primary);
    background: #f0fdfa;
    color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(13,148,136,0.10);
}

.role-pills input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.account-label {
    display: block;
    font-weight: 900;
    color: #06111f;
    margin: 18px 0 9px;
}

.account-input {
    width: 100%;
    border: 1px solid #cbd8e6;
    border-radius: 8px;
    padding: 15px 16px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.account-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,148,136,0.12);
}

.account-submit {
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 900;
    padding: 16px 20px;
    margin-top: 28px;
    box-shadow: 0 12px 28px rgba(13,148,136,0.22);
}

.account-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), #0b5f58);
}

.account-link {
    display: inline-block;
    margin-top: 22px;
    color: var(--primary-dark);
    font-weight: 900;
    text-decoration: none;
}

.account-link:hover {
    color: #0b5f58;
}

.account-alert {
    max-width: 920px;
    margin: 0 auto 22px;
}

.submit-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
}

.submit-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,24,39,0.95) 0%, rgba(7,24,39,0.78) 48%, rgba(13,148,136,0.38) 100%),
        radial-gradient(circle at 82% 22%, rgba(245,158,11,0.26), transparent 32%);
}

.submit-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.34;
}

.submit-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 72px 0;
}

.submit-hero-content h1 {
    color: white;
    font-size: clamp(2.3rem, 4vw, 4.8rem);
    line-height: 1.05;
    margin: 0.6rem 0 1rem;
}

.submit-hero-content p {
    max-width: 720px;
    color: rgba(255,255,255,0.82);
    font-size: 1.08rem;
    line-height: 1.75;
}

.submit-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.submit-hero-pills span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.12);
    color: white;
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

/* ========================
   OVERRIDES
   ======================== */
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(13,148,136,0.3);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 700;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-dark {
    background: var(--dark);
    border-color: var(--dark);
    font-weight: 700;
}

.btn-dark:hover {
    background: #1f2937;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card {
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
    background: white;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05) !important;
}

.object-fit-cover { object-fit: cover; }
.card-img-top { object-fit: cover; height: 200px; }
.badge-future { background: var(--primary-light); color: var(--primary); }
.icon-box { flex-shrink: 0; }
.dropdown-header.text-primary { color: var(--primary) !important; }

/* Journal inner pages */
.journal-cover-wrapper {
    height: 200px;
    position: relative;
    background: var(--light);
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.journal-cover-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.journal-body { padding: 1.5rem; }

.section-title-sm {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.navbar-brand { color: var(--dark) !important; }

/* ========================
   RESPONSIVE
   ======================== */
@media (min-width: 992px) and (max-width: 1399px) {
    .site-logo {
        width: 220px;
        max-width: 28vw;
    }

    .navbar .nav-link {
        font-size: 0.84rem;
        padding: 0.42rem 0.62rem !important;
    }

    .nav-cta {
        font-size: 0.82rem;
        padding: 0.5rem 1rem;
    }

    .navbar-nav {
        gap: 0 !important;
    }
}

@media (max-width: 991px) {
    .hero-title { font-size: 2.5rem; }
    .hero-main { padding: 70px 0 60px; }
    .stats-grid { flex-wrap: wrap; }
    .stat-divider { display: none; }
    .stat-item { padding: 20px 30px; }
    .journal-wide-card { flex-direction: column; }
    .journal-wide-cover { width: 100%; min-height: 160px; }
    .cta-inner { padding: 30px; }
    .footer-panel { padding: 24px; }
    .inner-hero h1 { font-size: 2.3rem; }
    .inner-side-panel {
        position: static;
    }
    .inner-content-card {
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .section-heading { font-size: 1.8rem; }
    .about-img { height: 280px; }
    .account-card { padding: 28px; }
    .journal-scroll-shell { max-height: none; overflow: visible; padding-right: 0; }
    .inner-hero {
        padding: 60px 0 56px;
    }
    .inner-page-shell {
        padding: 42px 0 54px;
    }
    .inner-content-card {
        padding: 24px;
    }
    .user-content .lead {
        padding: 16px;
    }
    .policy-content li {
        padding-right: 12px;
    }
}
