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

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 16px;
}

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

header {
    padding: 60px 0 40px;
    border-bottom: 1px solid #1a1a1a;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:hover h1 {
    color: inherit;
}

header h1 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.subtitle {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.main-wrapper {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    padding-top: 40px;
}

.calendar-widget {
    position: sticky;
    top: 40px;
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.calendar-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calendar-nav {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.calendar-nav:hover {
    color: #e0e0e0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 4px;
}

.calendar-day-name {
    text-align: center;
    font-size: 10px;
    color: #444;
    padding: 2px 0;
    text-transform: uppercase;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

.calendar-day {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
    color: #666;
}

.calendar-day span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.calendar-day:hover {
    background: #1a1a1a;
    color: #e0e0e0;
}

.calendar-day.has-post {
    color: #e0e0e0;
}

.calendar-day.has-post {
    background: #1f1f1f;
}

.calendar-day.has-post:hover {
    background: #2a2a2a;
}

.calendar-day.today {
    border: 1px solid #333;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.empty:hover {
    background: transparent;
}

.calendar-day.selected {
    background: #333 !important;
    color: #fff !important;
}

main {
    padding: 40px 0 60px;
}

.post {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #1a1a1a;
}

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

.post-date {
    font-size: 12px;
    color: #444;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 2px;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.post-image:hover {
    filter: grayscale(0%);
}

.post-image-caption {
    font-size: 13px;
    color: #555;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 20px;
    font-style: italic;
}

.post-content {
    font-size: 15px;
    line-height: 1.9;
}

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

.no-posts {
    text-align: center;
    color: #444;
    font-style: italic;
    padding: 40px 0;
}

footer {
    padding: 30px 0;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    font-size: 13px;
    color: #444;
}

@media (max-width: 900px) {
    .main-wrapper {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .calendar-widget {
        position: static;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 24px;
    }

    .post-content {
        font-size: 14px;
    }

    .calendar-day {
        font-size: 12px;
    }

    .calendar-day-name {
        font-size: 10px;
    }
}
