/*
Theme Name: BatogoSpot
Theme URI: https://batogospot.pl
Author: BatogoSpot
Author URI: https://batogospot.pl
Description: Motyw dla platformy wynajmu apartamentów we Wrocławiu
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: batogospot
Tags: real-estate, rental, apartments, wroclaw
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --color-primary:    #d4882e;
  --color-primary-dark: #b8711f;
  --color-primary-light: #fdf6ee;
  --color-dark:       #1a1f2d;
  --color-dark-2:     #252b3b;
  --color-text:       #1a1f2d;
  --color-muted:      #6b7380;
  --color-muted-2:    #9ca3af;
  --color-border:     #e5e7eb;
  --color-bg:         #f4f6f9;
  --color-white:      #ffffff;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* Spacing */
  --container-width: 1270px;
  --container-pad:   120px;
  --section-py:      80px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
}

/* Elementor should inherit the theme's sans-serif family instead of Roboto. */
body[class*="elementor-kit-"] {
  --e-global-typography-primary-font-family: var(--font-body);
  --e-global-typography-secondary-font-family: var(--font-body);
  --e-global-typography-text-font-family: var(--font-body);
  --e-global-typography-accent-font-family: var(--font-body);
}

body .elementor-widget-text-editor,
body .elementor-widget-button,
body .elementor-widget-form,
body .elementor-widget-nav-menu,
body .elementor-widget-icon-list,
body .elementor-widget-image-box p,
body .eael-adv-accordion,
body .eael-grid-post {
  font-family: var(--font-body) !important;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p  { color: var(--color-muted); line-height: 1.75; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: calc(var(--container-width) + var(--container-pad) * 2);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
@media (max-width: 1280px) { .container { padding: 0 60px; } }
@media (max-width: 768px)  { .container { padding: 0 20px; } }

.section { padding: var(--section-py) 0; }
.section--dark { background: var(--color-dark); }
.section--gray { background: var(--color-bg); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { max-width: 560px; margin: 12px auto 0; font-size: 1.05rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,136,46,.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn-ghost {
  background: var(--color-bg);
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

/* ============================================================
   NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  height: 118px;
  font-family: var(--font-body);
  transition: height .28s ease, box-shadow .28s ease;
}
.header-container {
  width: 100%;
  max-width: calc(var(--container-width) + var(--container-pad) * 2);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.header-inner {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  align-items: center;
  height: 100%;
  gap: 70px;
}
.header-logo {
  display: inline-flex;
  width: 205px;
  max-width: 100%;
  transition: width .28s ease;
}
.header-logo img { width: 100%; height: auto; }
.header-main {
  align-self: center;
  display: grid;
  grid-template-rows: 50% 50%;
  height: 86px;
  min-width: 0;
  transition: height .28s ease;
}
.header-top,
.desktop-navigation {
  display: flex;
  align-items: center;
}
.header-top {
  justify-content: space-between;
  gap: 24px;
  transition: opacity .16s ease, transform .22s ease, visibility .16s ease;
}
.header-contact,
.header-contact a,
.header-extras,
.header-social,
.language-toggle {
  display: flex;
  align-items: center;
}
.header-contact { gap: 34px; }
.header-contact a {
  gap: 10px;
  color: #747474;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.header-contact a:hover { color: var(--color-primary); }
.header-contact img { flex: 0 0 auto; }
.header-extras { gap: 25px; }
.header-social { gap: 21px; }
.header-social a {
  display: grid;
  width: 18px;
  height: 24px;
  place-items: center;
  transition: opacity .2s, transform .2s;
}
.header-social a:hover { opacity: .72; transform: translateY(-1px); }
.header-social img { max-height: 16px; width: auto; }
.header-payments { width: 124px; height: 24px; object-fit: contain; }
.language-switcher { position: relative; }
.language-toggle {
  gap: 8px;
  min-height: 41px;
  padding: 0 12px;
  color: #666;
  background: #dedede;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.language-toggle img,
.language-menu img { width: 20px; height: 14px; object-fit: cover; }
.language-chevron {
  width: 9px;
  height: 9px;
  margin: -4px 1px 0 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.language-switcher.open .language-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}
.language-menu {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 10;
  display: none;
  min-width: 155px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
.language-switcher.open .language-menu { display: block; }
.language-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #555;
  font-size: 13px;
  border-radius: 4px;
}
.language-menu a:hover,
.language-menu a[aria-current="page"] { background: var(--color-bg); color: var(--color-dark); }
.desktop-navigation { min-width: 0; }
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}
.primary-nav > li {
  position: relative;
}
.primary-nav a {
  display: block;
  padding: 9px 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: #002337;
  white-space: nowrap;
  transition: color .2s;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a { color: var(--color-primary); }
.primary-nav > .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.primary-nav > .menu-item-has-children > a::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: margin .2s ease, transform .2s ease;
}
.primary-nav > .menu-item-has-children:hover > a::after,
.primary-nav > .menu-item-has-children:focus-within > a::after {
  margin-top: 4px;
  transform: rotate(225deg);
}
.primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 50%;
  z-index: 30;
  min-width: 280px;
  padding: 7px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  background: #fff;
  border: 1px solid rgba(0, 35, 55, .09);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 35, 55, .15);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.primary-nav .sub-menu::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu,
.primary-nav li.submenu-open > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.primary-nav .sub-menu li + li {
  border-top: 1px solid #eef0f2;
}
.primary-nav .sub-menu a {
  padding: 11px 13px;
  color: #002337;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
}
.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a:focus,
.primary-nav .sub-menu .current-menu-item > a {
  color: var(--color-primary);
  background: var(--color-primary-light);
  outline: none;
}

/* Compact sticky header after the page starts scrolling. */
.site-header.is-scrolled {
  height: 78px;
  box-shadow: 0 4px 22px rgba(0, 35, 55, .13);
}
.site-header.is-scrolled .header-logo { width: 140px; }
.site-header.is-scrolled .header-main {
  display: flex;
  align-items: center;
  height: 100%;
}
.site-header.is-scrolled .header-top {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
}
.site-header.is-scrolled .desktop-navigation { width: 100%; }

.mobile-header-actions {
  display: none;
  align-items: center;
  margin-left: auto;
  gap: 2px;
}
.mobile-header-actions a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  transition: background-color .2s ease, transform .2s ease;
}
.mobile-header-actions a:hover,
.mobile-header-actions a:focus-visible {
  background: var(--color-primary-light);
  outline: none;
  transform: translateY(-1px);
}
.mobile-header-actions img {
  object-fit: contain;
}
.mobile-header-actions a:first-child img {
  width: 27px;
  height: 27px;
}
.mobile-header-actions a:last-child img {
  width: 29px;
  height: 24px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 91px 0 0 0;
  background: var(--color-white);
  z-index: 999;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
}
.mobile-nav.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-dark);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu li:last-child a { border-bottom: none; }
.mobile-menu .menu-item-has-children {
  position: relative;
}
.mobile-menu .menu-item-has-children > a {
  padding-right: 58px;
}
.mobile-submenu-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--color-dark);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
.mobile-submenu-toggle:hover,
.mobile-submenu-toggle:focus-visible {
  color: var(--color-primary);
  background: var(--color-primary-light);
  outline: none;
}
.mobile-submenu-toggle span {
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: margin .2s ease, transform .2s ease;
}
.mobile-menu .submenu-open > .mobile-submenu-toggle span {
  margin-top: 5px;
  transform: rotate(225deg);
}
.mobile-menu .sub-menu {
  display: none;
  margin: 0 0 8px 16px;
  padding-left: 10px;
  border-left: 2px solid #edf0f2;
}
.mobile-menu .submenu-open > .sub-menu {
  display: block;
}
.mobile-menu .sub-menu a {
  padding: 11px 14px;
  color: var(--color-muted);
  font-size: 14px;
  border-bottom: 0;
}
.mobile-menu .sub-menu a:hover,
.mobile-menu .sub-menu .current-menu-item > a {
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.mobile-contact {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px 16px;
  border-top: 1px solid var(--color-border);
}
.mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-muted);
  font-size: 14px;
}
.mobile-contact img { width: 15px; max-height: 14px; }
.mobile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 20px;
}
.mobile-languages a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  background: var(--color-bg);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.mobile-languages a[aria-current="page"] { background: #dedede; }
.mobile-languages img { width: 20px; height: 14px; object-fit: cover; }

/* Push content below fixed nav */
.content-wrap { padding-top: 118px; }

@media (max-width: 1280px) {
  .header-container { padding-inline: 60px; }
  .header-inner { grid-template-columns: 205px minmax(0, 1fr); gap: 34px; }
  .header-contact { gap: 20px; }
  .header-contact a { font-size: 14px; }
  .header-extras { gap: 17px; }
  .header-social { gap: 14px; }
  .header-social a { width: 18px; }
  .header-social img { transform: none; }
  .header-payments { width: 124px; height: 24px; }
  .language-toggle { padding-inline: 12px; font-size: 14px; }
  .primary-nav { gap: 16px; }
}

@media (max-width: 1050px) {
  .site-header { height: 91px; }
  .header-container { padding-inline: 20px; }
  .header-inner { display: flex; justify-content: space-between; gap: 8px; }
  .header-logo { width: 164px; }
  .header-main { display: none; }
  .mobile-header-actions { display: flex; }
  .hamburger {
    position: relative;
    z-index: 2;
    display: flex !important;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
  }
  .content-wrap { padding-top: 91px; }
  .site-header.is-scrolled { height: 72px; }
  .site-header.is-scrolled .header-logo { width: 132px; }
  .site-header.is-scrolled .header-main { display: none; }
  .site-header.is-scrolled + .mobile-nav { inset-block-start: 72px; }
}

@media (max-width: 480px) {
  .header-logo { width: 132px; }
  .mobile-header-actions a {
    width: 38px;
    height: 40px;
  }
  .mobile-header-actions img {
    transform: scale(.9);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.home .content-wrap { padding-top: 0; }
.home .site-header:not(.is-scrolled) {
  background: rgba(255, 255, 255, .62);
  box-shadow: none;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.home .site-header.is-scrolled { background: var(--color-white); }

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  background: #f4f4f2;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/spot.jpg');
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 32%, rgba(255,255,255,.48) 62%, rgba(255,255,255,.18) 100%),
    rgba(255,255,255,.18);
}
.hero-container {
  width: 100%;
  padding-top: 132px;
  padding-bottom: 46px;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 78px;
  align-items: center;
  width: 100%;
}
.hero-text { color: #002337; }
.hero-text h1 {
  max-width: 720px;
  margin-bottom: 34px;
  color: #002337;
  font-size: clamp(3rem, 4.3vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.hero-text p {
  max-width: 590px;
  margin-bottom: 42px;
  color: #303238;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 43px;
  padding: 9px 14px;
  color: #1e2429;
  background: rgba(224, 226, 226, .78);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.hero-feature svg,
.hero-feature img {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}
.hero-feature svg {
  fill: none;
  stroke: #d87e18;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Booking card */
.booking-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 35, 55, .3);
  border-radius: 16px;
  padding: 28px 28px 30px;
  box-shadow: 0 12px 36px rgba(0, 35, 55, .12);
}
.booking-card h2 {
  margin-bottom: 21px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  color: #191c28;
  font-family: var(--font-body);
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
.booking-card .form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #777b84;
  font-size: 13px;
  font-weight: 500;
}
.form-group input,
.form-group select {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid #d8dade;
  border-radius: 9px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-dark);
  background: #f7f7f7;
  transition: border-color .2s;
  outline: none;
}
.form-group input::placeholder { color: #30333b; opacity: 1; }
.form-group input:focus,
.form-group select:focus { border-color: var(--color-primary); }
.booking-card .form-group--plain { margin-top: 26px; }
.booking-card .form-group--plain + .form-group--plain { margin-top: 0; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.booking-card .btn {
  width: 100%;
  min-height: 62px;
  justify-content: center;
  margin-top: 16px;
  border-radius: 10px;
  background: #db8b29;
  border-color: #db8b29;
  font-size: 17px;
}

@media (max-width: 1024px) {
  .hero { min-height: auto; }
  .hero-container { padding-top: 150px; padding-bottom: 70px; }
  .hero-content { grid-template-columns: 1fr; gap: 46px; }
  .booking-card { width: 100%; max-width: 520px; }
}
@media (max-width: 768px) {
  .hero-container { padding-top: 125px; padding-bottom: 50px; }
  .hero-bg { background-position: 58% center; }
  .hero-overlay { background: rgba(255,255,255,.82); }
  .hero-text h1 { font-size: clamp(2.5rem, 12vw, 3.7rem); }
  .hero-text p { margin-bottom: 30px; }
  .hero-feature { flex: 1 1 calc(50% - 10px); }
  .booking-card { padding: 24px 20px; }
}

/* ============================================================
   APARTMENTS
   ============================================================ */
.apartments-showcase {
  padding: 88px 0 96px;
  background: #f8f7f4;
}
.apartments-heading {
  margin-bottom: 58px;
  text-align: left;
}
.section-eyebrow {
  display: block;
  margin-bottom: 16px;
  color: #687180;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.apartments-heading h2 {
  color: #191c29;
  font-size: clamp(2rem, 3vw, 2.65rem);
  letter-spacing: -.025em;
}
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.apt-card {
  background: var(--color-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #dcd9d3;
  transition: transform .25s, box-shadow .25s;
}
.apt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 35, 55, .09);
}
.apt-card-img {
  position: relative;
  aspect-ratio: 1.42 / 1;
  background: var(--color-bg);
  overflow: hidden;
}
.apt-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.apt-card:hover .apt-card-img img { transform: scale(1.05); }
.apt-card-body { padding: 17px 18px 19px; }
.apt-card-title {
  margin-bottom: 5px;
  color: #191c29;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}
.apt-card-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #737a85;
}
.apt-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-body);
  color: #cf6d00;
}
.apt-price strong {
  font-size: 15px;
  color: inherit;
}
.apt-price span { font-size: 13px; color: inherit; }

.booking-rating {
  display: flex;
  min-height: 100%;
  padding: 38px 24px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-align: center;
  background: #191d2e;
  border-radius: 15px;
}
.booking-rating__score {
  font-size: clamp(3.4rem, 4vw, 4.8rem);
  font-weight: 700;
  line-height: 1;
}
.booking-rating__stars {
  margin-top: 23px;
  color: #f9bc29;
  font-size: 23px;
  letter-spacing: 3px;
}
.booking-rating p {
  margin-top: 15px;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  line-height: 1.55;
}
.booking-rating a {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: #d67d14;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.booking-rating a:hover { background: #c86f08; transform: translateY(-1px); }

@media (max-width: 1120px) {
  .apartments-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-rating { min-height: 390px; }
}
@media (max-width: 640px) {
  .apartments-showcase { padding: 64px 0 70px; }
  .apartments-heading { margin-bottom: 36px; }
  .apartments-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
  padding: 88px 0 104px;
  background: #fff;
}
.why-heading {
  margin-bottom: 72px;
  text-align: left;
}
.why-heading h2 {
  color: #191c29;
  font-size: clamp(2rem, 3vw, 2.65rem);
  letter-spacing: -.025em;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  column-gap: 44px;
  row-gap: 72px;
}
.why-item {
  min-width: 0;
  padding: 0;
  text-align: left;
  background: transparent;
  border: 0;
}
.why-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
}
.why-item h3 {
  margin-bottom: 6px;
  color: #1d202b;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}
.why-item p {
  color: #737b88;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 1120px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .why-section { padding: 64px 0 72px; }
  .why-heading { margin-bottom: 42px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 44px; }
}

/* ============================================================
   CITY SECTION
   ============================================================ */
.city-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: #191d2e;
  background-image: url('../img/bg-wroc.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.city-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25,29,46,1) 0%, rgba(25,29,46,.96) 22%, rgba(25,29,46,.72) 38%, rgba(25,29,46,.28) 58%, rgba(25,29,46,.12) 100%),
    rgba(8, 11, 24, .18);
}
.city-container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.city-content {
  max-width: 520px;
  text-align: left;
  color: var(--color-white);
}
.city-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.city-content h2 {
  margin-bottom: 24px;
  color: var(--color-white);
  font-size: clamp(2.3rem, 3.4vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.city-content p {
  margin-bottom: 27px;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.55;
}
.city-content a {
  display: inline-flex;
  min-width: 238px;
  min-height: 49px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  color: #191c29;
  background: #fff;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, transform .2s;
}
.city-content a:hover { background: #f2f2f2; transform: translateY(-1px); }

@media (max-width: 768px) {
  .city-section { min-height: 480px; background-position: 62% center; }
  .city-section::before {
    background: linear-gradient(90deg, rgba(25,29,46,.98) 0%, rgba(25,29,46,.88) 58%, rgba(25,29,46,.55) 100%);
  }
  .city-content p br { display: none; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section {
  padding: 76px 0 92px;
  background: #f9f8f6;
}
.reviews-heading {
  margin-bottom: 58px;
  text-align: left;
}
.reviews-heading h2 {
  color: #191c29;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

@media (max-width: 640px) {
  .reviews-section { padding: 56px 0 64px; }
  .reviews-heading { margin-bottom: 40px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding: 88px 0 100px;
  background: #f9f8f6;
}
.faq-heading {
  margin-bottom: 52px;
  text-align: left;
}
.faq-heading h2 {
  color: #191c29;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.faq-list {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 24px;
}
.faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 9px;
}
.faq-question {
  width: 100%;
  min-height: 78px;
  padding: 22px 38px;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: #6d6d6d;
  cursor: pointer;
  text-align: left;
}
.faq-question svg {
  order: -1;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: #d96f12;
  transition: transform .3s;
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 38px 28px 102px;
  font-size: 15px;
  color: var(--color-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

@media (max-width: 640px) {
  .faq-section { padding: 64px 0 72px; }
  .faq-heading { margin-bottom: 38px; }
  .faq-list { gap: 16px; }
  .faq-question {
    min-height: 70px;
    padding: 18px 20px;
    gap: 20px;
    font-size: 15px;
  }
  .faq-answer { padding: 0 20px 22px 62px; }
}

/* ============================================================
   ARTICLES
   ============================================================ */
.articles-section {
  padding: 88px 0 96px;
  background: #fff;
}
.articles-heading {
  display: flex;
  margin-bottom: 48px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}
.articles-heading h2 {
  color: #191c29;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.articles-all {
  display: inline-flex;
  min-height: 46px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #191c29;
  border: 1px solid #191c29;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: color .2s, background .2s, transform .2s;
}
.articles-all:hover {
  color: #fff;
  background: #191c29;
  transform: translateY(-1px);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.article-card-img {
  aspect-ratio: 16/9;
  background: var(--color-bg);
  overflow: hidden;
}
.article-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-body { padding: 20px; }
.article-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-meta {
  font-size: 12px;
  color: var(--color-muted-2);
  display: flex;
  gap: 10px;
}

@media (max-width: 1024px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .articles-section { padding: 64px 0 72px; }
  .articles-heading {
    margin-bottom: 36px;
    align-items: flex-start;
    flex-direction: column;
  }
  .articles-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  padding: 88px 0 92px;
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 52px;
  align-items: center;
}
.stat-item {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 18px;
}
.stat-item > img {
  width: 40px;
  height: 40px;
  margin-top: 4px;
  flex-shrink: 0;
}
.stat-content {
  min-width: 0;
}
.stat-value {
  color: #191c29;
  font-family: var(--font-body);
  font-size: clamp(2rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}
.stat-value span {
  margin-left: 2px;
  color: #d9dbe0;
  font-size: .57em;
  font-weight: 600;
}
.stat-label {
  margin-top: 7px;
  color: #89919e;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
}
@media (max-width: 560px) {
  .stats-section { padding: 64px 0 68px; }
  .stats-grid { grid-template-columns: 1fr; gap: 34px; }
  .stat-item { gap: 16px; }
  .stat-value { font-size: 2.15rem; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 78px 0 64px;
  color: #7f8795;
  background: #191d2b;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr) 1.25fr;
  gap: 64px;
  padding-bottom: 70px;
}
.footer-logo {
  display: block;
  width: 112px;
  height: 52px;
}
.footer-brand p {
  margin-top: 20px;
  color: #7f8795;
  font-size: 13px;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 22px;
  margin-top: 32px;
}
.footer-social a {
  display: flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, transform .2s;
}
.footer-social a:hover { opacity: .75; transform: translateY(-1px); }
.footer-social img { display: block; width: 18px; height: 18px; }
.footer-col h5 {
  margin-bottom: 25px;
  color: #e4e5e8;
  font-size: 14px;
  font-weight: 700;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul a {
  color: #7f8795;
  font-size: 13px;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--color-primary); }
.footer-contact p {
  margin-bottom: 5px;
  color: #7f8795;
  font-size: 13px;
  line-height: 1.55;
}
.footer-contact a {
  color: inherit;
  transition: color .2s;
}
.footer-contact a:hover { color: var(--color-primary); }
.footer-bottom {
  display: flex;
  padding-top: 31px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-top: 1px solid #303746;
  font-size: 13px;
  color: #7f8795;
}
.footer-legal p {
  margin: 0;
}
.footer-legal strong {
  color: #a5aab3;
  font-weight: 700;
}
.footer-legal-links {
  display: flex;
  margin-top: 13px;
  align-items: center;
  gap: 15px;
}
.footer-bottom a {
  color: #7f8795;
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--color-primary); }
.footer-payments {
  display: block;
  width: 260px;
  height: 36px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(2, 1fr);
    gap: 48px 36px;
  }
}
@media (max-width: 720px) {
  .site-footer { padding: 60px 0 48px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 28px;
    padding-bottom: 52px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 440px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-payments { width: min(260px, 100%); height: auto; }
}

/* ============================================================
   APARTMENT ARCHIVE
   ============================================================ */
.apartment-archive {
  background: #fff;
}
.apartment-archive-hero {
  position: relative;
  padding: 82px 0 70px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(212, 136, 46, .18), transparent 28%),
    radial-gradient(circle at 12% 110%, rgba(101, 164, 190, .14), transparent 30%),
    #191d2b;
}
.apartment-archive-hero__copy {
  max-width: 720px;
}
.apartment-archive-hero .section-eyebrow {
  color: rgba(255, 255, 255, .58);
}
.apartment-archive-hero h1 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.5rem, 4.4vw, 4.2rem);
  letter-spacing: -.035em;
}
.apartment-archive-hero__copy > p {
  max-width: 650px;
  color: rgba(255, 255, 255, .68);
  font-size: 17px;
  line-height: 1.7;
}
.apartment-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) auto;
  gap: 16px;
  margin-top: 45px;
  padding: 20px;
  align-items: end;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(6, 12, 24, .24);
}
.apartment-filter-field label {
  display: block;
  margin-bottom: 7px;
  color: #6f7784;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.apartment-filter-select {
  position: relative;
}
.apartment-filter-select::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid #6f7784;
  border-bottom: 1.5px solid #6f7784;
  transform: rotate(45deg);
  pointer-events: none;
}
.apartment-filter-select select {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 15px;
  appearance: none;
  color: #202532;
  background: #f7f7f7;
  border: 1px solid #dfe1e5;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.apartment-filter-select select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 136, 46, .12);
}
.apartment-filters__submit {
  display: inline-flex;
  height: 52px;
  padding: 0 25px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.apartment-filters__submit:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
}
.apartment-filters__clear {
  grid-column: 1 / -1;
  justify-self: end;
  margin-top: -5px;
  color: #777f8b;
  font-size: 12px;
  font-weight: 600;
}
.apartment-filters__clear:hover {
  color: var(--color-primary);
}
.apartment-archive-results {
  padding: 86px 0 100px;
}
.apartment-results-heading {
  display: flex;
  margin-bottom: 45px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.apartment-results-heading .section-eyebrow {
  margin-bottom: 10px;
}
.apartment-results-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -.025em;
}
.apartment-results-heading > p {
  color: #858c97;
  font-size: 13px;
  white-space: nowrap;
}
.apartment-results-heading > p strong {
  color: var(--color-dark);
}
.apartment-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.apartment-archive-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dedbd6;
  border-radius: 15px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.apartment-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 35, 55, .1);
}
.apartment-archive-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1.45 / 1;
  overflow: hidden;
  background: #f0f1f2;
}
.apartment-archive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.apartment-archive-card:hover .apartment-archive-card__image img {
  transform: scale(1.035);
}
.apartment-archive-card__location {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 10px;
  color: #fff;
  background: rgba(25, 29, 43, .88);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.apartment-archive-card__body {
  display: flex;
  padding: 22px 22px 20px;
  flex: 1;
  flex-direction: column;
}
.apartment-archive-card__body h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.35;
}
.apartment-archive-card__body h3 a:hover {
  color: var(--color-primary);
}
.apartment-archive-card__facts {
  display: flex;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 6px;
  color: #747c88;
  font-size: 12px;
}
.apartment-archive-card__body > p {
  display: -webkit-box;
  margin-bottom: 22px;
  overflow: hidden;
  color: #7c838e;
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.apartment-archive-card__footer {
  display: flex;
  margin-top: auto;
  padding-top: 17px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid #eceae6;
}
.apartment-archive-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #cf6d00;
  white-space: nowrap;
}
.apartment-archive-card__price strong {
  color: inherit;
  font-size: 17px;
}
.apartment-archive-card__price small {
  font-size: 11px;
}
.apartment-archive-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-dark);
  font-size: 12px;
  font-weight: 700;
}
.apartment-archive-card__link span {
  color: var(--color-primary);
  font-size: 16px;
  transition: transform .2s ease;
}
.apartment-archive-card__link:hover {
  color: var(--color-primary);
}
.apartment-archive-card__link:hover span {
  transform: translateX(3px);
}
.apartment-archive-empty {
  padding: 85px 30px;
  text-align: center;
  background: #f9f8f6;
  border-radius: 16px;
}
.apartment-archive-empty > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  place-items: center;
  color: var(--color-primary);
  background: #fff;
  border-radius: 50%;
  font-size: 29px;
}
.apartment-archive-empty h2 {
  margin-bottom: 10px;
}
.apartment-archive-empty p {
  margin-bottom: 25px;
}

@media (max-width: 980px) {
  .apartment-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .apartment-filters {
    grid-template-columns: 1fr 1fr;
  }
  .apartment-filters__submit {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .apartment-archive-hero {
    padding: 62px 0 55px;
  }
  .apartment-archive-hero__copy > p {
    font-size: 15px;
  }
  .apartment-filters {
    grid-template-columns: 1fr;
    margin-top: 34px;
    padding: 16px;
  }
  .apartment-filters__submit,
  .apartment-filters__clear {
    grid-column: auto;
  }
  .apartment-filters__clear {
    justify-self: center;
    margin-top: 0;
  }
  .apartment-archive-results {
    padding: 65px 0 75px;
  }
  .apartment-results-heading {
    margin-bottom: 32px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .apartment-archive-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ============================================================
   SINGLE APARTMENT
   ============================================================ */
.apartment-page {
  background: #fff;
}
.apartment-gallery-section {
  padding: 32px 0 74px;
}
.apartment-gallery {
  display: grid;
  height: 370px;
  min-height: 0;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 1fr);
  gap: 14px;
}
.apartment-gallery button {
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: #eef0f2;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
}
.apartment-gallery__side {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.apartment-gallery__wide { grid-column: 1 / -1; }
.apartment-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.apartment-gallery button:hover img {
  transform: scale(1.025);
}
.apartment-gallery__all {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 40px;
  padding: 9px 15px;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: #d98622;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.apartment-gallery__all svg {
  width: 17px;
  height: 17px;
}

.apartment-details {
  padding: 0 0 88px;
}
.apartment-details__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 80px;
  align-items: start;
}
.apartment-main {
  min-width: 0;
}
.apartment-title {
  padding-bottom: 23px;
  border-bottom: 1px solid #e4e5e7;
}
.apartment-title h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -.025em;
}
.apartment-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: #7b8390;
  font-size: 13px;
  line-height: 1.55;
}
.apartment-rating {
  display: flex;
  margin-top: 8px;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #d47b16;
  font-size: 12px;
}
.apartment-rating strong {
  color: inherit;
}
.apartment-copy,
.apartment-amenities,
.apartment-video,
.apartment-location {
  padding: 25px 0;
  border-bottom: 1px solid #e4e5e7;
}
.apartment-copy h2,
.apartment-amenities h2,
.apartment-video h2,
.apartment-location h2 {
  margin-bottom: 15px;
  color: #191c29;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
}
.apartment-description,
.apartment-description p {
  color: #747c88;
  font-size: 14px;
  line-height: 1.65;
}
.apartment-description > *:last-child {
  margin-bottom: 0;
}
.apartment-amenities ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 30px;
  row-gap: 6px;
}
.apartment-amenities li {
  position: relative;
  padding-left: 17px;
  color: #4f5662;
  font-size: 13px;
  line-height: 1.45;
}
.apartment-amenities li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #5b7b6b;
  content: '✓';
  font-weight: 700;
}
.apartment-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #191d2b;
  border-radius: 13px;
}
.apartment-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.apartment-location {
  padding-bottom: 0;
  border-bottom: 0;
}
.apartment-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 330px;
  overflow: hidden;
  background: #eef1f2;
  border-radius: 13px;
}
.apartment-map__loading,
.apartment-map__error {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 24px;
  align-items: center;
  justify-content: center;
  color: #7b8390;
  font-size: 13px;
  text-align: center;
}
.apartment-map__error a {
  color: var(--color-primary);
  font-weight: 600;
}
.apartment-map .leaflet-control-zoom {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(20, 28, 43, .18);
}
.apartment-map .leaflet-control-zoom a {
  width: 34px;
  height: 34px;
  border: 0;
  color: #303642;
  font: 500 21px/34px Inter, sans-serif;
}
.apartment-map .leaflet-control-zoom a + a {
  border-top: 1px solid #e6e8eb;
}
.apartment-map .leaflet-control-zoom .leaflet-control-fullscreen {
  position: relative;
  display: block;
  border-top: 1px solid #e6e8eb;
}
.apartment-map .leaflet-control-fullscreen span {
  position: absolute;
  inset: 9px;
  background:
    linear-gradient(#151922, #151922) left top / 7px 3px no-repeat,
    linear-gradient(#151922, #151922) left top / 3px 7px no-repeat,
    linear-gradient(#151922, #151922) right top / 7px 3px no-repeat,
    linear-gradient(#151922, #151922) right top / 3px 7px no-repeat,
    linear-gradient(#151922, #151922) left bottom / 7px 3px no-repeat,
    linear-gradient(#151922, #151922) left bottom / 3px 7px no-repeat,
    linear-gradient(#151922, #151922) right bottom / 7px 3px no-repeat,
    linear-gradient(#151922, #151922) right bottom / 3px 7px no-repeat;
}
.apartment-map .leaflet-control-fullscreen.is-active span {
  transform: rotate(180deg);
}
.apartment-map:fullscreen,
.apartment-map:-webkit-full-screen {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #eef1f2;
}
.apartment-map .leaflet-control-attribution {
  color: #6f7680;
  font: 400 9px/1.4 Inter, sans-serif;
}
.apartment-map .leaflet-popup-content-wrapper {
  border-radius: 9px;
  box-shadow: 0 4px 18px rgba(20, 28, 43, .18);
}
.apartment-map .leaflet-popup-content {
  margin: 13px 17px;
  color: #5f6671;
  font: 400 12px/1.5 Inter, sans-serif;
}
.apartment-map .leaflet-popup-content strong {
  color: var(--color-dark);
  font-weight: 700;
}
.batogospot-map-marker {
  border: 0;
  background: transparent;
}
.batogospot-map-marker span {
  position: absolute;
  top: 2px;
  left: 5px;
  width: 32px;
  height: 32px;
  transform: rotate(45deg);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 5px;
  background: var(--color-primary);
  box-shadow: 0 3px 10px rgba(20, 28, 43, .3);
}
.batogospot-map-marker span::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}
.apartment-location__meta {
  display: flex;
  margin-top: 13px;
  flex-wrap: wrap;
  gap: 8px;
  color: #7b8390;
  font-size: 12px;
}

.apartment-booking-card {
  position: sticky;
  top: 96px;
  margin-top: 24px;
  padding: 27px 25px 25px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 12px;
  box-shadow: 0 7px 25px rgba(25,29,43,.1);
}
.apartment-booking-card__price {
  color: #191c29;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}
.apartment-booking-card__price strong {
  font-size: 25px;
}
.apartment-booking-card__rating {
  display: flex;
  margin-top: 7px;
  padding-bottom: 20px;
  align-items: center;
  gap: 6px;
  color: #d47b16;
  border-bottom: 1px solid #ececef;
  font-size: 11px;
}
.apartment-booking-card__rating strong {
  color: #d47b16;
}
.apartment-booking-form {
  padding-top: 19px;
}
.apartment-booking-form label {
  display: block;
}
.apartment-booking-form label > span {
  display: block;
  margin-bottom: 6px;
  color: #777f8b;
  font-size: 11px;
}
.apartment-booking-form__dates {
  display: grid;
  margin-bottom: 15px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.apartment-booking-form input,
.apartment-booking-form select {
  width: 100%;
  min-height: 43px;
  padding: 10px 11px;
  color: #5f6670;
  background: #f7f7f7;
  border: 1px solid #dedfe2;
  border-radius: 7px;
  font-size: 12px;
}
.apartment-booking-summary {
  margin-top: 18px;
  padding: 14px 12px 10px;
  color: #7b8390;
  background: #fafafa;
  border-radius: 7px;
  font-size: 11px;
}
.apartment-booking-summary > div {
  display: flex;
  padding: 3px 0;
  justify-content: space-between;
  gap: 12px;
}
.apartment-booking-summary .apartment-booking-total {
  margin-top: 6px;
  padding-top: 9px;
  color: #242936;
  border-top: 1px solid #e1e2e4;
  font-size: 13px;
}
.apartment-booking-form > button {
  display: flex;
  width: 100%;
  min-height: 54px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: #d98622;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.apartment-booking-form > button:hover {
  background: #c97614;
  transform: translateY(-1px);
}
.apartment-booking-note {
  margin-top: 18px;
  color: #a0a5ad;
  font-size: 10px;
  line-height: 1.55;
}

.apartment-reviews {
  padding-top: 84px;
}
.related-apartments {
  padding: 86px 0 100px;
  background: #fff;
}
.related-apartments__heading {
  margin-bottom: 48px;
  text-align: left;
}
.related-apartments__heading h2 {
  color: #191c29;
  font-size: clamp(2rem, 3vw, 2.65rem);
  letter-spacing: -.025em;
}
.related-apartments__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.related-apartments__empty {
  grid-column: 1 / -1;
}

.apartment-lightbox {
  width: min(1120px, calc(100% - 40px));
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 52px 24px 24px;
  overflow: auto;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 18px 80px rgba(0,0,0,.35);
}
.apartment-lightbox::backdrop {
  background: rgba(16,20,31,.82);
}
.apartment-lightbox__close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 34px;
  height: 34px;
  color: #191c29;
  background: transparent;
  border: 0;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.apartment-lightbox__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.apartment-lightbox__grid img {
  width: 100%;
  height: auto;
  border-radius: 9px;
}

@media (max-width: 1080px) {
  .apartment-gallery {
    height: 340px;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  }
  .apartment-details__layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 46px;
  }
  .apartment-amenities ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 820px) {
  .apartment-gallery {
    height: auto;
    grid-template-columns: 1fr;
  }
  .apartment-gallery__main {
    aspect-ratio: 16 / 10;
  }
  .apartment-gallery__side {
    height: 270px;
  }
  .apartment-details__layout {
    grid-template-columns: 1fr;
  }
  .apartment-booking-card {
    position: static;
    width: 100%;
    max-width: 520px;
    margin-top: 0;
  }
  .related-apartments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .apartment-gallery-section {
    padding: 20px 0 52px;
  }
  .apartment-gallery {
    gap: 8px;
  }
  .apartment-gallery__side {
    height: 210px;
    gap: 8px;
  }
  .apartment-gallery__all {
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
    font-size: 10px;
  }
  .apartment-details {
    padding-bottom: 64px;
  }
  .apartment-details__layout {
    gap: 42px;
  }
  .apartment-facts,
  .apartment-location__meta {
    gap: 5px;
  }
  .apartment-amenities ul {
    grid-template-columns: 1fr;
  }
  .apartment-map {
    height: 280px;
  }
  .apartment-booking-card {
    padding: 24px 20px;
  }
  .apartment-booking-form__dates {
    grid-template-columns: 1fr;
  }
  .related-apartments {
    padding: 64px 0 72px;
  }
  .related-apartments__heading {
    margin-bottom: 36px;
  }
  .related-apartments__grid,
  .apartment-lightbox__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SINGLE POST (Artykuł)
   ============================================================ */
.article-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background: var(--color-dark);
  overflow: hidden;
  padding-bottom: 60px;
}
.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,31,45,1) 0%, rgba(26,31,45,.4) 100%);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  max-width: 800px;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.article-hero h1 {
  color: var(--color-white);
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  margin-bottom: 0;
}

/* Article body layout */
.article-body-wrap {
  padding: 60px 0 80px;
  background: var(--color-white);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: start;
}

/* Article content */
.article-content { min-width: 0; }
.article-content h2 {
  font-size: 1.55rem;
  margin: 40px 0 16px;
  color: var(--color-dark);
  padding-top: 8px;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  scroll-margin-top: 110px;
}
.article-content h2:first-child { margin-top: 0; }
.article-content p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.article-content ul {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-content ul li {
  padding-left: 20px;
  position: relative;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
}
.article-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}
.article-content .wp-block-image {
  margin: 32px 0;
}
.article-content .wp-block-image img {
  border-radius: var(--radius-md);
  width: 100%;
}
.article-content .wp-block-image figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--color-muted-2);
  margin-top: 10px;
  font-style: italic;
}
.article-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--color-primary-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-content blockquote p {
  color: var(--color-primary-dark);
  font-style: italic;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 500;
}

/* Article divider */
.article-divider {
  height: 1px;
  background: var(--color-border);
  margin: 40px 0;
}

/* Tags */
.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.article-tags span { font-size: 13px; font-weight: 700; color: var(--color-dark); }
.tag-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--color-muted);
  transition: all .2s;
}
.tag-pill:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.article-share span { font-size: 13px; font-weight: 700; color: var(--color-dark); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: all .2s;
  background: var(--color-white);
  color: var(--color-dark);
}
.share-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.share-btn svg { width: 16px; height: 16px; }
.share-btn--fb  { border-color: #1877f2; color: #1877f2; }
.share-btn--fb:hover  { background: #1877f2; color: white; }
.share-btn--x   { border-color: #000; color: #000; }
.share-btn--x:hover   { background: #000; color: white; }

/* Author bio */
.author-bio {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-primary-light);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.author-desc { font-size: 14px; color: var(--color-muted); line-height: 1.6; }

/* Prev/Next */
.article-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.prevnext-link {
  padding: 20px 24px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all .2s;
}
.prevnext-link:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.prevnext-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--color-muted-2); margin-bottom: 6px; }
.prevnext-title { font-size: 14px; font-weight: 700; color: var(--color-dark); line-height: 1.4; }
.prevnext-link.next { text-align: right; }

/* ============================================================
   SIDEBAR / TOC
   ============================================================ */
.article-sidebar { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 24px; }

.toc-widget {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.toc-header {
  background: var(--color-dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
}
.toc-header svg { width: 18px; height: 18px; flex-shrink: 0; }
.toc-list { padding: 8px 0; }
.toc-list a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--color-muted);
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all .2s;
  line-height: 1.4;
}
.toc-list .toc-level-3 {
  padding-left: 32px;
}
.toc-list .toc-level-4 {
  padding-left: 44px;
  font-size: 12px;
}
.toc-list a:hover,
.toc-list a.toc-active {
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-left-color: var(--color-primary);
  font-weight: 700;
}
.toc-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-muted-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.toc-progress-bar {
  height: 3px;
  background: var(--color-border);
  margin: 0 20px 12px;
  border-radius: 2px;
  overflow: hidden;
}
.toc-progress-fill {
  height: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  width: 0%;
  transition: width .2s;
}

/* Newsletter widget */
.newsletter-widget {
  background: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.newsletter-widget h4 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 8px; }
.newsletter-widget p { color: rgba(255,255,255,.55); font-size: 13px; margin-bottom: 20px; }
.newsletter-widget input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 10px;
  outline: none;
}
.newsletter-widget input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-widget input:focus { border-color: var(--color-primary); }
.newsletter-widget .btn { width: 100%; justify-content: center; }
.newsletter-note { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 10px; }

/* Related articles widget */
.related-widget {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.related-header {
  background: var(--color-dark);
  padding: 16px 20px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-header svg { width: 18px; height: 18px; }
.related-list { padding: 8px 0; }
.related-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  transition: background .2s;
}
.related-item:last-child { border-bottom: none; }
.related-item:hover { background: var(--color-bg); }
.related-thumb {
  width: 64px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  overflow: hidden;
  flex-shrink: 0;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-info { min-width: 0; }
.related-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-meta { font-size: 11px; color: var(--color-muted-2); }
.related-all {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg);
  transition: background .2s;
}
.related-all:hover { background: var(--color-primary-light); }

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 12px 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
}
.breadcrumb-inner a { color: var(--color-muted); transition: color .2s; }
.breadcrumb-inner a:hover { color: var(--color-primary); }
.breadcrumb-inner span:last-child { color: var(--color-dark); font-weight: 600; }
.breadcrumb-sep { color: var(--color-border); }

/* ============================================================
   PAGE / ARCHIVE / 404
   ============================================================ */
.page-hero {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
}
.page-hero h1 { color: var(--color-white); }
.page-hero p  { color: rgba(255,255,255,.65); max-width: 560px; margin: 12px auto 0; }

.content-section { padding: 80px 0; }
.entry-content h2, .entry-content h3 { margin: 32px 0 16px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { padding-left: 24px; margin-bottom: 18px; }
.entry-content ul li, .entry-content ol li { margin-bottom: 8px; color: var(--color-muted); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .posts-grid { grid-template-columns: 1fr; } }

.not-found-section {
  padding: 120px 0;
  text-align: center;
}
.not-found-section h1 {
  font-size: clamp(6rem, 12vw, 10rem);
  color: var(--color-primary);
  opacity: .15;
  line-height: 1;
  margin-bottom: 0;
}
.not-found-section h2 { margin-bottom: 12px; }
.not-found-section p  { max-width: 480px; margin: 0 auto 32px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination,
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-muted);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all .2s ease;
  line-height: 1;
}

.page-numbers:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.page-numbers.current {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  cursor: default;
  box-shadow: 0 2px 10px rgba(212,136,46,.35);
}

.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--color-muted-2);
  pointer-events: none;
}

.page-numbers.prev,
.page-numbers.next {
  padding: 0 18px;
  font-size: 13px;
  gap: 6px;
  color: var(--color-dark);
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

/* WordPress core pagination wrapper */
.nav-pagination {
  padding: 48px 0 0;
}

/* ============================================================
   WordPress classes */
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-caption-text { font-size: 13px; color: var(--color-muted-2); text-align: center; font-style: italic; }
.screen-reader-text { @extend .sr-only; }
