/* Base Styles */
:root {
    --primary-color: #4a7c59;
    --primary-dark: #3a6248;
    --primary-light: #6b9e79;
    --secondary-color: #f4a259;
    --secondary-dark: #e58f40;
    --secondary-light: #f6b77c;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-alt: #f7f9f8;
    --border-color: #e0e0e0;
    --success-color: #5cb85c;
    --warning-color: #f0ad4e;
    --error-color: #d9534f;
    --info-color: #5bc0de;
    --font-main: 'Open Sans', sans-serif;
    --font-headings: 'Montserrat', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --radius: 8px;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    font-weight: 600;
    padding: 0.5rem;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(74, 124, 89, 0.9), rgba(74, 124, 89, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Featured Posts Section */
.featured-posts {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

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

.post h3 {
    margin: 1rem 0 0.5rem;
    padding: 0 1.25rem;
}

.post p {
    padding: 0 1.25rem;
    color: var(--text-light);
}

.read-more {
    display: inline-block;
    margin: 0.5rem 1.25rem 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 0.25rem;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 0.5rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

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

.newsletter input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--radius) 0 0 var(--radius);
    border: none;
    font-size: 1rem;
}

.newsletter button {
    border-radius: 0 var(--radius) var(--radius) 0;
    background-color: var(--secondary-color);
}

.newsletter button:hover {
    background-color: var(--secondary-dark);
}

/* Countdown Section */
.countdown-section {
    padding: 4rem 0;
    background-color: var(--background-alt);
    text-align: center;
}

.countdown-section h2 {
    margin-bottom: 2rem;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-item span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.countdown-item p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-light);
}

.preview {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

.preview h3 {
    margin-bottom: 1rem;
}

.preview ul {
    margin-bottom: 0;
}

.preview li {
    margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
    background-color: #292929;
    color: #c5c5c5;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-legal a {
    color: #c5c5c5;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.social-icons svg {
    fill: white;
    width: 18px;
    height: 18px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.cookie-more {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Page Header */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* Blog Page Styles */
.blog-filters {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 1rem;
}

.search-box button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 0 1rem;
    cursor: pointer;
}

.search-box svg {
    fill: white;
    width: 18px;
    height: 18px;
}

.category-filter select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    background-color: white;
    min-width: 200px;
}

.blog-posts {
    padding: 4rem 0;
}

.blog-grid {
    grid-template-columns: 1fr;
}

.blog-post {
    display: flex;
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    flex-direction: column;
}

.post-image {
    position: relative;
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-post h2 {
    margin-bottom: 1rem;
}

.blog-post h2 a {
    color: var(--text-color);
}

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

.blog-post p {
    margin-bottom: 1.5rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-icon svg {
    fill: white;
    width: 24px;
    height: 24px;
}

.info-text h3 {
    margin-bottom: 0.5rem;
}

.info-text p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.map-section {
    padding: 2rem 0 4rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    height: 400px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.thank-you-content {
    text-align: center;
}

.thank-you-content svg {
    fill: var(--success-color);
    margin-bottom: 1rem;
}

.thank-you-content h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.close-btn {
    margin-top: 1rem;
}

/* Post Page Styles */
.post-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.post-header h1 {
    color: white;
    margin-bottom: 1rem;
    max-width: 800px;
}

.post-header .post-category {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
}

.post-header .post-meta {
    color: rgba(255, 255, 255, 0.8);
}

.post-content {
    padding: 4rem 0;
}

.post-content .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.article-overview {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.article-overview h2 {
    margin-bottom: 1rem;
}

.article-overview ul {
    margin-bottom: 0;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.post-body h2 {
    margin-top: 2.5rem;
}

.post-body h3 {
    margin-top: 2rem;
}

.image-with-caption {
    margin: 2rem 0;
}

.image-with-caption img {
    width: 100%;
    border-radius: var(--radius);
}

.caption {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center;
}

.tip-box {
    background-color: rgba(74, 124, 89, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.tip-box h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.tip-box p:last-child {
    margin-bottom: 0;
}

.tip-box ul {
    margin-bottom: 0;
}

.conclusion {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.author-bio {
    display: flex;
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 3rem 0;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-info h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.post-tags {
    margin-bottom: 2rem;
}

.tag-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: var(--background-alt);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

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

.share-post {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.share-post span {
    font-weight: 600;
    margin-right: 1rem;
}

.social-share {
    display: flex;
    gap: 0.75rem;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--background-alt);
    border-radius: 50%;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
}

.social-share svg {
    fill: var(--text-color);
    width: 16px;
    height: 16px;
}

.social-share a:hover svg {
    fill: white;
}

/* Sidebar Styles */
.sidebar-section {
    background-color: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.sidebar-section h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.related-post {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: center;
}

.related-post:last-child {
    margin-bottom: 0;
}

.related-post img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    margin-right: 1rem;
}

.related-post h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.popular-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-categories li {
    margin-bottom: 0.75rem;
}

.popular-categories li:last-child {
    margin-bottom: 0;
}

.popular-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.newsletter-sidebar p {
    margin-bottom: 1rem;
}

.newsletter-sidebar form {
    display: flex;
    flex-direction: column;
}

.newsletter-sidebar input {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

/* Post Navigation */
.post-navigation {
    background-color: var(--background-alt);
    padding: 2rem 0;
}

.post-navigation .container {
    display: flex;
    justify-content: space-between;
}

.prev-post,
.next-post {
    flex: 1;
    max-width: 45%;
}

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

.post-navigation span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.post-navigation h4 {
    margin-bottom: 0;
    transition: var(--transition);
}

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

/* Comments Section */
.comments-section {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.comments-section h2 {
    margin-bottom: 2rem;
}

.comment {
    display: flex;
    margin-bottom: 2rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius);
}

.comment-avatar {
    margin-right: 1.5rem;
}

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

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.comment-header h4 {
    margin-bottom: 0;
}

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

.comment-content p {
    margin-bottom: 0.75rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment.reply {
    margin-top: 1.5rem;
    margin-left: 2rem;
    background-color: var(--background-alt);
    width: calc(100% - 2rem);
}

.comment-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 3rem;
}

.comment-form h3 {
    margin-bottom: 1.5rem;
}

/* About Page Styles */
.about-intro {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--box-shadow);
}

.team-section {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1.25rem 0 0.25rem;
    padding: 0 1.25rem;
}

.team-member p {
    padding: 0 1.25rem;
    margin-bottom: 0.75rem;
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.team-member .social-icons {
    justify-content: center;
    margin: 1rem 0 1.5rem;
}

.values-section {
    padding: 4rem 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.value-icon svg {
    fill: white;
    width: 40px;
    height: 40px;
}

.value-card h3 {
    margin-bottom: 1rem;
}

.value-card p {
    margin-bottom: 0;
}

.cta-section {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

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

.cta-section .btn:hover {
    background-color: var(--background-alt);
}

/* Specific Post Page Styles */
.beneficial-insects,
.companion-planting,
.mistake-grid,
.troubleshooting,
.placement-guide {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.insect,
.companion,
.mistake,
.problem,
.placement {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
}

.insect h4,
.companion h4,
.mistake h4,
.problem h4,
.placement h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.recipe-box {
    background-color: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.recipe-box h3 {
    margin-bottom: 0.5rem;
}

.recipe-box p {
    margin-bottom: 1rem;
}

.recipe-box h4 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.recipe-box ul,
.recipe-box ol {
    margin-bottom: 1.5rem;
}

.recipe-box ol {
    padding-left: 1.25rem;
}

.recipe-box li {
    margin-bottom: 0.5rem;
}

.plant-profile {
    display: flex;
    margin: 1.5rem 0;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    overflow: hidden;
}

.plant-profile img {
    width: 40%;
    object-fit: cover;
}

.plant-details {
    padding: 1.5rem;
}

.plant-details p {
    margin-bottom: 0.75rem;
}

.plant-details p:last-child {
    margin-bottom: 0;
}

.pest-solutions {
    margin: 2rem 0;
}

.pest {
    margin-bottom: 2rem;
}

.pest h3 {
    margin-bottom: 0.5rem;
}

.pest p {
    margin-bottom: 0.5rem;
}

.pest ul {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .post-content .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        margin-top: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .plant-profile {
        flex-direction: column;
    }
    
    .plant-profile img {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .post-navigation .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-post,
    .next-post {
        max-width: 100%;
    }
    
    #countdown {
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .comment.reply {
        margin-left: 1rem;
        width: calc(100% - 1rem);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.75rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .newsletter input {
        border-radius: var(--radius);
        margin-bottom: 1rem;
    }
    
    .newsletter button {
        border-radius: var(--radius);
    }
    
    #countdown {
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .blog-filters {
        flex-direction: column;
    }
    
    .search-box {
        max-width: none;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .beneficial-insects,
    .companion-planting,
    .mistake-grid,
    .troubleshooting,
    .placement-guide {
        grid-template-columns: 1fr;
    }
}
