/*
Theme Name: CA Alok Kumar - Purple Gold
Theme URI: https://caalokkumar.com
Author: CA Alok Kumar
Author URI: https://caalokkumar.com
Description: Custom WordPress theme matching the caalokkumar.com homepage design - Purple + Amber Gold theme with Cormorant Garamond + DM Sans fonts.
Version: 2.0
License: Private
Text Domain: ca-alok
*/

/* ==================== CSS RESET & VARIABLES ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Purple Theme - matching homepage */
    --navy: #2E1660;
    --navy-light: #3B1E6E;
    --navy-mid: #46237D;
    --navy-dark: #1E0E40;
    --gold: #D4A54E;
    --gold-light: #E0B45A;
    --gold-dark: #BC833E;
    --cream: #FAF8F5;
    --cream-dark: #F0EDE6;
    --white: #FFFFFF;
    --slate: #4A4060;
    --slate-light: #6B5F85;
    --border: #E2DDD8;
    --green: #2D8B5F;
    --shadow-sm: 0 1px 3px rgba(46,22,96,0.08);
    --shadow-md: 0 4px 20px rgba(46,22,96,0.10);
    --shadow-lg: 0 12px 40px rgba(46,22,96,0.14);
    --shadow-xl: 0 20px 60px rgba(46,22,96,0.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--navy);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--navy); transition: all 0.3s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* ==================== TOPBAR ==================== */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.topbar-left a {
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar-left a:hover { color: var(--gold); }
.topbar-left a i { color: var(--gold); font-size: 0.78rem; }

.topbar-right {
    display: flex;
    gap: 14px;
    align-items: center;
}

.topbar-right a {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}
.topbar-right a:hover {
    color: var(--gold);
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* ==================== HEADER ==================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    position: relative;
    overflow: hidden;
}
.logo-icon::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 0 10px 0 6px;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    font-family: 'Cormorant Garamond', serif;
}
.logo-text h1 a { color: var(--navy); }
.logo-text h1 a:hover { color: var(--navy); }

.logo-creds {
    font-size: 0.68rem;
    color: var(--slate-light);
    font-family: 'Outfit', 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ==================== NAVIGATION ==================== */
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav > ul {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate);
    border-radius: 8px;
    transition: all 0.25s ease;
    font-family: 'DM Sans', sans-serif;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a {
    color: var(--navy);
    background: var(--cream);
}

/* Dropdown */
.main-nav ul li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    border: 1px solid var(--border);
}

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

.main-nav ul li ul.sub-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 0.84rem;
    color: var(--slate);
    border-radius: 8px;
    transition: all 0.2s ease;
}
.main-nav ul li ul.sub-menu li a:hover {
    background: var(--cream);
    color: var(--navy);
    padding-left: 18px;
}

/* Sub-sub menu */
.main-nav ul li ul.sub-menu li ul.sub-menu {
    left: 100%;
    top: 0;
}

/* Consultation CTA */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--white) !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover {
    background: var(--gold-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212,165,78,0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
    padding: 8px;
}

/* ==================== HERO / PAGE HEADER ==================== */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
    padding: 48px 0 42px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(212,165,78,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 8px;
}
.page-hero h1 span { color: var(--gold); }

.page-hero .breadcrumb-nav {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.page-hero .breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
}
.page-hero .breadcrumb-nav a:hover { color: var(--gold); }
.page-hero .breadcrumb-nav .separator {
    margin: 0 8px;
    color: rgba(255,255,255,0.4);
}

/* ==================== MAIN CONTENT LAYOUT ==================== */
.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.content-area {
    min-width: 0;
}

/* ==================== BLOG POSTS / ARTICLES ==================== */
.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 30px;
    transition: all 0.35s ease;
}
.post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.post-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}
.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-image .post-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--navy);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', sans-serif;
}

.post-card-body {
    padding: 24px 28px 28px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--slate-light);
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
}
.post-meta i { color: var(--gold); margin-right: 4px; font-size: 0.75rem; }
.post-meta a { color: var(--slate-light); }
.post-meta a:hover { color: var(--gold); }

.post-card-body h2 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.35;
}
.post-card-body h2 a {
    color: var(--navy);
    transition: color 0.3s ease;
}
.post-card-body h2 a:hover { color: var(--gold-dark); }

