:root {
  --ink: #1d1d1f;
  --muted: #6b6b70;
  --line: #e6e6ea;
  --bg: #ffffff;
  --soft: #f6f6f8;
  --accent: #b5532a;
  --max: 1040px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.2em 0 .4em; }

.site-header, main, .site-footer { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }

/* header (rendered from the WordPress header template) */
.site-header { padding-top: 2rem; border-bottom: 1px solid var(--line); }
.site-header .row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.site-header .image img { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.site-header .text { color: var(--muted); max-width: 46rem; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding: 1rem 0; font-weight: 600; }
.site-header nav a { color: var(--ink); }
.site-header nav a[aria-current="page"] { color: var(--accent); }

/* Elementor sections and columns */
main { padding-bottom: 2rem; }
.row { display: grid; gap: 1.5rem; align-items: start; margin: 1.5rem 0; }
.row.cols-2 { grid-template-columns: 1fr 2fr; }
.row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.row .row { margin: 0; }
.col > :first-child { margin-top: 0; }
.image { margin: 0; }
.image img { border-radius: 6px; }
.icon-list { padding-left: 1.1rem; }

/* media page */
.videos .grid, .gallery .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.videos figure, .gallery figure { margin: 0; }
.videos img, .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--soft); }
figcaption { font-size: .9rem; color: var(--muted); margin-top: .3rem; }
.press-item { display: grid; grid-template-columns: 120px 1fr; gap: 1.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.press-item img { width: 120px; border-radius: 4px; }
.press-item h2 { margin-top: 0; font-size: 1.15rem; }
.press-item p { margin: .3rem 0; }

/* articles */
.post { max-width: 46rem; }
.post .date { color: var(--muted); margin-top: 0; }
.post figure { margin: 1rem 0; }

/* contact */
.contact { display: grid; gap: 1rem; max-width: 34rem; }
.contact label { display: grid; gap: .3rem; font-weight: 600; }
.contact input, .contact textarea { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 6px; }
.contact button { justify-self: start; font: inherit; font-weight: 600; padding: .6rem 1.4rem; border: 0; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer; }
.contact .hp { position: absolute; left: -9999px; }
.notice { padding: .8rem 1rem; border-radius: 6px; background: var(--soft); }

.site-footer { padding-top: 1.5rem; padding-bottom: 3rem; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .row.cols-2, .row.cols-3, .row.cols-4 { grid-template-columns: 1fr; }
  .press-item { grid-template-columns: 80px 1fr; }
  .press-item img { width: 80px; }
}
