@import "components/department-colors-kEdzRl-.css";

.detailed-route {
    width: min(var(--page-width), calc(100% - 40px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.detailed-route h1 {
    font-family: "Nunito Sans", sans-serif;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.15;
}

.detailed-route-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detailed-route-stage {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.detailed-route-date {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: start;
    padding: 12px;
    border-radius: 10px;
    background: var(--department-color, #eef6ea);
    color: #303430;
    font-size: 14px;
}

.detailed-route-date strong {
    font-size: 18px;
}

.detailed-route-content {
    overflow-wrap: anywhere;
    line-height: 1.5;
}

.detailed-route-content h2 {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 20px;
}

.detailed-route-content p {
    margin: 6px 0 0;
}

.detailed-route-city {
    font-weight: 600;
}

.detailed-route-theme {
    padding-left: 12px;
    border-left: 3px solid var(--department-color, #dde2da);
}

@media (max-width: 600px) {
    .detailed-route-stage {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detailed-route-date {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        justify-self: start;
    }
}

.detailed-route-stage { position: relative; }
.detailed-route-stage-link { color: inherit; text-decoration: none; }
.detailed-route-stage-link::after { content: ''; position: absolute; inset: 0; }
.detailed-route-stage-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.detailed-route-stage-link:focus-visible { outline: none; }
.detailed-route-stage-link:focus-visible::after { outline: 3px solid #465c70; outline-offset: 3px; }
