/**
 * Unplug Thrive Theme - Main Styles
 */

:root {
    --sage-green: #87A96B;
    --warm-beige: #F5F1E8;
    --terracotta: #D4A574;
    --charcoal: #2C3E50;
    --off-white: #FEFEFE;
}

html {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--charcoal);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.font-display {
    font-family: 'Playfair Display', serif;
}

.font-accent {
    font-family: 'Source Sans Pro', sans-serif;
}

.bg-sage {
    background-color: var(--sage-green);
}

.bg-beige {
    background-color: var(--warm-beige);
}

.bg-terracotta {
    background-color: var(--terracotta);
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--terracotta), rgba(212, 165, 116, 0.9));
}

.text-white {
    color: #ffffff;
}

.text-sage {
    color: var(--sage-green);
}

.text-terracotta {
    color: var(--terracotta);
}

/* Top Bar Styles */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-image: linear-gradient(to right, var(--terracotta), rgba(212, 165, 116, 0.9));
    color: #ffffff;
    padding: 0.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, var(--warm-beige) 0%, #F0EBE0 100%);
}

/* Card Hover Effect */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Primary Button */
.btn-primary {
    background: linear-gradient(135deg, var(--sage-green) 0%, #7A9B5F 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(135, 169, 107, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background: linear-gradient(135deg, var(--terracotta) 0%, #C69A6A 100%);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 165, 116, 0.3);
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter */
.counter {
    font-size: 3rem;
    font-weight: 700;
    color: var(--sage-green);
}

/* Accordion */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-content.active {
    max-height: 2000px;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Element */
.floating-element {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Navigation Testimonial Dots */
.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-dot.active {
    background-color: var(--sage-green);
}

/* Testimonial Slides */
.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

/* Button Base Styles */
.btn-primary,
.btn-secondary {
    display: inline-block;
    border: none;
    cursor: pointer;
    outline: none;
}

.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Navigation Mobile Styles */
#mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #4b5563;
}

#mobile-menu-button:hover {
    background-color: rgba(135, 169, 107, 0.1);
    border-radius: 0.25rem;
    color: var(--sage-green);
}

#mobile-menu-button svg {
    transition: all 0.3s ease;
    width: 1.5rem;
    height: 1.5rem;
}

#mobile-menu-button:hover svg {
    transform: rotate(90deg);
    color: var(--sage-green);
}

/* Hide mobile button on desktop */
@media (min-width: 768px) {
    #mobile-menu-button {
        display: none !important;
    }
}

/* Show mobile button on mobile/tablet */
@media (max-width: 767px) {
    #mobile-menu-button {
        display: inline-flex !important;
    }
}

#mobile-menu {
    animation: slideDown 0.3s ease;
    border-top: 1px solid #f3f4f6;
    margin-top: 1rem;
    padding-top: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Menu Links */
nav a {
    text-decoration: none;
    display: inline-block;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--sage-green);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sage-green);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Navigation Active State */
nav a.active,
nav .current-menu-item a {
    color: var(--sage-green);
    font-weight: 600;
}

/* Logo Custom Styles */
.custom-logo-link {
    display: inline-block;
}

.custom-logo-link img {
    max-height: 40px;
    width: auto;
}

/* Text Colors */
.text-charcoal {
    color: var(--charcoal);
}

.bg-charcoal {
    background-color: var(--charcoal);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 2rem;
    }
    
    .counter {
        font-size: 2rem;
    }

    nav .text-2xl {
        font-size: 1.5rem;
    }

    .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Additional spacing utilities */
.pt-24 {
    padding-top: 6rem;
}

.pt-30 {
    padding-top: 2rem;
}

