:root {
  color-scheme: light;
  font-family: "IBM Plex Sans Arabic", Tahoma, sans-serif;
  background: #f3f0e9;
  color: #252420;
  line-height: 1.6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
.wrap { width: min(100% - 2rem, 1040px); margin-inline: auto; }
.masthead { background: #252720; color: #faf7ed; border-bottom: 4px solid #b18b50; }
.masthead .wrap { padding-block: clamp(1.7rem, 5vw, 3.6rem); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 1.1; letter-spacing: -.035em; }
.masthead p { color: #ded4bc; margin-top: .7rem; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); align-items: start; padding-block: 2rem 3rem; }
.design { background: #fffefa; border: 1px solid #ddd4c2; overflow: hidden; border-radius: .65rem; }
.design img { display: block; width: 100%; height: auto; background: #e4d9c8; }
.design-content { padding: clamp(1rem, 3vw, 1.75rem); }
h2 { font-size: 1.65rem; margin-bottom: .9rem; }
h3 { font-size: 1.1rem; padding-top: .85rem; border-top: 1px solid #e4ddce; }
.comments { list-style: none; padding: 0; margin: .55rem 0 0; }
.comment { padding: .5rem 0 .65rem; border-bottom: 1px solid #ece5d8; overflow-wrap: anywhere; }
.comment-meta { display: flex; gap: .65rem; justify-content: space-between; align-items: baseline; }
time, label span, .status { color: #625d50; }
time { font-size: .8rem; white-space: nowrap; }
.comment p { margin-top: .25rem; white-space: pre-wrap; }
form { display: grid; gap: .7rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #e4ddce; }
label { display: grid; gap: .25rem; font-weight: 600; }
label span { display: inline; font-weight: 400; }
input, textarea, button { font: inherit; }
input, textarea { width: 100%; padding: .55rem .75rem; color: inherit; background: #fff; border: 1px solid #aea595; border-radius: .35rem; }
textarea { resize: vertical; }
:focus-visible { outline: 2px solid #795416; outline-offset: 3px; }
button { cursor: pointer; border-radius: .35rem; }
button:disabled { opacity: .65; cursor: wait; }
.submit { justify-self: start; background: #343c2d; color: white; border: 0; padding: .55rem 1.15rem; font-weight: 600; }
.more { background: transparent; color: #3e4835; border: 1px solid #b6ae9f; padding: .35rem .75rem; margin-top: .55rem; }
.form-status:empty { display: none; }
.form-status { color: #55401d; }
@media (max-width: 650px) { .gallery { grid-template-columns: 1fr; } }
