/* --- Magazine Custom Styles --- */
:root {
    --primary-color: #1a1a1a;
    --theme-accent-color: #ff6b35; /* This is the default, overridden by WP */
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
}

/* Example updates throughout your CSS: */

.category-badge,
#topbar{
    background-color: var(--theme-accent-color); /* Replaced #c0392b */
}
.category-badge:hover {
    background-color: color-mix(in srgb, var(--theme-accent-color), black 10%); /* Darkens the dynamic color */
}

.nav-link:hover {
    color: var(--theme-accent-color) !important;
}

.section-heading::after {
    background-color: var(--theme-accent-color);
}

.read-more-link {
    color: var(--theme-accent-color);
}

.load-more-btn {
    background-color: var(--theme-accent-color);
}
.load-more-btn:hover {
    background-color: color-mix(in srgb, var(--theme-accent-color), black 10%);
}

/* Search Overlay */
.search-close-btn:hover {
    background-color: var(--theme-accent-color);
    border-color: var(--theme-accent-color);
}
.search-submit-btn {
    background: var(--theme-accent-color);
}
.search-submit-btn:hover {
    background: color-mix(in srgb, var(--theme-accent-color), black 10%);
}

body {
	font-family: 'Inter', sans-serif;
	color: var(--primary-color);
	line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
	font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar-brand {
	font-size: 1.8rem;
	font-weight: 700;
	letter-spacing: -0.5px;
}
.nav-link {
	font-weight: 500;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--primary-color) !important;
}
.nav-link:hover {
	color: var(--accent-color) !important;
}

/* Category Badges */
.category-badge {
	background-color: var(--accent-color);
	color: white;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 2px;
	text-decoration: none;
	letter-spacing: 0.5px;
}
.category-badge:hover {
	color: white;
	background-color: #a93226;
}

/* Hero Section */
.hero-img {
	width: 100%;
	height: 450px;
	object-fit: cover;
}
.hero-img-small {
	width: 100%;
	height: 215px;
	object-fit: cover;
}
.hero-overlay {
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
	border-radius: 0 0 0.375rem 0.375rem;
}

/* Blog Posts Grid Section */
.blog-posts-section {
	background-color: var(--bg-light);
	padding: 4rem 0;
}
.blog-post-card {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
}
.blog-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.blog-post-card img {
	width: 100%;
	height: 280px;
	object-fit: cover;
}
.blog-post-card .card-body {
	padding: 1.5rem;
}
.blog-post-card .card-title {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 1rem;
}
.blog-post-card .card-title a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s;
}
.blog-post-card .card-title a:hover {
	color: var(--accent-color);
}
.blog-post-meta {
	font-size: 0.85rem;
	color: var(--text-muted);
}
.blog-post-meta strong {
	color: var(--primary-color);
	font-weight: 500;
}

/* Article Cards */
.article-card img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.article-card:hover img {
	transform: scale(1.03);
}
.article-card .card-title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}
.article-card .card-title a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.2s;
}
.article-card .card-title a:hover {
	color: var(--accent-color);
}
.meta-text {
	font-size: 0.8rem;
	color: var(--text-muted);
}

/* Sidebar Widgets */
.sidebar-widget {
	background: var(--bg-light);
	padding: 1.5rem;
	border-radius: 4px;
	margin-bottom: 2rem;
}
.sidebar-widget h5 {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 2px solid var(--accent-color);
	padding-bottom: 0.5rem;
	margin-bottom: 1.2rem;
	display: inline-block;
}
.popular-post-item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.2rem;
	align-items: center;
}
.popular-post-item img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}
.popular-post-item h6 {
	font-size: 0.95rem;
	margin-bottom: 0.25rem;
	line-height: 1.3;
}
.popular-post-item h6 a {
	color: var(--primary-color);
	text-decoration: none;
}
.popular-post-item h6 a:hover {
	color: var(--accent-color);
}

