/* ===================
   JVIN Complete Stylesheet 
   Ver 1.0: 2026-03-05
   Copyright 2026 Manus AI
   
   Journal of Vascular and Interventional Neurology (JVIN)
   Comprehensive stylesheet with complete styling specifications

   Color Palette:
   - Primary Purple: #8B3A62
   - Dark Purple: #6B2C4E
   - Light Grey: #f8f9fa
   - Accent Red: #C41E3A (for highlights)
   - Text Grey: #333333
   - Border Grey: #dddddd
   
   Typography:
   - Headings: "News Cycle", "Arial Narrow Bold", sans-serif
   - Body: Georgia, "Times New Roman", Times, serif
   =================== */

/* ========== 1. RESET & BASE STYLES ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
}

/* ========== 2. TYPOGRAPHY ========== */

h1, h2, h3, h4, h5, h6 {
    font-family: "News Cycle", "Arial Narrow Bold", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #333333;
}

h1 {
    font-size: 3.5rem;
    color: #8B3A62;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2.2rem;
    color: #8B3A62;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #8B3A62;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    color: #6B2C4E;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
}

h4 {
    font-size: 1.2rem;
    color: #333333;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1rem;
    color: #555555;
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
}

h6 {
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.6rem;
    margin-bottom: 0.3rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========== 3. LINKS & ANCHORS ========== */

a {
    color: #8B3A62;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

a:hover {
    color: #6B2C4E;
    text-decoration: underline;
}

a:visited {
    color: #8B3A62;
}

a:active {
    color: #C41E3A;
}

/* ========== 4. MAIN CONTAINER ========== */

#container {
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

#body {
    display: flex;
    width: 100%;
}

#main {
    flex: 1;
    padding: 20px;
    background: #ffffff;
}

/* ========== 5. HEADER ========== */

#header {
    background: linear-gradient(135deg, #8B3A62 0%, #6B2C4E 100%);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#header h1 {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: none;
    margin-bottom: 10px;
}

#header h5 {
    color: #f0f0f0;
    font-size: 1rem;
    font-weight: 400;
}

#header p {
    color: #f0f0f0;
    font-size: 0.95rem;
    margin-top: 10px;
}

/* ========== 6. NAVBAR ========== */

#navbar {
    background-color: #6B2C4E;
    padding: 0;
    margin: 0;
}

#navbar ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

#navbar li {
    margin: 0;
    padding: 0;
}

#navbar a {
    display: block;
    color: #ffffff;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    border-right: 1px solid #5a1f3a;
}

#navbar a:hover {
    background-color: #8B3A62;
    color: #ffffff;
    text-decoration: none;
}

#navbar a:last-child {
    border-right: none;
}

/* ========== 7. SIDEBAR ========== */

#leftSidebar, #rightSidebar {
    width: 220px;
    padding: 20px 10px;
}

#leftSidebar {
    background: #f8f9fa;
    border-right: 1px solid #dddddd;
}

#rightSidebar {
    background: #f8f9fa;
    border-left: 1px solid #dddddd;
}

.block {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.block span.blockTitle {
    display: block;
    background-color: #8B3A62;
    color: #ffffff;
    padding: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: none;
}

.block p, .block span {
    padding: 12px;
    color: #333333;
}

ul.sidemenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.sidemenu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

ul.sidemenu li:last-child {
    border-bottom: none;
}

ul.sidemenu li a {
    display: block;
    background-color: #ffffff;
    color: #333333;
    padding: 10px 12px;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

ul.sidemenu li a:hover {
    background-color: #f0f0f0;
    color: #8B3A62;
    padding-left: 16px;
}

/* ========== 8. CONTENT AREA ========== */

#content {
    padding: 20px;
}

#content h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    color: #8B3A62;
    border-bottom: 2px solid #8B3A62;
    padding-bottom: 10px;
}

#journalDescription {
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #8B3A62;
    margin-bottom: 20px;
    line-height: 1.8;
}

#journalDescription p:first-child:first-letter {
    float: left;
    color: #8B3A62;
    font-size: 3.5rem;
    line-height: 2.5rem;
    padding: 5px 10px 0 0;
    font-weight: 700;
}

/* ========== 9. ANNOUNCEMENTS ========== */

#announcementsHome {
    margin: 20px 0;
}

#announcementsHome h3 {
    color: #8B3A62;
    margin-bottom: 15px;
}

table.announcements {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table.announcements thead {
    background-color: #8B3A62;
    color: #ffffff;
}

table.announcements thead th {
    padding: 12px;
    text-align: left;
    font-weight: 700;
}

table.announcements tbody tr {
    border-bottom: 1px solid #dddddd;
}

table.announcements tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

table.announcements tbody tr:hover {
    background-color: #f0f0f0;
}

table.announcements td {
    padding: 12px;
    color: #333333;
}

table.announcements td h4 {
    color: #8B3A62;
    margin-bottom: 5px;
}

table.announcements td p {
    margin: 0;
    font-size: 0.95rem;
}

table.announcements td.posted {
    color: #666666;
    font-size: 0.85rem;
}

/* ========== 10. ARTICLES & TOC ========== */

.tocArticle {
    border-bottom: 1px solid #dddddd;
    padding: 15px 0;
}

.tocArticle:last-child {
    border-bottom: none;
}

.tocTitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.tocTitle a {
    color: #8B3A62;
    font-weight: 600;
}

.tocTitle a:hover {
    color: #6B2C4E;
    text-decoration: underline;
}

.tocAuthors {
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
    margin-bottom: 5px;
}

.tocPages {
    font-size: 0.85rem;
    color: #999999;
}

/* ========== 11. FORMS ========== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #8B3A62;
    box-shadow: 0 0 0 3px rgba(139, 58, 98, 0.1);
}

button, input[type="button"], input[type="submit"] {
    background-color: #8B3A62;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.15s ease-in-out;
}

button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #6B2C4E;
}

/* ========== 12. FOOTER ========== */

#pageFooter {
    background-color: #f8f9fa;
    border-top: 2px solid #8B3A62;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

#pageFooter h3 {
    color: #8B3A62;
    margin-bottom: 15px;
}

