/* ACADEMIC - masthead with institution title, ruled navigation bar, parchment tones. */
.template-academic { font-family: var(--font-body); color: var(--text); background: var(--surface); --radius: 4px; --radius-sm: 2px; --radius-lg: 6px; }
.template-academic h1, .template-academic h2, .template-academic h3 { font-family: var(--font-heading); font-weight: 600; }

.site-header--academic { background: var(--surface); backdrop-filter: none; border-bottom: 3px double var(--primary); position: static; }
.academic-masthead { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 14px; }
.academic-masthead__title { flex: 1; }
.academic-masthead__name { margin: 0; font-family: var(--font-heading); font-size: 1.35rem; color: var(--primary); }
.academic-masthead__sub { margin: 2px 0 0; font-size: 12.5px; color: var(--text-secondary); letter-spacing: .02em; }
.academic-masthead__contact { font-style: normal; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.academic-masthead__contact a:not(.btn) { color: var(--primary); }
.academic-nav { background: var(--primary); padding: 0; }
.nav-links--academic { gap: 0; }
.nav-links--academic > li > a:not(.btn) { color: var(--on-primary); opacity: .9; border-radius: 0; padding: 12px 18px; font-family: var(--font-heading); font-size: 15px; }
.nav-links--academic > li > a:not(.btn):hover { background: rgba(255,255,255,.1); color: var(--on-primary); opacity: 1; }
.site-header--academic .dropdown-menu { background: var(--primary); border-color: rgba(255,255,255,.15); }
.site-header--academic .dropdown-menu a { color: var(--on-primary); }
.site-header--academic .mobile-toggle span { background: var(--on-primary); }
/* Mobile: the shared .nav-links.open panel is white; keep it on the primary colour so the white links stay visible. */
@media (max-width: 768px) {
    .site-header--academic .nav-links.open { background: var(--primary); border-bottom: 1px solid rgba(255,255,255,.15); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
    .site-header--academic .nav-links.open > li > a:not(.btn) { opacity: 1; }
    .site-header--academic .nav-links.open .dropdown-menu a { color: var(--on-primary); }
}

.template-academic .announcement-bar { background: var(--surface); color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.template-academic .hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.template-academic .hero h1 span { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.template-academic .btn { border-radius: var(--radius); letter-spacing: .02em; }
.template-academic .catalog-card, .template-academic .pricing-card, .template-academic .testimonial-card { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: none; }
.template-academic .pricing-card.featured { border-color: var(--primary); border-width: 2px; }
.template-academic .section-alt { background: #fff; }
.template-academic .section-light { background: var(--surface); }
.template-academic .section-header .eyebrow { font-family: var(--font-heading); color: var(--primary); letter-spacing: .14em; }
.template-academic table { border: 1px solid var(--border-strong); }

.site-footer--academic { background: #fff; color: var(--text-secondary); border-top: 3px double var(--primary); padding: 48px 0 24px; }
.academic-colophon { text-align: center; margin-bottom: 40px; }
.academic-colophon__title { margin: 0; font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); }
.academic-colophon__sub { margin: 6px 0 0; font-size: 13px; }
.footer-grid--academic { grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; margin-bottom: 20px; }
.site-footer--academic h3 { color: var(--primary); }
.site-footer--academic p, .site-footer--academic ul a { color: var(--text-secondary); }
.footer-bottom--academic { border: 0; color: var(--text-tertiary); justify-content: center; }
.footer-bottom--academic a { color: var(--primary); }