.post-excerpt {
    font-size: 0.92rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 20px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.post-tags a {
    background: var(--cream);
    color: var(--slate);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid var(--border);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.25s ease;
}
.post-tags a:hover {
    background: var(--navy);
    color: var(--gold);
    border-color: var(--navy);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 0;
    border-bottom: 2px solid var(--gold);
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}
.read-more-btn:hover {
    color: var(--gold-dark);
    padding-left: 6px;
}
.read-more-btn i { transition: transform 0.3s ease; }
.read-more-btn:hover i { transform: translateX(4px); }

/* ==================== SINGLE POST ==================== */
.single-post-content {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 44px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.single-post-content .featured-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 28px;
    overflow: hidden;
}
.single-post-content .featured-img img {
    width: 100%;
    border-radius: 12px;
}

.single-post-content h1.entry-title {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.single-post-content .entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate);
}
.single-post-content .entry-content h2 {
    font-size: 1.5rem;
    color: var(--navy);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cream-dark);
}
.single-post-content .entry-content h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin: 24px 0 12px;
}
.single-post-content .entry-content p {
    margin-bottom: 16px;
}
.single-post-content .entry-content ul,
.single-post-content .entry-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.single-post-content .entry-content li {
    margin-bottom: 8px;
}
.single-post-content .entry-content blockquote {
    border-left: 4px solid var(--gold);
    background: var(--cream);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--navy);
}
.single-post-content .entry-content a {
    color: var(--navy-mid);
    border-bottom: 1px solid var(--gold);
}
.single-post-content .entry-content a:hover {
    color: var(--gold-dark);
}
.single-post-content .entry-content img {
    border-radius: 10px;
    margin: 16px 0;
}
.single-post-content .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
}
.single-post-content .entry-content table th {
    background: var(--navy);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-size: 0.88rem;
    font-weight: 600;
}
.single-post-content .entry-content table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}
.single-post-content .entry-content table tr:nth-child(even) {
    background: var(--cream);
}

/* Post Navigation */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.post-navigation a {
    display: block;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.post-navigation a:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.post-navigation .nav-label {
    font-size: 0.75rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'DM Sans', sans-serif;
}
.post-navigation .nav-title {
    font-size: 0.92rem;
    color: var(--navy);
    font-weight: 500;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 14px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.sidebar-widget h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--cream-dark);
    font-family: 'Cormorant Garamond', serif;
    position: relative;
}
.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

/* Recent Articles Widget */
.recent-articles-list { list-style: none; }
.recent-articles-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--cream-dark);
}
.recent-articles-list li:last-child { border-bottom: none; }
.recent-articles-list li a {
    display: block;
    font-size: 0.88rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.45;
    transition: all 0.25s ease;
}
.recent-articles-list li a:hover {
    color: var(--gold-dark);
    padding-left: 4px;
}
.recent-articles-list li .article-date {
    font-size: 0.75rem;
    color: var(--slate-light);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.recent-articles-list li .article-date i { color: var(--gold); font-size: 0.7rem; }

/* Services Widget */
.services-menu { list-style: none; }
.services-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--slate);
    border-radius: 8px;
    transition: all 0.25s ease;
    font-weight: 500;
    border-bottom: 1px solid var(--cream-dark);
}
.services-menu li:last-child a { border-bottom: none; }
.services-menu li a i {
    color: var(--gold);
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
}
.services-menu li a:hover {
    background: var(--cream);
    color: var(--navy);
    padding-left: 18px;
}

/* Book Consultation Widget */
.consultation-widget {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: var(--white);
    border: none;
}
.consultation-widget h3 {
    color: var(--gold);
    border-bottom-color: rgba(255,255,255,0.15);
}
.consultation-widget h3::after { background: var(--gold); }
.consultation-widget p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    line-height: 1.5;
}
.consultation-widget .cta-btn {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: var(--gold);
    color: var(--navy) !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    margin-top: 16px;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}
.consultation-widget .cta-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(212,165,78,0.4);
}
.consultation-widget .consult-features {
    list-style: none;
    margin-top: 12px;
}
.consultation-widget .consult-features li {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.85);
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.consultation-widget .consult-features li i {
    color: var(--gold);
    font-size: 0.75rem;
}

/* Contact Widget */
.contact-widget {
    background: var(--cream);
    border-color: var(--cream-dark);
}
.contact-widget .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.contact-widget .contact-item:last-child { border-bottom: none; }
.contact-widget .contact-item i {
    color: var(--gold);
    font-size: 1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
}
.contact-widget .contact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--slate-light);
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}
.contact-widget .contact-value {
    font-size: 0.9rem;
    color: var(--navy);
    font-weight: 600;
}
.contact-widget .contact-value a { color: var(--navy); }
.contact-widget .contact-value a:hover { color: var(--gold-dark); }

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Search Widget */
.search-form {
    display: flex;
    gap: 0;
}
.search-form input[type="search"],
.search-form input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px 0 0 8px;
    font-size: 0.88rem;
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--navy);
    outline: none;
    transition: border-color 0.3s ease;
}
.search-form input[type="search"]:focus,
.search-form input[type="text"]:focus {
    border-color: var(--gold);
}
.search-form button,
.search-form input[type="submit"] {
    padding: 10px 16px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}
