/* ==========================================================================
   BitsyBows Theme – Global Page Styles (Front Page + Footer + Content)
   ========================================================================== */

/* ---------- Reset / Box Model ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

/* ---------- Base Typography + Body ---------- */
body {
    font-family: 'EB Garamond', Garamond, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3319;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: transparent;
}

/* ---------- Page Wrapper / Home Page ---------- */
.front-page .home-page,
.home-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    flex: 0 0 auto; /* prevent stretching to fill viewport */
}

/* ---------- Page Content Wrapper ---------- */
.site-content {
    padding: 40px 20px 60px;
    min-height: auto; /* natural height */
}

.content-wrapper {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(61, 74, 39, 0.08);
}

/* ---------- Page Titles ---------- */
.page-title,
.entry-title {
    font-family: 'Gabriola', 'Cormorant', cursive, serif;
    font-size: 2.8rem;
    color: #3d4a27;
    margin: 0 0 1.5rem;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* ---------- Page Content ---------- */
.entry-content {
    font-family: 'EB Garamond', Garamond, serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3319;
}

.entry-content p { margin-bottom: 1.5rem; }
.entry-content h2 { font-family: 'Gabriola', 'Cormorant', cursive, serif; font-size: 2.2rem; color: #3d4a27; margin: 2rem 0 1rem; letter-spacing: 0.5px; }
.entry-content h3 { font-family: 'Gabriola', 'Cormorant', cursive, serif; font-size: 1.8rem; color: #3d4a27; margin: 1.5rem 0 0.75rem; }
.entry-content h4, .entry-content h5, .entry-content h6 { font-family: 'Gabriola', 'Cormorant', cursive, serif; color: #3d4a27; margin: 1.25rem 0 0.5rem; }
.entry-content a { color: #d9669f; text-decoration: none; transition: color 0.3s ease; border-bottom: 1px solid rgba(217, 102, 159, 0.3); }
.entry-content a:hover { color: #c55a8c; border-bottom-color: #c55a8c; }
.entry-content ul, .entry-content ol { margin: 1.5rem 0; padding-left: 2rem; }
.entry-content li { margin-bottom: 0.75rem; }
.entry-content blockquote { margin: 2rem 0; padding: 1.5rem 2rem; background: rgba(168, 184, 143, 0.1); border-left: 4px solid #d9669f; border-radius: 6px; font-style: italic; color: #4a5836; }
.entry-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1.5rem 0; }

/* Featured Image */
.post-thumbnail { margin-bottom: 2rem; border-radius: 12px; overflow: hidden; }
.post-thumbnail img { width: 100%; height: auto; display: block; }

/* ---------- Global Headings ---------- */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-family: 'Gabriola', 'Cormorant', cursive, serif;
    color: #3d4a27;
    line-height: 1.2;
}

h1 { font-size: 3rem; letter-spacing: 1px; }
h2 { font-size: 2.2rem; letter-spacing: 0.5px; }
h3 { font-size: 1.9rem; }

/* ---------- Links ---------- */
a { color: #0f729e; text-decoration: none; }

/* ---------- Accessibility Helpers ---------- */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; }

/* ---------- FOOTER ---------- */
.site-footer {
    margin-top: 0;
    padding: 0;
    background: transparent;
    position: static; /* natural flow */
    flex-shrink: 0;
}

.footer-content {
    text-align: center;
    padding: 30px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-top-block { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-top-image { width: 120px; height: auto; max-width: 100%; }
.footer-top-text { margin: 0; font-size: 1.1rem; font-weight: 600; color: #5d7030; line-height: 1.4; }

.footer-social { display: flex; justify-content: center; align-items: center; margin-bottom: 0; }
.footer-social a, .footer-social img, .footer-social svg { display: inline-block; vertical-align: middle; }

.footer-decoration { margin: 10px 0; }
.footer-line { width: 55%; max-width: 600px; height: auto; margin-bottom: 0; }

.footer-text { font-size: 1rem; color: #5d7030; margin: 0; line-height: 1.8; max-width: 600px; }
.footer-text p { margin: 0 0 10px 0; }
.footer-copyright { font-size: 0.9rem; color: #6b7a4f; font-style: italic; }

