:root {
    --grid-gap: 1.5rem !important;
}

figure.gh-article-image img {
    max-height: 350px;
    width: auto;
    margin: auto;
}

@media(min-width: 768px){ .gh-navigation-logo img {max-height: 60px !important;}}
header#gh-navigation, header#gh-navigation * { background: #010101; }
header#gh-navigation * { color: #fff; }
header .gh-button { background: var(--ghost-accent-color) !important; }
header .gh-button:hover { opacity: .9; }
.greybg {
    padding-top: 42px;
    padding-bottom: 42px;
    margin-top: 42px;
    background-color: #ededed;
}

.gh-button,
.yt-btn,
.gh-btn,
button[data-portal="recommendations"] {
    display: inline-flex !important;
    gap: 0.4em !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.8em 1.4em !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.004em !important;
    line-height: 1 !important;
    color: var(--color-white) !important;
    cursor: pointer !important;
    background-color: var(--ghost-accent-color) !important;
    border: 0 !important;
    border-radius: 100px !important;
    text-decoration: none !important;
}

.battle-lines-btn:hover, 
.gh-button:hover,
.yt-btn:hover,
.gh-btn:hover,
button[data-portal="recommendations"]:hover {
    background: #0a0a0a !important;
    opacity: 1 !important;
}



h3.yt-card-title.is-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: red;
    margin: 12px auto 22px;
}

.phone-add-outer h3.yt-card-title.is-title:after {
    background: #fff;
}

.gh-header-left * {
    color: #fff;
}
.gh-header-left {
    background: #d80b0b !important;
    background: radial-gradient(#db1f1f, #7b0000) !important;
    padding: 22px;
}
.gh-header-inner.gh-inner {
    max-width: 9909px;
}

a.phone-add-link:hover {
    transform: translatey(-5px);
    transition: all ease .2s;
    opacity: 1 !important;
}

a.phone-add-link {
    transition: all ease .2s;
}

/* Removed old votd styling - now handled in component */

section.gh-outer.share-story-outer {
    margin-bottom: 0;
}

figcaption {
    display: none !important;
}

/* footer */
footer.gh-footer.gh-outer {
    padding-top: 6vw;
    margin-top: 6vw;
}

.gh-footer, .gh-footer .gh-inner, .gh-footer-bar, .gh-footer-signup {
    background-color: #010101 !important;
}

footer.gh-footer.gh-outer * {
    color: #fff !important;
}

footer .gh-form-input {
    background: #ececec;
    color: #111 !important;
}

.gh-footer-bar {
    border-color: #333 !important;
}

footer ::placeholder {
    color: #888 !important;
}

/* Highlight layout override - force flex layout */
.gh-header.is-highlight .gh-header-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--grid-gap) !important;
}

.gh-header.is-highlight .gh-header-top {
    display: flex !important;
    gap: var(--grid-gap) !important;
}

.gh-header.is-highlight .gh-header-left {
    flex: 0 0 50% !important;
    position: relative !important;
}

.gh-header.is-highlight .gh-header-middle {
    flex: 1 !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--grid-gap) !important;
}

.gh-header.is-highlight .gh-header-bottom {
    width: 100% !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: var(--grid-gap) !important;
}

.gh-header.is-highlight .gh-header-bottom-row {
    display: flex !important;
    gap: var(--grid-gap) !important;
    width: 100% !important;
    align-items: flex-start !important;
}

