body {
    font-size: 27px;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #222;
    margin: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html,
body {
    max-width: 100%;
    box-sizing: border-box;
    height: 100%;
}


section,
footer {
    font-size: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
}

header {
    margin-top: 0px;
    margin-bottom: 10px;
    background-color: #001f3f;
    color: white;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 5px 70px;
}

header p {
    text-align: center;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 2.625rem;
    color: #001f3f;
    margin-top: 2rem;
}

.timeline-entry,
.doc-entry {
    border-left: 4px solid #001f3f;
    padding-left: 1rem;
    margin: 1rem 0;
}

.section-evidence-line {
    border-left: 4px solid #001f3f;
    padding-left: 1rem;
    margin-top: 0.75rem;
}


embed.embeded-pdf,
iframe.embeded-pdf {
    width: 100%;
    height: 100vh;
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #001f3f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
}

footer {
    font-size: 1.5rem;
    color: #666;
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

p {
    line-height: 1.25;
    text-align: justify;
}

/* Uniform spacing for all content/image blocks across all sections */
section p,
section ul,
section ol {
    margin: 0.75rem 0;
}

section picture,
section img {
    display: block;
}

/* Force equal image spacing even when inline style exists in HTML */
section picture img {
    margin: 0.75rem auto !important;
}

/* Equal gap between any two consecutive content blocks */
section picture+picture,
section picture+p,
section picture+ul,
section picture+ol,
section p+picture,
section ul+picture,
section ol+picture {
    margin-top: 0.75rem !important;
}

* {
    box-sizing: inherit;
}


/* Hamburger Menu Styles */
#hamburger {
    display: block;
    cursor: pointer;
    font-size: 2.5rem;
    background-color: #001f3f;
    border: none;
    color: white;
    margin: 0;
    padding: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    position: fixed;
}

#nav-wrapper {
    background-color: #001f3f;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
}

#nav-background-extension {
    background-color: #001f3f;
    height: 3rem;
    width: 100%;
}

#dropdown-nav {
    display: none;
    text-align: center;
    background-color: #ffffff;
    padding: 1rem 0;
    margin: 0;
    position: fixed;
    z-index: 800;
    width: 100%;
}

#dropdown-nav a {
    display: block;
    margin: 1rem 0;
    color: #001f3f;
    font-size: 1.5rem;
    text-decoration: none;
    line-height: 1.5;
}


section h2 {
    margin-bottom: 0.25rem !important;
}

section h2+p {
    margin-top: 0.25rem !important;
}

ul>li {
    text-align: justify;
}

li>p {
    line-height: inherit;
}

.indented-text {
    padding: 0 30px;
    display: block;
}

#about {
    padding-top: 0;
    margin-top: -20px;
}

footer {
    margin-top: 10px;
}

footer p {
    margin: 5px 0;
    text-align: center;
    font-size: 0.7em;
}

footer a {
    color: inherit;
}

a:not(:hover) {
    text-decoration: none;
}

body#legal-disclaimer-page section {
    font-size: 20px;
    /* padding-top: 0; */
    padding-bottom: 5px;
}

body#legal-disclaimer-page h2 {
    font-size: 25px;
}

body#legal-disclaimer-page h1 {
    font-size: 30px;
}

body#legal-disclaimer-page footer {
    padding-top: 10px;
    margin-top: 10px !important;
}


/* Responsive Styles */
@media (max-width: 768px) {
    html {
        overflow: auto;
    }

    body {
        font-size: 20px;
        padding: 1rem;
    }

    header {
        padding: 2rem 1.3rem;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.3rem !important;
    }

    p,
    ul p,
    ul>li,
    ul>li p {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    section p,
    section ul,
    section ol {
        margin: 0.5rem 0;
    }

    section picture img {
        margin: 0.5rem auto !important;
    }

    .doc-entry>strong {
        font-size: inherit !important;
    }

    section,
    footer {
        padding: 2rem 1rem;
        font-size: 16px;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    #about {
        padding-bottom: 2rem;
    }

    .button {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .doc-entry object {
        min-height: 60vh !important;
    }

    #hamburger {
        padding: 2px;
    }

    ul {
        margin: 0.5rem 0;
    }

    .header-image-wrapper {
        margin-bottom: -50px;
    }

    header h1 {
        margin-bottom: 0;
    }

    header p {
        margin-bottom: 0;
    }

    #documents {
        margin-top: -3rem !important;
    }

    footer {
        font-size: 20px !important;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    #about {
        margin-bottom: 20px;
    }

    embed.embeded-pdf,
    iframe.embeded-pdf {
        width: 100%;
        height: 100vh;
        display: block;
        /* add this */
    }
}

/* PDF.js Viewer Styles */
.pdfjs-viewer {
    width: 100%;
    border: 1px solid #ddd;
    margin: 1rem 0;
}

.pdfjs-toolbar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.pdfjs-toolbar button {
    padding: 0.25rem 0.5rem;
    background: #001f3f;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.82rem;
    min-width: 88px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.pdfjs-toolbar button:hover {
    background: #003366;
}

.pdfjs-toolbar span {
    font-size: 0.9rem;
    color: #333;
}

.pdfjs-canvas-wrap {
    width: 100%;
    min-height: 600px;
    overflow-x: auto;
    background: #525659;
    padding: 12px;
    box-sizing: border-box;
}

.pdfjs-canvas {
    display: block;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .pdfjs-canvas-wrap {
        min-height: unset; 
    }
}

.cameron-pairs-wrapper,
.header-image-wrapper.image-pair {
    max-width: 1200px !important;
    margin: 1rem auto !important;
    padding: 0 20px !important;
    box-sizing: border-box;
    width: 100% !important;
}

.image-pair {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 25px !important;
    width: 100% !important;
}

.image-pair img {
    flex: 1 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15) !important;
    object-fit: cover !important;
}

@media (max-width: 768px) {
    .cameron-pairs-wrapper,
    .header-image-wrapper.image-pair {
        padding: 0 10px !important;
    }
    .image-pair {
        flex-direction: column !important;
        gap: 15px !important;
    }
}