/* Sinemorec.com — redesign 2026-11. Loaded after style.php and ddsmoothmenu.css; the old
   box/corner markup of the content templates is kept and restyled here. */

:root {
  --sea: #0e6aa8;
  --sea-dark: #0a3d6b;
  --sea-deep: #072a49;
  --sand: #f3ead9;
  --sun: #f2b01e;
  --ink: #1d2b38;
  --muted: #5d6b78;
  --line: #e3e8ee;
  --bg: #f6f8fa;
  --card: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px -14px rgba(7, 42, 73, .35);
  --wrap: 1200px;
}

/* ── base ── */
html { scroll-behavior: smooth; }
body.sm {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  /* standard Cyrillic letter forms (lang="bg" would switch the fonts to the Bulgarian handwriting-like forms) */
  font-feature-settings: "locl" 0;
}
body.sm * { font-feature-settings: "locl" 0; }
body.sm a:link, body.sm a:visited, body.sm a:active { color: var(--sea); text-decoration: none; }
body.sm a:hover { color: var(--sea-dark); text-decoration: underline; }
.sm-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ── header ── */
.sm-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line), 0 6px 20px -16px rgba(7, 42, 73, .5); }
.sm-header__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
body.sm a.sm-brand { display: flex; align-items: center; gap: 12px; color: var(--sea-deep); text-decoration: none; flex: 0 0 auto; }
.sm-brand__mark { width: 40px; height: 40px; fill: none; stroke: var(--sea); stroke-width: 2.4; stroke-linecap: round; }
.sm-brand__mark circle { fill: var(--sun); stroke: none; }
.sm-brand__text b { display: block; font: 600 26px/1 "Lora", Georgia, serif; letter-spacing: .01em; }
.sm-brand__text b i { font-style: normal; color: var(--sea); }
.sm-brand__text small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.sm-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }

/* the dropdown menu (ddsmoothmenu markup, new look) */
.sm .ddsmoothmenu { width: auto; float: none; }
.sm .ddsmoothmenu ul { font: 600 15px/1.2 "Manrope", system-ui, sans-serif; }
.sm .ddsmoothmenu > ul { display: flex; gap: 2px; }
.sm .ddsmoothmenu ul li { border-right: 0; }
.sm .ddsmoothmenu ul li a,
.sm .ddsmoothmenu ul li a:link,
.sm .ddsmoothmenu ul li a:visited { white-space: nowrap; padding: 10px 12px !important; border-radius: 999px; background: transparent; color: var(--ink); letter-spacing: 0; text-decoration: none; }
.sm .ddsmoothmenu ul li a:hover,
.sm .ddsmoothmenu ul li a.selected { background: #e8f2fa; color: var(--sea-dark); text-decoration: none; }
.sm .ddsmoothmenu ul li a.active { background: var(--sea); color: #fff; }
.sm .downarrowclass, .sm .rightarrowclass { display: none; }
.sm .ddsmoothmenu ul li a[href^="javascript"]::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: .6; }
.sm .ddsmoothmenu ul li ul { top: 46px; width: 240px; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(7, 42, 73, .35); }
.sm .ddsmoothmenu ul li ul li a,
.sm .ddsmoothmenu ul li ul li a:link,
.sm .ddsmoothmenu ul li ul li a:visited { float: none; width: auto; height: auto; padding: 10px 12px; border-radius: 8px; font: 500 15px/1.3 "Manrope", system-ui, sans-serif; background: transparent; color: var(--ink); }
.sm .ddsmoothmenu ul li ul li a:hover { background: #e8f2fa; color: var(--sea-dark); }

.sm-langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #eef2f6; }
body.sm .sm-langs a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
body.sm .sm-langs a.is-active { background: #fff; color: var(--sea-dark); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }

.sm-burger { display: none; margin-left: auto; padding: 10px 12px; border: 0; border-radius: 10px; background: #eef2f6; cursor: pointer; }
.sm-burger span { display: block; width: 22px; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--sea-deep); }
.sm-burger em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── hero slider ── */
.sm-hero { position: relative; height: 340px; overflow: hidden; background: var(--sea-deep); }
.sm--home .sm-hero { height: min(78vh, 720px); min-height: 460px; }
.sm-hero__slides, .sm-hero__slide { position: absolute; inset: 0; margin: 0; }
.sm-hero__slide { opacity: 0; transition: opacity 1.2s ease; }
.sm-hero__slide.is-active { opacity: 1; }
.sm-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sm-hero__slide.is-active img { animation: sm-kenburns 9s ease-out both; }
@keyframes sm-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.sm-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 42, 73, .15) 0%, rgba(7, 42, 73, 0) 35%, rgba(7, 42, 73, .55) 100%); }
.sm--home .sm-hero::after { background: linear-gradient(90deg, rgba(7, 42, 73, .62) 0%, rgba(7, 42, 73, .2) 55%, rgba(7, 42, 73, 0) 100%), linear-gradient(180deg, rgba(7, 42, 73, 0) 60%, rgba(7, 42, 73, .45) 100%); }

