/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */



/* ==========================================================================
   Global Styles & Variables
   ========================================================================== */

:root {
    --color-primary: #93C348;
    --color-secondary: #FF5B15;
    --color-dark: #000000;
    --color-text: #333333;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}

a {
    transition: var(--transition);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ==========================================================================
   Container
   ========================================================================== */

.dotcontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* ==========================================================================
   INDEX.PHP - Main Blog Page Styles
   ========================================================================== */

/* Blog Hero Section */
.blog-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(147, 195, 72, 0.1) 0%, rgba(255, 91, 21, 0.1) 100%);
    border-radius: 20px;
    animation: fadeInDown 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(147, 195, 72, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-title {
    font-size: 3.5rem;
    color: #000000;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #93C348 0%, #FF5B15 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-description {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==========================================================================
   ARCHIVE.PHP - Archive Page Styles
   ========================================================================== */

.archive-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease-out;
}

.archive-title {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 700;
}

.archive-description {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Blog Grid (Used in Index & Archive)
   ========================================================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

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

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(147, 195, 72, 0.2);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 60%;
    background: linear-gradient(135deg, #93C348 0%, #FF5B15 100%);
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1) rotate(2deg);
}

.blog-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 91, 21, 0.95);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    z-index: 1;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(147, 195, 72, 0.1);
    color: #93C348;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-category:hover {
    background: #93C348;
    color: #fff;
    transform: translateY(-2px);
}

.blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 70px;
}

.blog-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a:hover {
    color: #93C348;
}

.blog-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #f5f5f5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FF5B15;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.read-more::after {
    content: "→";
    font-size: 1.2rem;
}

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

.author-avatar-small img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #93C348;
}

.author-name {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

/* ==========================================================================
   SEARCH.PHP - Search Results Styles
   ========================================================================== */

.search-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease-out;
}

.search-title {
    font-size: 2.5rem;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

.search-query {
    color: #93C348;
    font-weight: 700;
}

.search-count {
    color: #666;
    font-size: 1.1rem;
}

.search-form-wrapper {
    max-width: 600px;
    margin: 30px auto 0;
}

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

.search-form input[type="search"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #93C348;
}

.search-form button {
    padding: 15px 30px;
    background: #FF5B15;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #93C348;
    transform: translateY(-2px);
}

.search-results {
    margin-top: 50px;
}

.search-result-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out backwards;
    border-left: 4px solid transparent;
}

.search-result-item:nth-child(1) { animation-delay: 0.1s; }
.search-result-item:nth-child(2) { animation-delay: 0.2s; }
.search-result-item:nth-child(3) { animation-delay: 0.3s; }

.search-result-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 25px rgba(147, 195, 72, 0.15);
    border-left-color: #93C348;
}

.search-result-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.search-result-type {
    background: #FF5B15;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
}

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

.search-result-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-title a:hover {
    color: #93C348;
}

