#__MTS .footer-social img {
    height: 50px;
    width: 50px;
    margin-right: 0 !important;
}

#__MTS .footer-social ul {
    display: flex;
    justify-content: center;
}

#__MTS .footer-social ul a {
    background-image: url(https://cdn.r-mts.com/u1347/light-images/vector-sprites.svg);
    width: 3.125rem;
    height: 3.125rem;
    display: inline-block;
    background-position: -600px -480px;
    margin: 0 .312rem
}

#__MTS .menu--link {
    text-transform: uppercase;
}

#__MTS .footer-social ul li:last-child a {
    background-position: -660px -480px;
}

#__MTS .footer-social ul li:hover {
    animation-duration: .5s;
    animation-iteration-count: 1;
    animation-name: pop;
    animation-timing-function: linear;
}

footer {
    color: #fff !important;
}

#__MTS .mts-footer-logo {
    background-color: #5B4C3D !important;
}

#__MTS .footer-address {
    font-weight: 300;
}

#__MTS .other-option-wrapper .calendarIcon,
#__MTS .PeopleIcon,
#__MTS .cancellation-text-icon svg,
#__MTS .booking-text-icon svg,
#__MTS .package-card-inner .mealplan-info svg {
    fill: #5B4C3D;
}

#__MTS aside span.font-subTitle.text-subTitle.leading-subTitle.tracking-subTitle.xl\:mb-3.whitespace-nowrap {
    font-weight: 700;
    font-family: 'breeserif';
}

#__MTS .offer-label+.closeicon svg {
    fill: #5B4C3D !important;
}

#__MTS .top-deal-label {
    text-transform: none !important;
}

#__MTS .room-title,
#__MTS .mts-interest-title,
#__MTS .heading-freeCancellation {
    word-break: break-word;
}

#__MTS .rateplan-title-div {
    align-items: start;
}

#__MTS .rateplan-title-div svg {
    margin-top: 4px;
}

#__MTS .show-more-button {
    margin-left: 20px;
}

@media screen and (min-width: 1199px) {
    #__MTS .footer-address {
        font-size: 20px;
        line-height: 1.8;
    }
}

@media (min-width: 994px) {
    #__MTS .logo img {
        width: 370px;
        height: 240px;
    }
}

