/* ============================================================
   Shared card styles - used by both miasto-kierunek and miasto
   card renderers. Do not add route-specific overrides here.
   Route-specific card styles belong in:
     pub/css/extracted/mk/listing.css
     pub/css/extracted/miasto/city-sections.css
   ============================================================ */

/* --- Shared card classes (.card-) --- */

/* Title and suffix fragments shared by both basic-card renderers. */
.card__title-wrap {
    font-size: 1em;
    line-height: 1.8em;
}

.card__type-suffix {
    font-weight: 400;
    font-size: 18px;
}

.card__more-suffix {
    font-weight: 400;
    color: red;
    font-size: 18px;
}

.card__distance {
    font-weight: 400;
    color: #333;
}

/* Shared fixed-height media used by both basic-card renderers. */
.card__image-fixed {
    height: 200px;
}

/* Shared iframe reset for embedded card maps. */
.card__map-frame {
    border: 0;
    display: block;
    height: 100%;
}

/* Shared structural card media fragments used by both renderers. */
.card__image-wrap {
    position: relative;
}

.card__image {
    display: block;
    width: 100%;
    max-width: 100%;
}

.card__logo-wrap {
    z-index: 1;
}

.card__logo {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- miasto-kierunek-only card classes (.mk-card-) --- */

/* Full-card title variants and admin affordances. */
.mk-card-sticky-title {
    background-color: white;
    padding: 0;
    position: sticky;
    top: 91px;
    z-index: 1019;
}

.mk-card-admin-link {
    background: white;
}

.mk-card-admin-link-inline {
    background: white;
    display: inline-block;
    margin-right: 8px;
}

.mk-card-title-link {
    font-size: 1em;
    line-height: 35px;
    color: #0070ab;
    background-color: white;
    font-size: 22px;
}

.mk-card-title-wrapper-alt {
    background-color: white;
    padding: 0 16px;
    font-size: 22px;
    line-height: 1.6em;
}

.mk-card-title-text {
    color: #0070ab;
    text-decoration: none;
}

.mk-card-type-suffix-alt {
    font-size: 16px;
    font-weight: 400;
}

.mk-card-distance-text-alt {
    font-size: 22px;
    font-weight: 400;
}

/* Full-card media shell. */
.mk-card-media-column {
    position: relative;
}

.mk-card-image-frame {
    border-radius: 5px;
    overflow: hidden;
}

.mk-card-image-contain {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.mk-card-gallery-frame {
    border-radius: 5px;
    overflow: hidden;
}

.mk-card-gallery-image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.mk-card-gallery-slide {
    width: 100%;
}

/* Logo overlay media. */
.mk-card-logo-wrapper {
    z-index: 1;
}

.mk-card-logo-image {
    width: 150px;
    height: 150px;
}

/* --- miasto-only card classes (.city-card-) --- */
