:root {
    --bg-color: #f7f1eb;
    --card-bg: #ffffff;
    --accent-color: #e67e22;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #1a1a1a;
    --footer-bg: #2c3e50;
    --shadow: 4px 4px 0px rgba(0,0,0,1);
    --font-main: 'Inter', sans-serif;
}

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

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

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

/* Header Styles */
.site-header {
    padding: 20px 0;
    background: var(--bg-color);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.icon-btn {
    background: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 40px;    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 2px 2px 0px #000;
    transition: 0.2s;
}

.icon-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #000;
}

.main-nav {
    background: var(--accent-color);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin: 0 20px;
    box-shadow: var(--shadow);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0 20px;
}

/* Hero Slider Styles */
.hero-section {
    margin-top: 40px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-banner {
    flex: 0 0 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: white;
    padding: 40px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
/*    max-width: 80%;*/
    text-align: center;
    box-shadow: var(--shadow);
}

.hero-card h1 {
    margin: 15px 0;
    font-size: 2rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    border: 2px solid var(--border-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 0px #000;
    transition: 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    box-shadow: 4px 4px 0px #000;
    transform: translateY(-52%) scale(1.05);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 10px;
}

/* Tags */
.tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    font-weight: 600;
}

/* Trending Section */
.trending-section {
    margin-top: 50px;
}

.section-header {
    border: 2px solid var(--border-color);
    border-radius: 10px 10px 0 0;
    padding: 10px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.teal-bg {
    background: var(--accent-color);
    color: white;
}

.trending-grid {
    background: white;
    border: 2px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    box-shadow: var(--shadow);
}

.mini-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.mini-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.mini-card-content {
    padding: 15px;
}

/* Articles Grid */
.articles-grid {
    margin-top: 50px;
    display: grid;    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

.post-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-img {
    position: relative;
}

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

.card-tags {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.meta-small {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.read-more {
    display: inline-block; 
    margin-top: 15px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 700;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #fff;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
}

.footer-links h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Changed from right: 20px to move it to the left */
    max-width: 350px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    z-index: 9999;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cookie-btn {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000;
    transition: 0.2s;
}

.cookie-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px #000;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-card {
        padding: 20px;
        max-width: 95%;
    }

    .hero-card h1 {
        font-size: 1.4rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .cookie-banner {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .hero-banner {
        height: 350px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
.article-container {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow);
}
.article-featured-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.comments-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px dashed var(--border-color);
}
.comment-form {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.related-articles {
    margin: 60px 0;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
}
.form-control {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}
.submit-btn {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--border-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 2px 2px 0px #000;
    width: max-content;
    transition: 0.2s;
}
.article-body ul, .article-body ol {
    margin: 25px 0;
    padding-left: 40px;
}
.article-body li {
    margin-bottom: 12px;
    position: relative;
}
.article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 35px 0;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 4px 4px 0px var(--border-color);
}
.article-body th {
    background-color: var(--accent-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.article-body th, .article-body td {
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    border-right: 2px solid var(--border-color);
    text-align: left;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body form {
    max-width: 640px;
    margin: 30px 0;
}

.article-body form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 15px;
}

.article-body form input[type="text"],
.article-body form input[type="email"],
.article-body form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.article-body form textarea {
    resize: vertical;
    min-height: 140px;
}

.article-body form input:focus,
.article-body form textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

.article-body form input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
    vertical-align: middle;
}

.article-body form .checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.article-body form button {
    display: inline-block;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background-color: #4a90e2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.article-body form button:hover {
    background-color: #3a78c2;
}

.article-body form button:active {
    transform: translateY(1px);
}

.article-body form input.error,
.article-body form textarea.error {
    border-color: #e74c3c;
}

.article-body form .form-note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 480px) {
    .article-body form {
        margin: 20px 0;
    }

    .article-body form button {
        width: 100%;
    }
}