/*
Theme Name: Gossip News Theme
Theme URI: https://example.com/gossip-news-theme
Author: Your Name
Author URI: https://example.com
Description: A modern, responsive news and gossip theme for WordPress. Supports classic editor.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gossip-news-theme
Tags: news, gossip, responsive, modern
*/

body {
    font-family: Arial, sans-serif;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

a {
    color: #222;
    text-decoration: none;
}

a:hover {
    color: #1e90ff;
}

h1 {color: #222; font-weight:bold; }

.site-header {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 2em;
    font-weight: bold;
}

.datetime {
    font-size: 0.9em;
    color: #666;
}

.container,
.single .container {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.main-content,
.single .main-content {
    flex: 0 0 75%;
    padding: 10px;
}

.sidebar,
.single .sidebar {
    flex: 0 0 25%;
}

.post {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

.single .post {
    flex: 1;
    max-width: 100%;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.post-thumbnail {
    margin-bottom: 10px;
    overflow: hidden;
    border-radius: 6px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.post-thumbnail img:hover {
    transform: scale(1.03);
}

.post h2 {
    font-size: 1.25rem;
    margin: 10px 0 8px;
    line-height: 1.3;
    color: #222;
    transition: color 0.3s ease;
	font-weight: bold;
}
}

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

.post h2 a:hover {
    color: #1e90ff;
    text-decoration: underline;
}

.post div {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.7;
    margin-top: 5px;
}

.pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    font-size: 0.95rem;
    color: #1e90ff;
    border: 1px solid #1e90ff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #1e90ff;
    color: #fff;
}

.pagination .current {
    font-weight: bold;
    cursor: default;
}

.sidebar .widget {
    background-color: #ffffff;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.sidebar .widget:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.sidebar .widget h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #1e90ff;
    padding-bottom: 5px;
    color: #333;
}

.sidebar .widget ul {
    list-style: none;
    padding-left: 0;
}

.sidebar .widget ul li {
    margin-bottom: 8px;
}

.sidebar .widget ul li a {
    text-decoration: none;
    color: #1e90ff;
    transition: color 0.3s ease;
}

.sidebar .widget ul li a:hover {
    color: #005fa3;
}

.menu-toggle {
    display: none;
    background: none;
    font-size: 1.8rem;
    border: none;
    color: #ffffff;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 1001;
}

.main-nav {
    margin-top: 20px;
    background-color: #1e90ff;
    padding: 10px 0;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    flex-direction: row;
}

.menu li {
    position: relative;
}

.category-title {
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 20px;
}

.category-title h1 {
    font-size: 2rem;
    color: #333;
    margin: 0;
    padding: 10px 0;
    border-bottom: 2px solid #1e90ff;
}

.post-meta {
    font-size: 0.85rem !important;
    color: #777;
    margin: 8px 0 5px;
}

.post-meta span {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .single .main-content {
        display: block;
    }

    .single .post {
        width: 100%;
        padding: 0;
        margin-bottom: 20px;
    }

    .single .sidebar {
        width: 100%;
        margin-top: 20px;
    }
}


.menu li a {
    color: #ffffff !important;
}

.menu li a:hover {
    color: #f0f0f0;
}
/* Navigation menu styles */
.main-nav {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.main-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav .menu li {
    margin: 0 15px;
}

.main-nav .menu li a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.main-nav .menu li a:hover {
    text-decoration: underline;
}

/* Mobile styles */
.menu-toggle {
    display: none;
    background: #333;
    color: #fff;
    padding: 10px;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin: 10px;
}



/* Grid layout for posts */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post {
    flex: 1 1 100%;
}

/* Desktop: 3 posts per row */
@media (min-width: 992px) {
    .post {
        flex: 1 1 calc(33.333% - 20px);
    }
}

/* Breadcrumb styles */
.breadcrumb {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #555;
}

.breadcrumb a {
    color: #1e90ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Responsive layout for single post page */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .main-content {
        width: 100%;
    }
    .sidebar {
        width: 100%;
        margin-top: 20px;
    }
}

/* Typography Upgrade */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    font-size: 16px;
    color: #222;
}

/* Logo Styling */
.logo a {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

/* Section Heading Style */
.related-posts h3,
.breadcrumb,
.sidebar h2 {
    border-left: 4px solid #1e90ff;
    padding-left: 10px;
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #222;
}

/* Post Thumbnail Consistency */
.post-thumbnail img,
.related-post img {
    width: 100%;

    object-fit: cover;
    border-radius: 4px;
}

/* Hover Effects for Interactivity */
.related-post:hover,
.post:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Sidebar Visual Boost */
.sidebar {
    /* background: #fff; */
    /* padding: 15px; */
    /* border: 1px solid #ddd; */
    border-radius: 6px;
    margin-top: 5px;
}

/* Menu Hover & Active */
.main-nav .menu li a:hover,
.main-nav .menu li a:focus {
    color: #ff6600;
    text-decoration: underline;
}

/* Related Post Title */
.related-post h4 {
    font-size: 1em;
    margin-top: 10px;
    color: #333;
    transition: color 0.3s ease;
}

.related-post h4:hover {
    color: #1e90ff;
}

/* Extra post metadata styling */
.post-extra-meta {
    font-size: 0.85em;
    color: #666;
    margin-top: -10px;
    margin-bottom: 20px;
}

/* Social Sharing and Post Navigation */
.post-share-nav {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.share-buttons a {
    margin-right: 10px;
    color: #1e90ff;
    text-decoration: none;
    font-weight: bold;
}

.share-buttons a:hover {
    color: #ff6600;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.prev-post, .next-post {
    width: 48%;
    font-size: 0.95em;
}