#pageFooter p {
    margin-bottom: 10px;
    color: #666666;
    font-size: 0.9rem;
}

#pageFooter a {
    color: #8B3A62;
}

#pageFooter a:hover {
    color: #6B2C4E;
}

#pageFooter img {
    max-width: 100px;
    margin: 10px 5px;
    transition: all 0.15s ease-in-out;
}

#pageFooter img:hover {
    opacity: 0.8;
}

/* ========== 13. RESPONSIVE DESIGN ========== */

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    #header h1 {
        font-size: 2rem;
        padding: 20px 10px;
    }

    #navbar {
        margin: 0;
    }

    #navbar ul {
        flex-direction: column;
    }

    #navbar a {
        border-right: none;
        border-bottom: 1px solid #5a1f3a;
    }

    #body {
        flex-direction: column;
    }

    #leftSidebar, #rightSidebar {
        width: 100%;
        border: none;
        padding: 10px;
        margin-bottom: 20px;
    }

    #main {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    table.announcements {
        font-size: 0.85rem;
    }

    table.announcements td {
        padding: 8px;
    }
}

/* Tablet (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    #header h1 {
        font-size: 2.5rem;
        padding: 30px 15px;
    }

    #body {
        flex-direction: column;
    }

    #leftSidebar, #rightSidebar {
        width: 100%;
        border: none;
        padding: 15px;
        margin-bottom: 20px;
    }

    #main {
        padding: 20px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }
}

/* Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    #leftSidebar {
        width: 200px;
    }

    #rightSidebar {
        width: 200px;
    }

    #main {
        flex: 1;
        padding: 25px;
    }
}

/* Large Desktop (1025px and above) */
@media (min-width: 1025px) {
    #container {
        max-width: 1200px;
    }

    #leftSidebar {
        width: 220px;
    }

    #rightSidebar {
        width: 220px;
    }

    #main {
        flex: 1;
        padding: 30px;
    }
}

/* ========== 14. UTILITY CLASSES ========== */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

.text-muted {
    color: #999999;
}

.text-primary {
    color: #8B3A62;
}

.text-secondary {
    color: #6B2C4E;
}

.bg-light {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

.border-top {
    border-top: 2px solid #8B3A62;
}

.border-bottom {
    border-bottom: 2px solid #8B3A62;
}

.margin-top {
    margin-top: 20px;
}

.margin-bottom {
    margin-bottom: 20px;
}

.padding {
    padding: 20px;
}

/* ========== 15. PRINT STYLES ========== */

@media print {
    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    #navbar, #leftSidebar, #rightSidebar, #pageFooter {
        display: none;
    }

    #main {
        width: 100%;
        padding: 0;
    }
}

/* ========== END OF STYLESHEET ========== */

/* JVIN public appearance: local fonts and complete journal footer. */
body { font-family: Arial, Helvetica, sans-serif !important; font-size: 16px; line-height: 1.6; }
body *:not(.fa):not(.fas):not(.far):not(.fab):not(.glyphicon):not(.material-icons):not(code):not(pre):not(kbd):not(samp) {
  font-family: Arial, Helvetica, sans-serif !important;
}
pre, code, kbd, samp, pre *, code * { font-family: ui-monospace, Consolas, monospace !important; }
input, select, textarea, .form-control { font-size: 16px; }
.navbar-nav > li > a { font-size: 16px; }
.footer .col-md-10 { width: 100%; }
.footer .col-md-2[role="complementary"] { display: none; }
.jvin-footer { background: linear-gradient(180deg, #374151, #1f2937); color: #e5e7eb; border-top: 4px solid #0891b2; }
.jvin-footer__inner { max-width: 1120px; margin: 0 auto; padding: 30px 26px; }
.jvin-footer__logos { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.jvin-footer__logos img { display: block; height: 68px; width: auto; max-width: 200px; object-fit: contain; background: #fff; padding: 6px; border-radius: 6px; }
.jvin-footer__title { margin: 0 0 6px; font-size: 19px; line-height: 1.4; font-weight: 700; color: #fff; }
.jvin-footer__partner { margin: 0 0 12px; color: #67e8f9; font-size: 14px; font-weight: 600; }
.jvin-footer__description { margin: 0; font-size: 14px; line-height: 1.7; color: #e5e7eb; max-width: 900px; }
.jvin-footer__issn { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.jvin-footer__issn span { padding: 4px 11px; border: 1px solid #478fa2; border-radius: 20px; color: #a5f3fc; font-size: 13px; }
.customblock-podcast-journal iframe { display: block; max-width: 100%; }
@media (max-width: 600px) {
 .jvin-footer__inner { padding: 24px 18px; }
 .jvin-footer__logos { gap: 12px; }
 .jvin-footer__logos img { height: 54px; max-width: 150px; }
}

/* Keep the journal's existing navigation glyphs local and intact. */
@font-face {
 font-family: 'Glyphicons Halflings';
 src: url('/plugins/themes/bootstrap3/bootstrap/fonts/glyphicons-halflings-regular.woff2') format('woff2'),
      url('/plugins/themes/bootstrap3/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff');
 font-style: normal; font-weight: normal; font-display: block;
}
.jvin-footer__title { border: 0; padding-bottom: 0; }

/* Keep Bootstrap footer containers inside the padded footer at every breakpoint. */
.footer > .container { max-width: 100%; }
