.subpage .page-main a { color:var(--blue); text-underline-offset:.2em; }
.subpage h1, .subpage h2, .subpage h3 { font-family:"Bona Nova",serif; font-weight:700; }
.subpage h1 { font-size:clamp(34px,4.6vw,56px); line-height:1.1; letter-spacing:-.018em; }
.subpage h2 { font-size:32px; line-height:1.25; letter-spacing:-.015em; }
.subpage h3 { font-size:25px; line-height:1.3; }
.subpage img { max-width:100%; height:auto; display:block; }
.page-main { max-width: 1160px; margin: 0 auto; padding: 40px 24px 80px; }
.page-main:focus { outline: none; }
/* sticky footer: short pages keep the footer at the viewport bottom */
.subpage { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.subpage .page-main { flex: 1 0 auto; width: 100%; }

/* porady listing */
.advice-source h1 { margin-bottom: 8px; }
.advice-featured, .advice-card {
  color: inherit; text-decoration: none;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 32px -14px rgba(26,25,23,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.subpage .page-main a.advice-featured, .subpage .page-main a.advice-card { color: inherit; }
.advice-featured:hover, .advice-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(26,25,23,.3); }
.advice-featured h2, .advice-card h2 { color: var(--ink); }
.advice-featured p, .advice-card p { color: var(--ink-soft, #3a382f); font: 400 15.5px/1.6 var(--utility); }
.advice-featured {
  margin-top: 36px;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: stretch;
}
.advice-featured img { width: 100%; height: 100%; object-fit: cover; }
.advice-featured .cx { padding: 38px 42px; align-self: center; }
.advice-featured h2 { font-size: clamp(24px, 2.6vw, 33px); line-height: 1.22; }
.advice-featured p { margin-top: 14px; font-size: 16px; }
.advice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.advice-card { display: flex; flex-direction: column; }
.advice-card img { width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; }
.advice-card .cx { padding: 24px 26px 28px; }
.advice-card h2 { font-size: 21px; line-height: 1.3; }
.advice-card p { margin-top: 10px; }
.empty-source { min-height: 240px; }
.article-source { max-width: 808px; font-size: 19px; line-height: 1.8; color: var(--ink-soft); overflow-wrap: break-word; }
.article-source > * + * { margin-top: 1.3em; }
.article-source > img { width: 100%; border-radius: 14px; }
.article-source h1 { color: var(--ink); margin-top: 36px; margin-bottom: 36px; }
.article-source h2, .article-source h3 { color: var(--ink); margin-top: 2em; margin-bottom: .65em; }
.article-source h2 + *, .article-source h3 + * { margin-top: 0; }
.article-source ul, .article-source ol { padding-left: 1.4em; }
.article-source li + li { margin-top: .75em; }
.article-source strong { font-weight: 600; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-details h1 { font-size: 34px; line-height: 1.25; }
.contact-details h1 + h1 { margin-top: 0; }
.contact-details p { margin-top: 22px; font: 400 17px/1.8 var(--utility); }
.contact-map iframe { width: 100%; max-width: 100%; height: 300px; border: 0; }

@media (max-width:900px) {
  .page-main { padding:30px 22px 60px; }
  .advice-featured { grid-template-columns:1fr; margin-top:24px; }
  .advice-featured img { aspect-ratio:16/9; height:auto; }
  .advice-featured .cx { padding:24px 24px 28px; }
  .advice-grid { grid-template-columns:1fr; gap:16px; margin-top:16px; }
  .advice-card img { aspect-ratio:16/7; }
  .article-source { font-size:18px; }
  .article-source h2 { font-size:29px; }
  .article-source h3 { font-size:24px; }
  .contact-layout { grid-template-columns:1fr; gap:36px; }
  .contact-details h1 { font-size:30px; }
}
@media (max-width:480px) { .page-main { padding-left:20px; padding-right:20px; } }
