




/* Full-width header background */
header {
    width: 100%;
    background-color: #FFFCFF;
    height: auto;
}

/* Container styles for alignment within the header */
header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

/* Logo and site name container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Logo image */
.logo-container img {
    height: 50px;
    width: auto;
}

/* Site name styling */
.site-name {
    font-size: 2.4em;
    color: #171921;
    font-family: 'manrope-extrabold', sans-serif; 
}

/* Menu styling */
.top-bar {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 145px;
    margin: 0;
    padding: 0;
}
.top-bar a {
    color: #171921; /* Change this to your desired color */
    text-decoration: none; /* Removes underline from links */
    font-size: 1.4em; 
    transition: color 0.3s ease;
    font-family: 'manrope-medium', sans-serif; 
}

.top-bar a:hover {
    color: #E13654; /* Example hover color */
}

.top-bar li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Stack logo and menu vertically */
    header .container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    /* Center logo and site name */
    .logo-container {
        justify-content: center;
    }

    /* Adjust menu for mobile */
    .top-bar {
        flex-direction: column;
        gap: 17px;
    }
}













footer {
    width: 100%;
    height: auto;
    background-color: #171921; /* Dark background */
    color: #FFFCFF; /* Light text color */
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    text-align: center;
}

/* Footer link styles */
.footer-links {
    list-style: none;
    margin: 0; /* Remove margin from the UL */
    padding: 0; /* Ensure padding is also reset */
    display: flex;
}

.footer-links li {
    display: inline; /* Optional, as flex items are inline by default */
}

.footer-links a {
    color: #FFFCFF;
    text-decoration: none;
    font-size: 0.8em;
    font-family: 'manrope-light', sans-serif;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #E13654;
}

/* Reset styles for navigation */
nav {
    margin: 0;
    padding: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}
.footer-links ul {
    margin: 0; /* Remove margin from the UL */
    padding: 0; /* Remove padding from the UL */
    display: flex; /* Ensure the UL uses flex for layout */
    justify-content: center; /* Center items horizontally */
}

.footer-links li {
    margin: 0 33px; /* Add margin between list items if needed */
    
}




















































.first-home-section {
    background-color: #FCEBE6; /* Set the background color to pink */
    text-align: center; /* Center the text (optional) */
    margin: 0 0;
    height: 40em;
    width: 100%;
}
.first-home-section {
    display: flex; /* Enables flexbox */
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    text-align: center; /* Optional: Centers text inside the container */
}

.container {
    width: 100%; /* Ensures the container takes up full width */
    max-width: 1200px; /* Optional: Set a max width for the content */
    padding: 20px; /* Adds padding for spacing */
}

.home-page-big-title .first-part{
    color:#171921;
    font-family: "manrope-medium", sans-serif;
    font-size: 1em;
}
.home-page-big-title .second-part {
    color:#171921;
    font-family: "manrope-semibold", sans-serif;
    font-size: 2em;
}

.home-page-small-text{
    color:#171921;
    font-family: "manrope-regular", sans-serif;
    font-size: 1.25em;

}
.custom-hr {
    background-color:#171921;
    width:40%;
    margin: 0.7em auto;
}
.latest-summaries-title {
    margin:1.5em 4em 0.5em 4em ;
    color: #171921;
    font-family: "manrope-semibold", sans-serif;
    font-size: 2.3em;
}













































/* CSS FOR POSTS */

.header-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #FCEBE6;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}




.small_text {
    color: #CC1939;
    font-size: 18px;
    margin: 0 0 0 0 ;
    font-family: "manrope-light", sans-serif;

}

.post-title {
    color: #171921;
    font-size: 50px;
    word-break: break-word; 
    font-family: "manrope-bold", sans-serif;

}   

.post-excerpt {
    color: #171921;
    font-size: 16px;
    margin: 0;
    font-family: "manrope-regular", sans-serif;
}




hr {
    border: none;
    height: 2px;
    /* Set the hr color */
    color: #CC1939;  /* old IE */
    background-color: #CC1939;  /* Modern Browsers */
}
  

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .header-section {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: center;
    }

    .header-left, .header-right {
        flex: 1 1 100%; /* Full width for both sections */
        margin: 0; /* Remove extra margins */
        text-align: center; /* Center text and image */
    }

    .post-thumbnail img {
        max-width: 80%; /* Adjust width for smaller screens */
    }
}

