/* Разделы: лайнеры, компании, новости, памятки */
.info-page { background: #f6f8fd; }
.info { padding-top: 22px; padding-bottom: 64px; min-height: 60vh; }
.topbar__nav a.is-active { color: var(--primary); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs b { color: var(--navy); font-weight: 600; }
.info-head { margin: 4px 0 22px; }
.info-head h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 42px); color: var(--navy); letter-spacing: -.02em; }
.info-head p { margin: 0; color: var(--muted); font-size: 16px; }
.info-head--co { display: flex; gap: 20px; align-items: center; }
.info-head--co img { width: 110px; height: 110px; object-fit: contain; background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow); }
.info-head--co h1 { margin-bottom: 12px; }
.info-loading { display: grid; place-items: center; padding: 80px 0; }
.info-loading.small { padding: 24px 0; }
.info-loading span { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #e2e9f8; border-top-color: var(--primary); animation: bkspin2 .9s linear infinite; }
@keyframes bkspin2 { to { transform: rotate(360deg); } }
.info-empty { text-align: center; padding: 50px 20px; color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.muted { color: var(--muted); }
.ru-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }
.more { font-weight: 700; color: var(--primary); font-size: 14px; }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip-link { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 14px; color: var(--navy); }
.chip-link small { color: var(--muted); font-weight: 600; margin-left: 2px; }
.chip-link:hover { border-color: var(--primary); color: var(--primary); }
.fleet { margin: 26px 0; scroll-margin-top: 90px; }
.fleet h2 { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 14px; font-size: 22px; color: var(--navy); }
.ship-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.ship-card { display: grid; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); color: var(--navy); transition: transform .2s, box-shadow .2s; }
.ship-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,31,75,.14); }
.ship-card__img { aspect-ratio: 16/10; background: linear-gradient(135deg, #0b3aa8, #29a3e0) center/cover; background-size: cover; background-position: center; }
.ship-card b { padding: 12px 14px; font-size: 15px; }

.co-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.co-card { display: grid; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); color: var(--navy); transition: transform .2s; }
.co-card:hover { transform: translateY(-3px); }
.co-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, #0b1f4b, #1446c8) center/cover; background-size: cover; background-position: center; }
.co-card b { padding: 12px 16px 0; font-size: 17px; }
.co-card small { padding: 2px 16px 14px; color: var(--muted); }

/* Страница лайнера */
.ship-hero { position: relative; border-radius: 24px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff;
  background: linear-gradient(to top, rgba(6,18,52,.92), rgba(6,18,52,.25) 70%), var(--img, linear-gradient(135deg, #0b3aa8, #29a3e0)) center/cover; margin-bottom: 22px; }
.ship-hero__txt { padding: 28px; width: 100%; }
.ship-hero__co { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 14px 5px 5px; }
.ship-hero__co img { width: 30px; height: 30px; border-radius: 50%; background: #fff; object-fit: contain; }
.ship-hero h1 { margin: 10px 0 14px; font-size: clamp(30px, 5vw, 52px); letter-spacing: -.02em; }
.specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.specs li { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 7px 12px; display: grid; }
.specs small { font-size: 11px; opacity: .8; }
.specs b { font-size: 15px; }
.ship-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.ship-main { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px 22px 24px; min-width: 0; }
.ship-side { position: sticky; top: 88px; }
.side-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.side-card h3 { margin: 0 0 12px; color: var(--navy); }
.upc { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.upc li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #f4f7fd; font-size: 14px; }
.upc small { color: var(--muted); }
.upc__r { display: grid; justify-items: end; gap: 6px; text-align: right; }
.btn--sm { padding: 6px 12px; font-size: 13px; min-height: 0; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1.5px solid var(--line); margin-bottom: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; border: 0; background: none; font: inherit; font-weight: 700; font-size: 14.5px; color: var(--muted); padding: 10px 12px; border-bottom: 3px solid transparent; margin-bottom: -1.5px; cursor: pointer; }
.tab.is-on { color: var(--primary); border-bottom-color: var(--primary); }
.prose { font-size: 15.5px; line-height: 1.65; color: #24304a; overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { color: var(--navy); line-height: 1.25; margin: 1.4em 0 .5em; }
.prose h2 { font-size: 22px; } .prose h3 { font-size: 18px; }
.prose > :first-child { margin-top: 0; }
.prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 8px 0; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 7px 9px; vertical-align: top; }
.prose ul, .prose ol { padding-left: 1.3em; }
.decks__nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.deckbtn { min-width: 42px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; font: inherit; font-weight: 700; cursor: pointer; color: var(--navy); }
.deckbtn.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.deck { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.deck__plan { width: 100%; border-radius: 12px; border: 1px solid var(--line); cursor: zoom-in; background: #fff; }
.deck__cabins { display: grid; gap: 8px; }
.cabin { border: 1px solid var(--line); border-radius: 12px; background: #fbfcff; }
.cabin summary { cursor: pointer; padding: 10px 12px; font-weight: 700; color: var(--navy); display: flex; gap: 10px; align-items: center; list-style: none; }
.cabin summary::-webkit-details-marker { display: none; }
.cabin summary i { font-style: normal; color: #fff; font-size: 12px; border-radius: 6px; padding: 3px 7px; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.cabin .prose { padding: 0 14px 12px; font-size: 14px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; margin-bottom: 14px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.lightbox { padding: 0; background: transparent; border: 0; max-width: 94vw; max-height: 92vh; }
.lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 12px; display: block; }
.lightbox::backdrop { background: rgba(4,10,30,.82); }
.lightbox .modal__close { position: absolute; top: 10px; right: 10px; }

.acc { display: grid; gap: 10px; margin-top: 20px; }
.acc__item { background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.acc__item summary { cursor: pointer; padding: 16px 20px; font-weight: 800; color: var(--navy); font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.acc__item summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.acc__item[open] summary::after { content: "−"; }
.acc__item .prose { padding: 0 20px 18px; }

.guides { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.guides h2 { font-size: 20px; color: var(--navy); margin: 0 0 12px; }
.guide-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.guide-list a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 14.5px; }
.guide-list li:last-child a { border-bottom: 0; }
.guide-list a:hover { background: #f4f7fd; color: var(--primary); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 14px; }
.news-card { display: grid; align-content: start; gap: 6px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); color: var(--navy); padding-bottom: 14px; transition: transform .2s; }
.news-card:hover { transform: translateY(-3px); }
.news-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, #0b1f4b, #1446c8) center/cover; background-size: cover; margin-bottom: 4px; }
.news-card small, .news-card b, .news-card p { padding: 0 16px; margin: 0; }
.news-card small { color: var(--muted); font-size: 12px; }
.news-card p { color: var(--muted); font-size: 14px; }
.article { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 28px clamp(18px, 4vw, 44px) 32px; max-width: 900px; }
.article h1 { margin: 0 0 6px; color: var(--navy); font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -.02em; }
.article__date { color: var(--muted); margin: 0 0 16px; font-size: 14px; }
.article__img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin-bottom: 18px; }
.info-foot { flex-wrap: wrap; gap: 10px 20px; }
.info-foot a { color: inherit; }

@media (max-width: 1024px) {
  .ship-layout, .guides { grid-template-columns: 1fr; }
  .ship-side { position: static; }
  .deck { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ship-hero { min-height: 260px; border-radius: 18px; }
  .ship-hero__txt { padding: 18px; }
  .ship-main { padding: 14px; }
  .info-head--co { flex-direction: column; align-items: flex-start; }
  .ship-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .ship-card b { font-size: 13.5px; padding: 10px; }
}
