/*
Theme Name: BC_theme
Theme URI: https://beachcafe.pennington.co.za
Author:Beach Cafe Team
Author URI: https://https://beachcafe.pennington.co.za
Description: A theme to integrate the WordPress blog with the existing website design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: BC_theme
Tags: custom-header, custom-background, blog
*/

/* WordPress Specific Styles (add as needed) */
/* For example, to style blog posts, comments, widgets etc. to match your site */



/* === CSS COPIED FROM YOUR MAIN SITE'S styles.css === */

/*---------------------------------------------------------------------------*/
/*-------------------------------Root-Config---------------------------------*/
/*---------------------------------------------------------------------------*/
:root {
    --primary-color: #2c7744;
    --secondary-color: #c9e4ca;
    --accent-color: #e76f51;
    --dark-color: #1a2e1b;
    --light-color: #d8d9da;
    --heading-font: 'BlackBones', serif; /* Your custom font */
    --body-font: 'Overpass', sans-serif;   /* Your custom font */
    /* Add any other variables you defined like --card-radius etc. here if they were separate */
    --card-radius: 10px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --meta-text-color: #666;
    --link-hover-color: #A62D26; /* Example, adjust */
    --text-color: #333; /* Example, adjust */
    --body-font: 'Overpass', sans-serif;   /* Your custom font */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
    MODIFICATION FOR WORDPRESS INTEGRATION:
    The body padding-top is crucial for the sticky header.
    Set this to the initial height of your header.
    Your header has padding: 20px top/bottom initially, and logo height: 60px.
    Total height roughly 20 + 60 + 20 = 100px.
    Adjust if your header's actual rendered initial height is different.
*/
html {
    height: 100%; /* Often needed for full height layouts */
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: var(--body-font); /* Apply body font globally */
    /* overflow-x: hidden; /* Usually good to prevent horizontal scroll */

    /* CRITICAL FOR STICKY HEADER: Space for the header */
    /* Let's assume initial header height (padding + logo + padding) is around 100px */
    /* If your header's height when not scrolled is exactly 100px (60px logo + 2*20px padding), this is correct */
    /* Otherwise, MEASURE your header's initial height and set it here. */
    /*padding-top: 100px; /* ADJUST IF YOUR HEADER'S INITIAL HEIGHT IS DIFFERENT */
        display: flex;
    flex-direction: column;
    min-height: 100vh; /* Make body at least the full viewport height */
    /* Note: Because html also has height: 100%, min-height: 100% on body would also work.
       100vh is often more direct for viewport height. */
}

h3, h4 {
    font-family: 'Overpass', serif; /* You had this, ensure Playfair is loaded or change */
    font-weight: 700;
}

h1, h2 {
    font-family: var(--heading-font); /* 'BlackBones' */
    font-weight: 700; /* Check if BlackBones has a 700 weight or if 'normal' is better */
}

/*---------------------------------------------------------------------------*/
/*-----------------------------Header-Section--------------------------------*/
/*---------------------------------------------------------------------------*/
/* Your existing header selector is 'header'. For WordPress, it's good to be more specific
   if the main WP content might also use a <header> tag (e.g., for articles).
   Let's assume your main site header in header.php has id="main-header" */
#main-header { /* CHANGED from 'header' to '#main-header' for specificity */
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px; /* Initial padding */
    background: rgba(255, 255, 255, 0.9); /* Your existing background */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.5s ease, height 0.5s ease; /* Transition padding and implicit height changes */
    z-index: 1000;
    font-family: var(--heading-font); /* 'BlackBones' */
    /* Ensure initial height is consistent with body padding-top */
    /* If logo is 60px, padding 20px top/bottom, effective height is ~100px */
}

#main-header.scrolled { /* Class added by JS when scrolled */
    padding: 10px 20px; /* Smaller padding when scrolled */
    /* The height will adjust due to smaller padding and smaller logo if needed */
}