.youtube-video {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
    margin: 20px 0;          /* Add spacing around the video */
    max-width: 100%;         /* Ensures responsiveness */
}
.youtube-video iframe {
    width: 55%;              /* Make the video larger (adjust as needed) */
    max-width: 900px;        /* Set a max width for larger screens */
    height: auto;            /* Maintain aspect ratio */
    aspect-ratio: 16 / 9;    
}




.post-content h2 {
    font-family: "manrope-semibold", sans-serif;
    color: #CC1939;
    font-size: 40px;
    margin-top: 60px; /* More space above */
    margin-bottom: 20px; 
}

.post-content h3 {
    font-family: "manrope-bold", sans-serif;
    color: #1B2F33;
    font-size: 32px;
    margin-top: 30px; /* More space above */
    margin-bottom: 15px; 
}

.post-content p {
    font-family: "manrope-regular", sans-serif;
    font-size: 23px;
    margin-top: 0; /* Remove the top margin */
    margin-bottom: 25px; 
    color: #171921;
}

/* --- 1. Reset the List Container --- */
.post-content ul,
.post-content ol {
    padding-left: 25px;     /* Aligns both lists consistently */
    margin-bottom: 25px;
}

/* --- 2. Style All List Items (for font, color, spacing) --- */
.post-content li {
    font-family: "manrope-regular", sans-serif;
    font-size: 23px;
    color: #171921;
}

.post-content li:not(:last-child) {
    margin-bottom: 15px;
}

/* --- 3. Custom Bullets for UNORDERED LISTS ONLY --- */

/* First, remove the default bullet from the <ul> */
.post-content ul {
    list-style: none;
    padding-left: 0; /* Remove padding since we add it to the <li> */
}

/* Target ONLY the list items inside a <ul> */
.post-content ul li {
    position: relative;
    padding-left: 25px; /* Create space for the custom bullet */
}

/* Now, create the custom bullet ONLY for <li>s inside a <ul> */
.post-content ul li::before {
    content: '•';
    position: absolute;
    left: 0.4em;
    top: -0.0em;
    color: #171921;
}

/* --- 4. Styling for ORDERED LISTS (optional but good practice) --- */
.post-content ol {
    list-style-type: decimal; /* Ensures numbers are shown */
}

.post-content li > ul,
.post-content li > ol {
    margin-top: 15px; /* Optional: Adds space between the parent text and the nested list */
}

/* Specifically target a <li> that is inside a <ul> and contains another list */
.post-content ul > li:has(ol),
.post-content ul > li:has(ul) {
    list-style-type: none; /* Hide the default bullet */
}

/* And remove the custom bullet from it as well */
.post-content ul > li:has(ol)::before,
.post-content ul > li:has(ul)::before {
    content: none; /* Remove the custom '•' bullet */
}













.post-content blockquote {
    background: #f8f8f8; /* The very light grey background */
    border-left: 3px solid #CC1939; /* Your brand's red accent color */
    border-radius: 5px; /* Subtle rounded corners */
    margin: 40px 0;     /* Generous space above and below */
    padding: 20px 25px; /* Internal spacing */

    /* This is needed for the ::before quote to work correctly */
    quotes: "\201C""\201D""\2018""\2019"; 
}

/* --- 2. The Giant Floating Quote Mark --- */
/* This is the secret to the style. */
.post-content blockquote::before {
    content: open-quote; /* This automatically inserts a “ */
    color: #CC1939;      /* Your brand's red accent color */
    
    /* The magic trio for positioning the giant quote */
    font-size: 4em;
    line-height: 0.1em;
    vertical-align: -0.4em;
    
    margin-right: 0.25em; /* Pushes the main text away from the quote */
}

/* --- 3. The Text Inside the Blockquote --- */
.post-content blockquote p {
    font-family: "manrope-light", sans-serif;
    font-style: italic;
    font-size: 21px; /* A nice, readable size */
    color: #444;
    line-height: 1.7;
    margin: 0; /* Remove default paragraph margins */

    /* This makes the text wrap nicely around the giant quote mark */
    display: inline; 
}
.post-content blockquote cite {
    display: block;
    margin-top: 15px;
    text-align: right;
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    color: #171921;
}

