/*
Theme Name: Stay Habitat — Astra Child
Description: Tema Stay Habitat untuk vila dan apartemen di Yogyakarta. Memerlukan parent theme Astra.
Author: Stay Habitat
Template: astra
Version: 1.4.5
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: stay-habitat
License: GPL-2.0-or-later
*/

.sh-site {
  --sh-paper: #f6f5f0;
  --sh-ink: #223a32;
  --sh-muted: #58665f;
  --sh-wash: #e6e9e1;
  color: var(--sh-ink);
  background: var(--sh-paper);
  font: 17px/1.65 Arial, sans-serif;
  overflow-wrap: break-word;
}
.sh-site *, .sh-site *::before, .sh-site *::after { box-sizing: border-box; }
.sh-site h1, .sh-site h2, .sh-site h3 { color: var(--sh-ink); font-family: Georgia, serif; font-weight: 400; line-height: 1.1; margin: 0; }
.sh-site h1 { font-size: clamp(42px, 5.5vw, 78px); letter-spacing: -.035em; }
.sh-site h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.025em; }
.sh-site h3 { font-size: 30px; }
.sh-site p { margin: 0 0 24px; }
.sh-site a { color: inherit; text-underline-offset: 5px; }
.sh-site a:focus-visible, .sh-site summary:focus-visible { outline: 3px solid #9b4e28; outline-offset: 5px; }
.sh-site img { display: block; width: 100%; height: auto; }
.sh-wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.sh-hero { display: grid; grid-template-columns: .95fr 1.05fr; min-height: 610px; }
.sh-hero-copy { padding: 78px 52px 68px 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sh-hero-copy p { max-width: 400px; margin-top: 28px; }
.sh-hero-media { margin: 0; position: relative; height: 610px; min-height: 0; }
.sh-hero-media img { height: 100%; object-fit: cover; }
.sh-hero-media figcaption { position: absolute; left: 22px; bottom: 18px; padding: 5px 12px; background: var(--sh-paper); color: var(--sh-ink); font-size: 13px; }
.sh-button { display: inline-block; padding: 14px 26px; background: var(--sh-ink); color: white !important; text-decoration: none; min-height: 50px; }
.sh-button:hover { background: #34574b; }
.sh-section { padding-block: 100px; }
.sh-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sh-intro p { max-width: 520px; }
.sh-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.sh-types a { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid #a3ada5; text-decoration: none; font-size: 24px; }
.sh-types a:hover { text-decoration: underline; }
.sh-field { background: var(--sh-wash); }
.sh-property { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; margin-top: 44px; }
.sh-property figure { margin: 0; }
.sh-property img { aspect-ratio: 4 / 3; object-fit: cover; }
.sh-property p { margin-top: 24px; }
.sh-property details { margin-top: 24px; }
.sh-property summary { cursor: pointer; padding-block: 12px; font-weight: bold; text-decoration: underline; text-underline-offset: 5px; }
.sh-property details p { font-size: 15px; margin-top: 16px; }
.sh-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.sh-flow ol { padding-left: 22px; margin: 0; }
.sh-flow li { padding: 0 0 24px 12px; }
.sh-flow li strong { display: block; font-size: 20px; }
.sh-contact { padding-block: 70px; border-top: 1px solid #a3ada5; }
.sh-note { font-size: 14px; color: var(--sh-muted); margin-top: 24px !important; }
@media (max-width: 960px) {
  .sh-wrap { width: calc(100% - 48px); }
  .sh-hero { min-height: 510px; }
  .sh-hero-copy { padding: 44px 30px 44px 0; }
  .sh-hero-media { height: 510px; }
  .sh-intro, .sh-flow { gap: 40px; }
  .sh-property { gap: 35px; }
  .sh-types { gap: 18px; }
  .sh-types a { font-size: 20px; }
  .sh-section { padding-block: 72px; }
}
@media (max-width: 640px) {
  .sh-wrap { width: calc(100% - 40px); }
  .sh-hero, .sh-intro, .sh-property, .sh-flow { grid-template-columns: 1fr; }
  .sh-hero-copy { padding: 42px 0; }
  .sh-hero-copy p { margin-top: 24px; }
  .sh-hero-media { height: auto; }
  .sh-hero-media img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
  .sh-hero-media figcaption { font-size: 12px; left: 12px; bottom: 12px; }
  .sh-types { grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 28px; }
  .sh-intro, .sh-property, .sh-flow { gap: 28px; }
  .sh-section { padding-block: 56px; }
  .sh-site { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .sh-site * { scroll-behavior: auto !important; } }
