/* Homepage Intro Section */
.intro-section {
    background-color: #242424;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid #333;
    text-align: center;
}

.intro-section p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Calendar Grid */
.calendar-grid {
    margin-top: 40px;
}

.calendar-grid h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #888;
    font-weight: 300;
    font-size: 1.6em;
}

.date-entries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.date-link {
    background-color: #242424;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.date-link.active {
    border-color: #4a4a4a;
    background-color: #2a2a2a;
}

.date-link.active:hover {
    border-color: #666;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.date-link.upcoming {
    opacity: 0.4;
    cursor: not-allowed;
}

.date-link .day {
    font-size: 2em;
    font-weight: 200;
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.date-link .day-name {
    font-size: 0.85em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-link.active .day {
    background: linear-gradient(45deg, #fff 30%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Home Button for Articles */
.home-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.home-button:hover {
    background-color: #333;
    border-color: #666;
    transform: scale(1.1);
}

.home-button svg {
    width: 24px;
    height: 24px;
    fill: #ccc;
}

/* Adjust container for home button */
@media (min-width: 900px) {
    .container {
        padding-top: 40px;
    }
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .date-entries {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .home-button {
        width: 40px;
        height: 40px;
        top: 15px;
        left: 15px;
    }
    
    .home-button svg {
        width: 20px;
        height: 20px;
    }
}