/* ============================================
   Jhapa Technical Blog Pro - Main CSS
   Version: 2.0 (Complete Edition)
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #212529;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: #0D6EFD;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #0b5ed7;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ========== VARIABLES ========== */
:root {
    --primary-color: #0D6EFD;
    --primary-dark: #0b5ed7;
    --secondary-color: #212529;
    --accent-color: #FFC107;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a2e;
    --border-color: #e9ecef;
    --header-bg: #ffffff;
    --header-text: #212529;
    --header-sticky-bg: rgba(255, 255, 255, 0.98);
    --header-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 10px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 10px; }
.mb-1 { margin-bottom: 10px; }
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.mt-3 { margin-top: 30px; }
.mb-3 { margin-bottom: 30px; }
.pt-1 { padding-top: 10px; }
.pb-1 { padding-bottom: 10px; }
.pt-2 { padding-top: 20px; }
.pb-2 { padding-bottom: 20px; }

/* ========== TOP ANNOUNCEMENT BAR ========== */
.top-announcement-bar {
    background: linear-gradient(135deg, #0D6EFD 0%, #0099ff 100%);
    color: white;
    padding: 10px 0;
    position: relative;
    z-index: 1001;
    font-size: 14px;
}

.top-announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.announcement-text i {
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

.announcement-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: var(--transition-smooth);
    font-size: 12px;
}

.announcement-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateX(3px);
}

.close-announcement {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.close-announcement:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== MAIN HEADER ========== */
.site-header {
    background: var(--header-bg);
    position: relative;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.has-sticky-header .site-header {
    position: sticky;
    top: 0;
    animation: slideDown 0.4s ease;
}

.has-sticky-header .site-header.sticky-active {
    background: var(--header-sticky-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--header-shadow);
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    min-height: 80px;
}

/* ========== LOGO AREA ========== */
.logo-area {
    flex-shrink: 0;
    min-width: 180px;
}

.custom-logo {
    display: flex;
    align-items: center;
}

.custom-logo img {
    max-height: 50px;
    width: auto;
    transition: var(--transition-smooth);
}

@media (min-width: 992px) {
    .custom-logo img { max-height: 55px; }
}
@media (min-width: 1200px) {
    .custom-logo img { max-height: 60px; }
}

.custom-logo img:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.site-branding .site-title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.site-branding .site-title a {
    text-decoration: none;
    color: var(--header-text);
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-branding .site-description {
    margin: 5px 0 0;
    font-size: 12px;
    color: #6c757d;
}

/* ========== NAVIGATION MENU ========== */
.main-navigation {
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--header-text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
    border-radius: 8px;
    gap: 5px;
}

.nav-menu a:hover {
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.08);
}

.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-ancestor > a {
    color: var(--primary-color);
    background: rgba(13, 110, 253, 0.1);
    font-weight: 600;
}

.nav-menu .menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    font-size: 10px;
    margin-left: 6px;
    transition: var(--transition-smooth);
}

.nav-menu .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    margin: 10px 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    padding: 10px 20px;
    font-size: 14px;
}

.nav-menu .sub-menu a:hover {
    background: rgba(13, 110, 253, 0.08);
    padding-left: 25px;
}

.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin: 0;
}