/* Footer */
.footer {
	background-color: var(--theme-accent-color);
	color: #fff;
	padding: 4rem 0 2rem;
}
.footer h5 {
	color: white;
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}
.footer a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s;
}
.footer a:hover {
	color: white;
}
.newsletter-input {
	border: none;
	border-radius: 0;
	padding: 0.75rem;
}
.newsletter-btn {
	background-color: var(--accent-color);
	color: white;
	border: none;
	border-radius: 0;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
}
.newsletter-btn:hover {
	background-color: #a93226;
	color: white;
}
/* Celebrity Section Styles */
.celebrity-section {
    background-color: #000000;
    color: #ffffff;
}

.celebrity-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.celebrity-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--theme-accent-color);
}

.celebrity-meta {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.celebrity-category {
    color: var(--theme-accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.celebrity-date {
    color: #888888;
    margin-left: 8px;
}

.celebrity-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.celebrity-main-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.celebrity-main-title a:hover {
    color: var(--theme-accent-color);
}

.celebrity-main-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.celebrity-main-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.celebrity-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 4px solid var(--theme-accent-color);
    border-radius: 50%;
    pointer-events: none;
}

.celebrity-card {
    background-color: #000000;
}

.celebrity-card-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.celebrity-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.celebrity-card:hover .celebrity-card-img {
    transform: scale(1.05);
}

.celebrity-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0;
}

.celebrity-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.celebrity-card-title a:hover {
    color: var(--theme-accent-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .celebrity-main-title {
        font-size: 2rem;
    }
    
    .celebrity-main-img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .celebrity-main-title {
        font-size: 1.75rem;
    }
    
    .celebrity-main-img {
        height: 250px;
    }
    
    .celebrity-card-image-wrapper {
        height: 180px;
    }
}
/* Tech Section Styles */
.tech-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.tech-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.tech-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-accent-color) 0%, color-mix(in srgb, var(--theme-accent-color), white 10%) 100%);
    border-radius: 2px;
}

