:root {
    --primary: #2d6a4f;
    --primary-dark: #1b4332;
    --primary-light: #52b788;
    --secondary: #52b788;
    --accent: #d4a373;
    --accent-light: #e9c46a;
    --text: #1b1b1b;
    --text-light: #6b7280;
    --bg: #faf9f6;
    --bg-light: #f5f3ee;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-alt: 'DM Sans', sans-serif;
    --container: 1200px;
    --header-h: 60px;
    --nav-h: 52px;
    --topbar-h: 38px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-mode {
    --primary: #52b788;
    --primary-dark: #2d6a4f;
    --primary-light: #95d5b2;
    --text: #e5e7eb;
    --text-light: #9ca3af;
    --bg: #0f172a;
    --bg-light: #1e293b;
    --bg-white: #1e293b;
    --border: #334155;
    --border-light: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size, 16px);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1.3;
    font-weight: 600;
}

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

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.section {
    padding: 60px 0;
}

.section.bg-light {
    background: var(--bg-light);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 20px;
}

.section-header.centered {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-family: var(--font-alt);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.section-title {
    font-size: 2rem;
    color: var(--text);
    margin: 0;
}

.section-description {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 500px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    white-space: nowrap;
    transition: gap var(--transition);
}

.section-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.lazyload {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lazyload.loaded {
    opacity: 1;
}

.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 9999;
    background: transparent;
}

.reading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0;
    transition: width 0.1s linear;
}

/* Header */
.header-top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.8125rem;
    padding: 0;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}

.header-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.secondary-menu {
    display: flex;
    list-style: none;
    gap: 16px;
}

.secondary-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 0.8125rem;
    transition: color var(--transition);
}

.secondary-menu a:hover {
    color: #fff;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color var(--transition), transform var(--transition);
}

.header-social a:hover {
    color: #fff;
    transform: scale(1.15);
}

.header-main {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: background var(--transition);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

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

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

.site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: var(--text);
}

.site-description {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dark-mode-toggle,
.search-toggle,
.menu-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.dark-mode-toggle:hover,
.search-toggle:hover {
    background: var(--bg-light);
}

.dark-mode-toggle .dark-icon { display: none; }
.dark-mode .dark-mode-toggle .light-icon { display: none; }
.dark-mode .dark-mode-toggle .dark-icon { display: block; }

.hamburger {
    width: 40px;
    height: 40px;
    position: relative;
    display: none;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--transition);
}

.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 25px; }

.hamburger.active span:nth-child(1) {
    top: 19px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 19px;
    transform: translateX(-50%) rotate(-45deg);
}

.main-navigation {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

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

.primary-menu > li {
    position: relative;
}

.primary-menu > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 18px;
    height: var(--nav-h);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
    color: var(--primary);
}

.menu-toggle-icon {
    font-size: 0.6rem;
    margin-left: 4px;
    display: inline-flex;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
    list-style: none;
    padding: 8px 0;
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .sub-menu {
    left: 100%;
    top: -8px;
}

.sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--text);
    transition: all var(--transition);
}

.sub-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 24px;
}

.mega-menu {
    display: flex;
    gap: 24px;
    padding: 24px;
    min-width: 600px;
}

.mega-menu > li {
    flex: 1;
}

.mega-menu > li > a {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 8px 0;
    pointer-events: none;
}

.mega-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    background: transparent;
}

.mega-menu .sub-menu a {
    padding: 6px 0;
}

.header-search {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    display: none;
}

.header-search.active {
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.search-field {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}

.search-field:focus {
    border-color: var(--primary);
}

.search-submit,
.search-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.search-submit:hover,
.search-close:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.sticky-header .header-top-bar {
    display: none;
}

.sticky-header.scrolled .header-main {
    box-shadow: var(--shadow);
}

/* Breadcrumb */
.breadcrumb-wrapper {
    background: var(--bg-light);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    font-size: 0.8125rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-light);
}

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