.post-content blockquote cite::before {
    content: "— ";
}























/* The Archive/Content Page */

.postss {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
    justify-content: center;
    padding: 20px 40px; /* Padding around the container */
    margin-top: 20px; /* Space above the posts section */
}

/* Individual post container styling */
.archive-post {
    flex: 1 1 250px; /* Adjust flex-basis for initial size */
    max-width: 280px; /* Max width for the posts */
    display: flex;
    flex-direction: column;
    background-color: #F9F9F9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease; /* Animation on hover */
    margin: 10px; /* Space between each post */
    overflow: hidden; /* Ensures no overflow from the container */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}

/* Hover effect */
.archive-post:hover {
    transform: scale(1.03);
}

/* Thumbnail container styling */
.archive-post-thumbnail img {
    width: 100%; /* Let width be 100% of parent */
    height: 100%; /* Let height be 100% of parent */
    object-fit: contain;
    border-radius: 8px 8px 0 0;
}

/* Apply aspect-ratio to the container, not the image */
.archive-post-thumbnail {
    width: 100%;
    aspect-ratio: 4 / 5; /* A slightly tall aspect ratio, adjust as you like */
    border-bottom: 2px solid #CC1939;
    overflow: hidden;
}

/* Content area */
.archive-post-content {
    padding: 15px; /* Padding for content */
    text-align: left; /* Align text to the left */
}

/* Title styling */
.archive-post-content h2 {
    font-size: 18px; /* Font size for title */
    font-family: "manrope-medium", sans-serif;
    color: #171921; /* Color for title */
    margin: 0; /* Remove margin */
}

.archive-post-content h2 a {
    text-decoration: none; /* Remove underline */
    color: #CC1939; /* Link color */
}

.archive-post-content h2 a:hover {
    color: #E33456; /* Hover color for links */
    
}

/* Excerpt styling */


/* Responsive adjustments */
@media (max-width: 1024px) {
    .archive-post {
        flex: 1 1 40%; /* Two columns for medium screens */
        max-width: 250px; /* Limit width on medium screens */
    }
}

@media (max-width: 768px) {
    .archive-post {
        flex: 1 1 90%; /* Stack items in a single column for small screens */
        max-width: 100%; /* Full width for small screens */
    }

    .archive-post-content h2 {
        font-size: 16px; /* Reduce title size for small screens */
    }

    .archive-post-content p {
        font-size: 14px; /* Keep excerpt font size */
    }
}

.pagination {
    display: flex;
    justify-content: center; /* Center the pagination */
    width: 100%;
    margin: 20px 20px 20px 20px;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background-color: #eee;
    color: #CC1939;
    text-decoration: none;
    border-radius: 4px;
    text-align: center; /* Ensures text stays centered */
}

.pagination a:hover {
    background-color: #ccc;
}

.pagination .current {
    font-weight: bold;
    background-color: #CC1939;
    color: #fff;
}

.postss {
    display: flex;
    flex-wrap: wrap; /* Allows posts to wrap into rows */
    justify-content: center;
    gap: 20px; /* Space between posts */
    padding: 20px 40px;
    margin-top: 20px;
}

