:root {
    color-scheme: light;
    --ink: #172625;
    --muted: #425956;
    --line: #cad8d4;
    --accent: #075b52;
}

* { box-sizing: border-box; }
body { margin: 0; background: #f5f8f6; color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.catalog-container { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.catalog-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .85rem; min-height: 4.5rem; padding-block: .75rem; }
.header-inner img { display: block; max-width: 100%; height: auto; }
.portal-link { display: inline-block; padding-block: .4rem; font-weight: 650; }
.catalog-intro { padding-block: 3.5rem 2rem; }
.catalog-intro h1 { margin: 0; font: 700 3.25rem/1.1 system-ui, sans-serif; }
.catalog-intro p { max-width: 58ch; margin: .75rem 0 0; color: var(--muted); font-size: 1.075rem; }
.theme-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; list-style: none; padding: 0; margin: 0 0 3rem; }
.theme { height: 100%; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.theme-image { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 740; object-fit: cover; border-bottom: 1px solid var(--line); }
.theme-copy { padding: 1.2rem 1.35rem 1.35rem; }
.theme-copy h2 { margin: 0; font-size: 1.35rem; }
.theme-copy p { margin: .3rem 0 .75rem; color: var(--muted); }
.theme-copy a { display: inline-block; padding-block: .3rem; font-weight: 700; }
.theme-copy a:hover, .portal-link:hover { color: #073e38; }
@media (max-width: 42rem) {
    .catalog-intro { padding-block: 2.25rem 1.35rem; }
    .catalog-intro h1 { font-size: 2.3rem; }
    .theme-list { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
    .theme-copy { padding: .95rem 1rem 1rem; }
}