.search-result-excerpt {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.search-highlight {
    background: rgba(147, 195, 72, 0.25);
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
    color: #000000;
}

.search-result-link {
    color: #FF5B15;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.search-result-link:hover {
    gap: 8px;
}

.search-result-link::after {
    content: "→";
}

/* ==========================================================================
   AUTHOR.PHP - Author Page Styles
   ========================================================================== */

.author-header {
    background: linear-gradient(135deg, #93C348 0%, #FF5B15 100%);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 60px;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: fadeInDown 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.author-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 5px solid #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: scaleIn 0.6s ease-out 0.2s backwards;
    position: relative;
    z-index: 1;
}

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

.author-name {
    font-size: 3rem;
    margin-bottom: 0px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.author-bio {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.author-stat {
    text-align: center;
}

.author-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.author-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.author-social a:hover {
    background: #fff;
    color: #93C348;
    transform: translateY(-3px);
}

.author-posts-section {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.section-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #93C348 0%, #FF5B15 100%);
    border-radius: 2px;
}

/* ==========================================================================
   SINGLE.PHP - Single Post Styles
   ========================================================================== */

.single-post-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.single-post-main {
    animation: fadeInUp 0.6s ease-out;
}

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

.post-title {
    font-size: 2.8rem;
    color: #000000;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInDown 0.6s ease-out;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 30px;
    animation: fadeIn 0.6s ease-out 0.2s backwards;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.post-meta-item a {
    color: #93C348;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.post-meta-item a:hover {
    color: #FF5B15;
}

.post-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: scaleIn 0.6s ease-out 0.3s backwards;
}

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

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    animation: fadeIn 0.6s ease-out 0.4s backwards;
}

.post-content h2 {
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
}

.post-content h3 {
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 20px;
}

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

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

.post-content a:hover {
    color: #93C348;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.post-categories,
.post-tags {
    margin-bottom: 20px;
}

.post-categories strong,
.post-tags strong {
    color: #000000;
    font-weight: 700;
    margin-right: 10px;
}

.post-categories a,
.post-tags a {
    display: inline-block;
    padding: 8px 15px;
    background: #f5f5f5;
    color: #000000;
    text-decoration: none;
    border-radius: 20px;
    margin: 5px 5px 5px 0;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.post-categories a:hover {
    background: #93C348;
    color: #fff;
    transform: translateY(-2px);
}

.post-tags a:hover {
    background: #FF5B15;
    color: #fff;
    transform: translateY(-2px);
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px 0;
    animation: fadeInUp 0.6s ease-out 0.5s backwards;
}

.nav-previous,
.nav-next {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.nav-previous:hover,
.nav-next:hover {
    background: #93C348;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(147, 195, 72, 0.3);
}

.nav-previous:hover *,
.nav-next:hover * {
    color: #fff !important;
}

.nav-previous {
    text-align: left;
}

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

.nav-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-title {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 700;
}

.related-posts {
    margin: 60px 0;
    animation: fadeInUp 0.6s ease-out 0.6s backwards;
}

.related-posts-title {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

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

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

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 91, 21, 0.15);
}

.related-post-image {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #FF5B15 0%, #93C348 100%);
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

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

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

.related-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: #FF5B15;
}

.related-post-date {
    font-size: 0.85rem;
    color: #666;
}

/* Sidebar Styles */
.single-post-sidebar {
    animation: fadeInRight 0.6s ease-out 0.4s backwards;
}

.sidebar-widget {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sidebar-widget-title {
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #93C348;
}

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

.sidebar-widget ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.sidebar-widget ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #FF5B15;
    font-weight: bold;
}

.sidebar-widget ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget ul li a:hover {
    color: #93C348;
}

.comments-area {
    margin-top: 60px;
    animation: fadeInUp 0.6s ease-out 0.7s backwards;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    animation: fadeIn 0.6s ease-out 0.7s backwards;
}

.pagination .nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination .current {
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.pagination a {
    background: #f5f5f5;
    color: #000000;
}

.pagination a:hover {
    background: #93C348;
    color: #fff;
    transform: translateY(-2px) scale(1.05);
}

.pagination .current {
    background: linear-gradient(135deg, #93C348 0%, #FF5B15 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(147, 195, 72, 0.3);
}

/* ==========================================================================
   No Posts / No Results
   ========================================================================== */

.no-posts,
.no-results {
    text-align: center;
    padding: 80px 20px;
    animation: fadeIn 0.6s ease-out;
}

.no-posts-icon,
.no-results-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.no-posts h2,
.no-results h2 {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 15px;
}

.no-posts p,
.no-results p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.suggestions {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.suggestions h3 {
    color: #000000;
    margin-bottom: 15px;
}

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

.suggestions li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.suggestions li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #93C348;
    font-weight: bold;
}

/* ==========================================================================
   Comments Section Styling
   ========================================================================== */

.comments-area {
    padding: 40px;
    background: #f9f9f9;
    border-radius: 15px;
    margin-top: 60px;
}

.comments-title {
    font-size: 2rem;
    color: var(--color-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-primary);
}

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

.comment {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.comment .children {
    list-style: none;
    margin-left: 40px;
    margin-top: 20px;
}

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

.comment-author img {
    border-radius: 50%;
    border: 3px solid var(--color-primary);
}

.comment-author .fn {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
    font-style: normal;
}

.comment-metadata {
    font-size: 0.85rem;
    color: var(--color-gray);
}

.comment-metadata a {
    color: var(--color-gray);
    text-decoration: none;
}

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

.comment-content {
    margin: 15px 0;
    line-height: 1.7;
}

.reply {
    margin-top: 10px;
}

.comment-reply-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--color-secondary);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.comment-reply-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

/* Comment Form */
.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.comment-reply-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

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

.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.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(--color-primary);
    box-shadow: 0 0 0 3px rgba(147, 195, 72, 0.1);
}

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

.form-submit {
    margin: 0;
}

.comment-form input[type="submit"] {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-form input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(147, 195, 72, 0.3);
}

/* ==========================================================================
   Social Share Buttons
   ========================================================================== */

.social-share-buttons {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.social-share-buttons h4 {
    margin-bottom: 15px;
    color: #000;
}

.social-share-buttons > div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-share-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-share-buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 0.95rem;
}

.breadcrumbs a {
    color: #93C348;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

/* ==========================================================================
   WordPress Core Alignment Classes
   ========================================================================== */

.alignleft {
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   WordPress Gallery
   ========================================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    transition: transform 0.3s ease;
}

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

/* ==========================================================================
   Responsive Embeds (Videos, iframes)
   ========================================================================== */

.wp-block-embed,
.wp-block-embed__wrapper,
.embed-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 30px 0;
    border-radius: 12px;
}

.wp-block-embed iframe,
.wp-block-embed object,
.wp-block-embed embed,
.embed-responsive iframe,
.embed-responsive object,
.embed-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================================================
   Table Styling
   ========================================================================== */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

table th {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background: rgba(147, 195, 72, 0.05);
}

/* ==========================================================================
   Blockquote Styling
   ========================================================================== */

blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: #f9f9f9;
    border-left: 5px solid var(--color-primary);
    border-radius: 8px;
    font-style: italic;
    color: var(--color-gray);
    position: relative;
}

blockquote::before {
    content: """;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
}

blockquote p {
    margin: 0;
    padding-left: 30px;
}

blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-style: normal;
    font-weight: 600;
}

/* ==========================================================================
   Code Blocks
   ========================================================================== */

code {
    background: rgba(147, 195, 72, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    color: var(--color-secondary);
}

pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 30px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* ==========================================================================
   Lists Enhancement
   ========================================================================== */

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.post-content ul li::marker {
    color: var(--color-primary);
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */

.wp-block-button__link,
.button,
.btn {
    display: inline-block;
    padding: 12px 30px;
    /*background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);*/
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.wp-block-button__link:hover,
.button:hover,
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(147, 195, 72, 0.3);
}

/* ==========================================================================
   Search Widget Styling
   ========================================================================== */

.widget_search form {
    display: flex;
    gap: 10px;
}

.widget_search input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
}

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

.widget_search button {
    padding: 12px 20px;
    background: var(--color-secondary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.widget_search button:hover {
    background: var(--color-primary);
}

/* ==========================================================================
   404 Error Page
   ========================================================================== */

.error-404 .dotcontainer {
    text-align: center;
    padding: 100px 20px;
}

.error-404 h1 {
    font-size: 6rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-404 p {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 30px;
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */

@keyframes pulseOpacity {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulseOpacity 1.5s ease-in-out infinite;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .sidebar,
    .comments-area,
    .post-navigation,
    .related-posts,
    .social-share-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ==========================================================================
   Responsive Design - Tablet (1024px and below)
   ========================================================================== */

@media (max-width: 1024px) {
    .dotcontainer {
        padding: 40px 20px;
    }
    
    .single-post-container {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Responsive Design - Mobile (768px and below)
   ========================================================================== */

@media (max-width: 768px) {
    .dotcontainer {
        padding: 30px 15px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-hero {
        padding: 50px 20px;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        min-height: auto;
        font-size: 1.3rem;
    }
    
    .search-result-item {
        padding: 20px;
    }
    
    .search-result-title {
        font-size: 1.5rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .author-header {
        padding: 40px 25px;
    }
    
    .author-name {
        font-size: 2rem;
    }
    
    .author-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .author-stat-number {
        font-size: 2rem;
    }
    
    .single-post-container {
        padding: 40px 15px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .related-posts-grid,
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .comment .children {
        margin-left: 20px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 10px;
    }
}

/* ==========================================================================
   Responsive Design - Small Mobile (480px and below)
   ========================================================================== */

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-description {
        font-size: 1.1rem;
    }
    
    blockquote {
        padding: 20px 15px;
    }
    
    blockquote::before {
        font-size: 3rem;
        top: 0;
        left: 10px;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-card-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .pagination a,
    .pagination .current {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: var(--color-light-gray);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--color-dark);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}