/*
Theme Name: NameScoresTheme
Theme URI: https://domainlistplus.com/
Author: Cline
Author URI: https://cline.ai/
Description: A basic WordPress theme designed to match the look and feel of the main DomainListPlus website. Uses the primary navigation menu.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-header, custom-menu, featured-images, full-width-template, theme-options, translation-ready, two-columns
Text Domain: namescorestheme
*/

/* Main site CSS is now enqueued via functions.php */

/* Add any theme-specific overrides or additions below */

/* Ensure WordPress content area has some basic styling if needed */
.entry-content {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Basic styling for comments, adjust as needed */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.comment-list li {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
}
.comment-author .avatar {
    float: left;
    margin-right: 10px;
    border-radius: 50%;
}
.comment-meta {
    font-size: 0.9em;
    color: #777;
}
.comment-content {
    clear: both;
    padding-top: 5px;
}
.reply a {
    font-size: 0.9em;
}

/* Style adjustments for WordPress elements if they conflict with main CSS */
/* Example: Ensure images within posts are responsive */
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Add padding to the main content area within the container */
body.blog .container.main-content,
body.single .container.main-content,
body.archive .container.main-content,
body.search .container.main-content {
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fff; /* Give content area a white background */
    border: 1px solid #e7e7e7; /* Optional: add border like pricing cards */
    border-radius: 8px; /* Optional: round corners */
    margin-top: 20px; /* Add space below header */
    margin-bottom: 20px; /* Add space above footer */
}

/* Style the post titles */
.entry-title {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #0056b3; /* Match hero heading color */
}
.entry-title a {
    color: inherit; /* Inherit color from h2 */
    text-decoration: none;
}
.entry-title a:hover {
    color: #007bff; /* Primary blue on hover */
}

/* Post meta styling */
.entry-meta {
    font-size: 0.9em;
    color: #6c757d; /* Secondary text color */
    margin-bottom: 1.5em;
}

/* Read more link styling */
.read-more-link {
    display: inline-block;
    margin-top: 1em;
    font-weight: bold;
}

/* Pagination styling */
.pagination {
    margin-top: 30px;
    text-align: center;
}
.pagination .nav-links {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}
.pagination a,
.pagination span {
    padding: 5px 10px;
    margin: 0 2px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.pagination span.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
.pagination a:hover {
    background-color: #f0f0f0;
}

/* Sidebar styling (if you plan to add one later) */
.widget-area {
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-top: 20px; /* Adjust as needed */
}
.widget-title {
    font-size: 1.3em;
    margin-bottom: 1em;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
}
.widget ul {
    list-style: none;
    padding: 0;
}
.widget ul li {
    margin-bottom: 0.5em;
}
.widget ul li a {
    text-decoration: none;
}

/* Post Card Styling */
.posts-container {
    display: grid;
    gap: 20px; /* Space between cards */
    grid-template-columns: 1fr; /* 1 column on mobile */
}

.post-card {
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    overflow: hidden; /* Ensures image corners are rounded with the card */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column; /* Stack content vertically */
}

.post-card-thumbnail {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

.post-card-thumbnail img {
    display: block; /* Remove extra space below image */
    width: 100%;
    height: auto;
}

.post-card-content {
    padding: 15px;
    flex-grow: 1; /* Allow content to take up remaining space */
    display: flex;
    flex-direction: column;
}

.post-card .entry-title {
    font-size: 1.5em; /* Adjust title size for cards */
    margin-bottom: 0.5em;
}

.post-card .entry-content {
    margin-top: 0;
    margin-bottom: 1em;
    flex-grow: 1; /* Allow excerpt to take up space */
}

.post-card .read-more-link {
    margin-top: auto; /* Push read more link to the bottom */
}


/* Responsive Grid */
@media (min-width: 768px) { /* Adjust breakpoint as needed */
    .posts-container {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on wider screens */
    }
}

/* Category Page Content Styling */
.category-page-content {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 50px;
}

article {
    padding: 0 10px;
}

/* Responsive Navigation */
.menu-toggle {
    display: none; /* Hide hamburger on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin: 0;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 100; /* Ensure it's above other content */
}

.menu-toggle .menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333; /* Adjust color as needed */
    position: relative;
    transition: background-color 0.3s ease-in-out;
}

.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333; /* Adjust color as needed */
    position: absolute;
    left: 0;
    transition: transform 0.3s ease-in-out;
}

.menu-toggle .menu-icon::before {
    top: -8px;
}

.menu-toggle .menu-icon::after {
    top: 8px;
}

/* Animation for hamburger to close icon */
.menu-toggle.toggled .menu-icon {
    background-color: transparent;
}

.menu-toggle.toggled .menu-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.toggled .menu-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}


.main-navigation {
    /* Desktop styles - horizontal menu */
    display: flex;
    justify-content: flex-end; /* Align menu to the right */
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Arrange menu items horizontally */
}

.main-navigation li {
    margin-left: 20px; /* Space between menu items */
}

.main-navigation a {
    text-decoration: none;
    color: #333; /* Adjust link color */
    font-weight: bold;
    padding: 10px 0;
    display: block;
}

.main-navigation a:hover {
    color: #007bff; /* Adjust hover color */
}

/* Mobile styles */
@media (max-width: 767px) { /* Adjust breakpoint as needed */
    .site-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative; /* Needed for absolute positioning of toggle */
    }

    .site-branding {
        margin-right: auto; /* Push logo to the left */
    }

    .site-branding h1 {
        /* Removed text-align: left */
    }

    .site-branding img {
        display: block; /* Ensure image is a block element */
    }

    .menu-toggle {
        display: block; /* Show hamburger on mobile */
    }

    .main-navigation-wrap {
        display: none; /* Hide menu by default on mobile */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background-color: #fff; /* Background for dropdown */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

    .main-navigation-wrap.toggled {
        display: block; /* Show menu when toggled */
    }

    .main-navigation {
        flex-direction: column; /* Stack menu items vertically */
        padding: 10px 0;
    }

    .main-navigation ul {
        flex-direction: column; /* Stack menu items vertically */
        width: 100%;
    }

    .main-navigation li {
        margin: 0;
        border-bottom: 1px solid #eee; /* Separator between items */
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        padding: 10px 15px; /* Add padding to mobile links */
    }
}
footer.entry-footer {
	background-color: #fff;
	color: #000;
	padding: 10px;
	text-align: right;
}
.comments-area {
	padding: 10px;
}

#submit {
	
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin: 5px;
    background-color: #007bff;
    color: #fff;
}

.wp-block-quote {
	display: block;
	width: 90%;
	margin: 0 auto;
	padding: 12px;
	background-color: #e8f2ff;
}

code, 
.wp-block-code {
	background-color: #efefef;
	padding: 5px;
}