.dbtkdw-home,
.dbtkdw-calendar-page {
    --kdw-dark: #171717;
    --kdw-red: #a7191f;
    --kdw-paper: #f4f0e8;
    --kdw-line: rgba(23, 23, 23, .2);
    color: var(--kdw-dark);
}

.dbtkdw-home {
    padding: clamp(18px, 3vw, 30px);
    background: var(--kdw-paper);
    border-top: 5px solid var(--kdw-red);
}

.dbtkdw-home h2,
.dbtkdw-home h3,
.dbtkdw-calendar-page h1,
.dbtkdw-calendar-page h2,
.dbtkdw-calendar-page h3 {
    color: inherit;
}

.dbtkdw-kicker,
.dbtkdw-feed-meta {
    margin: 0 0 5px;
    color: #666;
    font-size: .78em;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dbtkdw-home h2 {
    margin: 0 0 18px;
}

.dbtkdw-home h3 {
    margin: 20px 0 8px;
    font-size: 1.05em;
}

.dbtkdw-calendar {
    width: 100%;
    max-width: 860px;
    margin: 22px 0;
}

.dbtkdw-calendar.is-compact {
    max-width: 420px;
}

.dbtkdw-calendar-nav {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    margin-bottom: 8px;
    text-align: center;
}

.dbtkdw-calendar.is-compact .dbtkdw-calendar-nav {
    display: block;
    text-align: left;
}

.dbtkdw-calendar-nav a {
    color: inherit;
    font-size: 1.35em;
    text-decoration: none;
}

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

.dbtkdw-weekday {
    padding: 5px 2px;
    color: #666;
    font-size: .72em;
    font-weight: 700;
    text-align: center;
}

.dbtkdw-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    color: inherit;
    background: rgba(255, 255, 255, .58);
    border: 1px solid var(--kdw-line);
    text-decoration: none;
}

.dbtkdw-calendar.is-compact .dbtkdw-day {
    min-height: 34px;
    font-size: .8em;
}

.dbtkdw-day.has-entries {
    font-weight: 800;
    border-color: var(--kdw-red);
}

.dbtkdw-day.is-today {
    color: #fff;
    background: var(--kdw-red);
}

.dbtkdw-day small {
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: .62em;
}

.dbtkdw-day.is-empty {
    visibility: hidden;
}

.dbtkdw-title-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--kdw-line);
}

.dbtkdw-title-list li {
    margin: 0;
    border-bottom: 1px solid var(--kdw-line);
}

.dbtkdw-title-list a {
    display: block;
    padding: 10px 2px;
    color: inherit;
    font-weight: 650;
    text-decoration: none;
}

.dbtkdw-title-list a:hover,
.dbtkdw-title-list a:focus,
.dbtkdw-more:hover,
.dbtkdw-more:focus {
    color: var(--kdw-red);
}

.dbtkdw-more,
.dbtkdw-read-more {
    display: inline-block;
    margin-top: 14px;
    color: var(--kdw-red);
    font-weight: 700;
}

.dbtkdw-calendar-header {
    max-width: 850px;
    margin-bottom: 28px;
}

.dbtkdw-month-events {
    margin: 36px 0 54px;
}

.dbtkdw-day-group {
    margin: 28px 0;
    scroll-margin-top: 30px;
}

.dbtkdw-day-group h3 {
    margin-bottom: 8px;
}

.dbtkdw-feed-card {
    display: grid;
    grid-template-columns: minmax(160px, 260px) 1fr;
    gap: clamp(16px, 3vw, 30px);
    padding: 24px 0;
    border-top: 1px solid var(--kdw-line);
}

.dbtkdw-feed-card:last-child {
    border-bottom: 1px solid var(--kdw-line);
}

.dbtkdw-feed-card h3 {
    margin: 4px 0 8px;
}

.dbtkdw-feed-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.dbtkdw-feed-more {
    margin: 24px 0;
    padding: 10px 16px;
    cursor: pointer;
}

.dbtkdw-feed-sentinel {
    display: block;
    height: 1px;
}

.dbtkdw-empty {
    color: #666;
    font-style: italic;
}

@media (max-width: 620px) {
    .dbtkdw-day {
        min-height: 38px;
    }

    .dbtkdw-feed-card {
        grid-template-columns: 1fr;
    }
}