.tech-featured-article {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-featured-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-featured-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tech-featured-img-large {
    height: 350px;
}

.tech-featured-article:hover .tech-featured-img {
    transform: scale(1.03);
}

.tech-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.tech-featured-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tech-featured-title a:hover {
    color: var(--theme-accent-color);
}

.tech-card {
    background-color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tech-card-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.tech-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tech-card:hover .tech-card-img {
    transform: scale(1.05);
}

.tech-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.tech-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-card-title a:hover {
    color: var(--theme-accent-color);
}

.tech-meta {
    font-size: 0.875rem;
    color: #666666;
    font-family: 'Inter', sans-serif;
}

.tech-author {
    color: #666666;
    font-weight: 500;
}

.tech-date-separator {
    margin: 0 8px;
    color: #cccccc;
}

.tech-date {
    color: #888888;
}

/* Responsive Design */
@media (max-width: 991px) {
    .tech-featured-title {
        font-size: 1.25rem;
    }
    
    .tech-featured-img {
        height: 250px;
    }
    
    .tech-featured-img-large {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .tech-section {
        padding: 3rem 0;
    }
    
    .tech-featured-title {
        font-size: 1.125rem;
    }
    
    .tech-card-title {
        font-size: 1rem;
    }
    
    .tech-card-img {
        height: 200px;
    }
    
    .tech-featured-img {
        height: 220px;
    }
    
    .tech-featured-img-large {
        height: 250px;
    }
}

@media (max-width: 575px) {
    .tech-section-title {
        font-size: 1.25rem;
    }
}
/* Travel & Health Section Styles */
.travel-health-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 2rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--theme-accent-color);
    border-radius: 2px;
}

/* Travel Section */
.travel-section {
    border-right: 1px solid #e0e0e0;
    padding-right: 2rem;
}

.travel-article {
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.travel-article:first-of-type {
    padding-top: 0;
}

.travel-article:last-of-type {
    border-bottom: none;
}

.travel-article-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.travel-article-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.travel-article:hover .travel-article-img {
    transform: scale(1.03);
}

.travel-article-meta {
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
}

.travel-category {
    color: var(--theme-accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.travel-date-separator {
    margin: 0 8px;
    color: #cccccc;
}

.travel-date {
    color: #888888;
}

.travel-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.travel-article-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.travel-article-title a:hover {
    color: var(--theme-accent-color);
}

.travel-article-excerpt {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--theme-accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.read-more-link:hover {
    color: color-mix(in srgb, var(--theme-accent-color), black 10%);
    border-bottom-color: color-mix(in srgb, var(--theme-accent-color), black 10%);
}

/* Health Section */
.health-section {
    padding-left: 1rem;
}

.health-article {
    margin-bottom: 2.5rem;
}

.health-article:last-of-type {
    margin-bottom: 0;
}

.health-article-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.health-article-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.health-article:hover .health-article-img {
    transform: scale(1.03);
}

.health-article-numbered-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.health-article-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--theme-accent-color);
    line-height: 1;
    flex-shrink: 0;
}

.health-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
    flex-grow: 1;
}

.health-article-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.health-article-title a:hover {
    color: var(--theme-accent-color);
}

.health-article-meta {
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-left: 40px;
}

.health-category {
    color: var(--theme-accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.health-date-separator {
    margin: 0 6px;
    color: #cccccc;
}

.health-date {
    color: #888888;
}

/* Responsive Design */
@media (max-width: 991px) {
    .travel-section {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 2rem;
    }

    .health-section {
        padding-left: 0;
    }

    .travel-article-title {
        font-size: 1.25rem;
    }

    .travel-article-img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .travel-health-section {
        padding: 3rem 0;
    }

    .travel-article {
        padding: 1.5rem 0;
    }

    .travel-article-img {
        height: 200px;
    }

    .travel-article-title {
        font-size: 1.125rem;
    }

    .health-article-img {
        height: 160px;
    }

    .health-article-title {
        font-size: 1rem;
    }

    .health-article-number {
        font-size: 1.5rem;
    }

    .health-article-meta {
        margin-left: 32px;
    }
}

@media (max-width: 575px) {
    .travel-article .row {
        flex-direction: column;
    }

    .travel-article .col-md-5,
    .travel-article .col-md-7 {
        width: 100%;
    }

    .travel-article-img {
        height: 220px;
    }
}
/* Fashion Section Styles */
.fashion-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 2rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--theme-accent-color);
    border-radius: 2px;
}

.fashion-content {
    border-right: 1px solid #e0e0e0;
    padding-right: 2rem;
    min-height: 100%;
}

.fashion-sidebar {
    min-height: 400px;
}

/* Fashion Card Styles */
.fashion-card {
    position: relative;
    margin-bottom: 1rem;
}

.fashion-card-image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
}

.fashion-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.fashion-card:hover .fashion-card-img {
    transform: scale(1.03);
}

.fashion-card-content {
    background-color: #ffffff;
    padding: 1.5rem 1rem;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.fashion-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.fashion-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fashion-card-title a:hover {
    color: var(--theme-accent-color);
}

.fashion-card-meta {
    font-size: 0.8rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.75rem;
}

.fashion-author {
    color: #555555;
    font-weight: 500;
}

.fashion-date-separator {
    margin: 0 6px;
    color: #cccccc;
}

.fashion-date {
    color: #888888;
}

.fashion-card-excerpt {
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .fashion-content {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 2rem;
    }

    .fashion-sidebar {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .fashion-section {
        padding: 3rem 0;
    }

    .fashion-card-img {
        height: 200px;
    }

    .fashion-card-title {
        font-size: 1rem;
    }

    .fashion-card-content {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 575px) {
    .fashion-card-content {
        max-width: 95%;
    }
}
/* Latest Posts & Popular Posts Section Styles */
.latest-popular-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 2rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--theme-accent-color);
    border-radius: 2px;
}

/* Latest Posts Content */
.latest-posts-content {
    border-right: 1px solid #e0e0e0;
    padding-right: 2rem;
}

.latest-post-item {
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.latest-post-item:first-of-type {
    padding-top: 0;
}

.latest-post-item:last-of-type {
    border-bottom: none;
}

.latest-post-image-wrapper {
    border-radius: 4px;
    overflow: hidden;
}

.latest-post-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.latest-post-item:hover .latest-post-img {
    transform: scale(1.03);
}

.latest-post-meta {
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.latest-post-category {
    color: var(--theme-accent-color);
    text-transform: uppercase;
    font-size: 0.75rem;
}

.latest-post-category.technology {
    color: #2c3e50;
}

.latest-post-category.business {
    color: #8e44ad;
}

.latest-post-date-separator {
    margin: 0 8px;
    color: #cccccc;
}

.latest-post-date {
    color: #888888;
    font-weight: 400;
}

.latest-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.latest-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-post-title a:hover {
    color: var(--theme-accent-color);
}

.latest-post-excerpt {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more-link {
    color: var(--theme-accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.read-more-link:hover {
    color: color-mix(in srgb, var(--theme-accent-color), black 10%);
    border-bottom-color: color-mix(in srgb, var(--theme-accent-color), black 10%);
}

/* Load More Button */
.load-more-btn {
    background-color: var(--theme-accent-color);
    color: #ffffff;
    border: none;
    padding: 0.875rem 2.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.load-more-btn:hover {
    background-color: color-mix(in srgb, var(--theme-accent-color), black 10%);
    transform: translateY(-2px);
}

/* Popular Posts Content */
.popular-posts-content {
    padding-left: 1rem;
}

.popular-featured-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.popular-featured-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.popular-featured-post:hover .popular-featured-img {
    transform: scale(1.03);
}

.popular-image-accent {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border: 4px solid var(--theme-accent-color);
    border-radius: 50%;
    pointer-events: none;
}

.popular-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.popular-featured-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-featured-title a:hover {
    color: var(--theme-accent-color);
}

.popular-featured-meta {
    font-size: 0.8rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

.popular-author {
    color: #555555;
    font-weight: 500;
}

.popular-date-separator {
    margin: 0 6px;
    color: #cccccc;
}

.popular-date {
    color: #888888;
}

.popular-featured-excerpt {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
}

/* Popular Post List */
.popular-post-list {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.popular-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.popular-post-item:last-child {
    margin-bottom: 0;
}

.popular-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.popular-post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-post-item:hover .popular-post-thumb-img {
    transform: scale(1.05);
}

.popular-post-content {
    flex-grow: 1;
}

.popular-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.popular-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post-title a:hover {
    color: var(--theme-accent-color);
}

.popular-post-date {
    font-size: 0.75rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 991px) {
    .latest-posts-content {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 2rem;
    }

    .popular-posts-content {
        padding-left: 0;
    }

    .latest-post-title {
        font-size: 1.125rem;
    }

    .latest-post-img {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .latest-popular-section {
        padding: 3rem 0;
    }

    .latest-post-item .row {
        flex-direction: column;
    }

    .latest-post-item .col-md-4,
    .latest-post-item .col-md-8 {
        width: 100%;
    }

    .latest-post-img {
        height: 220px;
    }

    .latest-post-title {
        font-size: 1.25rem;
    }

    .popular-featured-img {
        height: 200px;
    }

    .popular-post-thumb {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 575px) {
    .section-heading {
        font-size: 1.25rem;
    }

    .load-more-btn {
        width: 100%;
    }
}

/* About / Popular / Recent Section Styles */
.about-popular-recent-section {
    background-color: #f5f0f0;
    position: relative;
    padding-top: 0;
}

.top-accent-line {
    width: 100%;
    height: 5px;
    background-color: var(--theme-accent-color);
}

.section-heading {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--theme-accent-color);
    border-radius: 2px;
}

/* About Us Content */
.about-us-content {
    padding-right: 2rem;
}

.about-us-text {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Popular Posts Content */
.popular-posts-content {
    padding: 0 1rem;
}

.popular-post-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e0d8d8;
    align-items: flex-start;
}

.popular-post-item:first-of-type {
    padding-top: 0;
}

.popular-post-item:last-of-type {
    border-bottom: none;
}

.popular-post-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
}

.popular-post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popular-post-item:hover .popular-post-thumb-img {
    transform: scale(1.05);
}

.popular-post-content {
    flex-grow: 1;
}

.popular-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.popular-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.popular-post-title a:hover {
    color: var(--theme-accent-color);
}

.popular-post-date {
    font-size: 0.8rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

/* Recent Posts Content */
.recent-posts-content {
    padding-left: 1rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid #e0d8d8;
    align-items: flex-start;
}

.recent-post-item:first-of-type {
    padding-top: 0;
}

.recent-post-item:last-of-type {
    border-bottom: none;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
}

.recent-post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb-img {
    transform: scale(1.05);
}

.recent-post-content {
    flex-grow: 1;
}

.recent-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}

.recent-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: var(--theme-accent-color);
}

.recent-post-date {
    font-size: 0.8rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

/* Responsive Design */
@media (max-width: 991px) {
    .about-us-content {
        padding-right: 0;
        border-bottom: 1px solid #e0d8d8;
        padding-bottom: 2rem;
    }

    .popular-posts-content {
        padding: 0;
        border-bottom: 1px solid #e0d8d8;
        padding-bottom: 2rem;
    }

    .recent-posts-content {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .about-popular-recent-section .container {
        padding: 3rem 1rem;
    }

    .section-heading {
        font-size: 1rem;
    }

    .about-us-text {
        font-size: 0.9rem;
    }

    .popular-post-thumb,
    .recent-post-thumb {
        width: 80px;
        height: 65px;
    }

    .popular-post-title,
    .recent-post-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 575px) {
    .popular-post-item,
    .recent-post-item {
        flex-direction: column;
    }

    .popular-post-thumb,
    .recent-post-thumb {
        width: 100%;
        height: 150px;
    }
}

/* Post Detail Page Styles */
.post-detail-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

/* Breadcrumb */
.post-breadcrumb {
    font-size: 0.85rem;
    color: #888888;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-breadcrumb-item {
    display: flex;
    align-items: center;
}

.post-breadcrumb-item:not(:last-child):after {
    content: "•";
    color: #888888;
    margin: 0 0.5rem;
}

/* Post Header */
.post-header {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
}

.post-category {
    display: inline-block;
}

.post-category-badge {
    background-color: var(--theme-accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.post-author-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.post-author-name {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-author-name:hover {
    color: var(--theme-accent-color);
}

.post-date-separator {
    color: #cccccc;
    margin: 0 8px;
}

.post-date {
    color: #888888;
    font-weight: 500;
}

.post-meta-details {
    font-size: 0.85rem;
    color: #666666;
    display: flex;
    gap: 1rem;
}

/* Post Featured Image */
.post-featured-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Post Content */
.post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444444;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.625rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: #000000;
}

.post-content p {
    margin-bottom: 1.25rem;
}

/* Post Sharing */
.post-sharing {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.post-sharing-title {
    font-size: 1rem;
    font-weight: 600;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-sharing-buttons .btn {
    background-color: #f0f0f0;
    color: #555555;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.post-sharing-buttons .btn:hover {
    background-color: var(--theme-accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* Author Bio */
.author-bio {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.author-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.author-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
}

.author-description {
    font-size: 0.9rem;
}

/* Related Posts */
.related-posts {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.5rem;
}

.related-posts-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.related-posts-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--theme-accent-color);
    border-radius: 2px;
}

.related-post-item {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.related-post-image-wrapper {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 200px;
}

.related-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post-item:hover .related-post-img {
    transform: scale(1.05);
}

.related-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.related-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--theme-accent-color);
}

.related-post-meta {
    font-size: 0.85rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

.related-post-author {
    color: #555555;
    font-weight: 500;
}

.related-post-date-separator {
    margin: 0 8px;
    color: #cccccc;
}

.related-post-date {
    color: #888888;
}

/* Sidebar Styles */
.sidebar-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000000;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

.sidebar-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--theme-accent-color);
    border-radius: 2px;
}

/* Sidebar Latest Posts */
.sidebar-latest-posts {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 2rem;
}

.sidebar-latest-post {
    transition: transform 0.3s ease;
}

.sidebar-latest-post:hover {
    transform: translateX(5px);
}

.sidebar-latest-post-image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.sidebar-latest-post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-latest-post:hover .sidebar-latest-post-img {
    transform: scale(1.05);
}

.sidebar-latest-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.sidebar-latest-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-latest-post-title a:hover {
    color: var(--theme-accent-color);
}

.sidebar-latest-post-meta {
    font-size: 0.8rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

.sidebar-latest-post-author {
    color: #555555;
    font-weight: 500;
}

.sidebar-latest-post-date-separator {
    margin: 0 6px;
    color: #cccccc;
}

.sidebar-latest-post-date {
    color: #888888;
}

.sidebar-latest-post-excerpt {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.6;
}

/* Sidebar Follow Us */
.sidebar-follow-us .btn {
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sidebar-follow-us .btn:hover {
    background-color: var(--theme-accent-color);
    color: white;
    transform: translateY(-3px);
}

/* Sidebar Most Popular */
.sidebar-most-popular {
    padding-top: 2rem;
}

.sidebar-popular-post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
}

.sidebar-popular-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-accent-color);
    min-width: 30px;
    margin-right: 1rem;
    flex-shrink: 0;
    line-height: 1;
}

.sidebar-popular-content {
    flex-grow: 1;
}

.sidebar-popular-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.sidebar-popular-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-popular-title a:hover {
    color: var(--theme-accent-color);
}

.sidebar-popular-meta {
    font-size: 0.8rem;
    color: #888888;
    font-family: 'Inter', sans-serif;
}

.sidebar-popular-author {
    color: #555555;
    font-weight: 500;
}

.sidebar-popular-date-separator {
    margin: 0 6px;
    color: #cccccc;
}

.sidebar-popular-date {
    color: #888888;
}

/* Responsive Design */
@media (max-width: 991px) {
    .post-detail-section {
        padding: 3rem 0;
    }
    
    .post-title {
        font-size: 1.875rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-sharing-buttons .btn {
        width: 32px;
        height: 32px;
    }
    
    .related-post-image-wrapper {
        height: 180px;
    }
    
    .sidebar-latest-post-image-wrapper {
        height: 80px;
    }
}

@media (max-width: 767px) {
    .post-title {
        font-size: 1.625rem;
    }
    
    .post-meta-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-sharing-buttons {
        flex-wrap: wrap;
    }
    
    .related-post-image-wrapper {
        height: 160px;
    }
    
    .sidebar-latest-post-image-wrapper {
        height: 70px;
    }
    
    .sidebar-popular-number {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-featured-image {
        height: 300px;
    }
    
    .related-post-image-wrapper {
        height: 140px;
    }
    
    .sidebar-latest-post-image-wrapper {
        height: 60px;
    }
    
    .sidebar-latest-post {
        flex-direction: column;
    }
    
    .sidebar-latest-post-image-wrapper {
        height: 150px;
        width: 100%;
    }
}
/* Search Overlay Styles */
.search-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.search-overlay.active {
    right: 0;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    min-height: 100vh;
}

.search-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: 2px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.25rem;
    color: #333;
}

.search-close-btn:hover {
    background-color: var(--theme-accent-color);
    border-color: var(--theme-accent-color);
    color: white;
    transform: rotate(90deg);
}

.search-content {
    margin-top: 3rem;
}

.search-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
    text-align: center;
}

.search-form {
    margin-bottom: 3rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
	width: 100%;
}

.search-input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 2rem;
    font-size: 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    background-color: #fff;
}

.search-input:focus {
    border-color: var(--theme-accent-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-submit-btn {
    position: absolute;
    right: 1rem;
    background: var(--theme-accent-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.25rem;
}

.search-submit-btn:hover {
    background: color-mix(in srgb, var(--theme-accent-color), black 10%);
    transform: scale(1.05);
}

.search-suggestions {
    text-align: center;
}

.search-suggestions-title {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.search-tag {
    padding: 0.625rem 1.25rem;
    background-color: #f5f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-tag:hover {
    background-color: var(--theme-accent-color);
    color: white;
    border-color: var(--theme-accent-color);
    transform: translateY(-2px);
}


.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background-color: #f9f9f9;
    padding-left: 2rem;
}

.search-result-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.search-result-title a {
    color: inherit;
    text-decoration: none;
}

.search-result-title a:hover {
    color: var(--theme-accent-color);
}

.search-result-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 767px) {
    .search-container {
        padding: 3rem 1.5rem;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 1.25rem 3.5rem 1.25rem 1.5rem;
    }
    
    .search-submit-btn {
        width: 40px;
        height: 40px;
        right: 0.75rem;
    }
    
    .search-close-btn {
        width: 45px;
        height: 45px;
        top: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 575px) {
    .search-title {
        font-size: 1.75rem;
    }
    
    .search-tags {
        gap: 0.5rem;
    }
    
    .search-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* =========================================
   WordPress Pagination Styling
   ========================================= */

.navigation.pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Hide screen reader text visually but keep it accessible */
.navigation.pagination .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Flex container for the pagination links */
.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Base style for all pagination numbers/links */
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover state for clickable numbers */
.navigation.pagination .page-numbers:hover {
    color: #ffffff;
    background-color: var(--theme-accent-color);
    border-color: var(--theme-accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Active/Current page state */
.navigation.pagination .page-numbers.current {
    color: #ffffff;
    background-color: var(--theme-accent-color);
    border-color: var(--theme-accent-color);
    cursor: default;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Dots (...) styling - make them look like disabled text, not buttons */
.navigation.pagination .page-numbers.dots {
    background-color: transparent;
    border-color: transparent;
    color: #999999;
    cursor: default;
    min-width: auto;
    padding: 0 8px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Prevent hover effects on dots */
.navigation.pagination .page-numbers.dots:hover {
    background-color: transparent;
    color: #999999;
    transform: none;
    box-shadow: none;
}

/* Specific styling for Prev/Next buttons to make them stand out slightly */
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
    font-weight: 600;
    padding: 0 20px;
    letter-spacing: 0.5px;
}

/* Responsive adjustments for mobile */
@media (max-width: 575px) {
    .navigation.pagination .page-numbers {
        min-width: 38px;
        height: 38px;
        font-size: 0.875rem;
        padding: 0 10px;
    }
    
    .navigation.pagination .page-numbers.prev,
    .navigation.pagination .page-numbers.next {
        padding: 0 14px;
        font-size: 0.8rem;
    }
    
    .navigation.pagination .nav-links {
        gap: 0.35rem;
    }
}

/* =========================================
   WordPress Search Form Styling
   ========================================= */

.search-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.search-form label {
    flex-grow: 1;
    position: relative;
}

.search-form .search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    transition: all 0.3s ease;
}

.search-form .search-field::placeholder {
    color: #999999;
}

.search-form .search-field:focus {
    border-color: var(--theme-accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15); /* Soft glow using theme color */
}

.search-form .search-submit {
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--theme-accent-color);
    border: 1px solid var(--theme-accent-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-form .search-submit:hover {
    /* Darkens the dynamic accent color by 10% on hover */
    background-color: color-mix(in srgb, var(--theme-accent-color), black 10%);
    border-color: color-mix(in srgb, var(--theme-accent-color), black 10%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-form .search-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Accessibility: Hide screen reader text visually but keep it accessible */
.search-form .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile adjustment for search form */
@media (max-width: 575px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-form .search-submit {
        width: 100%;
    }
}