/* Catalogue and city article styles from the accepted C01/C04 reference. */
.article-catalog {
  padding: 54px 0 44px;
}
.article-catalog .section-heading { margin-bottom: 24px; }
.article-catalog small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.article-catalog h2 { margin: 4px 0 0; font: 700 38px/1.14 Georgia,serif; }
.article-catalog .section-intro { max-width: 760px; font-size: 15px; font-weight: 600; line-height: 1.7; margin: 10px 0 0; }
.article-catalog .section-heading :is(small,h2,.section-intro) { color: #fff; text-shadow: 0 0 2px #05141f, 0 1px 3px #05141f, 0 2px 6px #05141f; }
.article-catalog h2 { -webkit-text-stroke: .75px rgba(8,25,36,.82); }
html:has(body.fullscreen-map) { scroll-padding-top: calc(var(--header-height) + 12px); }
.catalog-anchor { display: block; }
.catalog-reset.button { display: none; margin-top: 14px; color: #193c58; background: #fff; }
.article-catalog:has(.catalog-anchor:target) .catalog-reset { display: inline-flex; }
.article-catalog:has(#cities:target) .story-card:not([data-catalog-topic="cities"]),
.article-catalog:has(#countries-resorts:target) .story-card:not([data-catalog-topic="countries-resorts"]),
.article-catalog:has(#tips:target) .story-card:not([data-catalog-topic="tips"]) { display: none; }
.catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.story-card { min-width: 0; overflow: hidden; border-radius: 18px; border: 1px solid #dce3e7; background: #fffefa; box-shadow: 0 8px 24px #1b354c10; }
.story-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.story-link:focus-visible { outline-offset: -4px; }
.story-cover { height: 190px; position: relative; overflow: hidden; background: #e7edf1; flex: none; }
.story-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story-cover::after { content: ''; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, #0b223648); pointer-events: none; }
.cover-title-overlay { position: absolute; left: 16px; right: 12px; bottom: 12px; z-index: 1; color: #fff; font: 700 26px/1.05 Georgia,serif; text-shadow: 0 3px 20px #0b223688; overflow-wrap: anywhere; }
.story-text { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; gap: 9px; min-width: 0; }
.story-text h3 { font: 700 21px/1.24 Georgia,serif; color: #193c58; margin: 0; overflow-wrap: break-word; }
.story-text p { color: #52677a; font-size: 13px; line-height: 1.5; margin: 0; }
.article-tag, .city-badge { display: inline-flex; align-self: flex-start; font-size: 11px; font-weight: 800; color: #2b698c; background: #eef6fb; border: 1px solid #d8e7f0; padding: 6px 10px; border-radius: 999px; }
.story-action { margin-top: auto; padding-top: 4px; font-size: 12px; font-weight: 800; color: #235474; }
.story-link:hover .story-action { text-decoration: underline; }
.cover-credits { width: fit-content; max-width: 100%; padding: 6px 12px; border-radius: 8px; background: #fffefa; margin-top: 18px; color: #52677a; font-size: 12px; overflow-wrap: anywhere; }
.cover-credits summary { cursor: pointer; }
.cover-credits a { text-decoration: underline; }

body.city-release-page .article-ux-grid { grid-template-columns: minmax(0,840px) minmax(0,310px); }
body.city-release-page .article-ux-main { padding: 34px 36px; background: #fffefd; border-radius: 16px; }
.city-release-page .article-title { font: 700 clamp(33px,3.3vw,47px)/1.11 Georgia,serif; letter-spacing: -.02em; color: #193c58; margin: 18px 0; }
.city-intro { font-size: 18px; line-height: 1.75; color: #41576d; max-width: 74ch; }
.city-release-page .article-body { color: #31485e; font-size: 16px; line-height: 1.78; }
.city-release-page .article-body h2 { font: 700 30px/1.2 Georgia,serif; border-top: 1px solid #e3eaee; padding-top: 30px; color: #193c58; }
.city-release-page .article-body h3 { font: 700 22px/1.3 Georgia,serif; color: #193c58; }
.city-release-page .city-photo { margin: 20px 0 26px; border-radius: 13px; overflow: hidden; border: 1px solid #dbe5ea; background: #eef3f6; }
.city-release-page .city-photo picture { display: block; }
.city-release-page .city-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.city-release-page [data-media-id="TBS-M03"] { max-width: 460px; margin-inline: auto; }
.city-places { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 18px 0 30px; }
.city-place { display: grid; grid-template-columns: 44% minmax(0,1fr); min-height: 158px; border: 1px solid #e1e8e9; border-radius: 13px; overflow: hidden; background: #fffefb; }
.city-place img { display: block; width: 100%; height: 100%; max-height: 190px; object-fit: contain; background: #eaf0f4; }
.city-place div { padding: 13px 12px; align-self: center; min-width: 0; }
.city-release-page .article-body .city-place h3 { font-size: 16px; margin: 0 0 8px; overflow-wrap: break-word; }
.city-release-page .article-body .city-place p { font-size: 12px; line-height: 1.48; margin: 0; }
.city-release-page .article-ux-toc { max-height: calc(100vh - 105px); overflow-y: auto; }
@media (max-width:1100px) {
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.city-release-page .article-ux-main { padding: 28px 24px; }
  body.city-release-page .article-ux-grid { grid-template-columns: minmax(0,790px); }
  .city-release-page .article-ux-side { display: none; }
  .city-release-page .mobile-article-contents { display: block; }
}
@media (max-width:700px) {
  .article-catalog { padding: 36px 0 32px; }
  .article-catalog h2 { font-size: 31px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 12px; }
  .story-link { display: grid; grid-template-columns: 40% minmax(0,1fr); }
  .story-cover { height: 100%; min-height: 154px; }
  .cover-title-overlay { font-size: 20px; left: 10px; right: 8px; bottom: 10px; }
  .story-text { padding: 12px; gap: 6px; }
  .story-text h3 { font-size: 18px; }
  .story-text p { font-size: 12px; }
  .story-action { font-size: 11px; }
  body.city-release-page .article-ux-main { padding: 22px 16px; }
  .city-release-page .article-title { font-size: clamp(30px,8.5vw,35px); overflow-wrap: break-word; }
  .city-intro { font-size: 16px; }
  .city-release-page .article-body { font-size: 15px; }
  .city-release-page .article-body h2 { font-size: 25px; }
  .city-release-page .article-body h3 { font-size: 20px; }
  .city-places { grid-template-columns: 1fr; }
  .city-place { grid-template-columns: 40% minmax(0,1fr); min-height: 124px; }
}
@media (max-width:370px) {
  .story-text { padding: 10px 9px; }
  .story-text h3 { font-size: 16px; }
  .cover-title-overlay { font-size: 17px; }
  body.city-release-page .article-ux-main { padding: 19px 13px; }
}

@media (min-width:951px) and (max-width:1100px) {
  .city-release-page .mobile-article-toc { margin: 20px 0 10px; padding: 12px 16px; background: #eef5fa; border: 1px solid #d1e3ed; border-radius: 12px; }
  .city-release-page .mobile-article-toc summary { cursor: pointer; color: #193c58; font-weight: 800; }
  .city-release-page .mobile-toc-current { margin-inline: 10px; font-size: 13px; font-weight: 400; }
  .city-release-page .mobile-toc-list a { display: flex; gap: 10px; padding: 6px 0; }
  .city-release-page .mobile-toc-list a.selected { font-weight: 800; color: #135a7c; }
  .city-release-page .mobile-toc-actions { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
}
