/*
Theme Name: Home Styling Shop
Theme URI: https://www.homestylingshop.nl/
Description: Homepage en wandklok-hub voor Home Styling Shop.
Author: Home Styling Shop
Template: bloghash
Version: 1.2.0
Text Domain: bloghash-child
*/

:root {
  --paper: #f3efe7;
  --ink: #1a1814;
  --muted: #5c564c;
  --line: #d8d0c3;
  --clay: #8d3b2c;
  --card: #faf7f2;
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --measure: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
}

.skip:focus { top: 0.5rem; }

.disclosure {
  margin: 0;
  padding: 0.45rem 1.25rem;
  background: var(--ink);
  color: #efeae2;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-align: center;
}

.masthead {
  border-bottom: 1px solid var(--line);
}

.masthead-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { text-decoration: none; }

.brand-name {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-line {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover { color: var(--clay); }

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.hero-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  margin-bottom: 0.9rem;
}

.hero-intro .hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.hero-intro .kicker { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(3, minmax(140px, 1fr));
  gap: 0.7rem;
  min-height: 640px;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: #ddd4c6;
  text-decoration: none;
  min-height: 140px;
}

.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tile-main { grid-row: 1 / span 3; }

.tile-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(20, 16, 12, 0.72), rgba(20, 16, 12, 0));
  color: #f6f1e8;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.tile-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tile-title {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tile-main .tile-title { font-size: clamp(2rem, 3vw, 2.8rem); }

.tile:hover img { transform: scale(1.04); }

.kicker, .card-kicker {
  margin: 0 0 0.7rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; }

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.thuis {
  max-width: 42rem;
  padding: 2.75rem 0 0.5rem;
}

.thuis h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.thuis p { margin: 0 0 0.9rem; }

.thuis .lede {
  color: var(--muted);
  font-size: 1.15rem;
}

.text-link, .buy {
  color: var(--clay);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.text-link:hover, .buy:hover { color: var(--ink); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  margin: 2.5rem 0 1.25rem;
}

.section-head h2, .rubrieken h2, .colofon h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #e4dcd0;
  overflow: hidden;
}

.card-body {
  padding: 0.95rem 1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.card-kicker {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
}

.card-kicker span {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  color: var(--ink);
}

.card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.15;
}

.card-body p:last-of-type {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.card-foot span { color: var(--muted); }

.buy { text-decoration: none; white-space: nowrap; }

.buy::after { content: " →"; }

.rubrieken { padding: 0.5rem 0 2.5rem; }

.rooms {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.rooms .tile {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.rooms .tile-title { font-size: clamp(1.25rem, 1.6vw, 1.7rem); }

.verhalen { padding-bottom: 1rem; }

.stories {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.story { display: flex; flex-direction: column; }

.story-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ddd4c6;
  margin-bottom: 0.85rem;
}

.story h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.story h3 a { text-decoration: none; }

.story h3 a:hover { color: var(--clay); }

.story > p:last-of-type {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.story .text-link { margin-top: auto; }

.colofon {
  border-top: 1px solid var(--line);
  background: #ebe4d8;
  margin-top: 1rem;
}

.colofon-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1.35rem;
}

.colofon-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2rem 1.5rem;
}

.colofon-brand .brand-name { margin: 0 0 0.7rem; }

.colofon-brand p:last-child {
  margin: 0;
  max-width: 22rem;
  color: var(--muted);
}

.colofon-label {
  margin: 0.15rem 0 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.colofon nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.colofon nav a {
  color: var(--ink);
  text-decoration: none;
}

.colofon nav a:hover { color: var(--clay); }

.colofon-base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.colofon-base p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .products, .split, .stories { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .split { grid-template-rows: none; min-height: 0; }
  .tile-main { grid-row: auto; min-height: 420px; }
  .tile { min-height: 220px; }
  .hero-intro { flex-direction: column; align-items: flex-start; }
  .masthead-inner { flex-direction: column; align-items: flex-start; }
  .nav { justify-content: flex-start; }
  .section-head { flex-direction: column; gap: 0.4rem; }
  .products {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }
  .products li {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .rubrieken a { flex-direction: column; }
  .rubrieken a span { text-align: left; }
  .colofon-grid { grid-template-columns: 1fr 1fr; }
  .colofon-brand { grid-column: 1 / -1; }
  .colofon-base { flex-direction: column; }
}

.partner { font-size: 0.82rem; }

.hub {
  padding-top: 2rem;
}

.hub-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}

.hub-hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  background: #ddd4c6;
}

.hub-hero h1 { margin: 0 0 0.8rem; }

.hub-hero p { margin: 0 0 0.9rem; }

.hub-hero .lede {
  color: var(--muted);
  font-size: 1.15rem;
}

.sizes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
}

.size h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
}

.size ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.size li { margin: 0.4rem 0; }

.size a { text-decoration: none; }

.size a:hover { color: var(--clay); }

.doors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.doors a {
  display: block;
  padding: 1.15rem 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
}

.doors a:hover { border-color: var(--clay); }

.doors strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
}

.doors span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hub-hero, .sizes, .doors { grid-template-columns: 1fr; }
  .hub-hero img { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.sheet { padding-top: 2.5rem; }

.sheet h1 { max-width: 18em; }

.meta {
  margin: 0.35rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-figure {
  margin: 0 0 1.6rem;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e7e0d4;
}

.entry { max-width: 42rem; }

.entry > *:first-child { margin-top: 0; }

.entry p,
.entry ul,
.entry ol,
.entry blockquote,
.entry figure,
.entry table { margin: 0 0 1rem; }

.entry h1,
.entry h2 {
  font-size: 1.7rem;
  margin: 2rem 0 0.6rem;
}

.entry h3 { font-size: 1.3rem; margin: 1.6rem 0 0.45rem; }

.entry ul,
.entry ol { padding-left: 1.2rem; }

.entry li { margin: 0.3rem 0; }

.entry a { color: var(--clay); }

.entry img,
.entry figure img {
  width: auto;
  max-width: 100%;
  height: auto;
}

.entry blockquote {
  padding-left: 1rem;
  border-left: 2px solid var(--line);
  color: var(--muted);
}

.back {
  display: inline-block;
  margin-top: 1.6rem;
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
}

.zoek {
  display: flex;
  gap: 0.6rem;
  max-width: 36rem;
  margin: 0.4rem 0 1.6rem;
}

.zoek input {
  flex: 1;
  border: 1px solid var(--line);
  background: var(--card);
  color: inherit;
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.zoek button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.pager { margin-top: 2rem; }

.pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
}

.pager a,
.pager .current {
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
}

.comments {
  max-width: 42rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.comment-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }

.comment-list li { margin: 0 0 1rem; }

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--card);
  color: inherit;
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.comment-form .submit {
  width: auto;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}