#main-header .logo img {
    height: 60px; /* Initial logo size */
    transition: height 0.5s ease; /* Transition logo height */
}

#main-header.scrolled .logo img {
    height: 40px; /* Smaller logo when scrolled */
}

#main-header nav ul { /* Be specific to #main-header */
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

#main-header nav ul li {
    display: inline;
}

#main-header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold; /* Consider if BlackBones has a bold variant or if 'normal' is better */
    font-size: 24px;
    transition: color 0.3s ease;
}

#main-header nav ul li a:hover {
    color: #ff6f61; /* Beachy coral color */
}

#main-header .mobile-menu { /* Be specific to #main-header */
    display: none; /* Will be shown via media query */
    cursor: pointer;
}

#main-header .mobile-menu div {
    width: 25px;
    height: 3px;
    background-color: #333; /* Changed from white to be visible on light header bg */
    margin: 5px;
    transition: all 0.3s ease;
}

/* Removed: main { padding-top: 100px; } - body padding-top handles this now */

/*---------------------------------------------------------------------------*/
/*-----------------------background-slideshow--------------------------------*/
/*---------------------------------------------------------------------------*/

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    filter: sepia(90%) blur(4px);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 0.4;
    /* background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0) 100%),
                url(''); /* This seems incomplete or was for a specific image.
                           The JS applying backgroundImage to .slide should handle the actual image.
                           If you want a default gradient overlay on active slides: */
    /* Example overlay: */
    /* &::before {
        content: "";
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: radial-gradient(circle, rgba(0,0,0,0.3) 30%, transparent 70%);
        opacity: 1;
    } */
}


/*---------------------------------------------------------------------------*/
/*--------------------------Fonts Section-------------------------------*/
/*---------------------------------------------------------------------------*/
@font-face {
  font-family: 'BlackBones';
  /* IMPORTANT: Adjust this path if needed.
     This assumes 'fonts' folder is directly inside 'BC_theme' */
  src:url('fonts/BlackBones.ttf') format('truetype');
  font-weight: normal; /* Or the specific weight this font file represents */
  font-style: normal;
}

/* Make sure Playfair Display is loaded if you use it for h3, h4.
   If it's from Google Fonts, it should be linked in header.php <head> */
/* Example for Playfair Display (if not already linked):
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');
*/


/* === STYLES FOR WORDPRESS CONTENT AREA AND CARDS === */

/* This is the <div id="content" class="site-content"> from your header.php */
.site-content {
    padding-top: 20px; /* Space AFTER sticky header's reserved area, BEFORE first card */
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 40px; /* Space at the bottom */
    flex-grow: 1;
    /* background-color: #f9f9f9; /* Optional: overall background for the content column */
    /* max-width: 1100px; /* Optional: constrain content width */
    /* margin: 0 auto; /* Optional: center content column */
}

