/* =========================================================
   BLANKPRESS — YOUR GLOBAL CSS
   Keep this file as your main stylesheet.
   ========================================================= */

:root {
    --content-width: 1200px;
    --page-padding: 24px;
    --text-color: #111;
    --background-color: #fff;
    --border-color: #e5e5e5;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-color);
    background: var(--background-color);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* Reusable wrapper for your own sections. */
.container {
    width: min(var(--content-width), calc(100% - (var(--page-padding) * 2)));
    margin-inline: auto;
}

/* -------------------------
   GLOBAL HEADER
   ------------------------- */
.site-header {
    border-bottom: 1px solid var(--border-color);
    background: var(--background-color);
}

.site-header__inner {
    width: min(var(--content-width), calc(100% - (var(--page-padding) * 2)));
    min-height: 72px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.custom-logo {
    max-height: 48px;
    width: auto;
}

.primary-menu,
.footer-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a,
.footer-menu a {
    text-decoration: none;
}

.menu-toggle {
    display: none;
}

/* -------------------------
   PAGE CONTENT
   ------------------------- */
.site-main {
    min-height: 60vh;
}

/* Use this wrapper automatically on posts/404. Your normal Pages remain fully free-form. */
.content-shell {
    width: min(800px, calc(100% - (var(--page-padding) * 2)));
    margin: 64px auto;
}

.post-card + .post-card {
    margin-top: 48px;
}

.post-card__title a {
    text-decoration: none;
}

/* -------------------------
   GLOBAL FOOTER
   ------------------------- */
.site-footer {
    margin-top: 64px;
    border-top: 1px solid var(--border-color);
}

.site-footer__inner {
    width: min(var(--content-width), calc(100% - (var(--page-padding) * 2)));
    min-height: 96px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* -------------------------
   MOBILE NAVIGATION
   ------------------------- */
@media (max-width: 768px) {
    .site-header__inner {
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border-color);
        background: transparent;
        padding: 8px 12px;
        cursor: pointer;
    }

    .primary-navigation {
        display: none;
        width: 100%;
        padding-bottom: 20px;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer__inner {
        padding-block: 28px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* -------------------------
   ACCESSIBILITY
   ------------------------- */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    z-index: 100000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
    border: 2px solid currentColor;
}

/* Gutenberg wide/full alignment helpers for blocks that use them. */
.alignwide {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: none;
}
