@import url("new-design-base.css?v=20261105-2");

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

.hero::before,
.page-hero::before {
  display: none;
}

.hero {
  padding-top: 54px;
}

.brand img,
.f-logo,
.mm-logo img {
  mix-blend-mode: normal;
}

.menu a {
  letter-spacing: .04em;
}

.searchbar {
  align-items: stretch;
}

.searchbar .btn {
  border-radius: 12px;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.sb input[type="text"] {
  min-height: 24px;
}

.home-intro {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.apt .desc {
  color: var(--ink-soft);
  font-size: .92rem;
  margin: -.35rem 0 1rem;
}

.info-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-copy {
  color: var(--ink-soft);
}

.home-copy a {
  color: var(--red);
  font-weight: 600;
}

.home-copy p,
.home-copy span,
.home-copy div {
  font-size: .98rem !important;
  line-height: 1.75;
}

.why .home-copy {
  max-height: 540px;
  overflow: auto;
  padding-right: 10px;
}

.q p {
  min-height: 8em;
}

.q .source-link {
  color: var(--red);
  display: inline-block;
  font-size: .88rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.q .review-more {
  appearance: none;
  background: none;
  border: 0;
  color: var(--red);
  cursor: pointer;
  font: inherit;
  font-size: .88rem;
  font-weight: 400;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.q .review-more:hover,
.q .review-more:focus-visible {
  color: var(--ink);
}

.faq-a p {
  margin: 0;
}

.faq-answer-content {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
  overflow-x: auto;
}

.faq-a .faq-answer-content p {
  padding: 0;
}

.faq-answer-content > * + * {
  margin-top: .8rem;
}

.faq-answer-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer-content ul,
.faq-answer-content ol {
  padding-left: 1.5rem;
}

.faq-answer-content blockquote {
  border-left: 3px solid var(--line);
  padding-left: 1rem;
}

.faq-answer-content img {
  max-width: 100%;
  height: auto !important;
}

.faq-answer-content table {
  border-collapse: collapse;
  max-width: 100%;
}

.faq-answer-content th,
.faq-answer-content td {
  border: 1px solid var(--line);
  padding: .4rem .6rem;
}

.f-grid {
  grid-template-columns: 1.7fr 1fr 1.2fr;
}

@media (max-width: 980px) {
  .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .f-grid { grid-template-columns: 1fr; }
}

.f-grid h5 {
  letter-spacing: .14em;
}

footer .f-grid h5,
footer .f-wm > span {
  color: #fff;
}

.socials a {
  font-size: .72rem;
  font-weight: 700;
}

.f-contact li a {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.f-contact .f-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  flex: 0 0 16px;
  color: inherit;
}

.f-contact .f-ic svg {
  width: 16px;
  height: 16px;
}

.gm-pop {
  color: var(--ink);
}

.ui-datepicker {
  z-index: 200 !important;
}

.content-section {
  padding-top: 72px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 42px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-prose {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.content-prose a {
  color: var(--red);
  font-weight: 600;
}

.content-prose img {
  height: auto !important;
  max-width: 100% !important;
  border-radius: var(--r);
}

.content-prose table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 1rem 0;
}

.content-prose td,
.content-prose th {
  border: 1px solid var(--line);
  padding: .55rem .65rem;
}

.sidebar-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.4rem;
  position: sticky;
  top: 106px;
}

.sidebar-panel h3 {
  font-size: 1.35rem;
  margin-bottom: .45rem;
}

.sidebar-panel p {
  color: var(--ink-soft);
  font-size: .94rem;
  margin-bottom: 1rem;
}

.sidebar-panel .field {
  margin-bottom: .8rem;
}

.sidebar-panel .btn {
  width: 100%;
  justify-content: center;
}

.inline-search {
  margin: 34px auto 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin-top: 34px;
}

.pagination ul,
#pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination li,
#pagination li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination a,
.pagination span,
#pagination a,
#pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  padding: .35rem .7rem;
}

.pagination a:hover,
#pagination a:hover {
  border-color: var(--red);
  color: var(--red);
}

.pagination .current,
#pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.reviews-grid {
  display: grid;
  gap: 22px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem;
}

.review-card .review-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.review-card .who {
  display: flex;
  gap: .85rem;
  align-items: center;
}

.review-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  overflow: hidden;
}

.review-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card .name {
  font-weight: 700;
}

