.otoyol-page {
    --otoyol-border: rgba(72, 94, 144, .2);
    --otoyol-muted: #596882;
    --otoyol-soft: #f4f7fb;
    --otoyol-accent: #0c8842;
    color: var(--bs-body-color);
    letter-spacing: 0;
}

.otoyol-directory,
.otoyol-explainer,
.otoyol-stations,
.otoyol-other {
    margin-bottom: 28px;
}

.otoyol-section-heading,
.otoyol-result-heading {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.otoyol-section-heading > div {
    min-width: 0;
}

.otoyol-stats {
    border-bottom: 1px solid var(--otoyol-border);
    border-top: 1px solid var(--otoyol-border);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 22px 0 0;
}

.otoyol-stats > div {
    padding: 15px 18px;
}

.otoyol-stats > div + div {
    border-left: 1px solid var(--otoyol-border);
}

.otoyol-stats dt {
    color: var(--otoyol-accent);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.otoyol-stats dd,
.otoyol-directory-meta dd {
    color: var(--otoyol-muted);
    font-size: 12px;
    margin: 4px 0 0;
    text-transform: uppercase;
}

.otoyol-section-heading {
    border-bottom: 2px solid #1c273c;
    margin-bottom: 0;
    padding-bottom: 12px;
}

.otoyol-section-heading h2 {
    font-size: 22px;
    letter-spacing: 0;
    margin-bottom: 4px;
}

.otoyol-section-heading p {
    color: var(--otoyol-muted);
    margin-bottom: 0;
}

.otoyol-directory-item {
    align-items: center;
    border-bottom: 1px solid var(--otoyol-border);
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(310px, .7fr) auto;
    padding: 20px 0;
}

.otoyol-directory-copy h3 {
    font-size: 18px;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.otoyol-directory-copy p {
    color: var(--otoyol-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 0;
}

.otoyol-directory-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.otoyol-directory-meta > div {
    padding: 0 12px;
}

.otoyol-directory-meta > div + div {
    border-left: 1px solid var(--otoyol-border);
}

.otoyol-directory-meta dt {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.otoyol-directory-action {
    min-width: 110px;
}

.otoyol-explainer {
    border-left: 4px solid #ffc107;
    padding: 4px 0 4px 20px;
}

.otoyol-explainer h2 {
    font-size: 21px;
    letter-spacing: 0;
}

.otoyol-form {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 160px;
    padding: 20px 0 8px;
}

.otoyol-form .form-group {
    margin-bottom: 0;
}

.otoyol-form label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.otoyol-form .btn {
    min-height: 38px;
    width: 160px;
}

.otoyol-form-status {
    color: #b42318;
    min-height: 24px;
    margin: 4px 0;
}

.otoyol-result {
    background: var(--bs-body-bg);
    border-top: 1px solid var(--otoyol-border);
    padding-top: 18px;
}

.otoyol-result-heading {
    margin-bottom: 12px;
}

.otoyol-result-heading h3 {
    font-size: 18px;
    letter-spacing: 0;
    margin-bottom: 0;
}

.otoyol-result-heading p {
    color: var(--otoyol-muted);
    margin-bottom: 0;
}

.otoyol-station-list {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

.otoyol-station-list li {
    border-bottom: 1px solid var(--otoyol-border);
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 11px 8px;
}

.otoyol-related-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.otoyol-related-list a {
    align-items: center;
    border-bottom: 1px solid var(--otoyol-border);
    color: var(--bs-body-color);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
    padding: 12px 8px;
}

.otoyol-related-list a:nth-child(odd) {
    border-right: 1px solid var(--otoyol-border);
}

.otoyol-related-list a:hover span {
    color: var(--bs-primary);
}

.otoyol-related-list span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.otoyol-related-list small {
    color: var(--otoyol-muted);
    flex: 0 0 auto;
}

@media (max-width: 991px) {
    .otoyol-directory-item {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .otoyol-directory-meta {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .otoyol-directory-action {
        grid-column: 2;
        grid-row: 1;
    }

    .otoyol-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .otoyol-form .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .otoyol-section-heading,
    .otoyol-result-heading {
        display: block;
    }

    .otoyol-section-heading .btn {
        margin-top: 14px;
        width: 100%;
    }

    .otoyol-directory-item {
        display: block;
    }

    .otoyol-directory-meta {
        margin: 16px 0;
    }

    .otoyol-directory-action {
        width: 100%;
    }

    .otoyol-form,
    .otoyol-station-list,
    .otoyol-related-list {
        grid-template-columns: 1fr;
    }

    .otoyol-related-list a:nth-child(odd) {
        border-right: 0;
    }
}

@media (max-width: 420px) {
    .otoyol-stats > div,
    .otoyol-directory-meta > div {
        padding-left: 8px;
        padding-right: 8px;
    }

    .otoyol-stats dt {
        font-size: 17px;
    }

    .otoyol-stats dd,
    .otoyol-directory-meta dd {
        font-size: 10px;
    }
}
