/* ==========================================================================
   guidebg.info: новият дизайн (2026)
   Само за шаблоните в resources/views_nov. Страниците, чиито шаблони не са сменени, използват старите класове: тук са в нов вид.
   ========================================================================== */
:root {
    --ink: #0f2133;
    --ink-2: #22384d;
    --text: #2c3e50;
    --muted: #61748a;
    --line: rgba(15, 33, 51, .10);
    --line-2: rgba(15, 33, 51, .18);
    --sky: #1d84cf;
    --sky-2: #3aa0e6;
    --sky-deep: #13609c;
    --sky-soft: #e9f4fd;
    --wine: #b5364b;
    --wine-soft: #fbecee;
    --paper: #f5f3ef;
    --card: #ffffff;
    --radius: 20px;
    --radius-s: 12px;
    --maxw: 1240px;
    --shadow: 0 1px 2px rgba(15, 33, 51, .05), 0 14px 34px -22px rgba(15, 33, 51, .35);
    --shadow-up: 0 2px 4px rgba(15, 33, 51, .06), 0 26px 46px -24px rgba(15, 33, 51, .45);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* --- основа ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { font-feature-settings: "locl" 0 !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body.g { margin: 0; background: var(--paper); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
.g img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
.g a { color: var(--sky-deep); text-decoration: none; transition: color .2s; }
.g a:hover { color: var(--sky); }
.g h1, .g h2, .g h3, .g h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.g p { margin: 0 0 1em; }
.g ul { margin: 0; padding: 0; list-style: none; }
.g :focus-visible { outline: 3px solid rgba(29, 132, 207, .45); outline-offset: 2px; border-radius: 8px; }
.g-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-wrap, .g .main_wrapper { width: 100%; max-width: var(--maxw); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.g .main_wrapper .main_wrapper { padding-left: 0; padding-right: 0; }
.g .w100 { width: 100%; }
.g .flex { display: flex; flex-wrap: wrap; }
.g .display_none { display: none; }
.g-kicker { margin: 0 0 14px !important; color: var(--muted) !important; font: 700 12px/1.3 var(--font) !important; text-transform: uppercase; letter-spacing: .12em; }
.g-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }

/* --- горна лента ------------------------------------------------------- */
.g-top { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .3s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    @media (min-width: 960px) { .g-top { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); } }
}
.g-top.is-scrolled { box-shadow: 0 10px 30px -22px rgba(15, 33, 51, .5); }
.g-top.is-hidden { transform: translateY(-100%); }
.g-top__bar { display: flex; align-items: center; gap: 22px; height: 76px; }
.g-logo { flex: none; display: block; }
.g-logo img { display: block; height: 40px; width: auto; max-width: none; }
.g-nav { margin-left: auto; }
.g-nav ul { display: flex; align-items: center; gap: 2px; }
.g-nav a { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font: 600 15px/1 var(--font); white-space: nowrap; transition: background .2s, color .2s; }
.g-nav a:hover { background: var(--sky-soft); color: var(--sky-deep); }
.g-top__tools { display: flex; align-items: center; gap: 8px; }
.g-search { position: relative; display: flex; align-items: center; margin: 0; }
.g-search input[type="text"] { width: 210px; height: 42px; padding: 0 44px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); color: var(--ink); font: 500 15px/1 var(--font); transition: width .3s var(--ease), border-color .2s, background .2s; }
.g-search input[type="text"]:focus { width: 260px; outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(29, 132, 207, .14); }
.g-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--sky); color: #fff; cursor: pointer; transition: background .2s; }
.g-search button:hover { background: var(--sky-deep); }
.g-iconbtn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 17px; cursor: pointer; }
.g-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 42px; padding: 0 12px; border-radius: 999px; background: var(--ink); color: #fff !important; font: 700 13px/1 var(--font); letter-spacing: .06em; transition: background .2s; }
.g-lang a:hover { background: var(--sky-deep); }
.g-burger span { display: block; width: 18px; height: 2px; margin: 2px 0; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.g-burger { flex-direction: column; }

/* --- начало: снимките ----------------------------------------------------- */
.g-hero { padding: 24px 0 0; }
.g-hero__frame { position: relative; overflow: hidden; border-radius: 26px; background: #dfe7ee; aspect-ratio: 1366 / 499; box-shadow: var(--shadow-up); }
.g-hero__track { position: absolute; inset: 0; }
.g-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.g-hero__slide.is-on { opacity: 1; }
.g-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-hero__frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(15, 33, 51, .28)); pointer-events: none; }
.g-hero__arrow { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 24px; cursor: pointer; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .5); transition: background .2s, transform .2s; }
.g-hero__arrow:hover { background: #fff; transform: scale(1.06); }
.g-hero__arrow--prev { left: 18px; }
.g-hero__arrow--next { right: 18px; }
.g-hero__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.g-hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .3s var(--ease), background .2s; }
.g-hero__dots button.is-on { width: 28px; background: #fff; }

/* --- начало: области, карта, времето --------------------------------------- */
.g-explore { padding: 28px 0 8px; }
.g-explore__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.g-explore__map-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 28px; align-items: center; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.g-explore__regions ul { display: flex; flex-direction: column; gap: 6px; }
.g-explore__regions a { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px; border-radius: 14px; background: var(--paper); color: var(--ink); font: 600 15px/1 var(--font); transition: background .2s, color .2s, transform .2s var(--ease); }
.g-explore__regions a::after { content: "\f105"; font: 16px/1 FontAwesome; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.g-explore__regions a:hover, .g-explore__regions li.is-hot a { background: var(--sky); color: #fff; transform: translateX(3px); }
.g-explore__regions a:hover::after, .g-explore__regions li.is-hot a::after { color: #fff; transform: translateX(2px); }
.g-explore__map .mapper { position: relative; max-width: 600px; margin: 0 auto; }
.g-explore__map img { display: block; width: 100%; height: auto; }
.g-explore__map area { cursor: pointer; }
.g-explore__side { display: flex; flex-direction: column; gap: 16px; }
.g-weather { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.g-weather__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-weather__list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--paper); }
.g-weather__list img { grid-row: 1 / 3; width: 34px; height: 34px; object-fit: contain; }
.g-weather__city { color: var(--muted); font: 600 13px/1.2 var(--font); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-weather__temp { color: var(--ink); font: 800 20px/1.1 var(--font); }
@media (min-width: 1181px) {
    .g-weather__list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .g-weather__list li { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-rows: auto; padding: 10px 14px; }
    .g-weather__list img { grid-row: auto; }
    .g-weather__city { color: var(--ink-2); font-size: 15px; }
}

/* банерите (въртят снимките си както досега) */
.g .banners { display: flex; flex-direction: column; gap: 14px; }
.g .banners > div { overflow: hidden; border-radius: var(--radius-s); box-shadow: var(--shadow); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.g .banners > div:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.g .banners img { display: block; width: 100%; height: auto; aspect-ratio: 285 / 193; object-fit: cover; }
.g .show_in_region_wrapper .banners { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

/* --- категориите (Hotels, Nightlife…) ------------------------------------- */
.g .cats { padding: 22px 0 6px; }
.g .cats ul { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.g .cats li a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--font); white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.g .cats li a:hover { border-color: var(--sky); color: var(--sky-deep); }
.g .cats li.active a { background: var(--ink); border-color: var(--ink); color: #fff; }

/* етикети: градовете на областта, подкатегориите, областите на забележителностите */
.g .tags { padding-top: 18px; }
.g .list_tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.g .list_tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); font: 600 14px/1.2 var(--font); transition: background .2s, color .2s; }
.g .list_tags a:hover, .g .list_tags a.active { background: var(--sky); color: #fff; }
.g .tags_grey a { background: #ebe8e2; color: var(--ink-2); }
.g .list_tags a:not([href]) { cursor: default; }
.g .list_tags a:not([href]):hover { background: var(--sky-soft); color: var(--sky-deep); }
.g .tags_grey a:not([href]):hover { background: #ebe8e2; color: var(--ink-2); }

/* --- секции със заглавие и карти (области, забележителности, новини) -------- */
.g .section_list { padding: 34px 0 10px; }
.g .headline { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 16px; margin: 0 0 20px; }
.g .headline h2 { min-width: 0; }
.g .headline h2 { position: relative; margin: 0; padding-left: 16px; color: var(--ink); font: 800 clamp(24px, 2.6vw, 32px)/1.15 var(--font); letter-spacing: -.02em; }
.g .headline h2::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 5px; background: var(--sky); }
.g .section_list:not(.list_five):not(.section_news) .headline h2::before { background: var(--wine); }
.g .view_all a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); font: 700 14px/1 var(--font); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.g .view_all a::after { content: "\f105"; font: 15px/1 FontAwesome; }
.g .view_all a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.g .section_list .list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.g .section_list .list > article { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.g .section_list .list > article:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.g article .featured { overflow: hidden; aspect-ratio: 611 / 301; background: #dfe7ee; }
.g article .featured a, .g article .featured img { display: block; width: 100%; height: 100%; }
.g article .featured img { object-fit: cover; transition: transform .6s var(--ease); }
.g article:hover .featured img { transform: scale(1.05); }
.g article .title { display: block; margin: 16px 18px 6px; color: var(--ink); font: 700 17px/1.3 var(--font); }
.g article .title:hover { color: var(--sky-deep); }
.g article > p:empty { display: none; }
.g article p { flex: 1; margin: 0 18px 12px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.g article .readmore { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 18px; color: var(--sky-deep); font: 700 14px/1 var(--font); }
.g article .readmore::after { content: "\f105"; font: 14px/1 FontAwesome; transition: transform .2s var(--ease); }
.g article:hover .readmore::after { transform: translateX(3px); }

/* --- заглавие на вътрешна страница и пътека ------------------------------- */
.g-pagehead { padding: 30px 0 4px; }
.g-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px; padding: 0; list-style: none; font: 600 14px/1.4 var(--font); }
.g-crumbs li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.g-crumbs li + li::before { content: "/"; color: #b7c0c9; }
.g-crumbs a { color: var(--muted); }
.g-crumbs a:hover { color: var(--sky-deep); }
.g-crumbs [aria-current] { color: var(--ink); }
.g-pagehead__h { margin: 0; color: var(--ink); font: 800 clamp(28px, 3.6vw, 44px)/1.12 var(--font) !important; letter-spacing: -.025em; }

/* --- област / град: описание и галерия --------------------------------------- */
.g .single_template_wrapper { margin-top: 6px; }
.g .item_content { padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.g .item_content > .content { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.g .item_content .featured img { width: 100%; border-radius: 16px; aspect-ratio: 611 / 301; object-fit: cover; }
.g .item_content .text h3 { margin-bottom: 12px; font-size: 24px; }
.g .item_content .text { color: var(--text); font-size: 16.5px; line-height: 1.7; }
.g .jsContent { position: relative; overflow: hidden; }
.g .hideContent { max-height: 260px; }
.g .hideContent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff); }
.g .showContent { max-height: none; }
.g .show-more-text { margin-top: 12px; }
.g .show-more-text a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--sky-soft); color: var(--sky-deep); font: 700 14px/1 var(--font); }
.g .show-more-text a:hover { background: var(--sky); color: #fff; }
.g .single_gall { margin-top: 22px; }
.g .single_gall .item img, .g .view_landmark_owl_carousel img { width: 100%; aspect-ratio: 611 / 301; object-fit: cover; border-radius: 14px; }
.g .single_template_gall:not(.owl-loaded), .g .view_landmark_owl_carousel:not(.owl-loaded) { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.g .owl-carousel .owl-stage-outer { border-radius: 14px; }
.g .owl-carousel .owl-item { padding: 0 6px; }
.g .owl-theme .owl-dots { margin-top: 10px; text-align: center; }
.g .owl-theme .owl-dots .owl-dot span { display: block; width: 8px; height: 8px; margin: 4px; border-radius: 999px; background: #c7d2dc; }
.g .owl-theme .owl-dots .owl-dot.active span { width: 22px; background: var(--sky); }
.g .owl-dot { border: 0; background: none; padding: 0; }
.g .pagination { padding: 18px 0 8px; }

/* --- забележителност и статични страници ------------------------------------- */
.g .single_template_wrapper > .col_12 { padding: 0; }
.g .single_description { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); font-size: 17px; line-height: 1.75; overflow: hidden; }
.g .single_description > img, .g .single_description .landmark_img { float: left; width: 42% !important; max-width: 488px; margin: 0 26px 16px 0 !important; border-radius: 16px; aspect-ratio: 611 / 301; object-fit: cover; }
.g .single_description .gallery { clear: none; }
.g .single_description .gallery .single_gall { margin: 0 0 18px; }
.g .single_description h2, .g .single_description h3 { margin-top: 1.2em; }
.g .single_description ul, .g .single_description ol { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.g .single_description table { max-width: 100%; border-collapse: collapse; }
.g .single_description table td, .g .single_description table th { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.g .single_description img { border-radius: 12px; }

/* --- фирми: списъци ----------------------------------------------------------- */
.g .list_categories { padding: 26px 0 16px; }
.g .list_categories > .main_wrapper { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.g .list_categories .col_right .banners { position: sticky; top: 96px; }
.g h3.title { margin: 0 0 16px; color: var(--ink); font: 800 22px/1.25 var(--font); }
.g .categories_boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 26px; }
.g .categories_boxes > p { grid-column: 1 / -1; padding: 22px; border-radius: var(--radius); background: #fff; color: var(--muted); }
.g .box { display: flex; flex-direction: column; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.g .box:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.g .box_vip { border-color: rgba(181, 54, 75, .4); box-shadow: 0 0 0 1px rgba(181, 54, 75, .25), var(--shadow); }
.g .box_title { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 18px 18px 4px; }
.g .box_title h4 { margin: 0; color: var(--ink); font: 700 17px/1.3 var(--font); }
.g .box_title a:hover h4 { color: var(--sky-deep); }
.g .vip { flex: none; padding: 5px 9px; border-radius: 999px; background: var(--wine); color: #fff; font: 800 11px/1 var(--font); letter-spacing: .08em; }
.g .box_content { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 18px; flex: 1; }
.g .box_content .featured { aspect-ratio: auto; background: none; overflow: visible; }
.g .box_content .featured img { width: 110px; height: 76px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.g .details ul li, .g .info ul li { position: relative; padding-left: 22px; margin: 0 0 6px; color: var(--text); font-size: 14px; line-height: 1.45; word-break: break-word; }
.g .details ul li .fa, .g .info ul li .fa { position: absolute; left: 0; top: 3px; width: 16px; color: var(--sky); text-align: center; }
.g .box_footer { padding: 10px 18px 16px; border-top: 1px solid var(--line); }
.g .box_footer ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; }
.g .box_footer a[href=""], .g .box_footer a:not([href]) { display: none; }
.g .box_footer a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); color: var(--ink-2); }
.g .box_footer a:hover { background: var(--sky); color: #fff; }

/* --- фирма: профил ---------------------------------------------------------- */
.g .view_firm_wrapper { padding-top: 6px; }
.g .view_firm_wrapper > .flex { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.g .view_firm_wrapper .col_9 > .flex { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.g .view_firm_main_pic_wrapper img { width: 100%; border-radius: 14px; aspect-ratio: 488 / 303; object-fit: cover; }
.g .view_firm_wrapper .title h3 { font-size: clamp(22px, 2.4vw, 30px); }
.g .view_firm_wrapper .row { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.g .view_firm_wrapper .logo img { width: 140px; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.g .view_firm_wrapper .info { flex: 1 1 240px; }
.g .info ul li a .fa-share-alt-square { display: none; }
.g .margin_tb_10 { margin: 18px 0; }
.g .view_firm_wrapper .single_gall .item img { aspect-ratio: 190 / 130; }
.g .view_firm_wrapper .single_description { margin: 18px 0; }
.g .google_map { display: block; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); height: auto !important; }
.g .google_map img { width: 100%; height: 240px !important; object-fit: cover; transition: transform .6s var(--ease); }
.g .google_map:hover img { transform: scale(1.03); }

/* --- новини и препоръчани ------------------------------------------------------ */
.g .list_news_wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.g .box_news { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: var(--shadow); }
.g .box_news .featured { align-self: start; aspect-ratio: auto; height: 90px; border-radius: 10px; overflow: hidden; background: #dfe7ee; }
.g .box_news .featured img { width: 120px !important; height: 90px !important; object-fit: cover; }
.g .box_news .details { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g .box_news .date { color: var(--muted); font: 600 12px/1.2 var(--font); }
.g .box_news .title { margin: 0; color: var(--ink); font: 700 15px/1.3 var(--font); }
.g .box_news p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.g .box_news .view { margin-top: auto; color: var(--sky-deep); font: 700 13px/1 var(--font); }
.g .recommended_section > .main_wrapper { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }

/* --- страници ---------------------------------------------------------------- */
.g .pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.g .pagination li a, .g .pagination li.current { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--ink); font: 700 15px/1 var(--font); }
.g .pagination li a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.g .pagination li.current { background: var(--sky); border-color: var(--sky); color: #fff; }
.g .pagination li a:not([href]) { opacity: .35; pointer-events: none; }

/* --- контакти ---------------------------------------------------------------- */
.g .g-contacts { padding-top: 10px; }
.g .contact_wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.g .contact_wrapper h2 { font-size: 24px; }
.g .contact_wrapper .row { margin: 0 0 12px; }
.g .contact_wrapper .row.flex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.g .form-control { display: block; width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d9dee4; border-radius: 12px; background: #fbfcfd; color: var(--ink); font: 500 16px/1.4 var(--font); transition: border-color .2s, box-shadow .2s, background .2s; }
.g textarea.form-control { height: 160px; padding: 12px 16px; resize: vertical; }
.g .form-control:focus { outline: none; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(29, 132, 207, .14); }
.g .has-error .form-control { border-color: var(--wine); }
.g .contact_wrapper button[type="submit"] { height: 50px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--sky); color: #fff; font: 700 16px/1 var(--font); cursor: pointer; box-shadow: 0 12px 24px -14px rgba(29, 132, 207, .9); transition: background .2s, transform .2s; }
.g .contact_wrapper button[type="submit"]:hover { background: var(--sky-deep); transform: translateY(-1px); }
.g .g-contacts__info { display: flex; flex-direction: column; gap: 18px; }
.g .g-contacts__info .g-card p { margin: 0 0 6px; }
.g .g-contacts__map { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #dfe7ee; }
.g .g-contacts__map iframe { display: block; width: 100%; height: 320px; border: 0; }
.g .alert-success { margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; background: #eaf7ee; border: 1px solid #bfe3c9; color: #1f6b35; font-weight: 600; }

/* --- долу -------------------------------------------------------------------- */
.g-foot { margin-top: 56px; background: var(--ink); color: rgba(255, 255, 255, .7); }
.g-foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.g-foot__brand img { display: block; width: 200px; height: auto; margin-bottom: 16px; }
.g-foot__brand p { max-width: 360px; font-size: 15px; line-height: 1.6; }
.g-foot h2 { margin: 0 0 14px; color: #fff; font: 700 14px/1.3 var(--font); text-transform: uppercase; letter-spacing: .1em; }
.g-foot__col li { margin: 0 0 8px; }
.g-foot__col a { color: rgba(255, 255, 255, .78); font-size: 15px; }
.g-foot__col a:hover { color: #7cc4f5; }
.g-foot__contact p { margin: 0 0 6px; font-size: 14.5px; line-height: 1.5; }
.g-foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.g-foot__bottom p { margin: 0; }

/* --- движение ----------------------------------------------------------------- */
@keyframes g-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.g .g-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.g .g-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .g .g-reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   таблет
   ========================================================================== */
@media (max-width: 1180px) {
    .g-nav a { padding: 0 10px; font-size: 14.5px; }
    .g-search input[type="text"] { width: 170px; }
    .g-search input[type="text"]:focus { width: 210px; }
    .g-explore__grid { grid-template-columns: minmax(0, 1fr); }
    .g-explore__side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .g-weather__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .g-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   телефон: меню
   ========================================================================== */
@media (max-width: 959px) {
    .g-top__bar { height: 64px; gap: 10px; }
    .g-logo img { height: 32px; }
    .g-iconbtn { display: inline-flex; }
    .g-top__tools { margin-left: auto; }
    .g-lang a { min-width: 42px; height: 42px; padding: 0 10px; }
    .g-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; margin: 0; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -24px rgba(15, 33, 51, .45); }
    .nav-open .g-nav { display: block; animation: g-up .3s var(--ease) both; }
    .g-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .g-nav a { height: 52px; padding: 0 14px; border-radius: 14px; font-size: 17px; }
    .nav-open .g-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-open .g-burger span:nth-child(2) { opacity: 0; }
    .nav-open .g-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .g-search { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 12px 16px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -24px rgba(15, 33, 51, .45); }
    .search-open .g-search { display: flex; animation: g-up .3s var(--ease) both; }
    .g-search input[type="text"], .g-search input[type="text"]:focus { width: 100%; height: 50px; font-size: 16px; }
    .g-search button { right: 21px; top: 20px; }
}

/* ==========================================================================
   телефон: съдържание
   ========================================================================== */
@media (max-width: 759px) {
    .g-wrap, .g .main_wrapper { padding-left: 16px; padding-right: 16px; }
    .g-hero { padding-top: 14px; }
    .g-hero__frame { aspect-ratio: 16 / 10; border-radius: 20px; }
    .g-hero__arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 20px; }
    .g-hero__arrow--prev { left: 10px; } .g-hero__arrow--next { right: 10px; }
    .g-explore { padding-top: 18px; }
    .g-explore__map-card { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 14px; }
    .g-explore__regions ul { flex-direction: row; flex-wrap: wrap; }
    .g-explore__regions li { flex: 1 1 calc(50% - 6px); }
    .g-explore__regions a { height: 44px; }
    .g-explore__map { order: -1; }
    .g-explore__side { grid-template-columns: minmax(0, 1fr); }
    .g-weather__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .g .banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .g .section_list { padding-top: 26px; }
    .g .headline { align-items: center; }
    .g .headline h2 { font-size: 22px; }
    .g .view_all a { height: 36px; padding: 0 12px; font-size: 13px; }
    .g .section_list .list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .g article .title { margin: 12px 12px 4px; font-size: 15px; }
    .g article p { display: none; }
    .g article .readmore { margin: 4px 12px 14px; font-size: 13px; }
    .g .item_content, .g .single_description { padding: 18px; }
    .g .item_content > .content { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .g .single_description > img, .g .single_description .landmark_img { float: none; width: 100% !important; max-width: none; margin: 0 0 16px !important; }
    .g .list_categories > .main_wrapper, .g .view_firm_wrapper > .flex, .g .recommended_section > .main_wrapper { grid-template-columns: minmax(0, 1fr); }
    .g .list_categories .col_right .banners { position: static; }
    .g .categories_boxes { grid-template-columns: minmax(0, 1fr); }
    .g .view_firm_wrapper .col_9 > .flex { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .g .contact_wrapper, .g .contact_wrapper .row.flex { grid-template-columns: minmax(0, 1fr); }
    .g .list_news_wrapper { grid-template-columns: minmax(0, 1fr); }
    .g-pagehead { padding-top: 20px; }
    .g-foot__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 36px; }
    .g-foot__bottom { flex-direction: column; }
}
@media (max-width: 380px) {
    .g .section_list .list { grid-template-columns: minmax(0, 1fr); }
    .g article p { display: block; }
}

/* --- галериите (Owl Carousel 2: елементите нямат класа owl-carousel, затова основните му правила са тук) --- */
.g .single_template_gall, .g .view_landmark_owl_carousel { position: relative; width: 100%; }
.g .owl-stage-outer { position: relative; overflow: hidden; -webkit-transform: translate3d(0, 0, 0); }
.g .owl-stage { position: relative; display: flex; touch-action: manipulation; }
.g .owl-item { position: relative; flex: none; min-height: 1px; -webkit-backface-visibility: hidden; }
.g .owl-item .item, .g .owl-item a { display: block; }
.g .owl-nav { display: none; }
.g .owl-dots.disabled { display: none; }
.g .owl-dots { display: flex; justify-content: center; gap: 2px; margin-top: 12px; }

/* празната колона за банери (когато няма банери) не заема място */
.g .list_categories > .main_wrapper:not(:has(.col_right img)),
.g .view_firm_wrapper > .flex:not(:has(.col_right img)),
.g .recommended_section > .main_wrapper:not(:has(.col_right img)) { grid-template-columns: minmax(0, 1fr); }
.g .list_categories .col_right:not(:has(img)), .g .view_firm_wrapper .col_right:not(:has(img)), .g .recommended_section .col_right:not(:has(img)) { display: none; }
.g .show_in_region_wrapper:not(:has(img)) { display: none; }

/* област и град: заглавието вече е горе (H1), а вътре в картата е още веднъж */
.g .section_list:has(.single_template_wrapper) > .main_wrapper > .headline { display: none; }
.g .section_list:has(.single_template_wrapper) { padding-top: 22px; }
.g .item_content .text h3 { font-size: 22px; }