.review-card .date,
.review-card .apt-link {
  color: var(--ink-soft);
  font-size: .85rem;
}

.review-card .apt-link {
  color: var(--red);
  font-weight: 600;
}

.review-card .content-prose {
  font-size: .97rem;
}

.detail-head {
  padding-top: 30px;
}

.detail-head .crumbs {
  margin-bottom: .8rem;
}

.detail-head .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.detail-head h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.detail-head .loc {
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-size: .95rem;
}

.detail-head .loc svg {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.apt-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 10px;
  border-radius: var(--r);
  overflow: hidden;
  margin: 22px 0 6px;
}

.apt-gallery a,
.apt-gallery img {
  width: 100%;
  height: 100%;
  display: block;
}

.apt-gallery img {
  object-fit: cover;
  transition: .4s;
}

.apt-gallery a:hover img {
  filter: brightness(.93);
}

.apt-gallery .g-main {
  grid-row: 1 / 3;
}

.gallery-note {
  color: var(--ink-soft);
  font-size: .84rem;
  text-align: right;
}

.apt-detail {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 48px;
  align-items: start;
  padding-top: 34px;
}

.detail-sec {
  margin-bottom: 0;
  padding: 0 0 2.6rem;
}

.detail-sec h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.6rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.4rem;
}

.facts .f {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}

.facts .f svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem 1.4rem;
}

.amenities .am {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink-soft);
}

.amenities .am img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.book-card {
  position: sticky;
  top: 106px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.book-card .bp {
  display: flex;
  align-items: baseline;
  gap: .4rem;
}

.book-card .bp b {
  color: var(--red);
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  font-weight: 600;
}

.book-card .bfields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin: 1.1rem 0;
}

.book-card .bfields .field {
  margin: 0;
}

.book-card .bfields .full {
  grid-column: 1 / 3;
}

.book-card .bf textarea {
  background: none;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: .92rem;
  min-height: 46px;
  outline: none;
  resize: vertical;
  width: 100%;
}

.book-card .btn {
  justify-content: center;
  width: 100%;
}

.book-card .bnote,
.form-note {
  color: var(--ink-soft);
  font-size: .8rem;
  margin-top: .75rem;
  text-align: center;
}

.sitemap-list {
  columns: 2;
  column-gap: 48px;
}

.sitemap-list ul {
  list-style: none;
  break-inside: avoid;
}

.sitemap-list li {
  break-inside: avoid;
  margin: .35rem 0;
}

.sitemap-list a {
  color: var(--ink);
  font-weight: 600;
}

.sitemap-list a:hover {
  color: var(--red);
}

.sitemap-list ul ul {
  border-left: 1px solid var(--line);
  margin: .45rem 0 .8rem .25rem;
  padding-left: .9rem;
}

.sitemap-list ul ul a {
  color: var(--ink-soft);
  font-weight: 500;
}

.calendar-strip {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.clndr {
  flex: 1 1 240px;
  max-width: 320px;
}

.calendar {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.calendar caption {
  padding: .8rem;
  color: var(--red);
  font-weight: 700;
  text-transform: capitalize;
}

.calendar th,
.calendar td {
  border: 1px solid var(--line);
  font-size: .78rem;
  padding: .42rem;
  text-align: center;
}

.calendar td.booked {
  background: #cf0c14;
  color: #fff;
}

.calendar td.pending {
  background: #d9d8c9;
}

.calendar td.nodat {
  background: var(--cream);
}

.calendar-legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: .86rem;
  margin-top: .9rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.legend-dot {
  width: 18px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

.legend-free {
  background: var(--white);
  border: 1px solid var(--line);
}

/* Availability calendar: header, nav, prettier table */
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.cal-head h2 {
  margin: 0;
}

.cal-nav {
  display: flex;
  gap: .5rem;
}

.cal-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s;
}

.cal-arrow:hover:not(:disabled) {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.cal-arrow:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.calendar-strip {
  transition: opacity .2s;
}

.calendar-strip.loading {
  opacity: .45;
  pointer-events: none;
}

.calendar caption {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
}

.calendar th {
  background: var(--cream-2);
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .64rem;
  letter-spacing: .03em;
}

.calendar td {
  transition: background .15s;
}

.calendar td.currentday {
  outline: 2px solid var(--red);
  outline-offset: -2px;
  font-weight: 700;
  color: var(--red);
}

.calendar td.booked {
  background: var(--red);
}

.calendar td.currentday.booked {
  color: #fff;
  outline: none;
}

@media(max-width:980px) {
  .info-tiles {
    grid-template-columns: 1fr;
  }

  .content-layout,
  .apt-detail {
    grid-template-columns: 1fr;
  }

  .sidebar-panel,
  .book-card {
    position: static;
  }

  .apt-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 150px 150px;
  }

  .apt-gallery .g-main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .apt .desc,
  .q p {
    min-height: 0;
  }
}

@media(max-width:600px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding-top: 38px;
  }

  .amenities,
  .book-card .bfields {
    grid-template-columns: 1fr;
  }

  .book-card .bfields .full {
    grid-column: auto;
  }

  .sitemap-list {
    columns: 1;
  }
}

/* Contact page social icons: match info-card icon tint, red on hover */
.contact-grid .socials a {
  background: rgba(171, 26, 37, .1);
}

.contact-grid .socials a img {
  transition: filter .3s;
}

.contact-grid .socials a:hover {
  background: var(--red);
}

.contact-grid .socials a:hover img {
  filter: brightness(0) invert(1);
}

/* Apartment page: one review per row, auto height (no stretch) */
#review .quotes {
  grid-template-columns: 1fr !important;
  align-items: start !important;
}