.archive-post {
    flex: 1 1 250px; /* Set each post to a responsive width */
    max-width: 280px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

/* Ensure the posts section behaves like a flex container */
.posts {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: flex-start; /* Align children to the start */
    
}









/* Style for the search form */
.search-form-container {
    width: 100%; /* Make sure it takes full width */
    margin-bottom: 20px; /* Space below the search form */
}

/* Optional: Center the search form */
.search-form {
    display: flex;
    justify-content: center; 
    margin:1.5em 0 2em 0;
}

/* Make the search input and button look nice */
.search-field {
    flex: 1; /* Allow the input to fill available space */
    padding: 10px; /* Padding for input */
    border-radius: 14px 0 0 14px; /* Round left corners */
    border: 1px solid #ccc; /* Optional: border for input */
    width:20em;
}

.search-submit {
    padding: 10px 20px; /* Padding for button */
    background-color: #CC1939; /* Button color */
    color: #fff; /* Text color */
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor */
    border-radius: 0 14px 14px 0; /* Round right corners */
}

/* Button hover effect */
.search-submit:hover {
    background-color: #E33456; /* Darker shade on hover */
}

.search-submit svg {
    width: 24px; /* Desired width for the SVG */
    height: 24px; /* Desired height for the SVG */
    fill: currentColor; /* Inherit color from parent */
}

.no-results-found {
    text-align: center; /* Center the text */
    margin: 20px 50px 20px 50px; /* Add some margin for spacing */
    font-size: 1.2em; /* Increase font size for visibility */
    color: #171921; /* Change text color to match your theme */
    font-family: "manrope-regular", sans-serif;
    font-size: 1.2em;
}









.error-404-content {
    text-align: center;
}

.error-404-title {
    color: #171921;
    font-family: 'manrope-bold', sans-serif;
    font-size: 3.5em; /* Large, impactful title */
    margin-bottom: 15px;
}

.error-404-message,
.error-404-prompt {
    color: #171921;
    font-family: 'manrope-regular', sans-serif;
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 600px; /* Keep text readable */
    margin-left: auto;
    margin-right: auto;
}

.error-404-prompt {
    margin-top: 20px;
}

/* Button to go back to the homepage */
.btn-home {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #CC1939; /* Your primary accent color */
    color: #FFFCFF;
    font-family: 'manrope-semibold', sans-serif;
    text-decoration: none;
    border-radius: 8px; /* Consistent rounding */
    transition: background-color 0.3s ease;
}

.btn-home:hover {
    background-color: #E13654; /* Your primary hover color */
}





.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 40px;
}
.footer-branding {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-branding img {
    height: 40px;
}
.footer-branding .site-name {
    font-size: 1.8em;
    color: #FFFCFF; /* From your existing styles */
}

/* On mobile, stack them */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
}















/*
======================================
Single Post Stacked Byline Style
======================================
*/

/* Container for the stacked byline */
.post-byline-stacked {
    margin-top: -10px; /* Pulls it closer to the title */
    margin-bottom: 15px; /* Pushes the <hr> down */
}

/* Style for the "by Author" line */
.byline-author {
    font-family: "manrope-regular", sans-serif;
    font-size: 1.1em;
    color: #555;
    margin: 0; /* Remove all margins */
    line-height: 1.4;
}

/* Style for the "Year" line */
.byline-year {
    font-family: "manrope-regular", sans-serif;
    font-size: 1.0em; /* Makes it slightly smaller for a nice hierarchy */
    color: #6c757d;  /* A slightly lighter, secondary color */
    margin: 0; /* Remove all margins */
    line-height: 1.4;
}








*/
.post-genres-list {
    margin-top: 20px; /* Space above the tags */
    display: flex;
    flex-wrap: wrap; /* Allows tags to wrap onto the next line */
    gap: 8px; /* Space between tags */
}

.genre-tag {
    display: inline-block;
    background-color: #f1f1f1; /* A light grey background */
    color: #333; /* Dark text */
    font-family: "manrope-medium", sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 15px; /* Pill shape */
    text-decoration: none;
    transition: all 0.2s ease;
}

.genre-tag:hover {
    background-color: #CC1939; /* Your brand's red on hover */
    color: #fff; /* White text on hover */
}


















/* 1. The Full-Width Pink Container */
/* This rule makes the pink background stretch across the whole screen. */
.header-section {
    width: 100%;
    background-color: #FCEBE6;
    padding: 40px 20px; /* Adds top/bottom space and side space for mobile */
}

/* 2. The NEW Centered Inner Container */
/* This centers the text and image within the pink background. */
.header-section-inner {
    display: flex;
    align-items: center; /* Vertically aligns the text and image */

    /* --- CONTROLS FOR YOU --- */
    max-width: 1500px; /* Tweak this value to control the width of your content */
    margin: 0 auto;    /* This is what centers the content block */
    gap: 40px;         /* Tweak this for the gap between the text and image */
}

/* 3. The left (text) and right (image) columns */
.header-left {
    flex: 1; /* Allows the text block to grow */
    min-width: 0; /* Prevents text from overflowing */
}

.header-right {
    flex-shrink: 0; /* Prevents the image from shrinking */
    width: 333px;   /* Your original fixed width for the image container */
}

