/* Visit Kamień: compact 3/4-column organic catalog, premium partners larger.
 * Overrides 22272 and 22275, loaded last. Mobile remains one-column.
 */
@media (min-width:1100px) {
  body[data-portal-section="food"] .vk-catalog-grid,
  body[data-portal-section="stays"] .vk-catalog-grid {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
  }
}
@media (min-width:1900px) {
  body[data-portal-section="food"] .vk-catalog-grid,
  body[data-portal-section="stays"] .vk-catalog-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:13px!important;
  }
}
@media (min-width:761px) and (max-width:1099px) {
  body[data-portal-section="food"] .vk-catalog-grid,
  body[data-portal-section="stays"] .vk-catalog-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}
@media (min-width:761px) {
  body[data-portal-section="food"] .vk-catalog-card,
  body[data-portal-section="stays"] .vk-catalog-card {
    border-radius:17px!important;
    box-shadow:0 5px 17px rgba(18,61,52,.05)!important;
  }
  body[data-portal-section="food"] .vk-catalog-card .vk-catalog-photo,
  body[data-portal-section="stays"] .vk-catalog-card .vk-catalog-photo {
    width:100%!important;
    aspect-ratio:16/9!important;
    height:auto!important;
    min-height:0!important;
  }
  body[data-portal-section="food"] .vk-catalog-card .vk-catalog-card-content,
  body[data-portal-section="stays"] .vk-catalog-card .vk-catalog-card-content {
    padding:13px 15px 15px!important;
  }
  body[data-portal-section] .vk-catalog-card-content h3 {
    font-size:clamp(1.02rem,1.25vw,1.23rem)!important;
    margin:2px 0 6px!important;
    line-height:1.22!important;
  }
  body[data-portal-section] .vk-catalog-card-badges {
    gap:5px!important;
    margin-bottom:6px!important;
  }
  body[data-portal-section] .vk-catalog-card-badges span {
    font-size:9px!important;
    padding:4px 7px!important;
  }
  body[data-portal-section] .vk-catalog-card .vk-catalog-address {
    font-size:11px!important;
    margin-bottom:7px!important;
  }
  body[data-portal-section] .vk-catalog-card .vk-catalog-excerpt {
    font-size:12px!important;
    line-height:1.43!important;
    -webkit-line-clamp:2!important;
    margin-bottom:11px!important;
  }
  body[data-portal-section] .vk-catalog-card .vk-catalog-details summary {
    min-height:39px!important;
    padding:9px 11px!important;
    font-size:11px!important;
  }
  /* Photo disclosure positioning is owned by premium-catalog-fix-22275.css. */
  /* Paid partners are prominent and intentionally larger than ordinary listings. */
  body[data-portal-section] .vk-featured-wrap.shell {
    width:min(1220px,calc(100% - 32px))!important;
    max-width:1220px!important;
    margin:10px auto 20px!important;
  }
  body[data-portal-section] .vk-featured-wrap .vk-partner-directory-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
  }
  body[data-portal-section] .vk-featured-wrap .vk-partner-card {
    border:1px solid #d5d4b9!important;
    box-shadow:0 10px 25px rgba(20,66,52,.085)!important;
  }
  body[data-portal-section] .vk-featured-wrap .vk-partner-thumb-link {
    min-height:192px!important;
    height:192px!important;
  }
}
@media (max-width:760px) {
  body[data-portal-section="food"] .vk-catalog-grid,
  body[data-portal-section="stays"] .vk-catalog-grid {
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  body[data-portal-section] .vk-featured-wrap.shell {
    width:calc(100% - 20px)!important;
    max-width:100%!important;
    margin:10px auto 14px!important;
  }
  body[data-portal-section] .vk-featured-wrap .vk-partner-directory-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  body[data-portal-section] .vk-catalog-card .vk-catalog-photo{
    aspect-ratio:16/9!important;
    height:auto!important;
  }
  body[data-portal-section] .vk-catalog-card .vk-catalog-card-content{
    padding:13px 15px 15px!important;
  }
}

/* 23.11.2026: accommodations share the wider visual rhythm of other Visit Kamień pages. */
@media (min-width:761px) {
  body[data-portal-section="stays"] main.portal-main .vk-catalog-hero.shell,
  body[data-portal-section="stays"] main.portal-main .vk-catalog-directory.shell,
  body[data-portal-section="stays"] main.portal-main .vk-catalog-bottom.shell,
  body[data-portal-section="stays"] main.portal-main .vk-featured-wrap.shell {
    width:min(1320px,calc(100% - 32px))!important;
    max-width:1320px!important;
  }
}
body[data-portal-section="stays"] .vk-catalog-filters button>span,
body[data-portal-section="stays"] .vk-catalog-bottom a svg {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
}
body[data-portal-section="stays"] .vk-catalog-filters button>span svg {
  width:18px;height:18px;display:block;
}
body[data-portal-section="stays"] .vk-catalog-filters button {
  display:inline-flex;align-items:center;gap:6px;
}
body[data-portal-section="stays"] .vk-catalog-filters button>span {
  margin-right:0!important;
}
body[data-portal-section="stays"] .vk-catalog-bottom a {
  display:inline-flex;align-items:center;gap:9px;
}
body[data-portal-section="stays"] .vk-catalog-bottom a svg {
  width:19px;height:19px;flex-shrink:0;
}
@media (max-width:760px) {
  body[data-portal-section="stays"] main.portal-main .vk-catalog-hero.shell,
  body[data-portal-section="stays"] main.portal-main .vk-catalog-directory.shell,
  body[data-portal-section="stays"] main.portal-main .vk-catalog-bottom.shell {
    width:calc(100% - 20px)!important;max-width:100%!important;
  }
}

/* Match the actual portal content column, not a second nested gutter. */
body[data-portal-section="stays"] main.portal-main>.vk-catalog-hero.shell,
body[data-portal-section="stays"] main.portal-main>.vk-catalog-directory.shell,
body[data-portal-section="stays"] main.portal-main>.vk-catalog-bottom.shell,
body[data-portal-section="stays"] main.portal-main>.vk-featured-wrap.shell{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin-left:0!important;margin-right:0!important;
}
body[data-portal-section="stays"] .vk-catalog-photo-unavailable::before{
  content:"";position:absolute;inset:0;display:block;
  background:linear-gradient(145deg,#e5ece4,#d2e2d7);
}
body[data-portal-section="stays"] .vk-catalog-photo img[src=""],
body[data-portal-section="stays"] .vk-catalog-photo img:not([src]){display:none!important}

/* Missing media is never a broken image or a misleading substitute. */
body[data-portal-section="stays"] .vk-catalog-photo-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#46685a;font-size:13px;font-weight:650;pointer-events:none}
body[data-portal-section="stays"] .vk-catalog-photo-placeholder svg{width:54px;height:54px;opacity:.8}
body[data-portal-section="stays"] .vk-catalog-photo-unavailable>.vk-catalog-image-credit{display:none!important}

/* Dining uses exactly the same content column as the accommodation directory. */
body[data-portal-section="food"] main.portal-main>.vk-catalog-hero.shell,
body[data-portal-section="food"] main.portal-main>.vk-catalog-directory.shell,
body[data-portal-section="food"] main.portal-main>.vk-catalog-bottom.shell,
body[data-portal-section="food"] main.portal-main>.vk-featured-wrap.shell{
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin-left:0!important;margin-right:0!important;
}
body[data-portal-section="food"] .vk-catalog-filters button,
body[data-portal-section="food"] .vk-catalog-bottom a,
body[data-portal-section="food"] .vk-catalog-actions a{
  display:inline-flex;align-items:center;gap:7px;
}
body[data-portal-section="food"] .vk-catalog-filters button>span,
body[data-portal-section="food"] .vk-catalog-search>span{display:inline-flex;align-items:center;justify-content:center;margin-right:0!important}
body[data-portal-section="food"] .vk-catalog-filters svg,
body[data-portal-section="food"] .vk-catalog-bottom svg,
body[data-portal-section="food"] .vk-catalog-search svg{width:18px;height:18px;flex:none;display:block}
body[data-portal-section="food"] .vk-catalog-actions svg,
body[data-portal-section="food"] .vk-catalog-address svg,
body[data-portal-section="food"] .vk-catalog-details summary svg{width:15px;height:15px;flex:none;vertical-align:middle}
body[data-portal-section="food"] .vk-food-today{display:flex;align-items:flex-start;gap:7px;color:#214d40;font-size:12px;line-height:1.4;margin:0 0 12px}
.vk-food-today svg,.vk-food-hours h4 svg{width:16px;height:16px;flex:none;margin-top:1px}
.vk-food-hours{margin:12px 0 8px;padding:12px;border:1px solid #d8e4dc;background:#f5f8f3;border-radius:10px;color:#123d34}
.vk-food-hours h4{display:flex;align-items:center;gap:7px;margin:0 0 9px;font-size:13px}
.vk-food-hours dl{margin:0;font-size:12px;line-height:1.45}
.vk-food-hours dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:5px 3px}
.vk-food-hours dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}
.vk-food-hours .vk-food-hours-today{background:#e1eee5;border-radius:5px;font-weight:750}
.vk-food-hours small{display:block;color:#64746e;font-size:10px;margin-top:8px}
