@charset "UTF-8";
/*!
Theme Name: K Residence
Author: SEO One Click
Description: Presentation theme for K Residence, Novi Beograd — apartments, lamelas and building selector. Requires ACF PRO; built for WPML (Serbian Latin + English).
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: k-residence
*/
:root {
  --kr-paper: #f6f7f9;
  --kr-bar: #fff;
  --kr-panel: #e8edf0;
  --kr-ink: #12232b;
  --kr-muted: #6a7d87;
  --kr-accent: #147a91;
  --kr-accent-soft: #b9dfe7;
  --kr-line: #b4c3cb;
  --kr-sand: #d4b18e;
  --kr-sand-dark: #c19d77;
  --kr-topbar: #106072;
  --kr-header: var(--kr-sand);
  --kr-header-ink: var(--kr-accent);
  --kr-status-available: var(--kr-accent);
  --kr-status-reserved: var(--kr-sand);
  --kr-status-sold: #9aa9b1;
  --kr-font-body: "DM Sans", sans-serif;
  --kr-font-display: "Onest", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--kr-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--kr-ink);
  background: var(--kr-paper);
}

h1,
h2,
h3,
h4 {
  font-family: var(--kr-font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: var(--kr-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.kr-container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 920px) {
  .kr-container {
    padding-inline: 16px;
  }
}

.kr-container--wide {
  max-width: 1290px;
}

.kr-section {
  padding-block: 56px;
}
.kr-section__title {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.5vw, 40px);
}
@media (max-width: 920px) {
  .kr-section {
    padding-block: 32px;
  }
}

.kr-page-title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 50px);
  letter-spacing: -0.035em;
}

.kr-lead {
  max-width: 720px;
  margin-bottom: 32px;
  color: var(--kr-muted);
  font-size: 18px;
}

.kr-eyebrow {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--kr-accent);
}

.entry-content > :not([class*=wp-block-kr-], .kr-hero, .kr-section, .alignfull) {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 16px;
}

.kr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 2px solid var(--kr-accent);
  border-radius: 4px;
  background: var(--kr-accent);
  color: #fff;
  font-family: var(--kr-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.kr-btn:hover {
  background: #0f6377;
  border-color: #0f6377;
}
.kr-btn--ghost {
  background: transparent;
  color: var(--kr-accent);
}
.kr-btn--ghost:hover {
  background: var(--kr-accent);
  color: #fff;
}
.kr-btn--sand {
  min-height: 54px;
  padding: 0 31px;
  border-color: var(--kr-sand);
  border-radius: 12px;
  background: var(--kr-sand);
  color: var(--kr-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.kr-btn--sand:hover, .kr-btn--sand:focus-visible {
  border-color: var(--kr-sand-dark);
  background: var(--kr-sand-dark);
}
.kr-btn--small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.kr-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  color: #fff;
  white-space: nowrap;
}
.kr-status--available {
  background: var(--kr-status-available);
}
.kr-status--reserved {
  background: var(--kr-status-reserved);
}
.kr-status--sold {
  background: var(--kr-status-sold);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.screen-reader-text:focus {
  z-index: 100;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
}

.kr-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.kr-post-card h2 {
  margin: 8px 0;
  font-size: 22px;
}
.kr-post-card h2 a {
  color: inherit;
  text-decoration: none;
}
.kr-post-card time {
  font-size: 13px;
  color: var(--kr-muted);
}

.site-header__inner, .kr-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1290px;
  margin-inline: auto;
  padding-inline: 24px;
}

.kr-topbar {
  background: var(--kr-topbar);
  color: #fff;
  font-size: 14px;
}
.kr-topbar__inner {
  min-height: 36px;
}
.kr-topbar__group {
  display: flex;
  align-items: center;
  gap: 24px;
}
.kr-topbar__group .kr-topbar__item + .kr-topbar__item {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.8);
}
.kr-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.kr-topbar__item svg {
  flex: none;
}
.kr-topbar a.kr-topbar__item:hover {
  text-decoration: underline;
}
.kr-topbar strong {
  font-weight: 600;
}
@media (max-width: 920px) {
  .kr-topbar {
    font-size: 13px;
  }
  .kr-topbar__inner {
    justify-content: center;
    padding-inline: 16px;
  }
  .kr-topbar__completion {
    display: none;
  }
  .kr-topbar__group {
    gap: 16px;
  }
  .kr-topbar__group .kr-topbar__item + .kr-topbar__item {
    padding-left: 16px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--kr-header);
}
.admin-bar .site-header {
  top: 32px;
}
.site-header__inner {
  min-height: 92px;
}
.site-header__brand {
  flex: none;
}
.site-header__logo {
  display: block;
  width: auto;
  height: 44px;
}
.site-header__logo--tinted {
  filter: brightness(0) invert(1);
}
.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-header__bars, .site-header__bars::before, .site-header__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--kr-header-ink);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), top 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s;
}
.site-header__bars {
  position: relative;
}
.site-header__bars::before, .site-header__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.site-header__bars::before {
  top: -7px;
}
.site-header__bars::after {
  top: 7px;
}
.site-header__toggle[aria-expanded=true] .site-header__bars {
  background-color: transparent;
}
.site-header__toggle[aria-expanded=true] .site-header__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header__toggle[aria-expanded=true] .site-header__bars::after {
  top: 0;
  transform: rotate(-45deg);
}
@media (max-width: 920px) {
  .site-header__inner {
    min-height: 64px;
    padding-inline: 16px;
  }
  .site-header__logo {
    height: 32px;
  }
  .site-header__toggle {
    display: block;
  }
}

