/* Putra Putri Homestay. The old site's look (WordPress Twenty Seventeen):
   white title over the sunset, menu bar, white page, dark grey text, Libre
   Franklin. Home blocks use layout 9, "Text box over the photo", picked in
   lab/designs-r3/ on 2026-11-22. */

:root {
  --font: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
  --wa-icon: url("https://cdn.jsdelivr.net/npm/simple-icons@11.0.0/icons/whatsapp.svg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.66;
  -webkit-text-size-adjust: 100%;
}

a { color: #222; text-decoration: none; box-shadow: inset 0 -1px 0 rgba(15, 15, 15, 1); }
a:hover { color: #000; box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 rgba(0, 0, 0, 1); }
nav a, .site-title { box-shadow: none !important; }

h1, h2 { font-family: var(--font); color: #222; line-height: 1.3; }
.page-title { font-size: .82em; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin: 0 0 1.6em; }
h2 { font-size: 1.1em; font-weight: 800; margin: 2.2em 0 .7em; }
p, ul, ol { margin: 0 0 1.4em; }
.lead { font-size: 1.05em; }
.measure { max-width: 740px; }

.wrap { max-width: 1000px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
main.wrap { padding-top: 56px; padding-bottom: 56px; }

/* Header: the sunset with the site title on a dark fade */
.hero { position: relative; background: #222; }
.hero img { display: block; width: 100%; height: 460px; object-fit: cover; }
.branding {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 0 32px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .3) 75%, rgba(0, 0, 0, .3));
}
.site-title { display: inline-block; font-weight: 800; font-size: 2.1em; line-height: 1.2; letter-spacing: .08em; color: #fff; }
.tagline { margin: .25em 0 0; color: #fff; font-size: .95em; }

/* Menu */
nav.site-nav { background: #fff; border-bottom: 1px solid #eee; }
nav.site-nav .wrap { display: flex; flex-wrap: wrap; gap: 4px 28px; padding-top: 18px; padding-bottom: 18px; font-weight: 600; font-size: .88em; }
nav.site-nav a { color: #222; }
nav.site-nav a[aria-current] { color: #767676; }

/* Photos */
figure { margin: 0 0 1.4em; }
figure img { display: block; width: 100%; height: auto; }
figcaption { font-size: .8em; font-style: italic; color: #767676; margin-top: .5em; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }

/* Home blocks, layout 9: a 16:9 photo and a white box with the title and
   text overlapping its bottom edge. Blocks without a photo are plain text. */
.secs { margin-top: 3.6em; }
.sec + .sec { margin-top: 3.6em; }
.sec .photo { margin: 0; }
.sec .photo img { aspect-ratio: 16 / 9; object-fit: cover; }
.box { position: relative; background: #fff; width: 66%; margin: -110px 0 0 6%; padding: 30px 36px 6px; }
.box.solo { width: auto; max-width: 740px; margin: 0; padding: 0; }
.box h2 { margin: 0 0 .7em; }
.box > :last-child { margin-bottom: 0; }

.steps li, .links li { margin-bottom: .6em; }

/* WhatsApp: the icon is the link to the chat, the number is plain text */
.ico {
  display: inline-block; flex: none; width: 1.25em; height: 1.25em; vertical-align: -.25em;
  background: currentColor;
  -webkit-mask: var(--wa-icon) center / contain no-repeat;
  mask: var(--wa-icon) center / contain no-repeat;
}
.wa-green { color: #25d366; }
a.wa-ico { box-shadow: none !important; display: inline-flex; vertical-align: middle; padding: 2px; margin: -2px; }
a.wa-ico:hover .ico { color: #1fb457; }
.wa-num { display: inline-flex; align-items: center; gap: .4em; color: #222; white-space: nowrap; }
.wa-num .ico { width: 1.35em; height: 1.35em; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin: 0 0 .5em; }

footer.site-footer { border-top: 2px solid #eee; font-size: .85em; color: #767676; }
footer.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; }

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  main.wrap { padding-top: 36px; padding-bottom: 36px; }
  .hero img { height: 285px; }
  .branding { padding: 28px 0 20px; }
  .site-title { font-size: 1.68em; }
  .box { width: auto; margin: -36px 12px 0; padding: 20px 18px 4px; }
}
