html, body {
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}
header, footer {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}


/* Basic Reset and Styling */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-image: url('/assets/images/scroll.jpeg');
    background-size: cover;
    background-position: center;
    color: #2d2d2d;
    font-size: 16px;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    z-index: 1000;
}

.navbar ul {
    display: flex;
    justify-content: center;
}

.navbar li {
    list-style: none;
    margin: 0 15px;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
    z-index: 1000;
}

.sidebar ul {
    list-style: none;
    text-align: center;
}

.sidebar li {
    margin: 15px 0;
}

.sidebar a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
}



/* Header */
header {
    text-align: center;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.5);
    position: relative;
    margin-left: 270px;
    margin-top: 40px;
}

header .logo {
    font-family: 'Ballerick', sans-serif;
    font-size: 4rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

header .tagline {
    font-size: 3rem;
    color: #ddd;
}

/* Blog Grid */
.grid-container {
    padding: 3rem 2rem;
    text-align: center;
    margin-left: 270px;
}

h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    .blog-post {
        display: flex;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
        transition: transform 0.3s ease-in-out;
    }

    .blog-post:hover {
        transform: translateY(-5px);
    }

    .blog-post img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .blog-content {
        padding: 15px;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .blog-content h3 {
        margin-top: 0;
        font-size: 1.4em;
    }

    .blog-summary {
        margin: 10px 0;
        flex-grow: 1;
    }

    .blog-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .read-more {
        background-color: #f0a500;
        color: #343434;
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #f0a500;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s;
    }

    .read-more:hover {
        background-color: #800000;
        color: #fff;
        border: 1px solid #343434;
    }

    .share-icons {
        display: flex;
        gap: 10px;
    }

    .share-icons a {
        color:  #f0a500;
        font-size: 1.1em;
        transition: color 0.3s ease;
    }

    /* Facebook - Hover to Facebook Blue */
    .share-icons a[title*="Facebook"]:hover {
        color: #1877f2;
    }
    
    /* Twitter (or X) - Hover to dark gray */
    .share-icons a[title*="Twitter"]:hover {
        color: #fff;
    }
    
    /* Email - Hover to Gmail red */
    .share-icons a[title*="Email"]:hover {
        color: #d93025;
    }

    /* Ensure mobile visibility */
    @media (max-width: 480px) {
        .blog-actions {
            flex-direction: column;
            align-items: flex-start;
            gap: 10px;
        }

        .read-more {
            width: 100%;
            text-align: center;
        }
        
    }
    @media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr !important; 
        padding: 0 8px;
    }

    .blog-post {
        width: 100% !important; 
        margin: 0 auto;
    }

    .blog-content {
        padding: 10px;
    }
}


/* Verse of the Day */
.verse-of-the-day {
    text-align: center;
    padding: 3rem;
    background-image: url("/assets/images/stars.gif");
    color: #fff;
    margin-left: 270px;

}

#verse-container {
    font-size: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: #fff;
    margin-left: 270px;
    text-decoration: none; /* Remove underline */
}
    .footer-content p {
        margin: 5px 0;
        font-family: Arial, sans-serif;
    }

    .footer-content a {
        font-weight: bold; /* Bold text */
        color: white; /* White icon color */
        text-decoration: none; /* Remove underline */
        margin: 0 8px;
        font-size: 18px; /* Set icon size */
        transition: color 0.3s ease; /* Smooth hover effect */
    }

    .footer-content a:hover {
        color: #f0a500; /* Gold color on hover */
    }


/* Mobile Header and Footer Fixes */
@media (max-width: 768px) {
    /* Header */
    header {
        margin-left: 0;
        padding: 2rem 1rem; /* Reduced padding for mobile */
        text-align: center;
    }

    header .logo {
        font-size: 2.5rem; /* Reduce the size of the logo */
        gap: 5px;
    }

    header .tagline {
        font-size: 1.2rem; /* Smaller tagline for mobile */
    }

    /* Footer */
    footer {
        margin-left: 0;
        padding: 1.5rem;
        text-decoration: none; /* Remove underline */
    }

    footer p {
        font-size: 1rem; /* Make footer text smaller */
    }

    footer a {
        font-size: 1rem;
    }
    .footer-content a {
        font-size: 1rem; /* Set icon size */
    }
}

/* Mobile Sidebar Menu */
@media (max-width: 768px) {
    .sidebar {
        width: 100%; /* Full width sidebar for mobile */
        position: absolute;
        top: 0;
        left: -100%; /* Initially hidden */
        height: 100%;
        background: rgba(0, 0, 0, 0.9); /* Dark background */
        transition: left 0.3s ease; /* Smooth slide-in transition */
    }

    .sidebar.active {
        left: 0; /* Show sidebar when active */
    }

    .sidebar ul {
        text-align: left;
        padding-left: 20px; /* Slight left padding for better visual appeal */
    }

    .sidebar li {
        margin: 10px 0; /* Smaller margin between menu items */
    }

    /* Adjust Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: relative;
        background-color: rgba(0, 0, 0, 0.5);
        padding: 1rem;
        position: absolute;
        top: 1px;
        right: 23px; /* Move the toggle to the right */
        z-index: 1001;
        border-radius: 50%;
    }

    .mobile-menu-toggle i {
        color: #fff;
        font-size: 2rem;
    }
}

