/*
 Theme Name: ItzAllGod Theme (Light Top Bar + Global Nav v2)
 Theme URI: https://itzallgod.life
 Author: Kimberly Rowser
 Description: Full-screen sunrise hero with desktop/mobile videos, healing-focused content, light scrolling top bar, blog as "My Story", and global navigation links.
 Version: 2.5
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f6fafc;
    color: #1a2433;
    line-height: 1.6;
}

a {
    color: #0f728b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header / Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.75rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(3, 20, 31, 0.08);
    color: #03141f;
}

.site-title a {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cc0000;
}

.site-description {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0.7;
    margin-top: 0.15rem;
    color: #4b5b6a;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    font-size: 0.95rem;
}

.main-nav a {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.85rem;
    opacity: 0.9;
    color: #03141f;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.main-nav a:hover {
    opacity: 1;
    border-color: rgba(15, 114, 139, 0.35);
    background: rgba(15, 114, 139, 0.06);
}

/* Hero / Video */

.hero-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    background-color: #03141f;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background-color: #03141f;
}

/* default: show desktop, hide mobile */
.hero-video-desktop {
    display: block;
}

.hero-video-mobile {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 33, 54, 0.65),
        rgba(4, 33, 54, 0.85)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 1.5rem;
    max-width: 720px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 36rem;
    margin: 0 auto 1.8rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.btn,
.link-pill {
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
}

.btn-primary {
    background: rgba(255,255,255,0.96);
    color: #042136;
    border-color: rgba(255,255,255,0.96);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
}

/* Main sections */

.site-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
    background: #f6fafc;
}

.section {
    margin-bottom: 3.5rem;
    text-align: left;
}

.section-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: #0f728b;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #7b8b9d;
    margin-bottom: 1.6rem;
}

.section-content {
    font-size: 1rem;
}

/* Three-column area */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.6rem 1.4rem;
    box-shadow: 0 18px 40px rgba(4, 33, 54, 0.08);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.card-tagline {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #7b8b9d;
    margin-bottom: 0.9rem;
}

.card p {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
}

/* Link pills row */

.links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.1rem;
}

.link-pill {
    background: #e7f3f7;
    color: #042136;
    border-color: transparent;
    font-weight: 500;
}

/* Two-column split */

.split-2 {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
}

/* Footer */

.site-footer {
    text-align: center;
    padding: 2rem 1.5rem 3rem;
    font-size: 0.85rem;
    color: #7b8b9d;
    background: #f6fafc;
}

/* Responsive */

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .split-2 {
        grid-template-columns: 1fr;
    }

    .site-main {
        padding-top: 2.4rem;
    }

    .hero-content {
        margin-top: 2rem;
    }

    .hero-video-desktop {
        display: none;
    }

    .hero-video-mobile {
        display: block;
    }
}

/* Blog Page Styles */

.featured-image {
    max-width: 960px;
    margin: 0 auto 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.previous-posts {
    max-width: 1000px;
    margin: 5rem auto 0;
    padding: 2rem 1.5rem;
}

.previous-posts .section-title {
    text-align: center;
    color: #0f728b;
    letter-spacing: 0.28em;
    font-size: 1.35rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.previous-posts::after {
    content: "Continue exploring past reflections and devotionals.";
    display: block;
    text-align: center;
    font-size: 1.2rem;
    color: #7b8b9d;
    margin-bottom: 3rem;
}

.archive-post {
    position: relative;
    padding: 2rem 4rem 2rem 0;
    border-bottom: 1px solid rgba(15, 114, 139, 0.18);
    background: transparent;
}

.archive-title {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    cursor: pointer;
    color: #cc0000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}

.archive-post-title {
    display: block;
}

.archive-arrow {
    position: absolute;
    right: 0;
    top: 1.85rem;
    font-size: 3rem;
    color: #cc0000;
    transition: transform 0.25s ease;
    line-height: 1;
}

.archive-date {
    margin-top: 0.85rem;
    color: #7b8b9d;
    font-size: 0.95rem;
}

.archive-date::before {
    content: "▢ ";
    color: #0f728b;
    margin-right: 0.35rem;
}

.archive-content {
    display: none;
    margin-top: 1.75rem;
    padding-top: 1rem;
    color: #1a2433;
}

.archive-content.open {
    display: block;
}

.archive-content p {
    margin-bottom: 1rem;
}

/* Blog Mobile Adjustments */

@media (max-width: 768px) {
    .previous-posts {
        padding: 1.5rem 0;
        margin-top: 3rem;
    }

    .previous-posts .section-title {
        font-size: 1.1rem;
        letter-spacing: 0.2em;
    }

    .previous-posts::after {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .archive-post {
        padding: 1.5rem 2.5rem 1.5rem 0;
    }

    .archive-title {
        font-size: 1.45rem;
    }

    .archive-arrow {
        font-size: 2.25rem;
        top: 1.45rem;
    }
.blog-banner {
    width: 100%;
    margin: 0 0 3rem;
}

.blog-banner img {
    width: 100%;
    height: auto;
    display: block;
}
/* Force comment form full width */
.post-comments,
.comments-area,
.comment-respond,
.comment-form,
.comment-form p {
    width: 100% !important;
    max-width: 100% !important;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.comment-form-comment textarea {
    min-height: 220px;
}

/* Make comment section wider */
.post-comments,
#comments,
.comments-area,
.comment-respond {
    width: 100% !important;
    max-width: none !important;
}

.comment-form {
    width: 100% !important;
    max-width: none !important;
}

.comment-form-comment {
    width: 100% !important;
}

.comment-form-comment textarea {
    width: 100% !important;
    max-width: none !important;
    min-height: 220px;
    display: block;
    box-sizing: border-box;
}
.comment-notes {
    margin-top: 8px;
    margin-bottom: 12px;
}

.comment-form {
    margin-top: 0;
}

.comment-form-comment {
    margin-top: 8px;
}
 }