/* Test 2 — a small two-language, two-page website for the CMS. */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--ink); background: #fff; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
.wrap { width: min(1000px, 100% - 2.5rem); margin-inline: auto; }
section { padding: 4rem 0; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 1rem; font-weight: 400; }
h2 { font-size: 1.7rem; margin: 0 0 1rem; font-weight: 400; }
.site-header { border-bottom: 1px solid #e6e8ee; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { font-size: 1.25rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 1.2rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); }
.langs { display: flex; gap: .3rem; font-family: system-ui, sans-serif; font-size: .85rem; }
.langs a { padding: .2rem .45rem; border-radius: 4px; text-decoration: none; color: #667; }
.langs a[aria-current="page"] { background: var(--brand); color: #fff; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero img, .portrait { border-radius: var(--radius); }
.lead { font-size: 1.2rem; color: #556; }
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.cards li { padding: 1.4rem; border: 1px solid #e6e8ee; border-radius: var(--radius); }
.cards h3 { margin: 0 0 .4rem; font-weight: 400; }
.cards p { margin: 0; color: #556; }
.soft { background: var(--soft); }
.portrait { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin-bottom: 1.5rem; }
.contact-form { margin-top: 2rem; font-family: system-ui, sans-serif; }
.contact-form .cms-contact-submit { background: var(--brand); border-color: var(--brand); color: #fff; }
.site-footer { padding: 1.5rem 0; color: #889; font-size: .9rem; border-top: 1px solid #e6e8ee; }
@media (max-width: 760px) { .hero .wrap { grid-template-columns: 1fr; } .nav { display: none; } }