#review .q {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
}

#review .q > .who {
  margin-top: 1.3rem !important;
}

#review .q p {
  min-height: 0 !important;
}

/* Testimonial / review cards: pin author + link to the bottom */
.q {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.q > .who {
  margin-top: auto;
}

.q .av {
  flex-shrink: 0;
}

.q .q-foot {
  margin-top: auto;
}

/* Back-to-top button */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
  z-index: 900;
  box-shadow: 0 8px 20px -6px rgba(80, 20, 24, .55);
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--red-d);
}

.to-top svg {
  width: 22px;
  height: 22px;
}

/* Mobile header: hide reserve button + lang so they don't overlap the logo */
@media(max-width:600px) {
  .nav-right .btn,
  .nav-right .lang {
    display: none;
  }
}

/* Page-hero intro that renders rich-text (HTML editor) content */
.page-hero .lead-rt {
  color: var(--ink-soft);
  max-width: 42rem;
  margin: .2rem auto 0;
}

.page-hero .lead-rt p {
  margin: 0;
}

.page-hero .lead-rt p + p {
  margin-top: .6rem;
}

/* Home hero: small keyword h1 (eyebrow style) + large visual h2 */
.hero h1.hero-eyebrow {
  font-size: .74rem;
  line-height: 1.4;
  margin: 0;
  font-family: 'Cabin', sans-serif;
}

.hero h2.hero-title {
  font-size: clamp(2.7rem, 5.2vw, 4.4rem);
  margin: .4rem 0 1.3rem;
}

.hero h2.hero-title em {
  font-style: italic;
  color: var(--red);
}

/* Apartment gallery lightbox */
.apt-gallery .lb-open {
  position: relative;
  cursor: pointer;
  display: block;
}

.apt-gallery .gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(20, 12, 10, .5);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
}

.gallery-note {
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 12, 10, .92);
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox .lb-stage {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .lb-stage img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  object-fit: contain;
  opacity: 1;
  transition: opacity .3s ease;
}

.lightbox .lb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: .85;
}

.lightbox .lb-close:hover {
  opacity: 1;
}

.lightbox .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .12);
  border: 0;
  color: #fff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .25s;
}

.lightbox .lb-nav:hover {
  background: var(--red);
}

.lightbox .lb-prev {
  left: 20px;
}

.lightbox .lb-next {
  right: 20px;
}

.lightbox .lb-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .9rem;
  letter-spacing: .05em;
  opacity: .85;
}

@media(max-width:600px) {
  .lightbox .lb-nav {
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }
}

/* Apartment cards: align feats line + price to the bottom across the row */
.apts .apt:not(.cta-card) {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.apt .b {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.apt .feats {
  margin-top: auto;
}

.apt .foot {
  justify-content: space-between;
  align-items: center;
}

/* Beograd guide cards: keep links but match mockup visuals */
.guide-card a.gi {
  display: block;
}

.guide-card h3 a {
  color: inherit;
  text-decoration: none;
}

.guide-card h3 a:hover {
  color: var(--red);
}