.breadcrumb-sep {
    color: var(--border);
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* Hero Slider */
.hero-section {
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin-top: 24px;
    min-height: 520px;
}

.hero-slides-wrapper {
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 50px;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;
}

.hero-category {
    margin-bottom: 12px;
}

.cat-link {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-title a {
    color: #fff;
}

.hero-title a:hover {
    color: var(--secondary);
}

.hero-excerpt {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-bottom: 20px;
}

.hero-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.hero-nav {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-prev,
.hero-next {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    border: none;
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.hero-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.hero-dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* Trending Posts */
.trending-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.trending-post {
    display: flex;
    flex-direction: column;
}

.trending-featured {
    grid-row: span 2;
}

.trending-post .post-thumbnail {
    position: relative;
}

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

.trending-featured .post-thumbnail img {
    height: 380px;
}

.trending-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.trending-post .post-content {
    padding: 20px;
}

.post-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.category-icon {
    color: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    transition: all var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}

.category-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
}

.category-count {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Gardening Grid */
.gardening-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.gardening-post.featured {
    grid-row: span 2;
}

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

.gardening-post.featured .post-thumbnail img {
    height: 400px;
}

.gardening-post .post-content {
    padding: 20px;
}

.entry-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.entry-title a {
    color: var(--text);
}

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

.entry-excerpt {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-light);
}

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

.entry-meta .cat-links a {
    color: var(--primary);
    font-weight: 500;
}

/* Decor Grid */
.decor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.decor-post .post-content {
    padding: 16px;
}

.decor-post .entry-title {
    font-size: 1rem;
}

/* DIY Showcase */
.diy-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
}

.diy-card {
    display: flex;
    flex-direction: column;
}

.diy-main {
    grid-row: span 2;
}

.diy-thumb {
    position: relative;
}

.diy-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.diy-main .diy-thumb img {
    height: 320px;
}

.diy-step-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.diy-content {
    padding: 16px;
}

.btn-diy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    margin-top: 8px;
}

.btn-diy:hover {
    gap: 10px;
}

/* Lifestyle Grid */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

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

.lifestyle-post .post-content {
    padding: 20px;
}

/* Newsletter Block */
.newsletter-block {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.newsletter-icon {
    display: inline-block;
    margin-bottom: 16px;
    opacity: 0.8;
}

.newsletter-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
}

.newsletter-text {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 28px;
}

.newsletter-input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
}

.newsletter-input-group .btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 16px 28px;
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}

.newsletter-input-group .btn:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

.newsletter-disclaimer {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
}

/* Instagram Gallery */
.instagram-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-likes {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 500;
}

.instagram-cta {
    text-align: center;
    padding: 24px 0 0;
}

/* Sidebar */
.widget-area {
    width: 320px;
    flex-shrink: 0;
}

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

.widget-title {
    font-family: var(--font-alt);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.widget ul li a {
    color: var(--text);
    font-size: 0.9375rem;
}

.widget ul li a:hover {
    color: var(--primary);
}

.popular-posts-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0;
}

.popular-post-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.popular-post-content h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.popular-post-content h4 a {
    font-family: var(--font-body);
    font-weight: 600;
}

.popular-post-content .post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.category-grid-widget {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all var(--transition);
}

.category-item:hover {
    background: var(--primary);
    color: #fff;
}

.category-item:hover .category-name {
    color: #fff;
}

.category-item .category-name {
    font-size: 0.8125rem;
    font-weight: 600;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-light);
}

.newsletter-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.newsletter-widget .newsletter-form input {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    outline: none;
    background: var(--bg);
    color: var(--text);
}

.newsletter-widget .newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-widget .newsletter-form button {
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: background var(--transition);
}

.newsletter-widget .newsletter-form button:hover {
    background: var(--primary-dark);
}

/* Single Post */
.single-post-main {
    padding: 36px 0;
}

.content-area {
    display: flex;
    gap: 40px;
    flex: 1;
}

