/* 
=========================================================
   Modern Professional Theme for Indico 
   V6 - Maroon/Warm Theme (Matches Banner) + Flow Fix
=========================================================
*/

:root {
    /* Header / Main Title Area - Pulling from Banner colors */
    --conf-theme-header-bg: #ffffff;
    --conf-theme-header-border-bottom: transparent;
    --conf-theme-header-text: #7f1d1d;
    /* Deep Maroon/Red to match Hot QCD */

    /* Subtitle area */
    --conf-theme-subtitle-bg: #ffffff;
    --conf-theme-subtitle-border: #e5e5e5;
    /* Warmer, softer border */
    --conf-theme-subtitle-text: #52525b;
    /* Warm dark gray */

    /* Sidebar Menu colors */
    --conf-theme-menu-bg: #ffffff;
    --conf-theme-menu-border: #e5e5e5;
    --conf-theme-menu-link: #52525b;
    --conf-theme-menu-selected: #7f1d1d;
    --conf-theme-menu-selected-bg: #fef2f2;
    /* Very faint red tint */
    --conf-theme-menu-selected-border: #b91c1c;
    /* Bold red indicator */
    --conf-theme-hover-bg: #fafafa;
    --conf-theme-hover-color: #7f1d1d;

    /* Support / Contact box */
    --conf-theme-support-bg: #fafafa;
    --conf-theme-support-border: #e5e5e5;
    --conf-theme-support-header-bg: #7f1d1d;
    --conf-theme-support-header-text: #ffffff;
    --conf-theme-support-text: #3f3f46;
}

/* ---------------------------------------------------
   Layout & Typography
--------------------------------------------------- */

body {
    background-color: #f5f5f4 !important;
    /* Warmer off-white/stone background */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 1. Header & Title Integration */
.confTitleBox {
    border-radius: 8px 8px 0 0 !important;
    border: 1px solid var(--conf-theme-subtitle-border) !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
}

/* Fix for the "Two Lines" - Connects the header to the body */
.confSubTitleBox {
    border-radius: 0 !important;
    /* Flatten bottom corners */
    border-left: 1px solid var(--conf-theme-subtitle-border) !important;
    border-right: 1px solid var(--conf-theme-subtitle-border) !important;
    border-top: none !important;
    border-bottom: none !important;
    /* Remove bottom border */
    margin-bottom: 0 !important;
    /* Remove the gap completely */
    box-shadow: none !important;
}

/* 2. Main Content & Sidebar - Connects to the header above */
.conf_leftMenu {
    border-top: none !important;
    /* Removes the second line */
    border-radius: 0 0 0 8px !important;
}

.confBodyBox {
    background: #ffffff;
    border-radius: 0 0 8px 0 !important;
    /* Round bottom right only */
    border: 1px solid var(--conf-theme-subtitle-border);
    border-top: 1px solid #f0f0f0;
    /* Very faint separator instead of harsh line */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 35px;
}

.description {
    color: #3f3f46;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Custom Maroon Bullets for Content */
.description ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.description ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.description ul li::before {
    content: "•";
    color: #b91c1c;
    /* Maroon bullets */
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* 3. Bottom Info Grid (Restored Default Layout) */
.infogrid {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--conf-theme-subtitle-border);
}

.infogrid h2 {
    color: var(--conf-theme-header-text);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.infoline h3.icon,
.infoline h3.icon::before {
    color: var(--conf-theme-menu-selected-border);
}

.infoline a {
    color: #b91c1c;
    text-decoration: none;
    font-weight: 500;
}

.infoline a:hover {
    text-decoration: underline;
    color: var(--conf-theme-header-text);
}