body {
    font-family: 'Courier Prime', monospace;
    line-height: 1.6;
    color: #000;
    background: #6B6054;
    margin: 0;
}

#myparent {
    display: grid;
    grid-template-areas: "header header header" "menu main right" "footer footer footer";
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    gap: 15px;
    padding: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

header, footer, aside.sidebar-left, aside.sidebar-right, article, form {
    border: 2px solid #929487;
    border-radius: 8px;
    padding: 1.5rem;
    box-sizing: border-box; /* Ensure padding/borders are included in height */
}

header {
    grid-area: header;
    background: #6B6054;
    color: #fff;
    text-align: center;
}

header h1 {
    margin: 0 0 1rem;
    font-size: 2rem;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Black outline for white h1 text */
}

.logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

nav { position: relative; }

.dropdown-menu {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.dropdown { position: relative; }

.menu-toggle { display: none; }

.dropdown-toggle {
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #929487;
    border-radius: 5px;
    background: #929487;
    margin: 0.5rem;
    cursor: pointer;
    display: block;
    text-shadow: none; /* Ensure no black outline */
}

.dropdown-toggle:hover {
    background: #A1B0AB;
    color: #6B6054;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #C3DAC3;
    min-width: 200px;
    border: 1px solid #929487;
    border-radius: 5px;
    z-index: 1000;
    top: 100%;
    left: 0;
    padding: 0;
}

.dropdown:hover .dropdown-content,
.menu-toggle:checked + .dropdown-toggle + .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    border-bottom: 1px solid #929487;
    text-shadow: none; /* Ensure no black outline */
}

.dropdown-content a:hover {
    background: #A1B0AB;
    color: #6B6054;
}

aside.sidebar-left {
    grid-area: menu;
    background: #C3DAC3;
    min-height: 100%; /* Stretch to full grid cell height */
}

aside.sidebar-right {
    grid-area: right;
    background: #C3DAC3;
    min-height: 100%; /* Stretch to full grid cell height */
}

article {
    grid-area: main;
    background: #fff;
    text-align: center;
    overflow-x: auto;
}

article h2, article h3 { color: #6B6054; }

.video-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    padding-bottom: 45%;
    height: 0;
    overflow: hidden;
    margin: 1rem auto;
    text-align: center;
}