.gh-header.is-highlight .gh-header-bottom-row-4 .gh-card {
    flex: 0 0 calc(25% - var(--grid-gap) * 0.75) !important;
    max-width: calc(25% - var(--grid-gap) * 0.75) !important;
    min-width: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.gh-header.is-highlight .gh-header-middle-row {
    display: flex !important;
    gap: var(--grid-gap) !important;
    flex: 1 !important;
    width: 100% !important;
    align-items: flex-start !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card {
    display: block !important;
    position: relative !important;
    flex: 1 !important;
    overflow: hidden !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-wrapper {
    flex: 1 !important;
    word-wrap: break-word !important;
    min-height: fit-content !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-title {
    font-size: 1.4rem !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-excerpt {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-meta {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-link {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: fit-content !important;
}

/* Row with 2 articles - 50% width each */
.gh-header.is-highlight .gh-header-middle-row-2 .gh-card {
    flex: 0 0 calc(50% - var(--grid-gap) * 0.5) !important;
    max-width: calc(50% - var(--grid-gap) * 0.5) !important;
    min-width: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}


/* Ensure all card images are displayed */
.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-image {
    display: block !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card .gh-card-image img {
   /*width: 100% !important;
    height: auto !important;*/
    object-fit: cover !important;
    display: block !important;
    height: 100% !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card:last-child .gh-card-image {
    display: block !important;
}

.gh-header.is-highlight .gh-header-middle .gh-card:nth-child(2) .gh-card-image {
    display: block !important;
}

/* Responsive layout under 1023px - full width sections */
@media (max-width: 1023px) {
    .battle-lines-image img {
        max-height: 300px !important;
        margin: auto !important;
        width: auto !important;
    }

    .gh-header.is-highlight .gh-header-inner {
        flex-direction: column !important;
    }
    
    .gh-header.is-highlight .gh-header-top {
        flex-direction: column !important;
    }
    
    .gh-header.is-highlight .gh-header-left {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    
    .gh-header.is-highlight .gh-header-middle {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    
    .gh-header.is-highlight .gh-header-bottom {
        width: 100% !important;
    }
}

/* Mobile layout under 767px - cards stack vertically */
@media (max-width: 767px) {
    .battle-lines-grid .gh-card-image {
        overflow: hidden;
    }
    .gh-header.is-highlight .gh-header-middle-row {
        flex-direction: column !important;
    }
    
    .gh-header.is-highlight .gh-header-bottom-row {
        flex-direction: column !important;
    }
    
    .gh-header.is-highlight .gh-header-middle-row-2 .gh-card {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-top: 1px solid #ddd;
    }
    
    .gh-header.is-highlight .gh-header-bottom-row-4 .gh-card {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        border-top: 1px solid #ddd;
    }
    
    /* Mobile card layout for middle-posts and bottom-posts */
    #middle-posts .gh-card .gh-card-link,
    #bottom-posts .gh-card .gh-card-link {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    
    #middle-posts .gh-card .gh-card-image,
    #bottom-posts .gh-card .gh-card-image {
        flex: 0 0 auto !important;
        width: 40% !important;
        max-height: 123px !important;
        order: 2 !important;
    }
    
    #middle-posts .gh-card .gh-card-image img,
    #bottom-posts .gh-card .gh-card-image img {
        width: 100% !important;
        height: 123px !important;
        object-fit: cover !important;
    }
    
    #middle-posts .gh-card .gh-card-wrapper,
    #bottom-posts .gh-card .gh-card-wrapper {
        flex: 1 !important;
        order: 1 !important;
        min-width: 0 !important;
    }
    
    #middle-posts .gh-card .gh-card-title,
    #bottom-posts .gh-card .gh-card-title {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
    }
    
    #middle-posts .gh-card .gh-card-excerpt,
    #bottom-posts .gh-card .gh-card-excerpt {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 6px !important;
    }
    
    #middle-posts .gh-card .gh-card-meta,
    #bottom-posts .gh-card .gh-card-meta {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
}

.gh-header.is-highlight .gh-header-left .gh-card .gh-card-image {
    aspect-ratio: 5/3 !important;
}

/* Show excerpts for the first two articles (50% width row) */
.gh-header.is-highlight .gh-header-middle-row-2 .gh-card .gh-card-excerpt {
    display: -webkit-box !important;
    overflow-y: hidden !important;
    margin-top: 8px !important;
    font-size: 1.45rem !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.gh-header-left:after {
    display: none;
}

.gh-header.is-highlight .gh-card:before {
    display: none !important;
}

.lftalgn {
    text-align: left !important;
}

.lftalgn:after {
    margin: 12px auto 22px 0 !important;
}

.yt-btn, .battle-lines-btn, a.gh-button {
    padding: 14px 72px !important;
    text-align: center;
}

.yt-grid img {
    max-height: 250px;
    width: auto !important;
    margin: auto !important;
}

@media(max-width: 1023px) {
    .lftalgn:after {        margin: 12px auto 22px !important;    }
    .lftalgn {        text-align: center !important;    }
}

@media(max-width: 767px) {

    .battle-lines-image img {
        width: auto !important;
        max-height: 200px !important;
        margin: auto !important;
    }
}


.battle-lines-section .gh-inner * {
    color: #FFF !important;
}
[data-theme="dark"] .gh-inner, .battle-lines-section .gh-inner {
    background: #131313 !important;
}

.battle-lines-container {
    padding: 0 !important;
    gap: 0 !important;
}

.battle-lines-left {
    padding: 32px !important;
}

.battle-lines-right {
    padding: 32px !important;
}

.pray-section {
    border-top: 1px solid rgb(222 222 222 / 80%);
    margin-top: 42px !important;
    padding-top: 42px !important;
}

p.verse-box-text, div#verse-box {
    text-align: left !important;
    margin-top: 32px !important;
}

div#verse-box {
    margin-top: 6px !important;
    padding-left: 12px !important;
}

div#verse-box {
    margin-top: 8px !important;
    padding: 6px 6px 6px 12px !important;
}

.votd-col {
    padding: 0 42px !important;
}

@media(min-width: 991px) {
    .votd-col--content {    padding-left: 52px !important;}
}

article.gh-card.post.featured * {
    color: #fff !important;
}
article.gh-card.post.featured {
    background: #d80b0b !important;
    background: radial-gradient(#db1f1f, #7b0000) !important;
    padding: 22px !important;
}

.gh-header-left article.gh-card.post.featured {
    background: transparent !important;
}


/* Home feed 4x3 grid */
.gh-container.is-home-feed.is-grid .gh-feed {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Remove borders between cards in home feed */
.gh-container.is-home-feed.is-grid .gh-card::before,
.gh-container.is-home-feed.is-grid .gh-card::after {
    display: none !important;
}

/* Responsive grid for home feed */
@media (max-width: 1199px) {
    .gh-container.is-home-feed.is-grid .gh-feed {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .gh-container.is-home-feed.is-grid .gh-feed {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .gh-container.is-home-feed.is-grid .gh-feed {
        display: flex !important;
        flex-direction: column !important;
    }
}

.yt-btn, .battle-lines-btn, .gh-button {
    transition: all ease .2s !important;
}

.yt-btn:hover, .battle-lines-btn:hover, .gh-button:hover {
    transition: all ease .2s !important;
}

a.battle-lines-btn {
    display: inline-flex !important;
    gap: 0.4em !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.004em !important;
    line-height: 1 !important;
    color: var(--color-white) !important;
    cursor: pointer !important;
    background-color: var(--ghost-accent-color) !important;
    border: 0 !important;
    border-radius: 100px !important;
    text-decoration: none !important;
}

.battle-lines-left .lftalgn:after {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}

.battle-lines-btn-container {
    margin-top: 32px !important;
}

p.battle-lines-subtitle.lftalgn {
    margin-bottom: 0 !important;
}

@media(max-width: 1180px) {
    .yt-btn, .battle-lines-btn, a.gh-button {
        padding: 14px 44px !important;
    }
}