@media screen and (max-width:767px) {



    #__MTS aside p.flex.text-subHeading.font-subHeading.tracking-subHeading.leading-subHeading.text-secondary {
        font-size: 22px !important;
    }

    .recommended-block div[id*="WidgetRecommendedPackages4"] {
        --fontSize-base: 14px !important;
        --fontSize-body: 14px !important;
        --fontSize-heading: 26px !important;
        --fontSize-heading-base: 26px !important;
        --fontSize-subHeading: 22px !important;
        --fontSize-label: 14px !important;
        --fontSize-label-base: 14px !important;
        --fontSize-button: 14px !important;
        --fontSize-button-base: 14px !important;
    }

    .SmartResponseLandingPage3 .image-container:after {
        background: rgba(255,255,255,.65) !important;
    }

    footer {
        --fontSize-base: 16px !important;
        --fontSize-body: 12px !important;
        --lineHeight-heading: 1.25 !important;
        --lineHeight-body: 1.25 !important;
        --fontSize-heading: 12px !important;
        --fontSize-heading-base: 12px !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {

    #__MTS .offerIncluded-label div {
        font-size: 9px;
    }

    .header--slider,
    .recommended-block div[id*="WidgetRecommendedPackages4"] {
        --fontSize-base: 16px !important;
        --fontSize-body: 12px !important;
        --fontSize-heading: 22px !important;
        --fontSize-heading-base: 22px !important;
        --fontSize-subHeading: 19px !important;
        --fontSize-subHeading-base: 19px !important;
        --fontSize-button: 12px !important;
        --fontSize-button-base: 12px !important;
        --fontSize-label: 12px !important;
        --fontSize-label-base: 12px !important;
        --fontSize-input: 15px !important;
        --fontSize-subText: '' !important;
        --fontSize-caption: '' !important;
        --fontSize-smallCaption: 12px !important;
        --fontSize-smallCaption-base: 12px !important;
        --fontSize-title: 16px !important;
        --fontSize-title-base: 16px !important;
        --fontSize-titleLarge: 19px !important;
        --fontSize-subTitle: 15px !important;
        --fontSize-subTitleSmall: '' !important;
        --fontSize-subTitle-base: 19px !important;
        --fontSize-subTitleSmall-base: '' !important;
        --fontSize-titleSmall: 15px !important;
        --fontSize-titleXSmall: 15px !important;
        --fontSize-button-cta: '' !important;

        --lineHeight-heading: 1.5 !important;
        --lineHeight-heading-base: '' !important;
        --lineHeight-subHeading: '' !important;
        --lineHeight-subHeading-base: '' !important;
        --lineHeight-base: '' !important;
        --lineHeight-body: 1.5 !important;
        --lineHeight-button: '' !important;
        --lineHeight-button-base: '' !important;
        --lineHeight-label: '' !important;
        --lineHeight-label-base: '' !important;
        --lineHeight-input: 1.6 !important;
        --lineHeight-subText: '' !important;
        --lineHeight-caption: '' !important;
        --lineHeight-smallCaption: '' !important;
        --lineHeight-title: 1.25 !important;
        --lineHeight-titleLarge: 1.45 !important;
        --lineHeight-subTitle: '' !important;
        --lineHeight-subTitleSmall: '' !important;
        --lineHeight-titleSmall: '' !important;
        --lineHeight-titleXSmall: 1.5 !important;
        --lineHeight-button-cta: '' !important;

        --fontSize-effect: '' !important;
        --lineHeight-effect: '' !important;
        --letterSpacing-effect: '' !important;
        --letterSpacing-title-base: '' !important;
        --fontWeight-subTitle: '' !important;
        --letterSpacing-subTitle: '' !important;
        --padding-button: '' !important;
    }

    footer {
        --fontSize-base: 16px !important;
        --fontSize-body: 12px !important;
        --lineHeight-heading: 1.25 !important;
        --lineHeight-body: 1.25 !important;
        --fontSize-heading: 12px !important;
        --fontSize-heading-base: 12px !important;
    }
}


/* ---------------------------------------------------------------------------
   Kristiania activation fixes — shared-token contrast conflicts.
   The package card sits on a white surface while the floating summary panel
   and the Highlights band sit on dark/coloured brand backgrounds, but they
   reuse the same components/tokens. Re-scope colours per container so nothing
   renders same-on-same (invisible).
   --------------------------------------------------------------------------- */

/* Package card (white bg): dates used text-primary-light (#fff) -> white-on-white.
   Scoped to .package-card-inner so it covers EVERY card (selected + the others). */
.package-card-inner .text-primary-light {
    color: var(--color-primary) !important;
}

#__MTS .block+.mts-interest-title {
    color: #5b4c3d !important;
}

/* Room-details description + Highlights ("Mehr Infos") detail body text -> charcoal.
   These sit on light backgrounds; the id (#__MTS) prefix outranks the expanded
   panel's white rule. */
#__MTS .interest-description,
#__MTS .interest-description *,
#__MTS [class*="roomDescription"],
#__MTS [class*="roomDescription"] * {
    color: #343333 !important;
}

/* Floating summary panel (brown bg, .bg-primary-lighter): a few icons hardcode
   the brown --color-primary fill -> brown-on-brown. Force them light. */
.bg-primary-lighter svg[class*="var(--color-primary)"],
.bg-primary-lighter svg[class*="backgroundColor-primary-darker"] {
    fill: var(--color-secondary-lighter) !important;
}

/* ---------------------------------------------------------------------------
   Heading / title colour by background context (brand rule):
     - on white / light surfaces  -> brand brown      #5b4c3d
     - on any dark / coloured bg   -> brand off-white  #ffffff
   A brown default for every heading-ish utility, overridden to off-white inside
   the known dark/coloured brand containers (highlights band + expanded cards,
   floating summary panel). The hero text-overlay and the footer are light, so
   they keep the brown default. !important is needed to beat the
   per-component Tailwind colour classes; the dark rule is more specific + later
   so it wins inside those containers.
   --------------------------------------------------------------------------- */
