:root {
    --dst-year-accent: #3366cc;
    --dst-year-spring: #19b37b;
    --dst-year-fall: #e09f3e;
    --dst-year-border: #ececec;
    --dst-year-bg: #f9f9f9;
}

.dst-year-hero {
    background: #fff;
    padding: 3.5em 0;
    text-align: center;
}

.dst-year-hero h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: #333;
}

.dst-year-stats {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.dst-year-stat-card {
    background: #fff;
    border: 1px solid var(--dst-year-border);
    padding: 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    min-width: 200px;
}

.dst-year-stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--dst-year-accent);
    display: block;
    font-family: "Inconsolata", monospace;
}

.dst-year-stat-label {
    color: #666;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

/* Timeline Section */
.dst-timeline-wrapper {
    padding: 3em 0;
    overflow-x: auto;
}

.dst-timeline {
    position: relative;
    padding: 2em 0;
    min-width: 800px;
}

.dst-timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 1;
}

.dst-timeline-months {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    margin-bottom: 2em;
}

.dst-timeline-month {
    text-align: center;
    font-weight: bold;
    color: #999;
    flex: 1;
    position: relative;
}

.dst-timeline-month::after {
    content: "";
    position: absolute;
    bottom: -2.5em;
    left: 50%;
    width: 2px;
    height: 10px;
    background: #ccc;
    transform: translateX(-50%);
}

.dst-timeline-events {
    position: relative;
    height: 200px;
    z-index: 3;
}

.dst-timeline-event {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid var(--dst-year-border);
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s, z-index 0.2s;
}

.dst-timeline-event:hover {
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 10;
}

.dst-timeline-event.spring {
    border-left: 4px solid var(--dst-year-spring);
}

.dst-timeline-event.fall {
    border-left: 4px solid var(--dst-year-fall);
}

.dst-timeline-date {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 4px;
}

.dst-timeline-title {
    font-weight: bold;
    display: block;
}

/* Calendar Table */
.dst-calendar-table-wrapper {
    overflow-x: auto;
    margin-top: 2em;
}

.dst-calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--dst-year-border);
    border-radius: 8px;
    overflow: hidden;
}

.dst-calendar-table th,
.dst-calendar-table td {
    padding: 1em;
    text-align: left;
    border-bottom: 1px solid var(--dst-year-border);
}

.dst-calendar-table th {
    background: #f4f4f4;
    font-weight: 600;
    color: #333;
}

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

.dst-type-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
}

.dst-type-start {
    background: rgba(25, 179, 123, 0.1);
    color: var(--dst-year-spring);
}

.dst-type-end {
    background: rgba(224, 159, 62, 0.1);
    color: var(--dst-year-fall);
}

.dst-change-val {
    font-family: "Inconsolata", monospace;
    font-weight: bold;
}

/* Quick Links */
.dst-quick-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.dst-quick-link-btn {
    display: inline-block;
    padding: 0.8em 1.5em;
    background: #fff;
    border: 1px solid var(--dst-year-border);
    border-radius: 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.dst-quick-link-btn:hover {
    border-color: var(--dst-year-accent);
    color: var(--dst-year-accent);
    background: rgba(51, 102, 204, 0.05);
}

/* Month Headers within Table for better scanning */
.dst-month-header {
    background-color: #f9f9f9;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}
