/*
Theme Name: Fakaza Editorial
Theme URI: https://fakazahiphopza.com
Author: Fakaza Hip Hop
Author URI: https://fakazahiphopza.com
Description: A professional, SEO-optimized, mobile-friendly theme for biographies, editorials, latest news, and sports content.
Version: 1.0.0
License: GPL v2 or later
Text Domain: fakaza-editorial
*/

/* ============================================
   1. RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #1a1a2e;
    background: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: #e91e63;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c2185b;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

ul, ol {
    margin: 0 0 20px 20px;
}

/* ============================================
   2. CONTAINER & GRID
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-main {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
}

.col-sidebar {
    flex: 0 0 320px;
    padding: 0 15px;
}

/* ============================================
   3. HEADER
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-title a:hover {
    color: #ff6b6b;
}

.site-description {
    font-size: 13px;
    opacity: 0.8;
    margin-top: -5px;
}

/* ============================================
   4. NAVIGATION
   ============================================ */
.main-navigation {
    display: flex;
    align-items: center;
	justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 5px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 10px 18px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.main-navigation ul li a .menu-icon {
    margin-right: 6px;
}

/* Dropdown */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 8px 0;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li a {
    padding: 10px 20px;
    font-weight: 400;
    border-radius: 0;
}

.main-navigation ul ul li a:hover {
    background: rgba(255,255,255,0.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 5px 10px;
}

/* ============================================
   5. HERO / FEATURED SECTION
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(233,30,99,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-title span {
    color: #ff6b6b;
}

.hero-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin-bottom: 30px;
}

.hero-search {
    max-width: 500px;
}

.hero-search .search-form {
    display: flex;
    gap: 10px;
}

.hero-search .search-field {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-search .search-field::placeholder {
    color: rgba(255,255,255,0.6);
}

.hero-search .search-submit {
    padding: 14px 30px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-search .search-submit:hover {
    background: #c2185b;
}

/* ============================================
   6. CATEGORY NAVIGATION
   ============================================ */
.category-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 2px solid #e9ecef;
}

.category-nav a {
    padding: 8px 20px;
    background: #fff;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a2e;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.category-nav a:hover,
.category-nav a.active {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

.category-nav a .cat-count {
    background: rgba(0,0,0,0.1);
    padding: 0 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 5px;
}

/* ============================================
   7. POST CARDS
   ============================================ */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.post-card .post-thumbnail {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    background: #e9ecef;
}

.post-card .post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-card .post-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e91e63;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.post-card .post-body {
    padding: 22px 25px 25px;
}

.post-card .post-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.post-card .post-title a {
    color: #1a1a2e;
    text-decoration: none;
}

.post-card .post-title a:hover {
    color: #e91e63;
}

.post-card .post-excerpt {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-card .post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
}

.post-card .post-meta .author-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.post-card .post-meta .author-name {
    font-weight: 600;
    color: #1a1a2e;
}

/* ============================================
   8. SINGLE POST
   ============================================ */
.single-post {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.single-post .entry-header {
    margin-bottom: 30px;
}

.single-post .entry-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.single-post .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    color: #6c757d;
    font-size: 14px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.single-post .entry-meta .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.single-post .entry-meta .author-name {
    font-weight: 600;
    color: #1a1a2e;
}

.single-post .entry-featured-image {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
}

.single-post .entry-content {
    font-size: 17px;
    line-height: 1.9;
}

.single-post .entry-content h2 {
    font-size: 28px;
    margin-top: 40px;
}

.single-post .entry-content h3 {
    font-size: 24px;
    margin-top: 30px;
}

.single-post .entry-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.single-post .entry-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #e91e63;
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* ============================================
   9. SIDEBAR
   ============================================ */
.widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e91e63;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #e91e63;
}

.widget ul {
    list-style: none;
    margin: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #1a1a2e;
}

.widget ul li a:hover {
    color: #e91e63;
    padding-left: 5px;
}

/* Popular Posts Widget */
.popular-post-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f5;
}

.popular-post-item:last-child {
    border-bottom: none;
}

.popular-post-item .pp-thumb {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-post-item .pp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-item .pp-content {
    flex: 1;
}

.popular-post-item .pp-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.popular-post-item .pp-title a {
    color: #1a1a2e;
}

.popular-post-item .pp-title a:hover {
    color: #e91e63;
}

.popular-post-item .pp-date {
    font-size: 12px;
    color: #6c757d;
}

/* ============================================
   10. FOOTER
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget .widget-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.2);
}

.footer-widget .widget-title::after {
    background: #e91e63;
}

.footer-widget ul li {
    border-bottom-color: rgba(255,255,255,0.05);
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.8);
}

.footer-widget ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}

.footer-bottom a {
    color: #ff6b6b;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ============================================
   11. SEARCH PAGE
   ============================================ */
.search-page-header {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.search-page-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.search-page-header .search-query {
    color: #e91e63;
}

.search-page-header .search-count {
    color: #6c757d;
    font-size: 14px;
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.search-form .search-field {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-form .search-field:focus {
    border-color: #e91e63;
    outline: none;
}

.search-form .search-submit {
    padding: 12px 25px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form .search-submit:hover {
    background: #c2185b;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results .icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* ============================================
   12. PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
}

.pagination .page-numbers {
    padding: 10px 18px;
    background: #fff;
    border-radius: 8px;
    color: #1a1a2e;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: #e91e63;
    color: #fff;
}

/* ============================================
   13. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .col-sidebar {
        flex: 0 0 100%;
        margin-top: 30px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .single-post .entry-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-navigation {
		justify-content: center;
	}
    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }
    
    .main-navigation ul.open {
        display: flex;
    }
    
    .main-navigation ul li a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .main-navigation ul ul li a {
        padding: 8px 0;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-search .search-form {
        flex-direction: column;
    }
    
    .single-post {
        padding: 20px;
    }
    
    .single-post .entry-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .site-branding {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .post-card .post-body {
        padding: 18px;
    }
}

/* ============================================
   14. PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .site-footer,
    .sidebar,
    .category-nav,
    .pagination,
    .post-meta {
        display: none !important;
    }
    
    .single-post {
        box-shadow: none;
        padding: 0;
    }
}

/* ============================================
   15. ADDITIONAL STYLES FOR THEME
   ============================================ */

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, #e91e63, #ff6b6b);
    z-index: 10000;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(233,30,99,0.3);
}

/* Back to Top Button */
.back-to-top:hover {
    transform: scale(1.1) !important;
    background: #c2185b !important;
}

/* Submit Button */
.submit-button {
    background: #e91e63;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #c2185b;
}

/* Author Bio Box */
.post-author-bio {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 30px 0;
}

.post-author-bio .author-avatar-large {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-author-bio .author-info {
    flex: 1;
}

.post-author-bio .author-info .author-name {
    font-size: 18px;
    margin-bottom: 8px;
}

.post-author-bio .author-info p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #6c757d;
}

.post-author-bio .author-posts-link {
    font-weight: 600;
    color: #e91e63;
}

.post-share {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.post-share span {
    font-weight: 600;
    color: #1a1a2e;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.post-share a:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
}

.post-tags {
    margin: 20px 0;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.post-tags a {
    display: inline-block;
    background: #f8f9fa;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #1a1a2e;
    margin: 3px 2px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #e91e63;
    color: #fff;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    max-width: 45%;
}

.post-navigation a {
    color: #1a1a2e;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #e91e63;
}

/* Comments Area */
.comments-area {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list .comment {
    margin-bottom: 20px;
}

.comment-body {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-author .avatar {
    border-radius: 50%;
}

.comment-author-name {
    font-weight: 600;
    color: #1a1a2e;
}

.comment-metadata time {
    font-size: 13px;
    color: #6c757d;
}

.comment-content {
    margin: 10px 0;
}

.comment-reply a {
    font-size: 14px;
    color: #e91e63;
    font-weight: 600;
}

.comment-awaiting-moderation {
    color: #e91e63;
    font-weight: 600;
    margin: 10px 0;
}

/* Responsive for comments */
@media (max-width: 768px) {
    .comment-meta {
        flex-wrap: wrap;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        max-width: 100%;
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .post-share {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   15. DESKTOP SECTION BLOCKS
   ============================================ */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.sections-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 40px 0;
}

.section-block {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

.section-block:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f3f5;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1a1a2e;
}

.section-description {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
    flex: 1;
    min-width: 150px;
}

.view-all {
    margin-left: auto;
    font-weight: 600;
    color: #1a1a2e;
    padding: 8px 20px;
    border-radius: 25px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.view-all:hover {
    background: #e91e63;
    color: #fff;
}

.section-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.section-post {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.section-post .post-thumb {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    background: #e9ecef;
}

.section-post .post-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-post:hover .post-thumb img {
    transform: scale(1.05);
}

.section-post .post-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-post .post-content {
    padding: 18px 20px 20px;
}

.section-post .post-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.section-post .post-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-post .post-title a:hover {
    color: #e91e63;
}

.section-post .post-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 12px;
}

.section-post .post-meta-small {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #6c757d;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.section-post .post-meta-small i {
    margin-right: 4px;
}

.no-posts {
    color: #6c757d;
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Mobile Posts Header */
.mobile-posts-header {
    margin: 30px 0 20px;
}

.mobile-posts-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    padding-bottom: 15px;
    border-bottom: 3px solid #e91e63;
}

.mobile-posts-header h2 i {
    color: #e91e63;
    margin-right: 10px;
}

/* ============================================
   16. RESPONSIVE - DESKTOP/MOBILE SWITCH
   ============================================ */

/* Desktop: Show sections, hide mobile posts */
@media (min-width: 769px) {
    .desktop-only {
        display: block;
    }
    .mobile-only {
        display: none;
    }
    
    /* Hide sidebar on desktop for homepage */
    .home .col-sidebar,
    .front-page .col-sidebar {
        display: block;
    }
}

/* Mobile: Hide sections, show latest posts */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    
    /* Hide sidebar on mobile for homepage */
    .home .col-sidebar,
    .front-page .col-sidebar {
        display: none !important;
    }
    
    .home .col-main,
    .front-page .col-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .section-block {
        padding: 20px;
    }
    
    .section-posts {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .view-all {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .section-description {
        min-width: unset;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .category-nav {
        gap: 8px;
    }
    
    .category-nav a {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .post-card .post-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ============================================
   17. RESPONSIVE FOR TABLETS (769px - 1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sections-grid {
        gap: 30px;
    }
    
    .section-block {
        padding: 25px;
    }
}

/* ============================================
   18. SMALL PHONES
   ============================================ */
@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-form .search-submit {
        width: 100%;
    }
    
    .category-nav {
        justify-content: center;
    }
    
    .category-nav a {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .post-card .post-body {
        padding: 15px;
    }
    
    .post-card .post-title {
        font-size: 17px;
    }
    
    .mobile-posts-header h2 {
        font-size: 20px;
    }
}

/* ============================================
   4. NAVIGATION - UPDATED
   ============================================ */

/* Header Layout */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Social Icons */
.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-social a:hover {
    background: #e91e63;
    color: #fff;
    transform: translateY(-2px);
}

/* Main Navigation - Always visible */
.main-navigation {
    width: 100%;
    padding: 12px 0;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex-wrap: wrap;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 8px 18px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-page-ancestor a {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.main-navigation ul li a .menu-icon {
    margin-right: 6px;
}

/* Dropdown Menu */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 8px 0;
    z-index: 999;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: block;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul li a {
    padding: 10px 20px;
    font-weight: 400;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}

.main-navigation ul ul li a:hover {
    background: rgba(255,255,255,0.05);
    padding-left: 25px;
}

/* Dropdown Arrow */
.main-navigation ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
}

.main-navigation ul ul li.menu-item-has-children > a::after {
    content: '\f105';
    float: right;
}

/* Search Bar Below Menu */
.header-search {
    padding: 12px 0 5px;
    width: 100%;
}

.header-search .search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.header-search .search-form .search-field {
    flex: 1;
    padding: 10px 18px;
    border: none;
    border-radius: 6px 0 0 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
}

.header-search .search-form .search-field::placeholder {
    color: rgba(255,255,255,0.5);
}

.header-search .search-form .search-field:focus {
    outline: none;
    background: rgba(255,255,255,0.12);
    border-color: #e91e63;
}

.header-search .search-form .search-submit {
    padding: 10px 24px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
}

.header-search .search-form .search-submit:hover {
    background: #c2185b;
}

/* Remove the menu toggle button */
.menu-toggle {
    display: none !important;
}

/* ============================================
   4a. RESPONSIVE NAVIGATION
   ============================================ */

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .site-branding {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .header-social {
        gap: 8px;
    }
    
    .header-social a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .main-navigation ul {
        justify-content: center;
        gap: 3px;
    }
    
    .main-navigation ul li a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        padding-left: 15px;
        background: rgba(255,255,255,0.05);
        border-radius: 0;
    }
    
    .main-navigation ul ul li a {
        padding: 6px 12px;
    }
    
    .main-navigation ul ul li a:hover {
        padding-left: 18px;
    }
    
    .header-search .search-form {
        max-width: 100%;
    }
    
    .header-search .search-form .search-field {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .header-search .search-form .search-submit {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-navigation ul li a {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .header-social a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .header-search .search-form {
        flex-direction: row;
    }
}

/* ============================================
   4b. MOBILE DROPDOWN IMPROVEMENTS
   ============================================ */

/* Touch-friendly dropdown for mobile */
@media (hover: none) {
    .main-navigation ul li.menu-item-has-children > a {
        cursor: pointer;
    }
    
    .main-navigation ul li.menu-item-has-children > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 6px;
        font-size: 12px;
    }
    
    .main-navigation ul ul {
        display: none;
        position: static;
        box-shadow: none;
        padding-left: 15px;
        background: rgba(255,255,255,0.05);
        border-radius: 0;
    }
    
    .main-navigation ul li.menu-item-has-children.open > ul {
        display: block;
    }
}

/* ============================================
   3. HEADER - UPDATED
   ============================================ */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 20px 0 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-top {
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Site Branding - Centered */
.site-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.site-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 5px 0 0;
}

.site-title a {
    color: #fff;
    text-decoration: none;
}

.site-title a:hover {
    color: #ff6b6b;
}

.site-description {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   4. NAVIGATION - CENTERED WITH WRAP
   ============================================ */
.main-navigation {
    width: 100%;
    padding: 12px 0;
    text-align: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 8px 18px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current-page-ancestor a {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.main-navigation ul li a .menu-icon {
    margin-right: 6px;
}

/* Dropdown Menu */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a2e;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 8px 0;
    z-index: 999;
    text-align: left;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: block;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul li a {
    padding: 10px 20px;
    font-weight: 400;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    text-align: left;
}

.main-navigation ul ul li a:hover {
    background: rgba(255,255,255,0.05);
    padding-left: 25px;
}

/* Dropdown Arrow */
.main-navigation ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 12px;
}

.main-navigation ul ul li.menu-item-has-children > a::after {
    content: '\f105';
    float: right;
}

/* Search Bar Below Menu - Centered */
.header-search {
    padding: 12px 0 5px;
    width: 100%;
    text-align: center;
}

.header-search .search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.header-search .search-form .search-field {
    flex: 1;
    padding: 10px 18px;
    border: none;
    border-radius: 6px 0 0 6px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-right: none;
}

.header-search .search-form .search-field::placeholder {
    color: rgba(255,255,255,0.5);
}

.header-search .search-form .search-field:focus {
    outline: none;
    background: rgba(255,255,255,0.12);
    border-color: #e91e63;
}

.header-search .search-form .search-submit {
    padding: 10px 24px;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 14px;
}

.header-search .search-form .search-submit:hover {
    background: #c2185b;
}

/* Remove the menu toggle button */
.menu-toggle {
    display: none !important;
}

/* ============================================
   4a. RESPONSIVE - CENTERED MENU WITH WRAP
   ============================================ */

@media (max-width: 992px) {
    .main-navigation ul {
        gap: 5px;
    }
    
    .main-navigation ul li a {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 22px;
    }
    
    .main-navigation ul {
        gap: 4px;
        justify-content: center;
    }
    
    .main-navigation ul li a {
        padding: 5px 12px;
        font-size: 12px;
    }
    
    .main-navigation ul ul {
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        background: rgba(255,255,255,0.05);
        border-radius: 0;
        min-width: unset;
    }
    
    .main-navigation ul ul li a {
        padding: 5px 12px;
        font-size: 11px;
        text-align: center;
    }
    
    .main-navigation ul ul li a:hover {
        padding-left: 18px;
    }
    
    .header-search .search-form {
        max-width: 100%;
    }
    
    .header-search .search-form .search-field {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .header-search .search-form .search-submit {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 18px;
    }
    
    .main-navigation ul {
        gap: 3px;
    }
    
    .main-navigation ul li a {
        padding: 4px 10px;
        font-size: 10px;
        letter-spacing: 0;
    }
    
    .main-navigation ul ul li a {
        font-size: 10px;
    }
}

/* ============================================
   4b. MOBILE DROPDOWN (Touch Support)
   ============================================ */

@media (hover: none) {
    .main-navigation ul li.menu-item-has-children > a {
        cursor: pointer;
    }
    
    .main-navigation ul li.menu-item-has-children > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 6px;
        font-size: 12px;
    }
    
    .main-navigation ul ul {
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        padding-left: 15px;
        background: rgba(255,255,255,0.05);
        border-radius: 0;
        min-width: unset;
    }
    
    .main-navigation ul li.menu-item-has-children.open > ul {
        display: block;
    }
    
    .main-navigation ul ul li a {
        text-align: center;
    }
}