.SmartResponseLandingPage3 :is(h1, h2, h3, h4,
    [class*="font-heading"], [class*="font-title"], [class*="font-subHeading"], [class*="font-subTitle"],
    [class*="text-heading"], [class*="text-title"], [class*="text-subHeading"], [class*="text-subTitle"]) {
    color: #5b4c3d !important;
}

.SmartResponseLandingPage3 :is(.interest-section-div, .bg-primary-lighter) :is(h1, h2, h3, h4,
    [class*="font-heading"], [class*="font-title"], [class*="font-subHeading"], [class*="font-subTitle"],
    [class*="text-heading"], [class*="text-title"], [class*="text-subHeading"], [class*="text-subTitle"]) {
    color: #ffffff !important;
}

/* Highlights section: green background removed -> white. The section heading now
   sits on white so it must be brown; the card titles stay white (they overlay
   the dark card images, still handled by the dark-container rule above). */
.interest-section-div {
    background-color: #ffffff !important;
}

.SmartResponseLandingPage3 .interest-section-div .interestTitle {
    color: #5B4C3D !important;
}

/* Highlight "Mehr Infos" expanded detail: body text was brown on the green band
   (unreadable). Give the expanded card a dark brand panel with off-white text,
   matching the site's dark content panels. */
#__MTS .mts-interest-card-expanded {
    --backgroundColor-secondary-darker: #F0EEED !important;
}

/* Room slider: the title is overlaid on the room photo (absolute bottom strip),
   so the brown heading default is unreadable there. Keep it off-white. */
.roomdetail-layout .absolute.bottom-0 :is(h1, h2, h3, h4,
    [class*="font-heading"], [class*="font-title"], [class*="font-subHeading"],
    [class*="text-heading"], [class*="text-title"], [class*="text-subHeading"]) {
    color: #ffffff !important;
}

/* Mobile menu: the slide-in panel (.mobile-menu--wrapper) is brown, but the links
   use text-link (brand brown) -> brown-on-brown, invisible. Make them off-white.
   Desktop Menu5 sits on a light bar, so this is scoped to the mobile panel only. */
.mobile-menu--wrapper :is(a, .menu--link, .menu-text, [class*="menu--link"], [class*="menu-text"]) {
    color: #ffffff !important;
}

.mobile-menu--wrapper .menu--link:after {
    background-color: #ffffff !important;
}

/* The hamburger/close trigger is a brown circle (bg-primary-lighter) and its
   icon strokes are brown too -> brown-on-brown, invisible in BOTH the closed
   (hamburger) and open (X) states. The trigger lives outside the wrapper, so
   target it directly and make the icon off-white. */
.mobile-menu--wrapper svg,
.mobile-menu--trigger svg,
.mobile-menu--trigger svg * {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* The open-panel close (X) is two rotated <span> bars coloured via
   background-color: var(--color-link) (brown) -> invisible on the brown panel. */
.mobile-menu--close span {
    background-color: #ffffff !important;
}

/* Sticky desktop navbar — match the marketing site: brown bar with off-white,
   uppercase, bold Roboto links (default is a light bg with brown links). */
#navbar-menu {
    background-color: var(--backgroundColor-effect) !important;
    /* #5b4c3d brown */
}

#navbar-menu :is(a, .menu--link, .menu-text) {
    color: #fff !important;
    /* not-selected tab text */
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 16px !important;
}

/* selected / hovered tab brightens to off-white */
#navbar-menu :is(a:hover, .menu--link:hover, .menu-text:hover, .active a, a.active, .active .menu--link, li.active *) {
    color: #ffffff !important;
}

/* hover underline used --color-label (brown) -> invisible on the brown bar */
#navbar-menu a.menu--link:after {
    background-color: #ffffff !important;
}

/* CTA buttons — match the (redesigned) marketing site: PILL fills (green/teal
   from tokens), bold, UPPERCASE, white text, no border. */