.single-post-main .content-area,
.page-main .content-area,
.archive-main .content-area,
.search-main .content-area {
    display: flex;
    gap: 40px;
    flex: 1;
}

.single-post-main .content-area > :first-child,
.page-main .content-area > :first-child,
.archive-main .content-area > :first-child,
.search-main .content-area > :first-child {
    flex: 1;
    min-width: 0;
}

.single-post {
    max-width: 780px;
}

.entry-header {
    margin-bottom: 28px;
}

.entry-categories {
    margin-bottom: 12px;
}

.entry-categories a {
    display: inline-block;
    padding: 4px 14px;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
    margin-right: 6px;
    transition: all var(--transition);
}

.entry-categories a:hover {
    background: var(--primary);
    color: #fff;
}

.single-post .entry-title {
    font-size: 2.5rem;
    line-height: 1.15;
    margin-bottom: 16px;
}

.single-post .entry-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.single-post .entry-meta .author-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name a {
    color: var(--text);
    font-weight: 600;
}

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

.meta-sep {
    color: var(--border);
}

.entry-featured-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 32px;
}

.entry-featured-image img {
    width: 100%;
    height: auto;
}

.entry-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text);
}

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

.entry-content h2 {
    font-size: 1.75rem;
    margin: 40px 0 16px;
}

.entry-content h3 {
    font-size: 1.375rem;
    margin: 32px 0 12px;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 1.5em 1.5em;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 20px 24px;
    margin: 24px 0;
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 1.125rem;
}

.entry-content img {
    border-radius: var(--radius);
    margin: 24px 0;
}

.entry-content .wp-block-image {
    margin: 24px 0;
}

.entry-content .wp-block-image figcaption {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
}

.entry-content .alignwide {
    max-width: none;
    margin-left: -40px;
    margin-right: -40px;
}

.entry-content .wp-block-cover {
    border-radius: var(--radius);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.entry-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tags-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.entry-tags a {
    display: inline-block;
    padding: 4px 14px;
    background: var(--bg-light);
    color: var(--text);
    font-size: 0.8125rem;
    border-radius: 20px;
    transition: all var(--transition);
}

.entry-tags a:hover {
    background: var(--primary);
    color: #fff;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
}

.toc-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 12px;
}

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

.toc-list li {
    margin-bottom: 6px;
}

.toc-list a {
    font-size: 0.9375rem;
    color: var(--text);
    transition: color var(--transition);
}

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

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-right: 4px;
}

