/* STYLES FOR AUTHOR'S GUIDELINES PAGE (indexing-style.css)
  ======================================================
  - Contains all custom styles from your file.
  - Contains styles for the hero header and breadcrumbs.
*/

/* Hero Header (from inline style and dynamic CSS) */
.sabbi-page-header {
    background-image: url(https://notablesystems.com/hs-fs/hubfs/Blog%20Images/What%20is%20Document%20Indexing%20and%20How%20Can%20It%20Help%20My%20Team%3F%20Blog%20Image.jpeg?width=960&length=960&name=What%20is%20Document%20Indexing%20and%20How%20Can%20It%20Help%20My%20Team%3F%20Blog%20Image.jpeg);
    background-color: #333; /* Fallback */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    text-align: center;
}

.sabbi-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.sabbi-page-header .page-title {
    color: #ffffff;
    font-family: Montserrat, sans-serif;
    line-height: 40px;
    font-weight: 700;
    font-size: 28px;
    margin: 0;
}

/* Breadcrumbs (from dynamic CSS) */
.auth-breadcrumb-wrap {
    background-color: #EDF2F6;
    font-family: "Open Sans", sans-serif;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.breadcrumb {
    padding-top: 8px;
    padding-right: 15px;
    padding-bottom: 8px;
    padding-left: 15px;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}
.sabbi-breadcrumb {
    color: #000000;
}
.sabbi-breadcrumb li {
    display: inline-block;
}
.sabbi-breadcrumb li a {
    color: #000000;
    text-decoration: none;
}
.sabbi-breadcrumb li a:hover {
    color: #DB3243;
}
.sabbi-breadcrumb > li > span.separator {
    color: #000;
    margin: 0 8px;
}

/* Page Content Styles (from your <style> block) */
:root {
    --primary: #DB3243;
    --primary-dark: #b82736;
    --secondary: #2d3436;
    --accent: #f8d7da;
    --text-dark: #2d3436;
    --text-light: #666666;
    --background: #ffffff;
    --border: #e9ecef;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.8;
    background-color: #f8f9fa;
    color: var(--text-dark);
    /* NEW: This pushes all content down to prevent overlap
      with a sticky/fixed header. Adjust 80px if your header
      has a different height.
    */
    padding-top: 80px; 
}

main {
    /* REMOVED: padding-top: 2rem; (now handled by body padding) */
}

/* Container and Layout */
.container0001 {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: var(--background);
    box-shadow: var(--shadow-lg);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.container0001::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
}

/* Typography */
.container0001 h1 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
    letter-spacing: 0.5px;
    font-family: Montserrat, sans-serif;
}

.container0001 h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Guidelines Section */
.guidelines0001 {
    padding: 2rem;
    background: linear-gradient(145deg, var(--background), #f8f9fa);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.guidelines0001 > p {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--background);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Paper Format Section */
.paper-format0001 {
    padding: 2.5rem;
    background-color: var(--background);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin-top: 3rem;
    position: relative;
}

.paper-title0001 {
    font-size: 1.75rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: Montserrat, sans-serif;
}
.paper-title0001 span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.authors0001 {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.authors0001 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.affiliation0001 {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.affiliation0001 span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
}

.paper-format0001 h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin: 2rem 0 1rem;
    font-weight: 700;
}
.paper-format0001 h3 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.paper-format0001 p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.paper-format0001 p span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}


/* Sections */
.sections0001 h3 {
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(to right, var(--accent), transparent);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.sections0001 h3 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.sections0001 p {
    padding: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.sections0001 p span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

/* References Section */
.references0001 {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.references0001 h4 {
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    font-size: 1.1rem;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
}
.references0001 .example-header0001 {
    font-weight: 700;
    font-style: italic;
    color: var(--text-dark);
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 0;
}

.references0001 p {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--background);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.references0001 p span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Keywords */
.keywords0001 {
    padding: 1.5rem;
    background-color: var(--accent);
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.keywords0001 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}


/* Animations (REMOVED) */
/*
@keyframes fadeInUp0001 { ... }
.fade-in0001 { ... }
*/

/* Scroll Progress (REMOVED) */
/* .scroll-progress0001 { ... } */

/* Responsive Design */
@media (max-width: 1024px) {
    .container0001 {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container0001 {
        /* UPDATED: Removed margin, radius, and shadow for full-width feel */
        padding: 2rem 1rem; /* More top/bottom, less side */
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .guidelines0001,
    .paper-format0001,
    .references0001 {
        padding: 1.5rem;
    }

    .sections0001 h3 {
        font-size: 1.1rem;
    }
    
    .sabbi-page-header {
        padding: 60px 0;
    }
    .sabbi-page-header .page-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container0001 {
        /* UPDATED: Less side padding for mobile */
        padding: 1.5rem 0.75rem;
    }

    .guidelines0001 > p {
        padding: 0.75rem 1rem;
    }

    .paper-format0001,
    .references0001 {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    body {
        font-family: 'Times New Roman', Times, serif;
        color: #000;
        background-color: #fff;
        padding-top: 0; /* Remove padding for print */
    }
    .sabbi-page-header, .auth-breadcrumb-wrap, .scroll-progress0001 {
        display: none;
    }
    .container0001 {
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .guidelines0001,
    .paper-format0001,
    .references0001 {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}