* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Top grey bar */

.top-bar {
    background: #666;
    color: #fff;
    font-size: 14px;
}

.top-bar p {
    margin: 0;
    padding: 5px 0;
    text-align: center;
}

/* Big red G0WDA line */

.title-bar {
    background: #f4f4f4;
}

.site-title {
    margin: 8px 0;
    text-align: center;
    font-size: 40px;
    color: #e00000;
    letter-spacing: 2px;
}

/* Menu bar */

.main-nav {
    background: #c0000;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-nav a.active {
    background: #c00000;
}

.main-nav a {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.main-nav a:hover {
    background: #c00000;
}

/*--------------------------------------------------*/

/* Main content wrapper */

.main-content {
    background: #fff;
    margin-top: 15px;
    padding: 20px;
    border-radius: 6px;
}

/* Mobile */

@media (max-width: 700px) {
    .main-nav a {
        font-size: 13px;
        padding: 7px 10px;
    }
}

/*************************************************/

/* Top grey bar */
.top-bar {
    background: #666;
    color: #fff;
}

.top-bar p {
    margin: 0;
    padding: 6px 0;
    text-align: center;
    font-size: 14px;
}

/********************************************************/

/* Second line: logo left, Facebook right */
.logo-row {
    background: #f4f4f4;
}

.logo-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.logo-left {
    width: 300px;
    height: 80px;
    object-fit: contain;
}

.logo-right {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/************************************************************/

/* Third line: menu bar */
.main-nav {
    background: #333;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;   /* ? centres the menu */
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 10px 14px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.main-nav a:hover {
    background: #c00000;
}

/***************************************************************/

.image-strip {
    width: 100%;
    overflow: hidden;
}

.content-wrap {
    display: flex;
    gap: 20px;
}

.main-image {
    position: relative;
    width: 70%;
    height: 350px;
    overflow: hidden;
}

.main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.main-image img.active {
    opacity: 1;
}

.stacked-images {
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stacked-images img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}


@media (max-width: 700px) {
    .main-image,
    .stacked-images {
        display: none;
    }
}

/************************************************************/

/* Bio sections */

.bio-section {
    margin-top: 25px;
}

.bio-section h2 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #c00000;
}

.bio-section p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}

/*************** Bottom link columns *****************/

.link-column li {
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.link-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.link-column h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #ff0000;
}

.link-column p {
    margin: 0 0 5px 0;
}

.link-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-column li {
    margin-bottom: 4px;
}

.link-column ul li a {
    text-decoration: none !important;
}

.link-column ul li a:hover {
    color: #ff000c;
    text-decoration: none !important;
}

.link-column li {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Footer */

.site-footer {
    text-align: left;
    padding: 15px 0;
    margin-top: 20px;
    background: #666;
    color: #fff;
    font-size: 14px;
}

.site-footer a {
    color: #ffffff;
}

.site-footer a:hover {
    color: #ffcccc; /* soft red hover, optional */
}


/* Mobile tweaks */

@media (max-width: 700px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .site-title {
        font-size: 32px;
    }

    .main-nav a {
        font-size: 13px;
        padding: 5px 8px;
    }
}

/* ===========================
   PRIVACY PAGE (namespaced)
   =========================== */

.privacy-content .page-title {
    font-size: 28px;
    color: #ff0000;
    margin-bottom: 15px;
}

.privacy-content .section-title {
    font-size: 20px;
    color: #ff0000;
    margin-top: 25px;
    margin-bottom: 8px;
}

.privacy-content p {
    margin-bottom: 12px;
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Two-column layout */
.privacy-content .two-column {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 25px;
    align-items: start;
}

/* Image styling */
.privacy-content .left-col img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Mobile behaviour */
@media (max-width: 800px) {
    .privacy-content .two-column {
        grid-template-columns: 1fr;
    }

    .privacy-content .left-col {
        display: none;
    }
}

/* ===========================
   BPQ32 PAGE (namespaced)
   =========================== */

.bpq32-content .page-title {
    font-size: 28px;
    color: #ff0000;
    margin-bottom: 15px;
}

.bpq32-content .section-title {
    font-size: 20px;
    color: #ff0000;
    margin-top: 25px;
    margin-bottom: 8px;
}

.bpq32-content p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.bpq32-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.bpq32-content a {
    color: #0066cc;
    text-decoration: none;
}

.bpq32-content a:hover {
    text-decoration: underline;
}


/* ===========================
   GB7ESC PAGE (namespaced)
   =========================== */

.gb7esc-content .page-title {
    font-size: 28px;
    color: #ff0000;
    margin-bottom: 20px;
}

/* Two-column layout */
.gb7esc-content .two-column {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left column */
.gb7esc-content .left-column {
    width: 50%;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Right column */
.gb7esc-content .right-column {
    width: 50%;
}

/* Headings */
.gb7esc-content h3 {
    color: #ff0000;
    margin-bottom: 10px;
}

.gb7esc-content h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

/* Lists */
.gb7esc-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Paragraphs */
.gb7esc-content p {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Updated date */
.gb7esc-content .updated {
    font-style: italic;
    color: #666;
    margin-top: 10px;
}

/* Mobile layout */
@media (max-width: 800px) {
    .gb7esc-content .two-column {
        display: block;
    }

    .gb7esc-content .left-column {
        display: none;
    }

    .gb7esc-content .right-column {
        width: 100%;
    }
}


/* ===========================
   QO-100 PAGE (namespaced)
   =========================== */

.qo100-content .page-title {
    font-size: 28px;
    color: #ff0000;
    margin-bottom: 10px;
}

.qo100-content .subtitle {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.qo100-content .qo100-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.qo100-content .qo100-highlights span {
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 14px;
}

.qo100-content h3 {
    color: #ff0000;
    margin-top: 25px;
    margin-bottom: 10px;
}

.qo100-content h4 {
    margin-top: 18px;
    margin-bottom: 6px;
    color: #333;
}

.qo100-content p {
    line-height: 1.6;
    margin-bottom: 12px;
}

.qo100-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Mobile tweak: stack highlights nicely */
@media (max-width: 800px) {
    .qo100-content .qo100-highlights {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===========================
   BUILD QO-100 PAGE (FRAME)
   =========================== */

.build-qo100-content .page-title {
    font-size: 28px;
    color: #ff0000;
    margin-bottom: 20px;
}

.build-qo100-content p {
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ===========================
   CONTACT PAGE WITH MAP
   =========================== */

.contact-content .page-title {
    font-size: 28px;
    color: #ff0000;
    margin-bottom: 20px;
}

/* Two-column layout */
.contact-content .two-column {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Left column (map) */
.contact-content .left-column {
    width: 35%;
    background: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Right column (form) */
.contact-content .right-column {
    width: 65%;
}

/* Form styling */
.contact-content label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-content input,
.contact-content textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-content button {
    margin-top: 20px;
    padding: 10px 20px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-content button:hover {
    background: #cc0000;
}

.contact-content .success {
    color: green;
    font-weight: bold;
}

.contact-content .error {
    color: red;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 800px) {
    .contact-content .two-column {
        display: block;
    }

    .contact-content .left-column {
        display: none;
    }

    .contact-content .right-column {
        width: 100%;
    }
}