/* Price guides (/homes/prices): the About page's reading layout (about.css) with figures and tables */
.mk-main { padding-top: clamp(28px, 6vw, 72px); }
.mk-hero { margin-bottom: clamp(32px, 5vw, 56px); }
.mk-hero h1 { font-size: clamp(34px, 5.4vw, 64px); }
html[lang='ka'] .mk-hero h1 { font-size: clamp(28px, 4.4vw, 50px); }
.mk-crumbs { margin: 0 0 22px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.mk-crumbs a { color: var(--ink-2); text-decoration: none; }
.mk-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* the four headline figures */
.mk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: clamp(40px, 6vw, 72px); }
.mk-tile { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 18px; border-radius: 20px; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(11, 11, 12, .04); }
.mk-tile span { color: var(--ink-2); font-size: 14px; font-weight: 650; }
.mk-tile b { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mk-tile small { color: var(--ink-3); font-size: 13px; line-height: 1.4; }

/* tables: plain, readable, numbers right-aligned in tabular figures */
.mk-tablewrap { overflow-x: auto; border-radius: 20px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.mk-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mk-table caption { caption-side: top; text-align: left; padding: 18px 20px 6px; color: var(--ink-2); font-size: 14px; font-weight: 650; }
.mk-table th, .mk-table td { padding: 13px 20px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mk-table thead th { color: var(--ink-3); font-size: 13px; font-weight: 700; }
.mk-table th[scope='row'], .mk-table thead th:first-child { text-align: left; font-weight: 650; color: var(--ink); }
.mk-table tbody tr:last-child > * { border-bottom: 0; }
.mk-table tbody tr:hover { background: var(--panel-2); }
.mk-table a { color: var(--ink); text-decoration: none; }
.mk-table a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mk-p { margin: 0 0 clamp(32px, 5vw, 56px); max-width: 64ch; color: var(--ink-2); font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.mk-p a { color: var(--ink); font-weight: 650; }

/* owners against agents: one thin bar, the owners' share in ink */
.mk-split .mk-p { margin-top: 14px; margin-bottom: 0; }
.mk-bar { height: 10px; border-radius: 999px; background: var(--panel-2); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.mk-bar i { display: block; height: 100%; border-radius: 999px; background: var(--ink); }

.mk-end { margin-bottom: 18px; }
.mk-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-btn-2 { background: transparent; color: var(--ink); box-shadow: 0 0 0 1px var(--line-2, var(--line)) inset; }
.mk-agent { margin: 0 0 clamp(56px, 8vw, 96px); color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.mk-agent a { color: var(--ink); font-weight: 700; text-decoration: none; }

.mk-faq details { border-bottom: 1px solid var(--line); }
.mk-faq details:first-of-type { border-top: 1px solid var(--line); }
.mk-faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: '+'; position: absolute; right: 4px; top: 16px; color: var(--ink-3); font-size: 22px; font-weight: 500; transition: rotate var(--t-fast) var(--ease); }
.mk-faq details[open] summary::after { rotate: 45deg; }
.mk-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.mk-faq details p { margin: -4px 0 20px; max-width: 64ch; color: var(--ink-2); font-size: 16px; line-height: 1.65; }

.mk-near { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mk-near a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow var(--t-fast) var(--ease); }
.mk-near a:hover { box-shadow: 0 0 0 1px var(--ink-3); }
.mk-near span { font-weight: 650; }
.mk-near b { font-variant-numeric: tabular-nums; }
.mk-near small { color: var(--ink-3); font-weight: 600; }

.mk-note { margin: 0; max-width: 72ch; color: var(--ink-3); font-size: 13.5px; line-height: 1.65; }

@media (max-width: 860px) {
  .mk-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-near { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .mk-tile { padding: 16px; }
  .mk-near { grid-template-columns: 1fr; }
  .mk-table th, .mk-table td { padding: 12px 14px; }
  .mk-end { flex-direction: column; align-items: flex-start; }
}
