/*
Theme Name: MyTransferTrip
Template: vv-transfer-base
Description: Визия на mytransfertrip.com: международни и дълги маршрути от и до България.
Version: 1.0.0
Text Domain: mytransfertrip
*/

:root { --mt-ink: var(--wp--preset--color--ink); --mt-muted: var(--wp--preset--color--muted); --mt-line: var(--wp--preset--color--line); --mt-red: var(--wp--preset--color--cta); --mt-teal: var(--wp--preset--color--teal); --mt-blue: var(--wp--preset--color--focus); }

.mt-header { background: #fff; position: sticky; top: 0; z-index: 40; padding-top: .75rem; padding-bottom: .75rem; box-shadow: 0 1px 0 var(--mt-line); }
.mt-header .wp-block-site-title { font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: 1.45rem; letter-spacing: -.02em; }
.mt-header .wp-block-site-title a { color: var(--mt-ink); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.mt-header .wp-block-site-title a::before { content: ""; width: 1.4em; height: .7em; background: linear-gradient(90deg, var(--mt-ink) 0 40%, transparent 40% 60%, var(--mt-red) 60%); clip-path: polygon(0 40%, 100% 40%, 100% 60%, 0 60%, 0 40%, 40% 0, 44% 0, 44% 100%, 40% 100%); }
.mt-header .wp-block-navigation { color: var(--mt-ink); font-weight: 500; }
.mt-header .wp-block-navigation a { text-decoration: none; }
.mt-header .wp-block-navigation a:hover { color: var(--mt-red); }
.mt-header-right { gap: 1.5rem; }
.mt-header .wp-block-button__link { padding: .5rem 1rem; }
@media (max-width: 600px) { .mt-header-cta { display: none; } }

.mt-hero h1 { max-width: 13ch; margin-top: .5rem; }
.mt-stamp { display: inline-block; margin: 0; border: 2.5px solid var(--mt-red); color: var(--mt-red); border-radius: 6px; padding: .2rem .65rem; font-family: var(--wp--preset--font-family--display); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; transform: rotate(-2.5deg); }
.mt-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--mt-muted); max-width: 33rem; }
.mt-flags { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1.3rem 0 0; }
.mt-flags li { font-family: var(--wp--preset--font-family--display); font-weight: 700; border: 1.5px solid var(--mt-ink); border-radius: 999px; padding: .15rem .65rem; font-size: .95rem; }
.mt-flags li:first-child { background: var(--mt-ink); color: #fff; }
.mt-book-col .vvt { max-width: none; }
.mt-book-col .vvt-card { border-radius: 14px; border-color: var(--mt-line); box-shadow: 0 22px 46px -26px rgba(19, 33, 60, .5); }
.vvt { --vvt-accent: #13213C; --vvt-accent-ink: #fff; --vvt-ink: #13213C; --vvt-muted: #56627A; --vvt-line: #D8DEE8; --vvt-soft: #F1F4F9; --vvt-radius: 8px; font-family: var(--wp--preset--font-family--body); }
.mt-book-col .vvt-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vvt-counter-label { white-space: nowrap; }
@media (max-width: 420px) { .mt-book-col .vvt-counters { grid-template-columns: 1fr; } }
.vv-quick { border-left-color: var(--mt-red); background: #fff; }
.mt-quick-wrap { margin-top: var(--wp--preset--spacing--40); }
.mt-quick-wrap .vv-quick { max-width: 46rem; }

/* Маршрути с гранична точка */
.mt-routes { display: grid; gap: .9rem; margin-top: 1.5rem; }
.mt-route { background: #fff; border-radius: 14px; padding: 1.1rem 1.3rem; box-shadow: 0 0 0 1px var(--mt-line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1.5rem; align-items: center; }
.mt-line { grid-column: 1 / -1; display: flex; align-items: center; gap: .7rem; font-family: var(--wp--preset--font-family--display); font-weight: 900; font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.mt-line .mt-track { flex: 1; min-width: 2rem; height: 2px; background: repeating-linear-gradient(90deg, var(--mt-ink) 0 8px, transparent 8px 14px); position: relative; }
.mt-line .mt-track::after { content: ""; position: absolute; left: 50%; top: -9px; width: 3px; height: 20px; background: var(--mt-red); border-radius: 2px; }
.mt-meta { color: var(--mt-muted); font-size: .97rem; }
.mt-meta b { color: var(--mt-ink); font-weight: 500; }
.mt-price { text-align: right; white-space: nowrap; }
.mt-price a { display: inline-block; margin-left: .7rem; color: #fff; background: var(--mt-ink); padding: .35rem .8rem; border-radius: 8px; text-decoration: none; font-weight: 500; }
@media (max-width: 640px) { .mt-route { grid-template-columns: 1fr; } .mt-price { text-align: left; white-space: normal; } }

/* Граница */
.mt-border { background: var(--mt-ink); color: #D3DAE6; }
.mt-border h2, .mt-border h3 { color: #fff; }
.mt-checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.mt-checks li { border: 1.5px dashed rgba(211, 218, 230, .4); border-radius: 12px; padding: 1.1rem; }
.mt-checks strong { display: block; color: #fff; font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; margin-bottom: .3rem; }
.mt-border .vv-missing { color: #5c4400; }

.mt-steps { list-style: none; counter-reset: s; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem; }
.mt-steps li { counter-increment: s; }
.mt-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 2.5px solid var(--mt-red); color: var(--mt-red); border-radius: 50%; font-family: var(--wp--preset--font-family--display); font-weight: 900; margin-bottom: .5rem; transform: rotate(-6deg); }
.mt-steps strong { display: block; font-size: 1.1rem; }

.vv-faq.alignwide > * { max-width: 48rem; }

.mt-footer { background: #fff; border-top: 1px solid var(--mt-line); }
.mt-footer .wp-block-site-title { font-family: var(--wp--preset--font-family--display); font-size: 1.4rem; font-weight: 900; }
.mt-footer .wp-block-site-title a { color: var(--mt-ink); text-decoration: none; }

/* Общи корекции */
.mt-header { padding-left: 16px; padding-right: 16px; }
.mt-header-row { gap: 1rem; }
.wp-site-blocks > main, .wp-site-blocks > .wp-block-template-part + main { margin-block-start: 0; }
.mt-header .wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem; }