.search-form button:hover,
.search-form input[type="submit"]:hover {
    background: var(--gold-dark);
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    transition: all 0.25s ease;
    font-family: 'DM Sans', sans-serif;
}
.pagination a:hover {
    background: var(--cream);
    border-color: var(--gold);
    color: var(--gold-dark);
}
.pagination span.current {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    margin-top: 60px;
}

.footer-top {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 24px 40px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 18px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold);
    opacity: 0.5;
}

.footer-about p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.75);
    font-size: 0.86rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}
.footer-col ul li a i {
    font-size: 0.65rem;
    color: var(--gold);
    opacity: 0.6;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-contact-item i {
    color: var(--gold);
    font-size: 0.9rem;
    margin-top: 2px;
    width: 18px;
}
.footer-contact-item span {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.45;
}
.footer-contact-item a {
    color: rgba(255,255,255,0.8);
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    text-align: center;
}
.footer-bottom-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}
.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all 0.3s ease;
}
.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 998;
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: var(--gold);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-2px);
}

/* ==================== VIEW ALL ARTICLES LINK ==================== */
.view-all-link {
    text-align: center;
    margin-top: 12px;
}
.view-all-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark);
    font-weight: 600;
    font-size: 0.88rem;
    font-family: 'DM Sans', sans-serif;
}
.view-all-link a:hover { color: var(--navy); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .header-inner { height: 62px; }
    .mobile-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        flex-direction: column;
        border-bottom: 3px solid var(--gold);
    }
    .main-nav.active { display: flex; }
    .main-nav > ul {
        flex-direction: column;
        width: 100%;
    }
    .main-nav > ul > li > a {
        padding: 12px 14px;
        border-bottom: 1px solid var(--cream-dark);
    }
    .main-nav ul li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: var(--cream);
        border-radius: 8px;
        display: none;
    }
    .main-nav ul li.submenu-open > ul.sub-menu {
        display: block;
    }
    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .page-hero h1 { font-size: 1.6rem; }
    .content-wrapper { padding: 24px 16px; gap: 24px; }
    .sidebar { grid-template-columns: 1fr; }
    .post-card-body { padding: 20px; }
    .post-card-body h2 { font-size: 1.2rem; }
    .single-post-content { padding: 24px 20px; }
    .single-post-content h1.entry-title { font-size: 1.5rem; }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .post-meta { flex-wrap: wrap; gap: 8px; }
    .post-tags a { font-size: 0.7rem; }
    .logo-text h1 { font-size: 1.1rem; }
}

/* ==================== WORDPRESS SPECIFIC ==================== */
.wp-caption {
    max-width: 100%;
    background: var(--cream);
    border-radius: 10px;
    padding: 8px;
    border: 1px solid var(--border);
}
.wp-caption img {
    border-radius: 8px;
}
.wp-caption-text {
    font-size: 0.82rem;
    color: var(--slate-light);
    text-align: center;
    padding: 6px 0 2px;
    font-style: italic;
}

.aligncenter { text-align: center; margin: 20px auto; display: block; }
.alignleft { float: left; margin: 8px 20px 12px 0; }
.alignright { float: right; margin: 8px 0 12px 20px; }

/* WordPress galleries */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.gallery-item { overflow: hidden; border-radius: 8px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* Comments */
.comments-area {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-top: 30px;
}
.comments-area h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}
.comment-list { list-style: none; }
.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--cream-dark);
}
.comment:last-child { border-bottom: none; }
.comment-author {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}
.comment-date {
    font-size: 0.78rem;
    color: var(--slate-light);
}
.comment-content {
    margin-top: 8px;
    font-size: 0.92rem;
    color: var(--slate);
}

/* Comment Form */
.comment-respond .comment-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
    font-family: 'DM Sans', sans-serif;
}
.comment-respond .comment-form input[type="text"],
.comment-respond .comment-form input[type="email"],
.comment-respond .comment-form input[type="url"],
.comment-respond .comment-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    margin-bottom: 14px;
    transition: border-color 0.3s ease;
}
.comment-respond .comment-form input:focus,
.comment-respond .comment-form textarea:focus {
    border-color: var(--gold);
    outline: none;
}
.comment-respond .comment-form input[type="submit"] {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}
.comment-respond .comment-form input[type="submit"]:hover {
    background: var(--gold);
    color: var(--navy);
}

/* ==================== NO POSTS ==================== */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
}
.no-posts h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.no-posts p {
    color: var(--slate-light);
    font-size: 0.95rem;
}
