/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.left-group {
    display: flex;
    align-items: center;
    gap: 0.8rem; 
}


.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    z-index: 1001;
}

.logo span {
    color: #0066cc;
}

.current-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #666;
}

/* Burger menu button */
.burger-menu {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger-menu span:nth-child(1) {
    top: 0px;
}

.burger-menu span:nth-child(2) {
    top: 10px;
}

.burger-menu span:nth-child(3) {
    top: 20px;
}

/* Burger menu active state */
.burger-menu.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.burger-menu.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Navigation menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    padding-top: 80px;
    z-index: 1000;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu ul li {
    padding: 15px 25px;
    border-bottom: 1px solid #eee;
}

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

.nav-menu ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: color 0.2s;
}

.nav-menu ul li a:hover {
    color: #0066cc;
}

/* Media Queries */
@media screen and (max-width: 992px) {
    .current-date {
        display: none;
    }
}
@media screen and (max-width: 768px) {

    .header-content {
        justify-content: space-between;
    }
}

@media screen and (min-width: 992px) {

    .burger-menu {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding-top: 0;
        box-shadow: none;
        background: none;
    }
    
    .nav-menu ul {
        display: flex;
    }
    
    .nav-menu ul li {
        padding: 0 15px;
        border-bottom: none;
    }
    
    .nav-menu ul li a {
        font-size: 16px;
    }
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #0066cc;
    --border-color: #e0e0e0;
    --text-color: #333333;
    --text-secondary: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

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

header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

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

.headline-section {
    padding: 30px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

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

.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px 0;
}

.main-content {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar {
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 15px;
}

.post {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

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

.post-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
}

.post-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-author {
    font-weight: 600;
    margin-right: 10px;
}

.post-date {
    position: relative;
    padding-left: 10px;
}

.post-date:before {
    content: '•';
    position: absolute;
    left: 0;
}

.post-excerpt {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.7;
}

.read-more {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.read-more:hover {
    text-decoration: underline;
}

.recent-post {
    display: flex;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.recent-post:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.recent-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.recent-post-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.recent-post-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.no-posts {
    text-align: center;
    padding: 50px 0;
    color: var(--text-secondary);
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
}

.footer-left {
    flex: 1;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {

    .content-area {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .current-date {
        margin-top: 5px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-right {
        text-align: left;
        margin-top: 20px;
    }
}

.filters {
    display: flex;
    gap: 15px; /* Space between dropdowns */
    margin: 20px 0;
    justify-content: flex-start; /* Align to left */
    align-items: center;
    flex-wrap: wrap; /* Wrap on smaller screens */
}

.filters select {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

/* Hover and focus states */
.filters select:hover,
.filters select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Responsive adjustment */
@media (max-width: 600px) {

    .filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters select {
        width: 100%;
    }
}

.toggle-buttons {
            display: flex;
            gap: 0.5rem;
            margin-left: 5rem;
        }
.toggle-btn {
    background: #f0f0f0;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}
.toggle-btn:hover {
    background: #ddd;
}
.toggle-btn.active {
    background: #333;
    color: white;
}