.video-container.sidebar-video {
    max-width: 250px;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

img, picture, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

form { background: #D5ECD4; margin: 1rem 0; }

fieldset {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #929487;
    background: #fff;
    border-radius: 5px;
}

legend {
    font-weight: bold;
    color: #6B6054;
    padding: 0 0.5rem;
    background: #D5ECD4;
    border: 1px solid #929487;
    border-radius: 3px;
}

label {
    display: block;
    margin: 0.5rem 0 0.2rem;
    color: #6B6054;
}

input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 0.5rem;
    margin: 0.2rem 0;
    border: 1px solid #929487;
    background: #F4F4F4;
    border-radius: 5px;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0.5rem 0.5rem 0.5rem 0;
}

input[type="radio"] + label, input[type="checkbox"] + label {
    display: inline-block;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

textarea { resize: vertical; min-height: 100px; }

input[type="submit"], input[type="reset"] {
    width: 100px;
    padding: 0.5rem;
    margin: 0.5rem 0.5rem 0 0;
    border: none;
    background: #6B6054;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover, input[type="reset"]:hover {
    background: #929487;
}

footer {
    grid-area: footer;
    background: #6B6054;
    color: #fff;
    text-align: center;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Black outline for white text */
}

footer a { color: #D5ECD4; text-decoration: none; }

footer a:hover { color: #fff; }

table { border-collapse: collapse; border-spacing: 0; empty-cells: show; }

caption {
    font-weight: bold;
    color: #6B6054;
    padding: 0.5rem;
    text-align: left;
    caption-side: top;
}

th, td { border: 1px solid #929487; padding: 0.75rem; text-align: left; }

th {
    background: #7A8276;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Black outline for white text */
}

tbody tr:nth-child(even) { background: #F5F5F5; }

tbody tr:hover { background: #D5ECD4; }

tfoot { font-style: italic; color: #6B6054; }

aside.sidebar-left table, aside.sidebar-right table {
    width: 100%;
    margin: 1rem 0;
    font-size: 0.9rem;
}

aside.sidebar-left th, aside.sidebar-left td, aside.sidebar-right th, aside.sidebar-right td {
    padding: 0.5rem;
}

article table {
    width: 100%;
    max-width: 800px;
    margin: 1rem auto;
}

figure { margin: 1rem 0; text-align: center; }

figcaption {
    font-style: italic;
    color: #6B6054;
    font-size: 0.9rem;
    text-align: center;
}

section#conspiracy-specific-influence-chart {
    max-width: 600px;
    margin: 1rem auto;
    padding: 0.5rem;
}

section#conspiracy-specific-influence-chart h2 {
    font-family: 'Courier Prime', monospace;
    color: #6B6054;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

section#conspiracy-specific-influence-chart p {
    font-family: 'Courier Prime', monospace;
    color: #000;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

section#conspiracy-specific-influence-chart table {
    width: 100%;
    min-width: 500px;
    background: #333;
    font-family: 'Courier Prime', monospace;
    font-size: 12px;
    color: #fff;
}

section#conspiracy-specific-influence-chart th {
    background: #6B6054;
    padding: 0.5rem;
    border: 1px solid #929487;
    color: #fff;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; /* Black outline for white text */
}

section#conspiracy-specific-influence-chart td {
    padding: 0.5rem;
    border: 1px solid #929487;
}

section#conspiracy-specific-influence-chart tr:nth-child(odd) {
    background: #C3DAC3;
    color: #333;
}

section#conspiracy-specific-influence-chart tr:nth-child(even) {
    background: #fff;
    color: #333;
}

section#conspiracy-specific-influence-chart a {
    color: #00008B;
    text-decoration: none;
}

section#conspiracy-specific-influence-chart a:hover {
    color: #0000CD;
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    #myparent {
        grid-template-areas: "header" "menu" "main" "right" "footer";
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
    }

    header h1 { font-size: 1.5rem; }

    .dropdown-menu { flex-direction: column; align-items: center; }

    .dropdown-toggle { width: 100%; text-align: center; }

    .dropdown-content { position: static; width: 100%; margin: 0; }

    .logo { max-width: 100px; }

    aside.sidebar-right { display: none; }

    aside.sidebar-left table, aside.sidebar-right table, article table { font-size: 0.8rem; }

    aside.sidebar-left th, aside.sidebar-left td, aside




















aside.sidebar-right th, aside.sidebar-right td, article th, article td {
    padding: 0.4rem;
}

.video-container, .video-container.sidebar-video {
    max-width: 100%;
    padding-bottom: 56.25%;
}

form { padding: 0.5rem; margin: 0.5rem 0; }

input[type="submit"], input[type="reset"] { width: 100%; margin: 0.5rem 0; }

section#conspiracy-specific-influence-chart table { display: block; overflow-x: auto; }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    #myparent {
        grid-template-areas: "header header" "menu main" "right right" "footer footer";
        grid-template-columns: 1fr 2fr;
        grid-template-rows: auto 1fr auto auto;
    }

    .dropdown-menu { flex-direction: row; }

    .dropdown-content { min-width: 180px; }

    aside.sidebar-right { display: block; text-align: center; }

    .video-container.sidebar-video { max-width: 300px; }

    form { width: 90%; margin: 1rem auto; }

    input[type="submit"], input[type="reset"] { width: 90px; }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #myparent {
        grid-template-columns: 1fr 2fr 1fr;
    }

    .dropdown-content { min-width: 200px; }

    .video-container.sidebar-video { max-width: 200px; }

    form { width: 85%; }
}

@media screen and (min-width: 1200px) {
    .dropdown-content { min-width: 220px; }

    form { width: 80%; padding: 1.5rem; }

    input[type="submit"], input[type="reset"] { width: 120px; }
}

@media print {
    body { background: #fff; color: #000; font-size: 16px; }

    body * { background: #fff !important; color: #000 !important; }

    nav, form, .video-container { display: none; }

    img, picture { max-width: 50%; }

    section#conspiracy-specific-influence-chart { max-width: 100%; }

    section#conspiracy-specific-influence-chart table { min-width: 0; font-size: 10pt; }

    section#conspiracy-specific-influence-chart th, section#conspiracy-specific-influence-chart td {
        padding: 0.3rem;
        border: 1px solid #000;
    }

    section#conspiracy-specific-influence-chart a { color: #00008B; text-decoration: underline; }
}