/* Blog Grid on Small Screens (unchanged as per your request) */
@media (max-width: 768px) {
    .grid-container {
        margin-left: 0;
        padding: 2rem; /* Reduce padding for mobile */
    }

    .blog-grid {
        grid-template-columns: 1fr; /* Single column for mobile */
    }

    .blog-post {
        min-height: auto; /* Adjust height for content */
        display: block; /* Revert to block for mobile */
        height: auto; /* Reset fixed height for mobile */
    }

    .blog-post img {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        height: auto; /* Reset fixed image height for mobile */
        object-fit: cover; /* Ensure images still cover the area well */
    }

    .blog-content {
        padding: 1.5rem;
        display: block; /* Revert to block for mobile */
    }

    .blog-content p.blog-summary {
        flex-grow: initial; /* Reset flex-grow for mobile */
        height: auto; /* Reset fixed height for mobile */
        overflow: visible; /* Show all text on mobile */
        text-overflow: clip; /* Remove ellipsis on mobile */
        display: block;
        -webkit-line-clamp: initial;
    }

    .blog-actions {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    h2 {
        font-size: 2rem; /* Adjust heading size */
    }

    .blog-content h3 {
        font-size: 1.5rem; /* Adjust card heading size for smaller screens */
    }

    .blog-content p {
        font-size: 1rem; /* Adjust card paragraph size */
    }
}

/* Responsive Design for Verse of the Day */
@media (max-width: 768px) {
    .verse-of-the-day {
        margin-left: 0; /* Remove margin for mobile */
        padding: 2rem; /* Reduced padding for mobile */
        text-align: center; /* Ensure text is centered */
        background-position: top center; /* Adjust background positioning */
    }

    #verse-container {
        font-size: 1.2rem; /* Smaller font size for verse text */
    }
}

.verse-of-the-day h2 { /* Replace with your actual header class */
    font-family: 'Ballerick', sans-serif; /* Fallback to sans-serif */
}

#dailyVersesWrapper {
    font-family: 'Special Elite', cursive;
    color: #ffffff;
    line-height: 1.4;
    text-align: center;
    position: relative;
    max-width: 900px; /* Increased max-width */
    margin: 30px auto; /* Increased margin */
    padding: 30px; /* Increased padding */
    font-size: 30px;
    font-weight: 250;
}

#dailyVersesWrapper > p:first-of-type {
    font-size: 2.5rem; /* Much bigger verse text */
    font-weight: bold; /* Bold text */
    font-style: italic;
}

#dailyVersesWrapper > p:last-of-type {
    font-size: 1.5rem; /* Bigger citation text */
    text-align: right;
    margin-top: 15px; /* Increased margin */
    color: #f1efe6;
}

/* Quote marks */
#dailyVersesWrapper:before,
#dailyVersesWrapper:after {
    position: absolute;
    color: #f1efe6;
    font-size: 13rem; /* Bigger quote marks */
    width: 4rem;
    height: 4rem;
}

#dailyVersesWrapper:before {
    content: '“';
    left: -2.5rem; /* Adjusted position */
    top: -1.5rem; /* Adjusted position */
}

#dailyVersesWrapper:after {
    content: '”';
    right: -1.5rem; /* Adjusted position */
    top: -1.5rem; /* Adjusted position */
}

/* Link styles */
#dailyVersesWrapper a,
#dailyVersesWrapper a:link,
#dailyVersesWrapper a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.feather-logo {
    width: 45px;
    height: auto;
    vertical-align: middle;
}
.animated-feather {
    width: 35px;
    height: auto;
    margin-right: 8px;
}
@font-face {
    font-family: 'Ballerick';
    src: url('/assets/fonts/ballerick.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sinethar';
    src: url('/assets/fonts/Wonderia.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.highlight-container h2 {
    font-family: 'Sinethar', sans-serif;
}


@font-face {
    font-family: 'Roasting';
    src: url('/assets/fonts/Roasting.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
.tagline {
    font-family: 'Roasting', sans-serif;
}


/* Social Share Button Styles */
.social-share {
    text-align: center;
    margin: 20px 0;
}

.social-share p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    margin: 5px;
    padding: 10px 15px;
    border: 1px solid #28282B;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

.social-share a i {
    margin-right: 5px;
    font-size: 20px;
}

.social-share a:hover {
    background-color: #28282B;
    color: #FFFFFF;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .social-share {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-share a {
        width: 100%;
        max-width: 300px;
        margin: 10px 0;
        font-size: 16px;
    }

    .social-share a i {
        font-size: 18px;
        pointer-events: none;
    }

    .social-share p {
        font-size: 14px;
    }
    .social-share a:hover i {
    color: #FFFFFF;
    }

}

@media (max-width: 480px) {
    .social-share a {
        font-size: 14px;
        padding: 8px 12px;
    }

    .social-share a i {
        font-size: 16px;
        pointer-events: none;
    }
}

/*Let us see what this doe */