.pt-40 {
    padding-top: 10rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Tailwind utility classes for layout */
.max-w-7xl {
    max-width: 80rem;
}

.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Flex utilities */
.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.flex-col {
    flex-direction: column;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Responsive grid for Elementor widgets */
@media (max-width: 767px) {
    .grid[data-columns-mobile] {
        grid-template-columns: repeat(var(--mobile-cols, 1), minmax(0, 1fr));
    }
}

/* Ensure Elementor inline SVG icons are visible */
.e-font-icon-svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    fill: currentColor; /* inherit text color */
    vertical-align: -.125em;
}

/* Back to top button */
#back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    transform: translateY(8px);
}
#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .grid[data-columns-tablet] {
        grid-template-columns: repeat(var(--tablet-cols, 2), minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .grid[data-columns-desktop] {
        grid-template-columns: repeat(var(--desktop-cols, 4), minmax(0, 1fr));
    }
}

/* Display utilities */
.hidden {
    display: none;
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
    
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:hidden {
        display: none;
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:block {
        display: block;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
        line-height: 1;
    }
}

/* Fixed positioning */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.sticky {
    position: sticky;
}

.overflow-hidden {
    overflow: hidden;
}

.top-0 {
    top: 0;
}

.top-9 {
    top: 2.25rem;
}

.w-full {
    width: 100%;
}

.h-16 {
    height: 4rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.w-2 {
    width: 0.5rem;
}

.h-2 {
    height: 0.5rem;
}

.w-24 {
    width: 6rem;
}

.h-24 {
    height: 6rem;
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

/* Z-index */
.z-50 {
    z-index: 50;
}

.z-1000 {
    z-index: 1000;
}

/* Background utilities */
.bg-white {
    background-color: white;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.bg-gray-200 {
    background-color: #e5e7eb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-gray-400 {
    background-color: #9ca3af;
}

.bg-gray-500 {
    background-color: #6b7280;
}

.bg-green-500 {
    background-color: #10b981;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.bg-purple-500 {
    background-color: #a855f7;
}

.bg-red-100 {
    background-color: #fee2e2;
}

.bg-yellow-100 {
    background-color: #fef3c7;
}

.bg-blue-100 {
    background-color: #dbeafe;
}

/* Text utilities */
.text-white {
    color: white;
}

.text-center {
    text-align: center;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-accent {
    font-family: 'Source Sans Pro', sans-serif;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

/* Border utilities */
.border-b {
    border-bottom-width: 1px;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-2 {
    border-width: 2px;
}

.border-sage {
    border-color: var(--sage-green);
}

/* Spacing utilities */
.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-4 {
    margin-right: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Transform utilities */
.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.object-cover {
    object-fit: cover;
}

/* Transition utilities */
.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Hover utilities */
.hover\:bg-sage:hover {
    background-color: var(--sage-green);
}

.hover\:text-white:hover {
    color: white;
}

.hover\:text-sage:hover {
    color: var(--sage-green);
}

.hover\:text-gray-600:hover {
    color: #4b5563;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.text-sage\/80 {
    color: rgba(135, 169, 107, 0.8);
}

.hover\:text-sage\/80:hover {
    color: rgba(135, 169, 107, 0.8);
}

/* Backdrop blur */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Sticky footer - adding flex properties to existing body styles */
.site-main {
    flex: 1;
}

footer {
    margin-top: auto;
}

/* Navigation bar specific styles */
nav.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

nav.bg-white\/90::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}

/* Ensure navbar content is above backdrop */
nav > div {
    position: relative;
    z-index: 1;
}

/* Mailchimp for WordPress Form Styles */
.mc4wp-form {
    width: 100%;
}

.mc4wp-form p {
    margin-bottom: 1rem;
}

.mc4wp-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-family: 'Source Sans Pro', sans-serif;
}

.mc4wp-form input[type="text"],
.mc4wp-form input[type="email"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.mc4wp-form input[type="text"]:focus,
.mc4wp-form input[type="email"]:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 2px rgba(135, 169, 107, 0.1);
}

.mc4wp-form input[type="submit"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--sage-green) 0%, #7A9B5F 100%);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    transition: all 0.3s ease;
}

.mc4wp-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(135, 169, 107, 0.3);
}

.mc4wp-form input[type="submit"]:active {
    transform: translateY(0);
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Blog Card */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    overflow: hidden;
}

.blog-card-image img {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-title a {
    text-decoration: none;
    color: inherit;
}

.blog-card-excerpt {
    flex-grow: 1;
}

/* Line Clamp Utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Single Post Styles */
.single-post {
    margin-bottom: 2rem;
}

.single-post-header-content {
    padding: 2rem;
}

.single-post-title {
    line-height: 1.2;
}

.single-post-content {
    line-height: 1.8;
}

.single-post-content .prose {
    color: var(--charcoal);
}

.single-post-content .prose p {
    margin-bottom: 1.5rem;
}

.single-post-content .prose h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post-content .prose h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.single-post-content .prose ul,
.single-post-content .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-post-content .prose li {
    margin-bottom: 0.5rem;
}

.single-post-content .prose a {
    color: var(--sage-green);
    text-decoration: underline;
}

.single-post-content .prose a:hover {
    color: var(--terracotta);
}

.single-post-content .prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.single-post-content .prose blockquote {
    border-left: 4px solid var(--sage-green);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--charcoal);
}

/* Author Bio */
.author-bio {
    margin-top: 2rem;
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
}

.related-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
}

.sidebar-widget-title {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--warm-beige);
}

.sidebar-categories li {
    border-bottom: 1px solid #f3f4f6;
}

.sidebar-categories li:last-child {
    border-bottom: none;
}

.sidebar-recent-posts li {
    display: flex;
    gap: 0.75rem;
}

.sidebar-tags a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--warm-beige);
    color: var(--charcoal);
    border-radius: 9999px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-tags a:hover {
    background-color: var(--sage-green);
    color: white;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.blog-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination .page-numbers li {
    margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.blog-pagination .page-numbers a {
    color: var(--charcoal);
    background-color: white;
    border-color: #e5e7eb;
}

.blog-pagination .page-numbers a:hover {
    background-color: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

.blog-pagination .page-numbers .current {
    background-color: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
    background-color: var(--warm-beige);
    color: var(--charcoal);
}

.blog-pagination .page-numbers .prev:hover,
.blog-pagination .page-numbers .next:hover {
    background-color: var(--sage-green);
    color: white;
}

/* Archive Header */
.archive-header,
.category-header,
.tag-header,
.author-header,
.search-header,
.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-header h1,
.category-header h1,
.tag-header h1,
.author-header h1,
.search-header h1,
.blog-header h1 {
    line-height: 1.2;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 3rem;
}

/* Comments Styles */
.comments-area {
    margin-top: 3rem;
}

.comments-title {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--warm-beige);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list .comment {
    margin-bottom: 1.5rem;
}

.comment-body {
    display: flex;
    gap: 1rem;
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-author-avatar img {
    border-radius: 50%;
    border: 2px solid var(--warm-beige);
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.comment-author {
    font-style: normal;
    font-weight: 600;
}

.comment-author a {
    color: var(--charcoal);
    text-decoration: none;
}

.comment-author a:hover {
    color: var(--sage-green);
}

.comment-date {
    color: #6b7280;
    font-size: 0.875rem;
}

.comment-text {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.comment-text p {
    margin-bottom: 0.75rem;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-reply a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-awaiting-moderation {
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.comment-form {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #374151;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--sage-green);
    box-shadow: 0 0 0 2px rgba(135, 169, 107, 0.1);
}

.comment-form .form-submit {
    margin-top: 1rem;
}

.comment-form .required {
    color: #ef4444;
}

.comments-pagination {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.comments-pagination .page-numbers {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.comments-pagination .page-numbers a,
.comments-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: white;
    border: 1px solid #e5e7eb;
    color: var(--charcoal);
}

.comments-pagination .page-numbers a:hover {
    background-color: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

.comments-pagination .page-numbers .current {
    background-color: var(--sage-green);
    color: white;
    border-color: var(--sage-green);
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    padding-left: 2rem;
    border-left: 2px solid var(--warm-beige);
}

.comment-list .children .comment {
    margin-bottom: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-header-content {
        padding: 1.5rem;
    }
    
    .single-post-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .single-post-title {
        font-size: 2rem;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        margin-top: 2rem;
    }
    
    .comment-body {
        flex-direction: column;
    }
    
    .comment-list .children {
        padding-left: 1rem;
    }
}