.SmartResponseLandingPage3 :is([class*="bg-button-light"], [class*="bg-button-dark"], [class*="bg-button-cta"],
    [class*="bg-button-darker"], [class*="bg-button-lighter"]) {
    color: #ffffff !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    /* pill */
    border: none !important;
    /* website CTA buttons have no border */
    padding: 16px 35px !important;
    /* match website pill padding */
    transition: background-color 0.3s ease, color 0.3s ease !important;
}

/* Button hover — match the website: fill turns brand brown, text stays white. */
.SmartResponseLandingPage3 :is([class*="bg-button-light"], [class*="bg-button-dark"], [class*="bg-button-cta"],
    [class*="bg-button-darker"], [class*="bg-button-lighter"]):hover {
    background-color: #5B4C3D !important;
    color: #ffffff !important;
}

/* Exception: the BUCHEN button sits ON the brown summary panel, so a brown hover
   would blend in. Invert it (white fill, brown text) to stay visible. */
.bg-primary-lighter :is([class*="bg-button-light"], [class*="bg-button-dark"], [class*="bg-button-cta"],
    [class*="bg-button-darker"], [class*="bg-button-lighter"]):hover {
    background-color: #ffffff !important;
    color: #5B4C3D !important;
}

/* Remove the leading +/checkmark icons from all CTA buttons (text only). */
.SmartResponseLandingPage3 :is([class*="bg-button-light"], [class*="bg-button-dark"], [class*="bg-button-cta"],
    [class*="bg-button-darker"], [class*="bg-button-lighter"]) svg {
    display: none !important;
}

/* General border rule:
     - element background is WHITE/light -> BROWN border (#5B4C3D)
     - element background is BROWN/dark   -> WHITE border (#ffffff)
   White-surface borders come from the borderColor-surface/-primary tokens
   (#5B4C3D); brown-surface elements (the filters below) get a white border. */

/* Filter dropdowns (offers AND mealplan) — brown field + options panel, white
   text, WHITE border (brown background). Both filters must be styled identically
   or the mealplan one renders transparent. */
:is(.offers-filter, .mealPlan-filter) button,
:is(.offers-filter, .mealPlan-filter) [class*="bg-input"] {
    background-color: var(--backgroundColor-effect) !important;
    /* #5b4c3d brown */
    border: 1px solid #ffffff !important;
}

:is(.offers-filter, .mealPlan-filter) button,
:is(.offers-filter, .mealPlan-filter) [class*="text-input"] {
    color: #ffffff !important;
}

/* chevron: the svg <path> has a hardcoded dark fill -> invisible on brown.
   Force the path itself (not just the svg) to off-white. */
:is(.offers-filter, .mealPlan-filter) svg,
:is(.offers-filter, .mealPlan-filter) svg * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Filter width stays CONSTANT. On desktop the field uses md:w-auto, so it shrinks
   to fit the selected value (e.g. "Halbpension") and the option list then wraps
   to two lines. Pin a min-width that fits the longest placeholder/option. Mobile
   is already full-width. */
@media (min-width: 768px) {

    .mealPlan-filter,
    .mealPlan-filter button,
    .mealPlan-filter [class*="bg-input"] {
        min-width: 300px !important;
    }

    .offers-filter,
    .offers-filter button,
    .offers-filter [class*="bg-input"] {
        min-width: 160px !important;
    }
}

/* Keep the selected value / options on a single line. */
:is(.offers-filter, .mealPlan-filter) button,
:is(.offers-filter, .mealPlan-filter) li,
:is(.offers-filter, .mealPlan-filter) [class*="text-input"] {
    white-space: nowrap !important;
}

/* "Angebot inkludiert" ribbon: brown tab with brown text -> invisible. Its text
   leaf matches the heading rule above (also !important), so this must come AFTER
   it with matching specificity to win. .SmartResponseLandingPage3 prefix lifts
   specificity to equal the heading default; later source order then wins. */
.SmartResponseLandingPage3 .offerIncluded-label,
.SmartResponseLandingPage3 .offerIncluded-label * {
    color: #ffffff !important;
}

/* Divider lines (border-secondary/-secondary-dark) default to brown now (white
   surfaces). On brown backgrounds — the summary panel and the top logo bar —
   they must be white instead. */
.header--bar,
.header--wrapper,
:is(.bg-primary-lighter, .header--bar) :is([class*="border-secondary"]) {
    border-color: #ffffff !important;
}