/*
   WordPress posts are usually wrapped in <article class="post post-ID type-post status-publish ...">
   The .post class is a good general target.
*/
article.post, /* General post card styles */
article.post-card-with-image { /* Styles for the card with image layout */
    background-color: var(--card-bg, #ffffff);
    border: 1px solid #ddd;
    border-radius: var(--card-radius, 8px);
    /* padding: 25px; /* Remove direct padding if children handle it */
    margin-bottom: 30px;
    box-shadow: var(--card-shadow, 0 4px 8px rgba(0,0,0,0.1));
    overflow: hidden; /* Good for keeping rounded corners clean with images */

    /* --- Flexbox for image on side --- */
    display: flex;
    align-items: flex-start; /* Align items to the top if they have different heights */
    /* Or use align-items: center; to vertically center image and text block relative to each other */
    gap: 20px; /* Space between image and text content block */
}

article.post .entry-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

article.post h2.entry-title { /* This is the "New Website" title */
    font-family: var(--heading-font); /* BlackBones */
    font-size: 2em; /* Adjust as needed */
    color: var(--dark-color, #1a2e1b);
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

article.post h2.entry-title a {
    color: inherit;
    text-decoration: none;
}

article.post h2.entry-title a:hover {
    color: var(--primary-color, #2c7744);
}

article.post .entry-meta { /* For date, author, categories etc. */
    font-size: 0.85em;
    color: var(--meta-text-color, #777);
    margin-bottom: 15px;
}
article.post .entry-meta a {
    color: var(--meta-text-color, #777);
    text-decoration: none;
}
article.post .entry-meta a:hover {
    color: var(--primary-color, #2c7744);
}

article.post .entry-content,
article.post .entry-summary {
    font-family: var(--body-font); /* Overpass */
    font-size: 1em; /* Or your standard paragraph size */
    line-height: 1.7;
    color: var(--text-color, #333);
}

article.post .entry-content p,
article.post .entry-summary p {
    margin-bottom: 1.2em;
}
article.post .entry-content p:last-child,
article.post .entry-summary p:last-child {
    margin-bottom: 0;
}

article.post h2.entry-title {
    font-family: var(--heading-font);
    font-size: 1.6em; /* May need to adjust size for this layout */
    color: var(--dark-color, #1a2e1b);
    margin-top: 0;
    margin-bottom: 0.3em;
    line-height: 1.2;
}

article.post .entry-meta {
    font-size: 0.8em; /* Slightly smaller meta */
    color: var(--meta-text-color, #777);
    margin-bottom: 0; /* Meta is last in header */
}

article.post .entry-summary {
    font-family: var(--body-font);
    font-size: 0.95em; /* Adjust excerpt font size */
    line-height: 1.6;
    color: var(--text-color, #333);
}
article.post .entry-summary p {
    margin-bottom: 1em;
}
article.post .entry-summary p:last-child {
    margin-bottom: 0;
}


/* Read More link (if using excerpts) */
.entry-summary .more-link {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}
.entry-summary .more-link:hover {
    background-color: var(--dark-color);
}

@media (max-width: 768px) { /* Example breakpoint for smaller screens */
    article.post,
    article.post-card-with-image {
        flex-direction: column; /* Stack image on top of text */
        gap: 0; /* Remove side gap when stacked */
    }

    article.post .post-thumbnail {
        width: 100%; /* Image takes full width */
        margin-bottom: 15px; /* Space between image and text when stacked */
    }

    article.post .post-thumbnail img {
        /* border-radius: calc(var(--card-radius, 8px) - 0px) calc(var(--card-radius, 8px) - 0px) 0 0; /* Round top corners of image */
        /* If you want image to fill width, height:auto is good.
           If you want a specific aspect ratio for stacked image:
           height: 200px;
           object-fit: cover; */
    }

    article.post .post-content-wrap {
        padding: 20px; /* Ensure padding is consistent or adjust for stacked view */
    }
}

/*---------------------------------------------------------------------------*/
/*-----------------------------Footer-Section--------------------------------*/
/*---------------------------------------------------------------------------*/
/* Your existing footer selector is 'footer'. Similar to header, let's make it specific
   if WordPress might output other <footer> elements. Assuming your main footer has id="site-footer" */
/* In wp-content/themes/BC_theme/style.css */

/* ... (your existing html, body, #main-header, .site-content styles) ... */

#site-footer {
    background: rgba(255, 255, 255, 0.85);
    padding: 25px 20px;
    text-align: center; /* This will help center the UL if it's not full width */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    width: 100%; /* Ensure footer spans width */
}

#site-footer .social-media {
    margin-bottom: 15px;
    /* The ul.social-links will be centered by text-align:center on #site-footer */
}

/* Target the UL for list reset and potential centering */
#site-footer ul.social-links {
    list-style: none; /* Remove default bullet points */
    padding: 0;       /* Remove default UL padding */
    margin: 0 auto;   /* Helps center the UL block if it has a defined width or is inline-block */
    /* display: inline-block; /* Option 1: Makes the UL only as wide as its content, allowing text-align on parent to center it */
                               /* If using inline-block on UL, you might need text-align:left here if LIs have variable width text */
}

/* CRITICAL: Make list items display inline or inline-block */
#site-footer ul.social-links li {
    display: inline-block; /* This makes them go side-by-side */
    /* display: inline; /* Alternative, but inline-block gives more control over margin/padding */
    margin: 0 10px; /* Adjust for spacing between links (e.g., 5px top/bottom, 10px left/right) */
                    /* Or just margin-left/right: margin: 0 10px; */
}

/* Styling for the anchor tags remains largely the same */
#site-footer ul.social-links li a { /* More specific selector */
    text-decoration: none;
    color: var(--text-color, #333);
    font-size: 1.1em; /* Or your desired size */
    /* font-family: var(--body-font); // Inherits from footer or body */
    transition: color 0.3s ease;
}

#site-footer ul.social-links li a:hover {
    color: var(--accent-color, #ff6f61);
}

#site-footer p { /* The copyright paragraph */
    margin: 0;
    font-size: 0.9em;
    color: var(--meta-text-color, #555);
    font-family: var(--body-font);
}

/* Keep your other sections like hero, about, flyer, contact, animations, and responsive styles */
/* They might not all apply to the blog page, but it's fine to have them for consistency
   or if you plan to use similar structures on WP pages later. */

/* Paste the REST of your CSS (hero-section, about-section, etc., and @media queries) here */
/* ... (ensure all your other CSS rules from the file you provided are included) ... */
/* For brevity, I'm not re-pasting everything, but you should include it all */

/* Make sure the responsive styles for the header are also specific if needed */
@media (max-width: 768px) { /* Example */
    #main-header nav ul {
        /* Your mobile menu display logic here */
        display: none; /* Hide desktop nav */
    }
    #main-header .mobile-menu {
        display: block; /* Show hamburger icon */
    }

    /* Adjust body padding for potentially taller mobile header if it changes height */
    body {
        /* If header height changes on mobile, adjust padding-top */
        /* padding-top: 80px; /* Example if mobile header is 80px */
    }

    article.post h2.entry-title {
        font-size: 1.5em; /* Smaller titles on mobile */
    }
}

/* Animations Section (from your CSS) */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Override for mobile to force visibility and opacity */
@media (max-width: 768px) {
    .hero-subtitle { /* This was in your file, keep if needed for other pages */
        visibility: visible !important;
        opacity: 1 !important;
        animation: fadeInUp 2s ease-out forwards !important;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-section {
        padding-top: 80px;
    }
}



/* In wp-content/themes/BC_theme/style.css */
/* Replace your entire existing comments CSS section with this block */

/*---------------------------------------------------------------------------*/
/*-------------------- WordPress Comments Section Styling -------------------*/
/*---------------------------------------------------------------------------*/

/* Main wrapper for the entire comments area (includes existing comments and form) */
#comments {
    margin-top: 40px; /* Space above the comments section */
    padding-top: 30px;
    border-top: 1px solid #eee; /* Separator from post content */
}

/* --- Displayed Comments (Using Flexbox for 2-columns) --- */

/* Wrapper for the list of comments */
ol.commentlist,
ul.commentlist {
    list-style: none;
    padding: 0;
    margin: 40px 0; /* Space above and below the actual list */

    /* Flexbox for 2-column layout */
    display: flex;
    flex-wrap: wrap;
    gap: 25px; /* Space between comment cards (adjust as needed) */
}

/* Each individual comment item (card) */
ol.commentlist li.comment,
ul.commentlist li.comment {
    background-color: #fdfdfd; /* Or var(--card-bg) */
    border: 1px solid #e0e0e0;
    border-radius: var(--card-radius, 8px);
    padding: 20px 25px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);

    /* Flexbox item sizing for 2-column layout */
    flex-basis: calc(50% - 12.5px); /* (50% - (gap / 2) -> 50% - (25px / 2)) */
    flex-grow: 1;
    min-width: 280px; /* Prevent cards from getting too narrow before wrapping */
}

/* The main body/content div of the comment */
ol.commentlist li.comment .comment-body,
ul.commentlist li.comment .comment-body {
    overflow: hidden; /* Contains floated avatar */
    width: 100%;
    font-family: var(--body-font);
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color, #333);
}

/* Comment author's avatar */
ol.commentlist li.comment .comment-author img.avatar,
ul.commentlist li.comment .comment-author img.avatar,
ol.commentlist li.comment .comment-author .avatar img,
ul.commentlist li.comment .comment-author .avatar img {
    float: left;
    margin-right: 15px;
    margin-bottom: 5px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background-color: #fff;
}

/* Container for author name and "says" */
ol.commentlist li.comment .comment-author.vcard,
ul.commentlist li.comment .comment-author.vcard {
    margin-bottom: 5px;
    overflow: hidden;
}

/* Author's name */
ol.commentlist li.comment .comment-author .fn,
ul.commentlist li.comment .comment-author .fn,
ol.commentlist li.comment .comment-author .fn a,
ul.commentlist li.comment .comment-author .fn a {
    font-family: var(--heading-font);
    font-size: 1.3em;
    font-weight: normal;
    color: var(--dark-color);
    text-decoration: none;
    display: inline;
}
ol.commentlist li.comment .comment-author .fn a:hover,
ul.commentlist li.comment .comment-author .fn a:hover {
    color: var(--primary-color);
}
ol.commentlist li.comment .comment-author span.says,
ul.commentlist li.comment .comment-author span.says {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
    margin-left: 5px;
}

/* Comment metadata (date/time link) */
ol.commentlist li.comment .comment-meta.commentmetadata,
ul.commentlist li.comment .comment-meta.commentmetadata,
ol.commentlist li.comment .comment-meta,
ul.commentlist li.comment .comment-meta {
    font-family: var(--body-font);
    font-size: 0.8em;
    color: var(--meta-text-color, #777);
    line-height: 1.4;
    margin-bottom: 10px;
    display: block;
    clear: left;
    padding-top: 5px;
}
ol.commentlist li.comment .comment-meta.commentmetadata a,
ul.commentlist li.comment .comment-meta.commentmetadata a,
ol.commentlist li.comment .comment-meta a,
ul.commentlist li.comment .comment-meta a {
    color: var(--meta-text-color, #777);
    text-decoration: none;
}
ol.commentlist li.comment .comment-meta.commentmetadata a:hover,
ul.commentlist li.comment .comment-meta.commentmetadata a:hover,
ol.commentlist li.comment .comment-meta a:hover,
ul.commentlist li.comment .comment-meta a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* The actual text content of the comment */
ol.commentlist li.comment .comment-body > p,
ul.commentlist li.comment .comment-body > p,
ol.commentlist li.comment .comment-content p, /* If a .comment-content div exists */
ul.commentlist li.comment .comment-content p {
    font-family: var(--body-font);
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color, #333);
    margin-bottom: 1em;
    margin-top: 0;
}
ol.commentlist li.comment .comment-body > p:last-child,
ul.commentlist li.comment .comment-body > p:last-child,
ol.commentlist li.comment .comment-content p:last-child,
ul.commentlist li.comment .comment-content p:last-child {
    margin-bottom: 0;
}

/* "Your comment is awaiting moderation" text */
ol.commentlist li.comment em.comment-awaiting-moderation,
ul.commentlist li.comment em.comment-awaiting-moderation {
    display: block;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #fff9c4;
    border: 1px solid #fbc02d;
    border-radius: 4px;
    font-size: 0.9em;
    color: #3E2723;
    font-style: italic;
    clear:both;
}

/* Reply link section within a comment */
ol.commentlist li.comment .reply,
ul.commentlist li.comment .reply {
    clear: both;
    margin-top: 15px;
    text-align: right;
}

/* The "Reply" link itself */
ol.commentlist li.comment .reply a.comment-reply-link,
ul.commentlist li.comment .reply a.comment-reply-link {
    font-family: var(--body-font);
    font-size: 0.85em;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-block;
}
ol.commentlist li.comment .reply a.comment-reply-link:hover,
ul.commentlist li.comment .reply a.comment-reply-link:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Nested comments (replies to replies) - these will take full width of parent card */
ol.commentlist li.comment ul.children,
ul.commentlist li.comment ul.children {
    width: 100%;
    flex-basis: 100% !important; /* Ensure it takes full width within parent flex item */
    list-style: none;
    padding-left: 20px; /* Indentation for children */
    margin-top: 20px;
    border-left: 2px solid var(--primary-color);
    padding-top: 15px;
    gap: 0;
}
ol.commentlist li.comment ul.children li.comment,
ul.commentlist li.comment ul.children li.comment {
    flex-basis: 100% !important; /* Make nested comment cards full width */
    margin-bottom: 20px;
}

/* Styling for comment text that is NOT wrapped in <p> */
ol.commentlist li.comment .comment-meta.commentmetadata + br + :not(div),
ul.commentlist li.comment .comment-meta.commentmetadata + br + :not(div) {
    display: block;
    margin-top: 10px;
}

/* --- Comment Form Styling (Leave a Reply) --- */
.comment-respond { /* Main form wrapper */
    background-color: var(--card-bg, #ffffff);
    padding: 25px 30px;
    border-radius: var(--card-radius, 8px);
    border: 1px solid #ddd;
    box-shadow: var(--card-shadow, 0 4px 8px rgba(0,0,0,0.1));
    margin-top: 30px; /* Space above the main form if there are comments */
    clear: both; /* Ensure it's below any floated comment lists */
}

/* Title of the comment form section (e.g., "Leave a Reply") */
.comment-reply-title {
    font-family: var(--heading-font);
    font-size: 1.8em;
    color: var(--dark-color, #1a2e1b);
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.comment-reply-title small { /* Cancel reply link container */
    font-size: 0.7em;
    font-weight: normal;
    margin-left: 10px;
    font-family: var(--body-font);
}
.comment-reply-title small a { /* The actual cancel reply link */
    color: var(--accent-color);
    text-decoration: none;
}
.comment-reply-title small a:hover {
    text-decoration: underline;
}

/* Styling for form fields: p tags often wrap label + input */
.comment-form p {
    margin-bottom: 15px;
}
.comment-form label {
    display: block;
    font-family: var(--body-font);
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color, #333);
    font-size: 0.9em;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: var(--body-font);
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075);
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.075), 0 0 5px rgba(44, 119, 68, 0.5);
}
.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* "Logged in as..." text and "Your email address will not be published..." */
.logged-in-as,
.comment-notes {
    font-family: var(--body-font);
    font-size: 0.85em;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
}
.logged-in-as a,
.comment-notes a {
    color: var(--primary-color);
    text-decoration: none;
}
.logged-in-as a:hover,
.comment-notes a:hover {
    text-decoration: underline;
}

/* Submit button */
.form-submit .submit {
    font-family: var(--heading-font);
    background-color: var(--primary-color);
    color: white !important;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-submit .submit:hover,
.form-submit .submit:focus {
    background-color: var(--dark-color);
    transform: translateY(-1px);
}

/* Checkbox for cookies consent, etc. */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-family: var(--body-font);
}
.comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin-right: 5px;
    flex-shrink: 0;
}
.comment-form-cookies-consent label {
    margin-bottom: 0;
    font-weight: normal;
}

/* --- Inline Reply Form Adjustments --- */
/* This targets the .comment-respond form when it's moved for an inline reply */
.comment .comment-respond {
    margin-top: 20px;
    margin-left: 0; /* Reset indentation if nested */
    padding: 20px; /* Slightly more compact padding */
    border-top: 2px solid var(--primary-color); /* Visual cue for inline form */
    /* It should inherit its main card styles (background, border, shadow) from .comment-respond */
}
.comment .comment-respond .comment-reply-title { /* Title of inline form */
    font-size: 1.5em; /* Smaller title for inline */
    margin-bottom: 15px;
    padding-bottom: 8px;
}
/* The "Cancel reply" link specifically */
#cancel-comment-reply-link {
    font-family: var(--body-font);
    font-size: 0.8em;
    color: var(--accent-color);
    text-decoration: none;
    margin-left: 10px;
    font-weight: bold;
    display: inline-block;
    padding: 3px 6px;
    border: 1px dashed var(--accent-color);
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
#cancel-comment-reply-link:hover {
    background-color: var(--accent-color);
    color: white;
    border-style: solid;
}
/* Make fields in inline reply form slightly more compact */
.comment .comment-respond .comment-form p {
    margin-bottom: 12px;
}
.comment .comment-respond .comment-form textarea {
    min-height: 80px;
}
.comment .comment-respond .form-submit .submit {
    padding: 10px 20px;
    font-size: 1em;
}

h2.comments-title, /* Common class used by themes */
h3#comments {       /* Matches the specific ID from your provided HTML */
    font-family: var(--heading-font); /* BlackBones */
    font-size: 2em;                 /* Match your other H2/H3 post title sizes */
    color: var(--dark-color);
    margin-top: 40px;  /* Space above this title, if #comments wrapper doesn't have enough */
    margin-bottom: 30px; /* Space between this title and the comment list or form */
    padding-bottom: 15px; /* Space for an underline */
    border-bottom: 1px solid #ddd; /* Subtle underline */
    text-align: left; /* Or 'center' if you prefer */
    font-weight: normal; /* BlackBones might be bold by default, adjust if needed */
}

/* If the title is directly within the #comments div, ensure #comments div itself
   doesn't have conflicting text-align if you want the title left-aligned.
   The #comments div styling we had was:
*/
#comments { /* This is the main wrapper for the ENTIRE comments area */
    margin-top: 40px;
    padding-top: 0; /* Remove padding if title handles top margin */
    border-top: 1px solid #eee;
    /* text-align: left; /* Set default alignment for children */
}

#comments .navigation { /* Targeting .navigation within #comments */
    padding: 15px 0;
    margin-bottom: 20px;
    overflow: hidden; /* Clear floats */
    font-family: var(--body-font);
    font-size: 0.9em;
}
#comments .navigation .alignleft {
    float: left;
}
#comments .navigation .alignright {
    float: right;
}
#comments .navigation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}
#comments .navigation a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}




/* --- Responsive for 2-Column Displayed Comments --- */
@media (max-width: 768px) { /* Adjust breakpoint as needed */
    ol.commentlist li.comment,
    ul.commentlist li.comment {
        flex-basis: 100%; /* Each comment takes full width on smaller screens */
    }
    /* If you set a large 'gap' on ol.commentlist, it will apply vertically too.
       If you want different vertical spacing on mobile, you might remove the gap
       and add margin-bottom back to li.comment for mobile. */
    /*
    ol.commentlist,
    ul.commentlist {
        gap: 0;
    }
    ol.commentlist li.comment,
    ul.commentlist li.comment {
         margin-bottom: 25px; /* Re-add vertical margin if 'gap' is removed for mobile */
    /* }
    */
}


@font-face {
  font-family: 'BlackBones';
  /* This path is RELATIVE to the style.css file itself */
  src:url('fonts/BlackBones.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}