@keyframes kr-nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav__menu {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav__menu a {
  display: block;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  color: var(--kr-header-ink);
  font-size: 17px;
  text-decoration: none;
}
.site-nav__menu a:hover {
  border-bottom-color: currentColor;
}
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current-menu-ancestor > a {
  border-bottom-color: currentColor;
}
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 31px;
  border-radius: 10px;
  background: #fff;
  color: var(--kr-header-ink);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.site-nav__cta:hover, .site-nav__cta:focus-visible {
  background: #e9f5f6;
}
@media (max-width: 920px) {
  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--kr-header);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }
  .site-nav.is-open {
    display: flex;
    animation: kr-nav-in 0.25s ease-out;
  }
  .site-nav__menu {
    flex-direction: column;
    gap: 8px;
  }
}

.kr-lang {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kr-lang a {
  padding: 4px 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--kr-header-ink);
  opacity: 0.7;
  text-decoration: none;
}
.kr-lang a[aria-current] {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__bars,
  .site-header__bars::before,
  .site-header__bars::after,
  .site-nav.is-open {
    transition: none;
    animation: none;
  }
}
.site-footer {
  padding-block: 84px 56px;
  background: #072b33;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 46% 26% 1fr;
  align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.site-footer__logo {
  display: block;
  width: auto;
  height: 120px;
  margin-bottom: 24px;
}
.site-footer__logo--tinted {
  filter: brightness(0) invert(1);
}
.site-footer__brand p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}
.site-footer__heading {
  margin: 0 0 28px;
  color: var(--kr-sand);
  font: 700 22px/1.2 var(--kr-font-body);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.site-footer__nav ul, .site-footer__contact ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__nav a, .site-footer__contact a {
  color: #fff;
  text-decoration: none;
}
.site-footer__nav a:hover, .site-footer__contact a:hover {
  color: var(--kr-sand);
}
.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.site-footer__contact li .kr-icon {
  flex: none;
  margin-top: 3px;
  color: var(--kr-sand);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
}
.site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}
.site-footer__bottom a:hover {
  color: #fff;
}
.site-footer__social {
  display: flex;
  gap: 28px;
}
@media (max-width: 920px) {
  .site-footer {
    padding-block: 56px 32px;
    font-size: 17px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .site-footer__logo {
    height: 88px;
  }
  .site-footer__heading {
    margin-bottom: 20px;
    font-size: 18px;
  }
  .site-footer__bottom {
    padding-top: 24px;
    font-size: 15px;
  }
}

.kr-apartment__back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 700;
  text-decoration: none;
}
.kr-apartment__head {
  margin-bottom: 32px;
}
.kr-apartment__head .kr-page-title {
  margin-bottom: 12px;
}
.kr-apartment__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 920px) {
  .kr-apartment__grid {
    grid-template-columns: 1fr;
  }
}
.kr-apartment__plan {
  padding: 24px;
  background: #fff;
  border-radius: 6px;
}
.kr-apartment__plan img {
  display: block;
  margin-inline: auto;
}
.kr-apartment__summary {
  position: sticky;
  top: 100px;
}
.kr-apartment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.kr-apartment__intro {
  color: var(--kr-muted);
}
.kr-apartment__section {
  margin-top: 56px;
}
.kr-apartment__section h2 {
  margin: 0 0 20px;
  font-size: 28px;
}

.kr-specs {
  margin: 0;
}
.kr-specs__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--kr-line);
}
.kr-specs dt {
  color: var(--kr-muted);
}
.kr-specs dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.kr-rooms {
  width: 100%;
  max-width: 640px;
  border-collapse: collapse;
}
.kr-rooms th,
.kr-rooms td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--kr-panel);
  text-align: left;
}
.kr-rooms th {
  font-weight: 600;
}
.kr-rooms__code {
  width: 48px;
  color: var(--kr-muted);
  font-weight: 800;
}
.kr-rooms__area {
  text-align: right !important;
  white-space: nowrap;
}
.kr-rooms__subtotal th, .kr-rooms__subtotal td {
  font-weight: 800;
  background: var(--kr-panel);
}
.kr-rooms__total th, .kr-rooms__total td {
  font-weight: 800;
  font-size: 18px;
  border-bottom: 0;
  border-top: 2px solid var(--kr-ink);
}

.kr-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.kr-gallery img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.kr-inquiry {
  padding: 32px;
  background: #fff;
  border-radius: 6px;
}

.kr-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.kr-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--kr-panel);
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s;
}
.kr-card:hover {
  border-color: var(--kr-accent);
}
.kr-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: contain;
  background: #fff;
}
.kr-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
}
.kr-card__title {
  font-weight: 800;
}
.kr-card__meta {
  font-size: 14px;
  color: var(--kr-muted);
}