.sm-hero__caption { position: absolute; left: 0; right: 0; bottom: 14%; z-index: 2; color: #fff; }
.sm-hero__title { max-width: 640px; margin: 0 0 12px; font: 600 clamp(44px, 7vw, 84px)/1 "Lora", Georgia, serif; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); }
.sm-hero__text { max-width: 560px; margin: 0 0 26px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.sm-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }

.sm-btn { display: inline-block; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none !important; transition: transform .15s, background .15s; }
.sm-btn:hover { transform: translateY(-1px); }
body.sm a.sm-btn--light { background: #fff; color: var(--sea-deep); }
body.sm a.sm-btn--light:hover { background: var(--sand); }
body.sm a.sm-btn--ghost { border: 2px solid rgba(255, 255, 255, .8); color: #fff; }
body.sm a.sm-btn--ghost:hover { background: rgba(255, 255, 255, .15); }
body.sm a.sm-btn--fb { display: block; text-align: center; background: #1877f2; color: #fff; }

.sm-hero__nav { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; font-size: 34px; line-height: 44px; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s; }
.sm-hero__nav:hover { background: rgba(255, 255, 255, .4); }
.sm-hero__nav--prev { left: 18px; }
.sm-hero__nav--next { right: 18px; }
.sm-hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.sm-hero__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .3s, background .3s; }
.sm-hero__dots button[aria-current="true"] { width: 28px; background: #fff; }
.sm-hero.is-single .sm-hero__nav, .sm-hero.is-single .sm-hero__dots { display: none; }

/* ── main layout: content + right column ── */
.sm-main { padding-top: 40px; padding-bottom: 56px; }
.sm--home .sm-main { margin-top: -70px; position: relative; z-index: 5; }
.sm-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }

/* the old content box (#content > .box_middle > .boxcontent_center) as one card */
.sm #content { float: none; width: auto; margin: 0; padding: 0; }
.sm .box_middle, .sm .box { width: auto; }
.sm .boxtop, .sm .boxbottom, .sm .boxtop_small, .sm .boxbottom_small { display: none; }
.sm .boxcontent_center { padding: 36px 40px 40px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); font: inherit; color: var(--ink); }
.sm .boxcontent_center h1, .sm #content h1 { margin: 0 0 20px; font: 600 clamp(30px, 3.4vw, 40px)/1.15 "Lora", Georgia, serif; color: var(--sea-deep); letter-spacing: 0; }
.sm .boxcontent_center h2 { font: 600 26px/1.25 "Lora", Georgia, serif; color: var(--sea-deep); }
.sm .boxcontent_center h3 { font-size: 20px; color: var(--sea-deep); }
.sm .boxcontent_center p, .sm .boxcontent_center li { font-size: 17px; line-height: 1.7; }
.sm .boxcontent_center img { max-width: 100%; height: auto; border-radius: 10px; }
.sm .boxcontent_center iframe { max-width: 100%; border-radius: 12px; }
.sm .boxcontent_center table { max-width: 100%; }

/* right column cards */
.sm #right_nav { float: none; width: auto; padding: 0; }
.sm-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.sm-card { padding: 22px 24px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.sm-card__title { margin: 0 0 12px; font: 600 20px/1.25 "Lora", Georgia, serif; color: var(--sea-deep); }
.sm-links { margin: 0 0 12px; padding: 0; list-style: none; }
.sm-links li { border-bottom: 1px solid var(--line); }
.sm-links li:last-child { border-bottom: 0; }
body.sm .sm-links a { display: block; padding: 9px 0; font-weight: 600; color: var(--ink); }
body.sm .sm-links a::after { content: "↗"; float: right; color: var(--muted); font-weight: 400; }
body.sm .sm-links a:hover { color: var(--sea); text-decoration: none; }
.sm-card__badge img { display: block; margin-top: 6px; border-radius: 6px; }

/* ── footer ── */
.sm-footer { background: var(--sea-deep); color: #c7d6e4; }
.sm-footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 36px; padding-bottom: 36px; }
.sm-footer__brand b { display: block; font: 600 24px/1 "Lora", Georgia, serif; color: #fff; }
.sm-footer__brand b i { font-style: normal; color: var(--sun); }
.sm-footer__brand span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.sm-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
body.sm .sm-footer a { color: #e6eef5; }
body.sm .sm-footer a:hover { color: #fff; }
.sm-footer__copy { width: 100%; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }

/* ── tablets and phones ── */
@media (max-width: 1080px) {
  .sm-layout { grid-template-columns: 1fr; }
  .sm-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 900px) {
  .sm-burger { display: block; }
  .sm-header__in { flex-wrap: wrap; min-height: 64px; }
  .sm-brand__text b { font-size: 22px; }
  .sm-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 12px; padding: 4px 0 16px; }
  .sm-nav.is-open { display: flex; }
  .sm .ddsmoothmenu > ul { flex-direction: column; }
  .sm .ddsmoothmenu ul li { float: none; display: block; }
  .sm .ddsmoothmenu ul li a, .sm .ddsmoothmenu ul li a:link, .sm .ddsmoothmenu ul li a:visited { float: none; display: block; border-radius: 10px; }
  .sm .ddsmoothmenu ul li ul { position: static !important; display: none !important; visibility: visible !important; width: auto; margin: 2px 0 6px 14px; padding: 0; box-shadow: none; }
  .sm .ddsmoothmenu ul li.is-open > ul { display: block !important; }
  .sm-langs { align-self: flex-start; }
  .sm-hero { height: 220px; }
  .sm--home .sm-hero { height: 72vh; min-height: 420px; }
  .sm--home .sm-main { margin-top: -40px; }
  .sm-hero__nav { display: none; }
  .sm .boxcontent_center { padding: 24px 20px 28px; }
}
@media (max-width: 520px) {
  .sm-wrap { padding: 0 16px; }
  .sm-hero__caption { bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .sm-hero__slide { transition: none; }
  .sm-hero__slide.is-active img { animation: none; }
}

/* ── list cards (hotels, houses, rooms, news: .block > .left img + .right text) ── */
.sm .boxcontent_center .block { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; width: auto; height: auto; margin: 0 0 18px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.sm .boxcontent_center .block:hover { border-color: #cfe0ee !important; box-shadow: 0 14px 30px -18px rgba(7, 42, 73, .45); transform: translateY(-2px); }
.sm .block .left, .sm .block .right { float: none; width: auto; padding: 0; }
.sm .block .left img, .sm .block img { display: block; width: 100%; height: 170px; margin: 0; object-fit: cover; border: 0; border-radius: 10px; box-shadow: none; }
.sm .block .right { font: inherit; color: var(--ink); }
.sm .block h2 { margin: 2px 0 8px; }
.sm .block h2 a, body.sm .block h2 a:link, body.sm .block h2 a:visited { height: auto; font: 600 22px/1.25 "Lora", Georgia, serif !important; color: var(--sea-deep); }
.sm .block h2 a:hover { color: var(--sea); text-decoration: none; }
.sm .block .right .text { width: auto; height: auto; max-height: 5.1em; padding: 0; overflow: hidden; font-size: 15px; line-height: 1.7; color: var(--muted); }
.sm .block .right .text * { font-size: inherit !important; line-height: inherit !important; color: inherit !important; }
.sm .block .right p { width: auto; height: auto; margin: 12px 0 0; }
body.sm .block a.more, body.sm .block a.more:hover { width: auto; font-weight: 700; }
body.sm .block a.more { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: #e8f2fa; color: var(--sea-dark); font-weight: 700; font-size: 14px; text-decoration: none; }
body.sm .block a.more:hover { background: var(--sea); color: #fff; }
.sm .block a.more img { display: none; }
@media (max-width: 640px) {
  .sm .boxcontent_center .block { grid-template-columns: 1fr; }
  .sm .block .left img, .sm .block img { height: 200px; }
}

/* sub menu links: no old divider line, natural height */
.sm .ddsmoothmenu ul li ul li a, .sm .ddsmoothmenu ul li ul li a:link, .sm .ddsmoothmenu ul li ul li a:visited { height: auto !important; border-bottom: 0 !important; }

/* ══ redesign v2 (05.11.2026): one column, cards at full width, links band above the footer ══ */
.sm-layout { grid-template-columns: minmax(0, 1fr); }

/* accommodation cards */
.sm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 22px; margin: 8px 0 24px; }
.sm-acard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, transform .2s; }
.sm-acard:hover { box-shadow: 0 18px 36px -20px rgba(7, 42, 73, .5); transform: translateY(-2px); }
.sm-acard__pic { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #cfe3f2, #e9f2f9); }
.sm-acard__pic img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; display: block; }
.sm-acard__stars { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(7, 42, 73, .78); color: var(--sun); font-size: 15px; letter-spacing: 2px; }
.sm-acard__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 20px; }
.sm-acard__name { margin: 0 !important; font: 600 21px/1.25 "Lora", Georgia, serif !important; }
body.sm .sm-acard__name a { color: var(--sea-deep); }
body.sm .sm-acard__name a:hover { color: var(--sea); text-decoration: none; }
.sm-acard__facts, .sm-acard__amen { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; }
.sm .boxcontent_center .sm-acard__facts li { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.sm-f::before { content: ""; display: inline-block; width: 16px; height: 16px; margin: 0 6px -3px 0; background: var(--sea); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.sm-f--beach  { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 17c2 0 2-1.5 4-1.5S8 17 10 17s2-1.5 4-1.5 2 1.5 4 1.5 2-1.5 4-1.5M2 21c2 0 2-1.5 4-1.5S8 21 10 21s2-1.5 4-1.5 2 1.5 4 1.5 2-1.5 4-1.5'/%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3C/svg%3E"); }
.sm-f--bed    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11' r='2'/%3E%3C/svg%3E"); }
.sm-f--season { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.sm-f--pin    { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.sm .boxcontent_center .sm-acard__amen li { margin: 0; padding: 3px 10px; border-radius: 999px; background: #eef5fb; color: var(--sea-dark); font-size: 13px; font-weight: 600; line-height: 1.5; }
.sm-acard__contact { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
body.sm a.sm-acard__tel { font-size: 18px; font-weight: 700; color: var(--sea-deep); }
body.sm a.sm-acard__tel::before { content: "\260E"; margin-right: 8px; color: var(--sea); }
body.sm a.sm-acard__mail { font-size: 14px; color: var(--muted); word-break: break-all; }
.sm-acard__none { font-size: 14px; color: var(--muted); font-style: italic; }
.sm-acard__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-acard__actions .sm-btn { padding: 9px 16px; font-size: 14px; }
body.sm a.sm-btn--sea { background: var(--sea); color: #fff; }
body.sm a.sm-btn--sea:hover { background: var(--sea-dark); color: #fff; }
body.sm a.sm-btn--line { border: 1px solid var(--line); color: var(--ink); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.sm a.sm-btn--line:hover { border-color: var(--sea); color: var(--sea); }

/* pagination of the lists */
.sm .paginationnews { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 8px 0 0; }
.sm .paginationnews .countnews a, .sm .paginationnews .countnews b { display: inline-block; min-width: 34px; margin: 0 2px; padding: 6px 10px; border-radius: 999px; text-align: center; }
.sm .paginationnews .countnews b { background: var(--sea); color: #fff; }
.sm .paginationnews img { display: none; }

/* "Препоръчваме" band above the footer */
.sm-recommend { padding: 44px 0 48px; background: linear-gradient(180deg, #e7f1f9, #d9e9f5); }
.sm-recommend__title { margin: 0; font: 600 30px/1.2 "Lora", Georgia, serif; color: var(--sea-deep); }
.sm-recommend__sub { margin: 6px 0 22px; color: var(--muted); }
.sm-recommend__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
body.sm .sm-recommend__list a { display: block; height: 100%; padding: 16px 18px; background: #fff; border-radius: 14px; box-shadow: 0 8px 22px -16px rgba(7, 42, 73, .5); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; box-sizing: border-box; }
body.sm .sm-recommend__list a:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(7, 42, 73, .55); }
.sm-recommend__list b { display: block; font-size: 16px; color: var(--sea-deep); }
.sm-recommend__list span { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.sm-recommend__list span::after { content: " \2197"; }

/* Facebook in the footer */
body.sm a.sm-footer__fb { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #1877f2; color: #fff; font-weight: 700; }
body.sm a.sm-footer__fb:hover { background: #0f63d1; color: #fff; text-decoration: none; }
.sm-footer__fb svg { width: 20px; height: 20px; fill: currentColor; }
.sm-acard__pic { overflow: hidden; }
.sm .boxcontent_center .sm-acard__pic img { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; box-shadow: none; }

/* news cards (no dates) */
.sm-news { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin: 8px 0 24px; }
.sm-ncard { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .2s, transform .2s; }
.sm-ncard:hover { box-shadow: 0 18px 36px -20px rgba(7, 42, 73, .5); transform: translateY(-2px); }
.sm-ncard__pic { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--sea-deep); }
.sm .boxcontent_center .sm-ncard__pic img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; filter: saturate(1.05); }
.sm-ncard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.sm-ncard__title { margin: 0 !important; font: 600 22px/1.3 "Lora", Georgia, serif !important; }
body.sm .sm-ncard__title a { color: var(--sea-deep); }
body.sm .sm-ncard__title a:hover { color: var(--sea); text-decoration: none; }
.sm .boxcontent_center .sm-ncard__text { margin: 0 0 6px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.sm-ncard .sm-btn { align-self: flex-start; margin-top: auto; padding: 9px 18px; font-size: 14px; }

/* "Начало | Новини | …" path on a single news */
.sm .sm-path { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.sm .boxcontent_center .sm-ncard__text, .sm .boxcontent_center p { overflow-wrap: anywhere; }
.sm .boxcontent_center .sm-ncard__src { margin: 0; font-size: 13px; font-weight: 600; color: var(--sea); }
.sm .boxcontent_center .sm-source { margin: 24px 0 0; padding: 12px 16px; border-left: 4px solid var(--sea); border-radius: 0 10px 10px 0; background: #eef5fb; font-size: 15px; }

/* ── pager (sm_pager.tpl) ── */
.sm-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 28px 0 4px; }
.sm-pager__nums { display: flex; gap: 6px; }
body.sm .sm-pager a, .sm-pager__num { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; box-sizing: border-box; font-weight: 700; font-size: 15px; text-decoration: none; }
body.sm .sm-pager a { background: #fff; border: 1px solid var(--line); color: var(--sea-dark); }
body.sm .sm-pager a:hover { border-color: var(--sea); background: #eef5fb; text-decoration: none; }
.sm-pager__num.is-current { background: var(--sea); border: 1px solid var(--sea); color: #fff; }

/* ── contacts ── */
.sm-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: stretch; }
.sm-contact__intro { position: relative; overflow: hidden; padding: 34px 32px; border-radius: 16px; color: #fff; background: linear-gradient(160deg, rgba(7, 42, 73, .92), rgba(14, 106, 168, .78)), url("../img/hero/img_2636-sm.jpg") center / cover; }
.sm .boxcontent_center .sm-contact__intro h1 { margin: 0 0 12px; color: #fff; }
.sm .boxcontent_center .sm-contact__intro p { margin: 0 0 18px; color: rgba(255, 255, 255, .92); font-size: 18px; }
.sm-contact__why { margin: 0 0 24px; padding: 0; list-style: none; }
.sm .boxcontent_center .sm-contact__why li { position: relative; margin: 0 0 10px; padding-left: 28px; color: rgba(255, 255, 255, .9); font-size: 16px; line-height: 1.5; }
.sm-contact__why li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: inset 0 0 0 4px rgba(7, 42, 73, .35); }
body.sm a.sm-contact__fb { display: inline-block; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font-weight: 700; }
body.sm a.sm-contact__fb:hover { background: rgba(255, 255, 255, .28); text-decoration: none; }
.sm-contact__extra { margin-top: 20px; color: rgba(255, 255, 255, .9); }
.sm-contact__form form { display: flex; flex-direction: column; gap: 18px; }
.sm-field label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--sea-deep); }
.sm-field input, .sm-field textarea { display: block; width: 100%; box-sizing: border-box; padding: 13px 16px; border: 1px solid #cfd8e2; border-radius: 12px; background: #fbfcfe; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.sm-field textarea { min-height: 170px; resize: vertical; }
.sm-field input:focus, .sm-field textarea:focus { outline: none; border-color: var(--sea); background: #fff; box-shadow: 0 0 0 4px rgba(14, 106, 168, .15); }
.sm-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sm-contact__send { align-self: flex-start; padding: 14px 34px; border: 0; font: 700 16px/1.2 "Manrope", system-ui, sans-serif; cursor: pointer; }
.sm-btn--sea { background: var(--sea); color: #fff; }
.sm-btn--sea:hover { background: var(--sea-dark); }
.sm-alert { margin: 0 0 18px; padding: 14px 18px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.sm-alert--ok { background: #e7f6ec; border-left: 4px solid #2e9b57; color: #1d5c35; }
.sm-alert--err { background: #fdecec; border-left: 4px solid #c0392b; color: #7a2018; }
@media (max-width: 860px) { .sm-contact { grid-template-columns: 1fr; } }

/* ── gallery (gallery.tpl + js/sm-gallery.js) ── */
.sm-gal { margin-top: 8px; }
.sm-gal__stage { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: radial-gradient(ellipse at center, #123a5e 0%, #071f36 100%); box-shadow: 0 20px 40px -24px rgba(7, 42, 73, .7); }
.sm .boxcontent_center .sm-gal__img { width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; border-radius: 0; cursor: pointer; transition: opacity .35s ease; }
.sm-gal__img.is-fading { opacity: .25; }
.sm-gal__stage:fullscreen { aspect-ratio: auto; border-radius: 0; }
.sm-gal__nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 36px; line-height: 48px; cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.sm-gal__nav:hover { background: rgba(255, 255, 255, .35); transform: scale(1.06); }
.sm-gal__nav--prev { left: 16px; }
.sm-gal__nav--next { right: 16px; }
.sm-gal__full { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .18); cursor: pointer; }
.sm-gal__full:hover { background: rgba(255, 255, 255, .35); }
.sm-gal__full svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.sm-gal__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 16px; padding: 28px 20px 14px; background: linear-gradient(180deg, rgba(7, 31, 54, 0), rgba(7, 31, 54, .75)); color: #fff; font-size: 15px; pointer-events: none; }
.sm-gal__count { flex: 0 0 auto; font-weight: 700; letter-spacing: .04em; opacity: .85; }
.sm-gal__thumbs { display: flex; gap: 10px; margin-top: 14px; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sm-gal__thumb { flex: 0 0 auto; width: 118px; height: 80px; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: #dfe7ef; cursor: pointer; opacity: .6; outline: 3px solid transparent; outline-offset: 2px; scroll-snap-align: center; transition: opacity .2s, outline-color .2s, transform .2s; }
.sm-gal__thumb:hover { opacity: .9; transform: translateY(-2px); }
.sm-gal__thumb.is-active { opacity: 1; outline-color: var(--sea); }
.sm .boxcontent_center .sm-gal__thumb img { width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; }
@media (max-width: 640px) {
  .sm-gal__nav { width: 40px; height: 40px; margin-top: -20px; font-size: 28px; line-height: 36px; }
  .sm-gal__thumb { width: 88px; height: 60px; }
}
.sm #content .sm-contact__intro h1 { color: #fff; }

/* ── single accommodation page (shotel.tpl) ── */
body.sm a.sm-back { display: inline-block; margin: 0 0 14px; font-size: 14px; font-weight: 700; color: var(--sea); }
.sm-hotel { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; align-items: start; }
.sm #content .sm-hotel h1 { margin-bottom: 6px; }
.sm-hotel__stars { margin: 0 0 14px; color: var(--sun); font-size: 22px; letter-spacing: 3px; }
.sm-hotel__pic { margin: 6px 0 22px; overflow: hidden; border-radius: 16px; background: #e6eef6; aspect-ratio: 16 / 10; }
.sm .boxcontent_center .sm-hotel__pic img { width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; }
.sm-hotel__text { font-size: 17px; line-height: 1.75; }
.sm-hotel__text img { display: none; }
.sm .boxcontent_center .sm-hotel__h2 { margin: 28px 0 12px; font-size: 22px; }
.sm-hotel__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sm .boxcontent_center .sm-hotel__chips li { margin: 0; padding: 7px 14px 7px 32px; position: relative; border-radius: 999px; background: #eef5fb; color: var(--sea-deep); font-size: 15px; font-weight: 600; line-height: 1.3; }
.sm-hotel__chips li::first-letter { text-transform: uppercase; }
.sm-hotel__chips li::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 7px; margin-top: -6px; border: solid var(--sea); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.sm-hotel__side { position: sticky; top: 96px; }
.sm-hotel__card { padding: 24px 24px 22px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(180deg, #f6fafd, #fff 40%); box-shadow: 0 18px 36px -26px rgba(7, 42, 73, .6); }
.sm .boxcontent_center .sm-hotel__cardtitle { margin: 0 0 14px; font-size: 20px; }
body.sm a.sm-hotel__tel { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; padding: 12px 16px; border-radius: 12px; background: var(--sea); color: #fff; font-size: 18px; font-weight: 700; }
body.sm a.sm-hotel__tel::before { content: "\260E"; }
body.sm a.sm-hotel__tel:hover { background: var(--sea-dark); text-decoration: none; }
body.sm a.sm-hotel__mail { display: block; margin: 4px 0 6px; font-size: 15px; word-break: break-all; }
.sm-hotel__facts { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.sm-hotel__facts > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; margin: 0 0 12px; }
.sm-hotel__facts > div::before { grid-row: span 2; margin: 3px 0 0; }
.sm-hotel__facts dt { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sm-hotel__facts dd { margin: 0; font-size: 16px; color: var(--ink); }
.sm-hotel__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sm-hotel__actions .sm-btn { text-align: center; }
@media (max-width: 960px) {
  .sm-hotel { grid-template-columns: 1fr; }
  .sm-hotel__side { position: static; }
}
