.dve-events {
--dve-accent: #22baff;
--dve-accent-text: #00445e;
--dve-card-bg: #f4fcff;
--dve-title-color: #00445e;
--dve-meta-color: #5b6b74;
--dve-radius: 4px;
--dve-gap: 15px;
--dve-date-width: 180px;
box-sizing: border-box;
width: 100%;
font-family: inherit;
color: #010101;
}
.dve-events *,
.dve-events *::before,
.dve-events *::after {
box-sizing: border-box;
}
.dve-section-title {
margin: 0 0 24px;
font-size: clamp(26px, 4vw, 40px);
font-weight: 600;
line-height: 1.25;
text-align: center;
color: #000;
}
.dve-list {
display: flex;
flex-direction: column;
gap: var(--dve-gap);
} .dve-event {
display: flex;
align-items: stretch;
overflow: hidden;
border-radius: var(--dve-radius);
background: var(--dve-card-bg);
transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.dve-event:hover {
box-shadow: 0 6px 22px rgba(0, 68, 94, 0.12);
} .dve-date {
display: flex;
flex: 0 0 var(--dve-date-width);
flex-direction: column;
align-items: center;
justify-content: center;
gap: 4px;
width: var(--dve-date-width);
padding: 18px 10px;
background: var(--dve-accent);
color: var(--dve-accent-text);
text-align: center;
line-height: 1.2;
}
.dve-date-day {
font-size: 29px;
font-weight: 600;
letter-spacing: 0.5px;
}
.dve-date-month,
.dve-date-year {
font-size: 16px;
font-weight: 600;
} .dve-body {
display: flex;
flex: 1 1 auto;
flex-direction: column;
justify-content: center;
gap: 6px;
min-width: 0;
padding: 16px 30px;
}
.dve-cats {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin: 0;
padding: 0;
list-style: none;
}
.dve-cats::before,
.dve-cats::after {
content: none;
}
.dve-cat {
margin: 0;
padding: 0;
list-style: none;
}
.dve-cat > span,
.dve-cat > a {
display: inline-block;
padding: 1px 5px 3px;
border: 1px solid rgba(0, 46, 63, 0.35);
border-radius: 3px;
font-size: 12px;
line-height: 1.5;
color: #002e3f;
text-decoration: none;
background: transparent;
}
.dve-title {
margin: 2px 0 4px;
font-size: 21px;
font-weight: 700;
line-height: 1.3;
color: var(--dve-title-color);
overflow-wrap: break-word;
}
.dve-title a {
color: inherit;
text-decoration: none;
}
.dve-title a:hover,
.dve-title a:focus-visible {
color: var(--dve-accent);
}
.dve-meta {
display: flex;
align-items: center;
gap: 7px;
margin: 0;
font-size: 15px;
line-height: 1.5;
color: var(--dve-meta-color);
}
.dve-icon {
flex: 0 0 auto;
width: 15px;
height: 15px;
color: var(--dve-meta-color);
} .dve-action {
display: flex;
flex: 0 0 auto;
align-items: center;
justify-content: flex-end;
padding: 16px 30px 16px 10px;
}
.dve-more {
font-size: 15px;
font-weight: 500;
line-height: 1.4;
color: #3c4a52;
text-decoration: none;
white-space: nowrap;
transition: color 0.2s ease;
}
.dve-more:hover,
.dve-more:focus-visible {
color: var(--dve-accent);
text-decoration: underline;
}
.dve-empty {
margin: 0;
padding: 20px;
border-radius: var(--dve-radius);
background: var(--dve-card-bg);
color: var(--dve-meta-color);
text-align: center;
} .dve-events .screen-reader-text {
position: absolute !important;
width: 1px;
height: 1px;
margin: -1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
} @media (max-width: 900px) {
.dve-events {
--dve-date-width: 130px;
}
.dve-body {
padding: 14px 20px;
}
.dve-action {
padding: 14px 20px 14px 8px;
}
}
@media (max-width: 767px) {
.dve-event {
flex-direction: column;
align-items: stretch;
}
.dve-date {
flex: 0 0 auto;
flex-direction: row;
align-items: baseline;
justify-content: flex-start;
gap: 7px;
width: 100%;
padding: 11px 18px;
}
.dve-date-day {
font-size: 22px;
}
.dve-date-month,
.dve-date-year {
font-size: 15px;
}
.dve-body {
padding: 16px 18px 6px;
}
.dve-action {
justify-content: flex-start;
padding: 0 18px 16px;
}
.dve-more {
display: inline-block;
padding: 8px 16px;
border-radius: 3px;
background: var(--dve-accent);
color: var(--dve-accent-text);
font-weight: 600;
}
.dve-more:hover,
.dve-more:focus-visible {
color: #fff;
text-decoration: none;
background: var(--dve-accent-text);
}
}
@media (prefers-reduced-motion: reduce) {
.dve-event,
.dve-more,
.dve-title a {
transition: none;
}
}