/* ========== HEADER ACTIONS ========== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-action-btn {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--header-text);
    transition: var(--transition-smooth);
    background: rgba(0, 0, 0, 0.03);
}

.header-action-btn:hover {
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white !important;
    padding: 10px 22px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* ========== MOBILE MENU ========== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger .bar {
    width: 100%;
    height: 2px;
    background: var(--header-text);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active .hamburger .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .hamburger .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 2001;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu-panel.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.mobile-menu-header img {
    max-height: 40px;
}

.close-mobile-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    transition: var(--transition-smooth);
}

.close-mobile-menu:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 5px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #212529;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.mobile-nav-menu a:hover {
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary-color);
    padding-left: 20px;
}

.mobile-nav-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-menu .menu-item-has-children > a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.mobile-nav-menu .menu-item-has-children.active > a::after {
    transform: rotate(90deg);
}

.mobile-nav-menu .sub-menu {
    list-style: none;
    padding-left: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-menu .menu-item-has-children.active .sub-menu {
    max-height: 500px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.mobile-social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.mobile-social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #212529;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.mobile-social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-overlay,
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active,
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== SEARCH POPUP ========== */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-inner {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.close-search:hover {
    transform: rotate(90deg);
}

.search-container h3 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

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

.search-container .search-form input[type="search"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.search-container .search-form input[type="search"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.search-container .search-form button {
    background: var(--primary-color);
    border: none;
    padding: 0 25px;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.search-container .search-form button:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.search-tags {
    margin-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.search-tags a {
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 0 3px;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.search-tags a:hover {
    background: var(--primary-color);
}

/* ========== MAIN CONTENT ========== */
.site-main {
    min-height: 500px;
}

.main-content {
    display: flex;
    gap: 40px;
    margin: 50px auto;
}

.content-area {
    flex: 2;
}

.sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
    align-self: start;
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs i {
    font-size: 10px;
    margin: 0 8px;
}

/* ========== BLOG GRID & CARDS ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition-smooth);
}

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

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.post-thumbnail:hover .post-overlay {
    opacity: 1;
}

.read-icon {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.post-views-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #212529;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.post-content {
    padding: 20px;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.post-meta i {
    margin-right: 5px;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.post-title a {
    color: #212529;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.post-title a:hover {
    color: var(--primary-color);
}

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

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.read-more:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ========== BLOG LIST LAYOUT ========== */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.post-list-item {
    display: flex;
    gap: 25px;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.post-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.post-list-thumbnail {
    flex: 0 0 280px;
}

.post-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-list-content {
    flex: 1;
    padding: 25px 25px 25px 0;
}

/* ========== SINGLE POST STYLES ========== */
.single-post-container {
    margin: 40px auto;
}

.single-article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

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

.post-categories {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.single-article .post-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-author img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 14px;
    color: #212529;
}

.author-title {
    font-size: 12px;
    color: #6c757d;
}

.post-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.stat-item i {
    color: var(--primary-color);
}

.post-featured-image {
    margin: 30px 0;
}

.post-featured-image img {
    width: 100%;
    border-radius: 15px;
}

.image-caption {
    text-align: center;
    font-size: 13px;
    color: #6c757d;
    margin-top: 10px;
}

/* Table of Contents */
.table-of-contents {
    background: var(--light-bg);
    border-radius: 12px;
    margin: 30px 0;
    overflow: hidden;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(13, 110, 253, 0.1);
    cursor: pointer;
}

.toc-header i {
    color: var(--primary-color);
    font-size: 18px;
}

.toc-header h3 {
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.toc-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.toc-toggle.active i {
    transform: rotate(180deg);
}

.toc-content {
    padding: 20px;
    display: block;
}

.toc-content.hidden {
    display: none;
}

.toc-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.toc-content li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.toc-content a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.toc-content a:hover {
    color: var(--primary-color);
}

/* Entry Content */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.entry-content > * {
    max-width: 100%;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
    scroll-margin-top: 100px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.entry-content blockquote {
    background: var(--light-bg);
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    border-radius: 0 10px 10px 0;
}

.entry-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.entry-content pre {
    background: #f4f4f4;
    padding: 20px;
    overflow-x: auto;
    border-radius: 10px;
}

/* Post Tags */
.post-tags {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tags-label {
    font-weight: 600;
    margin-right: 15px;
}

.post-tags a {
    display: inline-block;
    background: var(--light-bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin: 0 5px 5px 0;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: white;
}

/* Social Share */
.social-share-section {
    margin: 30px 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.share-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.pinterest { background: #bd081c; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copy-link { background: #6c757d; }

/* Author Box */
.author-box-section {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, var(--light-bg), white);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.author-avatar img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.author-box-section .author-info {
    flex: 1;
}

.author-box-section .author-name {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.author-bio {
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 12px;
}

.author-social a {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.nav-previous, .nav-next {
    flex: 1;
}

.nav-link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
}

.nav-label {
    font-size: 13px;
    color: #6c757d;
}

.nav-title {
    font-weight: 600;
    color: #212529;
    transition: color 0.3s ease;
}

.nav-link:hover .nav-title {
    color: var(--primary-color);
}

.nav-next {
    text-align: right;
}

/* Related Posts */
.related-posts-section {
    margin: 40px 0;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.related-img-link img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-title {
    font-size: 1rem;
    margin-bottom: 10px;
}

.related-title a {
    color: #212529;
    text-decoration: none;
}

.related-title a:hover {
    color: var(--primary-color);
}

.related-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #6c757d;
}

/* Comments */
.comments-section {
    margin-top: 40px;
}

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

.comment {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.comment-meta {
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form button {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

/* ========== SIDEBAR WIDGETS ========== */
.sidebar-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.widget-header i {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.widget-title {
    margin: 0;
    font-size: 1.2rem;
    flex: 1;
}

/* Search Widget */
.search-widget .search-form {
    display: flex;
    gap: 10px;
}

.search-widget input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
}

.search-widget input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-widget button {
    background: var(--primary-color);
    border: none;
    padding: 0 20px;
    border-radius: 10px;
    color: white;
    cursor: pointer;
}

/* Popular Posts */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.popular-rank {
    width: 32px;
    height: 32px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.popular-rank.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: white; }
.popular-rank.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A9A9A9); color: white; }
.popular-rank.rank-3 { background: linear-gradient(135deg, #CD7F32, #B87333); color: white; }

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

.popular-post-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-post-title a {
    color: #212529;
    text-decoration: none;
}

.popular-post-title a:hover {
    color: var(--primary-color);
}

.popular-post-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #6c757d;
}

/* Latest Posts */
.latest-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-post-item {
    display: flex;
    gap: 12px;
}

.latest-post-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
}

.latest-post-info {
    flex: 1;
}

.latest-post-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.latest-post-title a {
    color: #212529;
    text-decoration: none;
}

.latest-post-date {
    font-size: 11px;
    color: #6c757d;
}

/* Categories */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--light-bg);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-list li a:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

.categories-list li a:hover .cat-name {
    color: white;
}

.cat-icon i {
    color: var(--primary-color);
    font-size: 14px;
}

.cat-name {
    flex: 1;
    color: #212529;
    font-size: 14px;
}

.cat-count {
    background: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--primary-color);
}

/* Newsletter */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    text-align: center;
    color: white;
}

.newsletter-inner i {
    font-size: 40px;
    margin-bottom: 15px;
}

.newsletter-inner h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.newsletter-inner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    margin-bottom: 20px;
}

.sidebar-newsletter input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sidebar-newsletter button {
    width: 100%;
    background: var(--accent-color);
    color: #212529;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-newsletter button:hover {
    transform: translateY(-2px);
    background: #ffca2c;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    filter: brightness(0.9);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--light-bg);
    padding: 6px 12px;
    border-radius: 25px;
    text-decoration: none;
    color: #212529;
    font-size: 12px;
    transition: all 0.3s ease;
}

.tag-link i {
    font-size: 10px;
    color: var(--primary-color);
}

.tag-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Hosting Deals */
.hosting-deals-widget {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.deals-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.deals-header i {
    font-size: 24px;
    color: var(--accent-color);
}

.deals-header h3 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
}

.deal-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.deal-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.deal-info {
    flex: 1;
}

.deal-info h4 {
    color: white;
    margin: 0 0 5px;
    font-size: 14px;
}

.deal-price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.deal-price span {
    font-size: 11px;
    font-weight: normal;
    opacity: 0.7;
}

.deal-btn {
    display: inline-block;
    background: var(--accent-color);
    color: #212529;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* About Widget */
.about-content {
    text-align: center;
}

.about-logo img {
    max-height: 50px;
    margin-bottom: 15px;
}

.about-content p {
    font-size: 13px;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 20px;
}

.about-buttons {
    display: flex;
    gap: 10px;
}

.about-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-btn.primary {
    background: var(--primary-color);
    color: white;
}

.about-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.about-btn.secondary {
    background: var(--light-bg);
    color: #212529;
}

.about-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Sticky Share Buttons */
.sticky-share-buttons {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.sticky-share-buttons a,
.sticky-share-buttons button {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sticky-share-fb { background: #1877f2; border-radius: 0 10px 10px 0; }
.sticky-share-tw { background: #1da1f2; border-radius: 0 10px 10px 0; }
.sticky-share-wa { background: #25d366; border-radius: 0 10px 10px 0; }
.sticky-share-copy { background: #6c757d; border-radius: 0 10px 10px 0; }

.sticky-share-buttons a:hover,
.sticky-share-buttons button:hover {
    transform: translateX(5px);
}

/* ========== HERO SLIDER SECTION ========== */
.hero-slider-section {
    padding: 30px 0 0;
    margin-bottom: 30px;
}

.hero-slide {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.hero-slide:hover .slide-bg {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    color: white;
    z-index: 2;
}

.slide-category {
    margin-bottom: 15px;
}

.cat-badge {
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.slide-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    max-width: 70%;
}

.slide-title a {
    color: white;
    text-decoration: none;
}

.slide-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.9;
}

.slide-excerpt {
    max-width: 60%;
    margin-bottom: 20px;
    opacity: 0.9;
}

.slide-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.slide-readmore:hover {
    background: white;
    color: var(--primary-color);
    gap: 15px;
}

/* ========== CATEGORY NAVIGATION BAR ========== */
.category-nav-bar {
    background: white;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 80px;
    z-index: 99;
}

.category-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
}

.category-nav-title {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
}

.category-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.cat-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 15px;
    background: var(--light-bg);
    border-radius: 30px;
    text-decoration: none;
    color: #212529;
    font-size: 13px;
    transition: all 0.3s ease;
}

.cat-nav-link i {
    font-size: 12px;
    color: var(--primary-color);
}

.cat-nav-link:hover {
    background: var(--primary-color);
    color: white;
}

.category-nav-mobile-toggle {
    display: none;
}

.cat-mobile-toggle {
    background: var(--light-bg);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* ========== FEATURED ROW ========== */
.featured-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.featured-large-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.featured-large-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.featured-img {
    position: relative;
}

.featured-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.featured-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
}

.featured-content {
    padding: 25px;
}

.featured-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.featured-title a {
    color: #212529;
    text-decoration: none;
}

.featured-title a:hover {
    color: var(--primary-color);
}

.featured-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 15px;
}

.featured-excerpt {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.featured-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.featured-small-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.featured-small-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.featured-small-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.small-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.small-content {
    flex: 1;
}

.small-title {
    font-size: 1rem;
    margin-bottom: 8px;
}

.small-title a {
    color: #212529;
    text-decoration: none;
}

.small-title a:hover {
    color: var(--primary-color);
}

.small-meta {
    font-size: 12px;
    color: #6c757d;
}

/* ========== CATEGORY SECTIONS ========== */
.category-section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

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

.section-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.section-title {
    font-size: 1.6rem;
    margin: 0;
}

.section-line {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.section-description {
    flex: 1;
    margin-left: 20px;
    color: #6c757d;
    font-size: 14px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all:hover {
    gap: 12px;
}

.posts-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========== DUAL CATEGORY SECTION ========== */
.dual-category-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.dual-category-wrapper {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.dual-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.dual-header i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.dual-header h3 {
    flex: 1;
    margin: 0;
    font-size: 1.2rem;
}

.dual-header a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
}

.dual-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dual-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.dual-post-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
}

.dual-post-content {
    flex: 1;
}

.dual-post-content h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.dual-post-content h4 a {
    color: #212529;
    text-decoration: none;
}

.dual-post-date {
    font-size: 11px;
    color: #6c757d;
}

/* ========== POSTS LIST HORIZONTAL ========== */
.posts-list-horizontal {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.horizontal-post {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.horizontal-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.horizontal-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
}

.horizontal-content h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.horizontal-content h4 a {
    color: #212529;
    text-decoration: none;
}

.horizontal-content h4 a:hover {
    color: var(--primary-color);
}

.horizontal-meta {
    font-size: 11px;
    color: #6c757d;
}

/* ========== LATEST POSTS ROW ========== */
.latest-posts-row {
    display: flex;
    gap: 40px;
    margin: 50px 0;
}

.latest-posts-main {
    flex: 2;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.latest-post-card {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.latest-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.latest-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.latest-content {
    flex: 1;
}

.latest-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.latest-content h3 a {
    color: #212529;
    text-decoration: none;
}

.latest-content h3 a:hover {
    color: var(--primary-color);
}

.latest-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #6c757d;
    margin-bottom: 8px;
}

.latest-excerpt {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

/* ========== CTA BANNER ========== */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    border-radius: 20px;
    padding: 50px;
    margin: 40px 0;
}

.cta-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-banner-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--accent-color);
    color: #212529;
}

/* ========== PAGE TEMPLATE STYLES ========== */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 60px 0;
    margin-bottom: 50px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.page-header-inner {
    position: relative;
    z-index: 2;
}

.page-header .breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.page-header .breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.page-title {
    color: white !important;
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    line-height: 1.6;
}

.page-article {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
}

.page-content-area {
    flex: 2;
}

/* Page Shortcodes */
.entry-content .two-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}
.entry-content .three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}
.entry-content .four-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.entry-content .cta-box {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    padding: 40px;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.entry-content .cta-box h2,
.entry-content .cta-box h3 {
    color: white;
    margin-top: 0;
}

.entry-content .alert {
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.entry-content .alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}
.entry-content .alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}
.entry-content .alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
}
.entry-content .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Page Links */
.page-links {
    margin: 30px 0;
    text-align: center;
}

.page-links span,
.page-links a {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: var(--light-bg);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.page-links a:hover {
    background: var(--primary-color);
    color: white;
}

.page-links .current {
    background: var(--primary-color);
    color: white;
}

/* Full Width Page */
.page-template-full-width .sidebar {
    display: none;
}
.page-template-full-width .content-area {
    flex: 1;
}

/* Blank Page */
.page-template-blank .site-header,
.page-template-blank .site-footer,
.page-template-blank .page-header {
    display: none;
}
.page-template-blank .main-content {
    margin: 0;
}
.page-template-blank .container {
    max-width: 100%;
    padding: 0;
}

/* ========== ARCHIVE PAGE STYLES ========== */
.archive-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    padding: 60px 0;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.archive-header-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: white;
}

.archive-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.archive-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.archive-description {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.archive-stats {
    display: inline-block;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    backdrop-filter: blur(5px);
}

/* Archive Filter Bar */
.archive-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    gap: 5px;
    background: var(--light-bg);
    padding: 4px;
    border-radius: 10px;
}

.view-btn {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #6c757d;
}

.view-btn.active {
    background: var(--primary-color);
    color: white;
}

.sort-select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-size: 14px;
}

.filter-right .result-count {
    font-size: 14px;
    color: #6c757d;
}

/* Subcategories */
.subcategories-section {
    margin-bottom: 40px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subcategories-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subcategories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.subcategory-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-bg);
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    color: #212529;
    font-size: 14px;
    transition: all 0.3s ease;
}

.subcategory-card i {
    color: var(--primary-color);
}

.subcategory-card:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    margin: 40px 0;
}

.no-results-content i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.suggested-categories {
    margin-top: 30px;
}

.suggested-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.suggested-link {
    background: var(--light-bg);
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #212529;
    transition: all 0.3s ease;
}

.suggested-link:hover {
    background: var(--primary-color);
    color: white;
}

/* ========== PAGINATION ========== */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    background: var(--light-bg);
    color: #212529;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: white;
}

/* ========== FOOTER ========== */
.site-footer {
    background: var(--secondary-color);
    color: #e0e0e0;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-widget p {
    line-height: 1.6;
}

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

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 14px;
}

.footer-social a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

/* ========== READING PROGRESS BAR ========== */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-color);
    z-index: 99999;
    transition: width 0.3s ease;
}

/* ========== DARK MODE ========== */
body.dark-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
    color: #ffffff;
}

body.dark-mode .site-header,
body.dark-mode .post-card,
body.dark-mode .sidebar-widget,
body.dark-mode .single-article,
body.dark-mode .page-article,
body.dark-mode .featured-large-card,
body.dark-mode .featured-small-card,
body.dark-mode .dual-category-wrapper,
body.dark-mode .horizontal-post,
body.dark-mode .latest-post-card,
body.dark-mode .category-nav-bar,
body.dark-mode .archive-filter-bar,
body.dark-mode .subcategories-section,
body.dark-mode .no-results,
body.dark-mode .post-list-item,
body.dark-mode .related-post-card {
    background: #2d2d3a;
}

body.dark-mode .post-title a,
body.dark-mode .popular-post-title a,
body.dark-mode .latest-post-title a,
body.dark-mode .dual-post-content h4 a,
body.dark-mode .small-title a,
body.dark-mode .featured-title a,
body.dark-mode .recent-post-title a,
body.dark-mode .related-title a {
    color: #ffffff;
}

body.dark-mode .post-meta,
body.dark-mode .post-excerpt,
body.dark-mode .popular-post-meta,
body.dark-mode .latest-post-date,
body.dark-mode .featured-excerpt,
body.dark-mode .latest-meta,
body.dark-mode .latest-excerpt {
    color: #b0b0b0;
}

body.dark-mode .cat-nav-link {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .categories-list li a,
body.dark-mode .tag-link,
body.dark-mode .subcategory-card {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .categories-list li a:hover,
body.dark-mode .tag-link:hover,
body.dark-mode .subcategory-card:hover {
    background: var(--primary-color);
    color: white;
}

body.dark-mode .pagination a,
body.dark-mode .pagination span {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .about-btn.secondary {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .mobile-menu-panel,
body.dark-mode .mobile-menu-header,
body.dark-mode .mobile-menu-footer {
    background: #1a1a2e;
}

body.dark-mode .mobile-nav-menu a {
    background: #2d2d3a;
    color: #e0e0e0;
}

body.dark-mode .mobile-menu-header,
body.dark-mode .mobile-menu-footer {
    border-color: #2d2d3a;
}

body.dark-mode .search-popup {
    background: rgba(0, 0, 0, 0.98);
}

body.dark-mode .sort-select {
    background: #2d2d3a;
    border-color: #3a3a4a;
    color: #e0e0e0;
}

body.dark-mode .view-btn {
    color: #e0e0e0;
}

body.dark-mode .entry-content {
    color: #e0e0e0;
}

body.dark-mode .entry-content blockquote,
body.dark-mode .table-of-contents,
body.dark-mode .social-share-section {
    background: #1a1a2e;
}

body.dark-mode .author-box-section {
    background: #1a1a2e;
}

body.dark-mode .post-tags a {
    background: #1a1a2e;
    color: #e0e0e0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .container { max-width: 1140px; }
    .blog-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
    .posts-grid-3 { gap: 20px; }
}

@media (max-width: 992px) {
    .main-navigation { display: none; }
    .mobile-menu-toggle { display: block; }
    .cta-button span { display: none; }
    .cta-button { padding: 8px 16px; }
    
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
    .featured-row { grid-template-columns: 1fr; }
    .posts-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .dual-category-section { grid-template-columns: 1fr; }
    .posts-list-horizontal { grid-template-columns: repeat(3, 1fr); }
    .related-posts-grid { grid-template-columns: repeat(2, 1fr); }
    
    .category-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    .category-nav-menu.active { display: flex; }
    .category-nav-mobile-toggle { display: block; }
    
    .hero-slide { height: 400px; }
    .slide-title { font-size: 1.8rem; max-width: 100%; }
    .slide-excerpt { max-width: 100%; }
    
    .single-article { padding: 30px; }
    .post-title { font-size: 1.8rem; }
    .post-meta-top { flex-direction: column; align-items: flex-start; }
    .sticky-share-buttons { display: none; }
    
    .page-title { font-size: 2.2rem; }
    .entry-content .three-columns,
    .entry-content .four-columns { grid-template-columns: repeat(2, 1fr); }
    
    .sidebar { position: static; margin-top: 40px; }
}

@media (max-width: 768px) {
    .header-wrapper { padding: 10px 0; min-height: 65px; }
    .custom-logo img { max-height: 40px; }
    .main-content { flex-direction: column; gap: 30px; margin: 30px auto; }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    
    .blog-grid { grid-template-columns: 1fr; }
    .posts-grid-3 { grid-template-columns: 1fr; }
    .posts-list-horizontal { grid-template-columns: 1fr; }
    .latest-posts-grid { grid-template-columns: 1fr; }
    .latest-posts-row { flex-direction: column; }
    .related-posts-grid { grid-template-columns: 1fr; }
    
    .footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    
    .hero-slide { height: 500px; }
    .slide-content { padding: 30px; }
    .slide-title { font-size: 1.4rem; }
    .slide-meta { flex-wrap: wrap; gap: 10px; }
    
    .cta-banner { padding: 30px; text-align: center; }
    .cta-banner-content { flex-direction: column; text-align: center; }
    
    .social-links { grid-template-columns: repeat(3, 1fr); }
    .about-buttons { flex-direction: column; }
    
    .single-post-container { margin: 20px auto; }
    .single-article { padding: 20px; }
    .single-article .post-title { font-size: 1.5rem; }
    .share-btn span { display: none; }
    .share-btn { padding: 8px 12px; }
    .author-box-section { flex-direction: column; text-align: center; }
    .author-social { justify-content: center; }
    .post-navigation { flex-direction: column; }
    .nav-next { text-align: left; }
    
    .page-header { padding: 40px 0; }
    .page-title { font-size: 1.8rem; }
    .page-article { padding: 20px; }
    .entry-content { font-size: 1rem; }
    .entry-content .two-columns,
    .entry-content .three-columns,
    .entry-content .four-columns { grid-template-columns: 1fr; gap: 20px; }
    
    .archive-header { padding: 40px 0; }
    .archive-title { font-size: 1.5rem; }
    .archive-filter-bar { flex-direction: column; align-items: stretch; }
    .filter-left { justify-content: space-between; }
    .blog-list-layout .archive-post-card { flex-direction: column; }
    .blog-list-layout .post-thumbnail { flex: 0 0 auto; }
    .blog-list-layout .post-content { padding: 20px; }
    
    .latest-post-card { flex-direction: column; text-align: center; }
    .latest-img img { width: 100%; height: 200px; }
    
    .post-list-item { flex-direction: column; }
    .post-list-thumbnail { flex: 0 0 auto; }
    .post-list-thumbnail img { height: 200px; }
    .post-list-content { padding: 20px; }
}

@media (max-width: 576px) {
    .container { padding: 0 15px; }
    .top-announcement-bar { font-size: 11px; padding: 8px 0; }
    .announcement-text { font-size: 11px; }
    .announcement-link { font-size: 10px; padding: 3px 8px; }
    .header-action-btn { width: 35px; height: 35px; font-size: 16px; }
    
    .hero-title { font-size: 1.6rem; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .btn { justify-content: center; }
    
    .categories-grid { grid-template-columns: 1fr; }
    .category-card { padding: 15px; display: flex; align-items: center; gap: 15px; text-align: left; }
    .category-icon { margin-bottom: 0; font-size: 1.5rem; }
    .category-info { flex: 1; }
    .category-name { margin-bottom: 4px; font-size: 1rem; }
    
    .pagination a, .pagination span { min-width: 35px; height: 35px; font-size: 14px; }
    
    .filter-left { flex-direction: column; gap: 12px; }
    .view-toggle { width: 100%; justify-content: center; }
    .sort-select { width: 100%; }
    .result-count { text-align: center; }
    
    .post-meta { gap: 10px; font-size: 11px; flex-direction: column; }
    .post-title { font-size: 1.1rem; }
    
    .social-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 375px) {
    .hero-title { font-size: 1.4rem; }
}

/* ========== PRINT STYLES ========== */
@media print {
    .site-header, .sidebar, .site-footer, .social-share-section,
    .related-posts-section, .comments-section, .sticky-share-buttons,
    .scroll-top, .top-announcement-bar, .mobile-menu-toggle,
    .header-actions, .category-nav-bar, .hero-slider-section,
    .newsletter-section, .cta-banner {
        display: none;
    }
    
    .main-content { margin: 0; }
    .content-area { width: 100%; }
    .single-article, .page-article { padding: 0; box-shadow: none; }
    .container { max-width: 100%; padding: 0; }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.post-card, .category-card, .horizontal-post, .latest-post-card {
    animation: fadeInUp 0.6s ease forwards;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }