/**
 * Berlin Restro — structural divergence from Corporate (original markup: br-cafe-*).
 * Loaded after berlin-restro-porto-coffee.css
 */

/* ── Split hero: magazine masthead (white column + full-bleed image) ── */
.br-cafe-hero-masthead {
  background: #fff;
  position: relative;
}

.br-cafe-hero-masthead__row {
  min-height: 0;
}

@media (min-width: 992px) {
  .br-cafe-hero-masthead__row {
    min-height: min(92vh, 820px);
  }
}

.br-cafe-hero-masthead__panel {
  background: #fff;
  padding: 2.75rem 1.5rem 3rem;
  border-right: 1px solid #e7e7e7;
}

@media (max-width: 991.98px) {
  .br-cafe-hero-masthead__panel {
    border-right: none;
    border-top: 1px solid #e7e7e7;
    padding: 2.25rem 1.25rem 2.75rem;
  }
}

.br-cafe-hero-masthead__panel-inner {
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .br-cafe-hero-masthead__panel-inner {
    margin-left: clamp(1rem, 6vw, 4rem);
    margin-right: 0;
  }
}

.br-cafe-hero-masthead__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c5a059;
  margin-bottom: 1rem;
}

.br-cafe-hero-masthead__subtitle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9b9b9b;
  margin-bottom: 0.65rem;
}

.br-cafe-hero-masthead__title {
  font-family: var(--bc-font-heading), "Lora", Georgia, serif;
  font-size: clamp(2.35rem, 6.5vw, 3.85rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #212529;
  margin: 0;
}

.br-cafe-hero-masthead__btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff !important;
  background: #212529;
  border: 2px solid #212529;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.br-cafe-hero-masthead__btn-solid:hover {
  background: #c5a059;
  border-color: #c5a059;
  color: #fff !important;
}

.br-cafe-hero-masthead__visual {
  min-height: 52vh;
  background: #1a1816;
}

@media (min-width: 992px) {
  .br-cafe-hero-masthead__visual {
    min-height: 0;
    height: auto;
    align-self: stretch;
    min-height: min(92vh, 820px);
  }
}

.br-cafe-hero-masthead__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(30%);
  pointer-events: none;
}

.br-cafe-hero-masthead__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.br-cafe-hero-masthead__img--fallback {
  background: linear-gradient(145deg, #3d342c 0%, #1f1c1a 55%, #2c241c 100%);
}

/* Kill Corporate hero chrome on masthead */
.br-cafe-hero-masthead .bc-hero-shape,
.br-cafe-hero-masthead .bc-hero-overlay,
.br-cafe-hero-masthead .bc-hero-pattern {
  display: none !important;
}

/* ── About: editorial stack + mosaic (not side-by-side corporate) ── */
.br-cafe-about {
  padding-bottom: 0.5rem;
}

.br-cafe-about__copy {
  max-width: 40rem;
}

.br-cafe-about__title {
  font-family: var(--bc-font-heading), Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.br-cafe-about__rule {
  width: 3rem;
  height: 3px;
  background: #c5a059;
  margin: 1rem auto 0;
}

.br-cafe-about__copy:not(.text-center) .br-cafe-about__rule {
  margin-left: 0;
  margin-right: auto;
}

.br-cafe-about__mosaic {
  align-items: stretch;
}

.br-cafe-about__frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e7e7e7;
}

.br-cafe-about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.br-cafe-about__frame--tall {
  min-height: 280px;
}

@media (min-width: 992px) {
  .br-cafe-about__frame--tall {
    min-height: 420px;
  }
}

.br-cafe-about__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #212529;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 1rem;
}

.br-cafe-about .bc-about-blockquote {
  border-left: 3px solid #c5a059;
  padding-left: 1.25rem;
  font-style: italic;
  color: #555;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: 36rem;
}

/* ── Services: menu board (Porto coffee–style rows) ── */
.br-cafe-menu {
  padding: 0 0 0.5rem;
}

.br-cafe-menu__grid {
  max-width: 720px;
  margin: 0 auto;
  border-top: 1px solid #e7e7e7;
}

.br-cafe-menu__row {
  display: block;
  padding: 1.15rem 0;
  border-bottom: 1px solid #e7e7e7;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

a.br-cafe-menu__row:hover {
  background: rgba(0, 0, 0, 0.02);
  color: inherit;
}

.br-cafe-menu__line {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  width: 100%;
}

.br-cafe-menu__icon {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  color: #c5a059;
  font-size: 0.9rem;
}

.br-cafe-menu__name {
  flex-shrink: 0;
  font-family: var(--bc-font-heading), Georgia, serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #212529;
}

.br-cafe-menu__dots {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted #c5c5c5;
  height: 0;
  position: relative;
  top: -0.2em;
  opacity: 0.9;
}

.br-cafe-menu__price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #212529;
  white-space: nowrap;
}

.br-cafe-menu__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #777;
  margin: 0.4rem 0 0 2.15rem;
  padding: 0;
}

/* ── Blog: horizontal rows (not card grid) ── */
.br-cafe-blog {
  padding-bottom: 1rem;
}

.br-cafe-post {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e7e7e7;
  text-decoration: none;
  color: inherit;
}

a.br-cafe-post:hover {
  color: inherit;
}

a.br-cafe-post:hover .br-cafe-post__title {
  color: #c5a059;
}

.br-cafe-post__thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
}

.br-cafe-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.br-cafe-post__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 1.75rem;
}

.br-cafe-post__body {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.br-cafe-post__meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9b9b9b;
  margin-bottom: 0.35rem;
}

.br-cafe-post__title {
  font-family: var(--bc-font-heading), Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  color: #212529;
  transition: color 0.2s ease;
}

.br-cafe-post__excerpt {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.55;
  margin: 0;
}

.br-cafe-post__more {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #212529;
}

a.br-cafe-post:hover .br-cafe-post__more {
  color: #c5a059;
}

/* ── CTA: flat band (no rings / 3D card) ── */
.br-cafe-cta {
  position: relative;
  overflow: hidden;
}

.br-cafe-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c5a059;
  margin-bottom: 0.25rem;
}

.br-cafe-cta__eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: #c5a059;
}

.br-cafe-cta--dark {
  background: #212529;
  color: rgba(255, 255, 255, 0.78);
}

.br-cafe-cta--light {
  background: #f4f4f4;
  color: #555;
}

.br-cafe-cta__title {
  font-family: var(--bc-font-heading), Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.br-cafe-cta--dark .br-cafe-cta__title {
  color: #fff;
}

.br-cafe-cta--light .br-cafe-cta__title {
  color: #212529;
}

.br-cafe-cta__rule {
  width: 3rem;
  height: 3px;
  background: #c5a059;
  margin-bottom: 1.25rem;
}

.br-cafe-cta .text-center .br-cafe-cta__rule {
  margin-left: auto;
  margin-right: auto;
}

.br-cafe-cta__body {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.br-cafe-cta__media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.br-cafe-cta--light .br-cafe-cta__media {
  border-color: #e7e7e7;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.br-cafe-cta__media img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.br-cafe-cta__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.br-cafe-cta--dark .br-cafe-cta__trust span {
  color: rgba(255, 255, 255, 0.55);
}

.br-cafe-cta--light .br-cafe-cta__trust span {
  color: #9b9b9b;
}

/* Flatten Corporate CTA gradient/photo overlays when using café CTA */
.tenant-site-root.theme-berlin-restro .bc-cta-section.br-cafe-cta::before {
  display: none !important;
}

/* Photo / custom section bg: don’t paint a solid band over the wrapper image */
.tenant-site-root.theme-berlin-restro .bc-cta-section.br-cafe-cta.bc-cta--photo-bg {
  background: transparent !important;
}

.tenant-site-root.theme-berlin-restro .bc-cta-section.br-cafe-cta.bc-cta--photo-bg.br-cafe-cta--dark {
  background: transparent !important;
}

.br-cafe-cta__btn2 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.62rem 1.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.br-cafe-cta--dark .br-cafe-cta__btn2 {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.45);
}

.br-cafe-cta--dark .br-cafe-cta__btn2:hover {
  background: #fff;
  color: #212529;
  border-color: #fff;
}

.br-cafe-cta--light .br-cafe-cta__btn2 {
  color: #212529;
  border-color: #212529;
}

.br-cafe-cta--light .br-cafe-cta__btn2:hover {
  background: #212529;
  color: #fff;
  border-color: #212529;
}

.br-cafe-cta--light .br-cafe-cta__title {
  color: #212529;
}

.br-cafe-cta--light .br-cafe-cta__body {
  color: #555;
}

/* ── Hero split: tall, centered café window ── */
.br-cafe-hero-split .bc-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(33, 37, 41, 0.45) 0%,
    rgba(33, 37, 41, 0.75) 100%
  ) !important;
}

@media (min-width: 992px) {
  .br-cafe-hero-split {
    min-height: 78vh;
    display: flex;
    align-items: center;
  }

  .br-cafe-hero-split .position-relative.z-3 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}
