.page-head { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); padding: 48px 0 40px; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.page-head p { margin: 12px 0 0; max-width: 680px; font-size: 1.05rem; }
.hero .wrap.hero-compact { display: block; padding-top: 40px; padding-bottom: 24px; }
.hero-compact h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero-compact p { margin: 12px 0 0; max-width: 680px; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.page-body { padding: 56px 0 72px; }

.prose { max-width: 68ch; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 18px; border-left: 3px solid var(--brand-light); }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line-soft); padding: 8px 10px; text-align: left; }
.cover { border-radius: var(--radius); margin-bottom: 28px; width: 100%; max-height: 420px; object-fit: cover; }

.split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.form-card { border-radius: var(--radius); border: 1px solid var(--line-soft); }
.form-card .row + .row, .form-card .row + div, .form-card > div + div { margin-top: 14px; }
.form-card .btn { margin-top: 18px; }
.flash { margin: 0 0 18px; padding: 14px 18px; border-radius: 10px; background: var(--soft); border-left: 4px solid var(--brand); color: var(--ink); font-weight: 600; }
.flash.err { background: var(--error-bg); border-color: var(--error); }
.flash ul { margin: 6px 0 0; padding-left: 20px; font-weight: 500; }
.side { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.side h2 { font-size: 1.3rem; margin-bottom: 14px; }
.side .fcontact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side a:hover { color: var(--brand); text-decoration: underline; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s; }
.post:hover { box-shadow: 0 10px 30px rgba(30,20,36,.1); }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post div { padding: 18px 20px 22px; }
.post time { font-size: .8rem; font-weight: 600; color: var(--muted); }
.post h2 { font-size: 1.15rem; margin: 4px 0 8px; }
.post p { margin: 0; font-size: .93rem; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.empty { text-align: center; padding: 40px 0; }
.empty p { margin: 0 0 16px; }

.notfound { text-align: center; padding: 96px 0; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.notfound .hero-btns { justify-content: center; margin-top: 24px; }
.notfound p { margin: 0 auto; max-width: 46ch; }
.notfound .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-top: 28px; }
.notfound .links a { color: var(--brand); text-decoration: underline; padding: 8px 0; }

.status { margin: 0 0 10px; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--brand); font-weight: 700; font-size: .85rem; }
.badge.cancelled { background: var(--error-bg); color: var(--error); }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .posts { grid-template-columns: 1fr; }
  .page-head { padding: 36px 0 28px; }
  .page-body { padding: 40px 0 56px; }
}