.social-share a,
.share-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-light);
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.share-facebook:hover { background: #1877f2; color: #fff; }
.share-twitter:hover { background: #000; color: #fff; }
.share-pinterest:hover { background: #e60023; color: #fff; }
.share-linkedin:hover { background: #0a66c2; color: #fff; }
.share-whatsapp:hover { background: #25d366; color: #fff; }
.share-copy:hover { background: var(--primary); color: #fff; }

/* Author Box */
.author-box {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin: 36px 0;
}

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

.author-name {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.author-name a {
    color: var(--text);
}

.author-bio {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.875rem;
}

.author-posts-count {
    color: var(--text-light);
}

.author-link {
    color: var(--primary);
    font-weight: 500;
}

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

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

.related-post {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.related-post:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.related-post-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-content {
    padding: 16px;
}

.related-post-content .post-category {
    margin-bottom: 6px;
}

.related-post-content h4 {
    font-size: 1rem;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: var(--text);
}

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

.related-post-content .post-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

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

.comments-title,
.comment-reply-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

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

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

.comment-author .fn {
    font-style: normal;
    font-weight: 600;
    font-size: 0.9375rem;
}

.comment-metadata {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.comment-content {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.reply a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary);
}

.comment-form {
    display: grid;
    gap: 16px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: var(--bg);
    color: var(--text);
    outline: none;
    transition: border-color var(--transition);
}

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

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .form-submit input {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    width: auto;
    transition: background var(--transition);
}

.comment-form .form-submit input:hover {
    background: var(--primary-dark);
}

/* Page Links */
.page-links {
    margin: 24px 0;
    font-size: 0.9375rem;
}

.page-links a {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin: 0 4px;
}

.page-links .post-page-numbers.current {
    padding: 6px 12px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
}

/* Pagination */
.pagination {
    margin: 40px 0;
}

.pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
}

/* 404 */
.error-404-main {
    padding: 80px 0;
    text-align: center;
}

.error-404-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-404-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.error-digit {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

.error-icon {
    color: var(--accent);
}

.error-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.error-description {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.error-suggestions h3 {
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.error-categories {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.error-categories li a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.9375rem;
    color: var(--text);
    transition: all var(--transition);
}

.error-categories li a:hover {
    background: var(--primary);
    color: #fff;
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    margin-top: auto;
}

.footer-widgets {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    gap: 32px;
}

.footer-columns-2 { grid-template-columns: 1fr 1fr; }
.footer-columns-3 { grid-template-columns: 1fr 1fr 1fr; }
.footer-columns-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.footer-widget-title {
    font-family: var(--font-alt);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

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

.footer-widget ul li {
    padding: 6px 0;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9375rem;
    transition: all var(--transition);
}

.footer-widget ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-newsletter {
    padding: 50px 0;
    text-align: center;
    background: rgba(255,255,255,0.03);
}

.newsletter-content h3 {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

.footer-newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    outline: none;
}

.footer-newsletter-form button {
    padding: 14px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background var(--transition);
}

.footer-newsletter-form button:hover {
    background: var(--secondary);
}

.footer-bottom {
    padding: 24px 0;
    background: rgba(0,0,0,0.2);
}

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

.footer-copyright {
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}

.footer-social a:hover {
    color: #fff;
    transform: scale(1.15);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 16px;
}

.footer-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Posts Archive */
.posts-archive {
    flex: 1;
    min-width: 0;
}

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

.posts-list-layout .list-post {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.posts-list-layout .list-post .post-thumbnail {
    flex: 0 0 300px;
}

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

.posts-list-layout .list-post .post-content {
    padding: 0;
    flex: 1;
}

.posts-list-layout .list-post .entry-title {
    font-size: 1.5rem;
}

.posts-masonry-layout {
    columns: 2;
    column-gap: 24px;
}

.posts-masonry-layout > article {
    break-inside: avoid;
    margin-bottom: 24px;
}

.archive-header {
    margin-bottom: 36px;
}

.archive-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.archive-description {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Search */
.search-header {
    margin-bottom: 28px;
}

.search-title {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.search-count {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.search-form-wrapper {
    margin-bottom: 32px;
}

.no-results {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

.no-posts-found {
    text-align: center;
    padding: 60px 20px;
}

.no-posts-icon {
    color: var(--text-light);
    margin-bottom: 16px;
}

.no-posts-found h3 {
    margin-bottom: 8px;
}

.no-posts-found p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Ad Banners */
.ad-banner {
    text-align: center;
    padding: 20px 0;
    margin: 20px 0;
}

.ad-before-content,
.ad-after-content {
    padding: 30px 0;
}

.ad-inline {
    margin: 30px 0;
}

.ad-widget {
    text-align: center;
}

/* Gutenberg Alignments */
.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.wp-block-gallery {
    margin: 24px 0;
}

.wp-block-separator {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

.wp-block-pullquote {
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    padding: 24px 0;
    margin: 24px 0;
    text-align: center;
}

.wp-block-pullquote p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
}

/* WooCommerce Mini Cart */
.cart-count {
    background: var(--primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 18px;
    text-align: center;
}

/* Newsletter Form */
.footer-newsletter-form,
.newsletter-form .newsletter-input-group {
    display: flex;
}

/* Remove empty container spacing */
.home-page .section:first-child {
    padding-top: 0;
}
