/* ===============================
   ThomasTest Fixed Menu & Sidebar
   =============================== */

/* ----- Reset & Base Styles ----- */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.site-main, .site-info {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;

}

.post-thumbnail img,
.wp-block-cover__image-background {
    width: 100%;
    height: auto;
}

.site-title {
    text-align: center;
}

.entry-title {
    text-align: center;
}

.site-title .site-branding .site-title a:hover {
    cursor: pointer;
}

.home-columns {
    margin: 0 5% 0 5%;
    padding: 5px;
}

.home-columns h2 {
    text-align: center;
}


/* experimental start */

/* Mobile stacking */
@media (max-width: 768px) {
    .home-left-column,
    .home-right-column {
        margin: 10px 5% 0 5%;
        padding: 15px 5%;
        border-bottom: solid 2px black; /* keep bottom border */
    }

    .home-left-column {
        border-left: solid 2px black;  /* half border on left */
        border-right: none;
    }

    .home-right-column {
        border-right: solid 2px black; /* half border on right */
        border-left: none;
        margin-left: 10%; /* offset to create snake step */
    }
}


/* experimental end */


/* .home-right-column {
    margin: 10px 5% 0 5%;
    padding: 15px 5%;
    border-left: solid;
    border-bottom: solid;
}



.home-left-column {
    margin: 10px 5% 0 5%;
    padding: 15px 5%;
    border-right: solid;
    border-bottom: solid;
} */

/* ----- Right: Main Menu (Hamburger) ----- */
.main-navigation {
    position: fixed;
    top: 40px;
    right: -350px;       /* hidden by default */
    width: 250px;
    height: 100%;
    background: #333;
    color: #fff;
    transition: right 0.3s ease;
    z-index: 9998;
    overflow-y: auto;
    padding: 20px;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin-bottom: 15px;
}

.menu-toggle {
    position: fixed;
    top: 20px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-navigation.toggled-on {
    right: 0;
}

/* Hide buttons when menu is open */
.menu-toggle.hidden,
.widget-toggle.hidden {
    display: none !important;
}


/* ----- Left: Widget Sidebar ----- */
#secondary {
    position: fixed;
    top: 40px;
    left: -350px;       /* hidden by default */
    width: 250px;
    height: 100%;
    background: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 10000;
    padding: 20px;
}

#secondary.toggled-on {
    left: 0;
}

/* ----- Widget Toggle Button ----- */
.widget-toggle {
    position: fixed;
    top: 20px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ----- Responsive Adjustments ----- */
@media screen and (max-width: 768px) {
    .main-navigation, #secondary {
        width: 200px;
        height: calc(100% - 60px);
        padding-top: 30px;
    }

    .menu-toggle, .widget-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .main-navigation, #secondary {
        width: 180px;
    }

    .menu-toggle, .widget-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.site-info {
    font-size: x-small;
    font-weight: 300;
    text-align: center;
}