/* Hero salutation type sizes (per website). Headers default to 30px (token), so
   the hero greeting must be re-enlarged: main salutation 60px; the "Lieber …"
   line is Lily Script One at 50px. */
#salutation-block .heading,
.Salutation-text .heading {
    font-size: 45px !important;
    line-height: 1.15 !important;
}

.header--slider .description h1,
.main-container .description h1 {
    font-family: breeserif !important;
    font-size: 45px !important;
}

/* All headers/titles are UPPERCASE at every breakpoint (45px on desktop comes
   from the tokens; smaller responsive sizes on tablet/mobile). */
.SmartResponseLandingPage3 :is(h1, h2, h3, h4,
    [class*="font-heading"], [class*="font-title"], [class*="font-subHeading"],
    [class*="text-heading"], [class*="text-title"], [class*="text-subHeading"]) {
    text-transform: uppercase !important;
}

/* Exception: room-details content (specs like "38 m² / 1-3 Personen / Frühstück"
   and the description/amenities) must NOT be uppercased — the title rule above
   was cascading onto it. The room-name caption (font-titleLarge) stays uppercase. */
.roomdetail-layout :is([class*="roomDescription"], [class*="roomDescription"] *,
    [class*="text-titleSmall"], [class*="font-titleSmall"],
    [class*="text-titleSmall"] *, [class*="font-titleSmall"] *,
    .size-info, .person-info) {
    text-transform: none !important;
}

/* Summary panel: the room-count / quantity "1" sits on a white circle
   (bg-effect-light) but uses text-effect-dark (light gray) -> invisible.
   Force circle numbers to the dark brand colour. */
.bg-primary-lighter :is([class*="bg-effect-light"], .service-quantity) {
    color: var(--color-primary) !important;
}

/* Summary total price -> match the room-card price size (32px). */
.bg-primary-lighter [class*="font-subTitle"] {
    font-size: 32px !important;
}

/* When a card shows BOTH the "Angebot inkludiert" tab (absolute, top-left) AND
   an "Alternativer Zeitraum" box (which sits at the very top of the card), the
   tab overlaps the box. Push the box down to clear the tab — only for cards that
   actually have the tab. */
:is([class*="pb-5"], [class*="relative"]):has(> .offerIncluded-label) .package-card-inner [class*="border-primary"][class*="rounded-md"] {
    margin-top: 40px !important;
}

/* Mobile: the room-card box-shadow was clipped by the per-card wrapper's
   overflow:hidden. Let the shadow render fully — MOBILE ONLY (applying it on
   desktop breaks the card grid / expandable cards). */
@media (max-width: 767px) {
    div:has(> .package-card-inner) {
        overflow: visible !important;
    }
}

/* Mobile: the summary-panel expand "+" toggle was green -> match the menu bar
   (hamburger) off-white. */
.closeicon svg {
    fill: #ffffff !important;
}

/* Mobile: the room-card calendar icon was ~10px (w-2.5) -> enlarge to match the
   date text. */
@media (max-width: 767px) {
    .package-card-inner .calendarIcon {
        width: 16px !important;
        height: 16px !important;
    }
}

/* [Mobile] Collapsed summary bar: the "Buchen" (outer-book-button) was pushed
   below the visible peek and cut off. Compact the bar's top padding and the
   button's vertical padding so the button sits fully within the peek. */
@media (max-width: 639px) {
    .SmartResponseLandingPage3 .outer-book-button {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
}

#__MTS .booking-text-icon > div,
#__MTS .cancellation-text-icon > div {
  color: #343333;
}

#__MTS .cancellation-text > span {
    font-size: 18px !important;
}

#__MTS .booking-text > span {
    font-size: 17px !important;
}

/* Booking Summary Price alignment fix */
.recommended-block aside span.md\:hidden.h-max-md\:hidden.xl\:block {
    white-space: nowrap;
}

.recommended-block aside .mealplan-icon2 {
    align-items: flex-start;
}

.recommended-block aside .mealplan-icon2 svg {
    margin-top: 6px;flex-shrink: 0;
}
