﻿
:root {
    --bg: #EAEAEA;
    --text-color: #000000;
    --link-color: #AD2323;
    --link-hover: #d92e26;
    --border-light: #ccc;
    --font-base: Verdana, Arial, Helvetica, sans-serif;
}

body {
    background-color: var(--bg);
    margin: 0;
    font-family: var(--font-base);
    color: var(--text-color);
}

.header-bg {
    height: 148px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 40px;
    z-index: 1;
}

.header-logo {
    height: 128px;
    margin-right: 24px;
    margin-top: 10px;
}

.header-title {
    font-size: 2rem;
    color: #000;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
}
/* Links – keep the original colour scheme (refactored) */
a, a:visited {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
    text-decoration: none;
}

/* Layout table – kept for minimal changes to original markup */
.layout-table {
    width: 800px;
    margin: 0 auto; /* centre the whole page */
    border-collapse: separate;
    border-spacing: 8px;
    background-color: var(--bg);
}

.divider {
    background-color: #000;
    width: 1px;
}

.main-content {
    width: 640px;
    vertical-align: top;
}

/* Images that float left in the bios */
.bio-img {
    float: left;
    margin: 0 4px 4px 0;
    width: 98px;
    height: auto;
}

/* Footer – full‑width black line + centred block */
.footer {
    width: 100%;
    padding: 20px 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.footer-logo img {
    display: block;
    width: 75px;
    height: 75px;
    margin: 0 auto;
}

.footer-info {
    text-align: left;
    flex: 1;
}

/* Simple horizontal rule used throughout the page */
hr {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 1.5em 0;
}


/* -------------------------------------------------
   General layout for the sidebar
   ------------------------------------------------- */
.sidebar {
    width: 150px; /* same width as original */
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8rem; /* roughly SIZE=-2 */
    color: #000;
    text-align: left; /* ensure consistent left alignment even inside centered containers */
}

/* -------------------------------------------------
   Logo
   ------------------------------------------------- */
.logo-link {
    display: block;
    margin-bottom: 0.5rem;
}

.logo-img {
    width: 128px;
    height: 128px;
    display: block;
}

/* -------------------------------------------------
   Navigation lists
   ------------------------------------------------- */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

    .nav-list li {
        margin-bottom: 0.4rem; /* space between links */
    }

    .nav-list a {
        color: #AD2323; /* original link colour */
        text-decoration: none;
    }

        .nav-list a:hover {
            color: #d92e26;
        }

    /* Separate primary from secondary groups visually */
    .nav-list.secondary {
        margin-top: 0.8rem;
    }

/* -------------------------------------------------
   Section titles (Feature Pages, Memberships, …)
   ------------------------------------------------- */
.section-title {
    margin: 1rem 0 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}
.sub-section-title {
    margin: 1.5rem 0 0.8rem;
    font-weight: bold;
    color: #AD2323; /* same colour as your links */
}

/* -------------------------------------------------
   Horizontal rule that replaces the old blackspot.gif
   ------------------------------------------------- */
.separator {
    border: none;
    border-top: 1px solid #000;
    margin: 1rem 0;
}

/* -------------------------------------------------
   Membership block
   ------------------------------------------------- */
.memberships {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-logo {
    width: auto;
    height: auto;
    max-width: 110px; /* keep the original max width */
}

.member figcaption {
    font-size: 0.75rem;
    line-height: 1;
}

/* Optional: tighten the logo sizes to match the originals */
.member-logo.avixa {
    width: 90px;
    height: 40px;
}

.member-logo.aes {
    width: 50px;
    height: 58px;
}

.member-logo.ease {
    width: 110px;
    height: 68px;
}

.member-logo.synaudcon {
    width: 110px;
    height: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* -------------------------------------------------
   Container for the whole “About” block
   ------------------------------------------------- */
.about-company {
    max-width: 720px; /* limits line length for readability */
    margin: 2rem auto; /* centre on the page with vertical breathing room */
    padding: 0 1rem; /* small horizontal padding on narrow screens */
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.6; /* comfortable reading line‑spacing */
    color: #222; /* dark‑gray for less harsh contrast than pure black */
}

/* -------------------------------------------------
   Heading
   ------------------------------------------------- */
.about-title {
    margin-bottom: 1rem;
    font-size: 1.5rem; /* slightly larger than body text */
    font-weight: 600;
    color: #AD2323; /* same red hue you used for links */
}

/* -------------------------------------------------
   Paragraphs
   ------------------------------------------------- */
.about-text {
    margin-bottom: 1rem; /* space that used to be two <br> tags */
    font-size: 0.95rem; /* close to the old SIZE=-2 feel */
}

/* -------------------------------------------------
   Optional: improve legibility on very small screens
   ------------------------------------------------- */
@media (max-width: 480px) {
    .about-company {
        padding: 0 0.5rem;
    }

    .about-title {
        font-size: 1.1rem;
    }

    .about-text {
        font-size: 0.9rem;
    }
    
    .highlight-list a br {
        display: block; /* show it on very narrow viewports */
        margin: 0.2rem 0;
    }
}

/* -------------------------------------------------
   Container for the whole block
   ------------------------------------------------- */
.site-highlights {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.85rem; /* close to the old SIZE=-2 */
    color: #000;
    max-width: 800px; /* optional – keep it tidy */
    margin: 0 auto; /* centre on the page */
}




/* Moved from index.html inline styles */
.page-wrap { text-align: center; }
table.page-table { margin: 0 auto; }
.hero { text-align: center; }
#slide { border: 0; }