/* 4. The horizontal line <hr> */
.header-left hr {
    border: none;
    height: 2px;
    background-color: #CC1939;
    
    /* --- CONTROL THE LINE SPACING HERE --- */
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 5. This is for the main content BELOW the header */
/* It ensures the text content aligns perfectly with the header content above it. */
.post-container {
    max-width: 1900px; /* MUST be the same max-width as .header-section-inner */
    margin: 0 auto;    /* Centers the container */
    padding: 0px 20px; /* Gives the content some breathing room from the header and footer */
}

/*
======================================
Byline and Genre Styles (Already Added)
======================================
*/

/* Container for the stacked byline */
.post-byline-stacked {
    margin-top: -10px;
    margin-bottom: 15px;
}

/* Style for the "by Author" line */
.byline-author {
    font-family: "manrope-regular", sans-serif;
    font-size: 1.1em;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* Style for the "Year" line */
.byline-year {
    font-family: "manrope-regular", sans-serif;
    font-size: 1.0em;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Container for the genre tags */
.post-genres-list {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Individual genre tag style */
.genre-tag {
    display: inline-block;
    background-color: #f1f1f1;
    color: #333;
    font-family: "manrope-medium", sans-serif;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.genre-tag:hover {
    background-color: #CC1939;
    color: #fff;
}
/*
=====================================================
RESPONSIVE FIX: Stack Header on Mobile Screens
=====================================================
*/
@media (max-width: 1100px) {

    /* 1. Change the layout from side-by-side to stacked */
    .header-section-inner {
        flex-direction: column; /* This is the key change */
        gap: 30px; /* Adjust the vertical space between the stacked items */
        align-items: center;
    }

    /* 2. Center the text content when it's stacked */
    .header-left {
        text-align: center;
    }

    /* 3. Center the genre tags as well */
    .post-genres-list {
        justify-content: center;
    }

}



/*
=====================================================
FIX: Main Post Content Width and Centering
=====================================================
*/
.post-content {
    /* --- CONTROLS FOR YOU --- */
    /* This sets the ideal maximum reading width for your text. */
    /* 720px is a common, comfortable width for articles. Tweak as you like. */
    max-width: 1000px; 
    
    /* These two lines center the content block within its parent */
    margin-left: auto;
    margin-right: auto;
}
.header-section-inner {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 40px;
}

/* 3. The left (text) and right (image) columns */
.header-left {
    flex: 1;
    min-width: 0;
    margin: 0; /* Ensure old margins are gone */
}

.header-right {
    flex-shrink: 0;
    width: 333px;
    margin: 0; /* Ensure old margins are gone */
}







.post-meta-info {
    margin-top: 8px; /* Adds a little space below the title */
    font-family: "manrope-regular", sans-serif;
    color: #555; /* A nice, soft grey for the text */
    font-size: 14px;
    line-height: 1.4;
}
.archive-post-content .post-meta-info {
    font-family: "manrope-regular", sans-serif;
    color: #555; /* A nice, soft grey for the text */
    font-size: 14px;
    line-height: 1.4;
    margin-top: 8px; /* Adds a little space below the title */
    margin-bottom: 0;
}





body {
    background-color: #FFFCFF;
}












.excerpt-read-more {
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px; /* Adds a little space before the button */
    font-family: inherit; /* Use the same font as the surrounding text */
    font-size: inherit; /* Use the same font size */
    color: #CC1939; /* Your brand's accent color */
    cursor: pointer;
    display: inline; /* Ensures it flows with the text */
}

.excerpt-read-more:hover {
    color: #E13654; /* Your brand's hover color */
}







































.related-posts-section {
    width: 100%;
    background-color: #f9f9f9; /* A light background to separate it */
    padding: 40px 20px;
    margin-top: 40px; /* Space above the section */
    border-top: 1px solid #eee;
}

.related-posts-inner {
    max-width: 1300px; /* Match your content width */
    margin: 0 auto;
}

.related-posts-title {
    text-align: center;
    font-family: "manrope-semibold", sans-serif;
    color: #171921;
    font-size: 2.3em;
    margin-bottom: 20px;
}
a.logo-container {
    text-decoration: none;
}
