/* Layout del prototipo: la palette è definita in theme.json. */
:root {
    --cit-blue: var(--wp--preset--color--blue);
    --cit-red: var(--wp--preset--color--red);
    --cit-paper: var(--wp--preset--color--paper);
}

body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.cit-top { padding: 8px max(5%, 20px); font-size: 13px; letter-spacing: 1px; }
.cit-brand { padding: 24px 20px; }
.cit-brand .wp-block-image { margin: 0; }
.cit-brand img { width: 76px; height: 76px; object-fit: contain; }
.cit-brand h2 { font-size: clamp(24px, 3vw, 38px); margin: 0; }
.cit-brand p { margin: 4px 0 0; letter-spacing: 5px; font-weight: bold; }
.cit-nav { padding: 15px 20px; border-top: 1px solid #e8e5de; }
.cit-nav .wp-block-navigation { font-size: 14px; font-weight: 700; }
.cit-hero { min-height: 530px; border-bottom: 6px solid var(--cit-red); padding: 65px 8%; }
.cit-hero h1 { font-size: clamp(48px, 7vw, 100px); line-height: .98; margin-block: 18px; }
.cit-hero p { max-width: 650px; }
.cit-kicker { font-size: 13px; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.cit-section { padding: 60px 28px; }
.cit-section h2 { font-size: clamp(32px, 4vw, 52px); }
.cit-intro img { width: 100%; height: 330px; object-fit: cover; }
.cit-tile { height: 100%; }
.cit-tile .wp-block-image { margin: 0; }
.cit-tile img { width: 100%; height: 230px; object-fit: cover; }
.cit-tile .cit-cap img { object-fit: contain; padding: 20px; box-sizing: border-box; }
.cit-tile-body { padding: 24px; }
.cit-tile h3 { font-size: 28px; }
.cit-books { min-height: 230px; display: grid; place-items: center; font-size: 65px; }
.cit-events img { width: 100%; height: 300px; object-fit: cover; }
.cit-news .wp-block-post { border-top: 3px solid var(--cit-red); padding-top: 18px; }
.cit-news .wp-block-post-featured-image img { width: 100%; height: 190px; object-fit: cover; }
.cit-footer { padding: 40px 28px; }
.cit-content { padding: 45px 24px; min-height: 40vh; }
.cit-content img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--wp--preset--color--gold); outline-offset: 3px; }
@media (max-width: 781px) {
    .cit-brand img { width: 52px; height: 52px; }
    .cit-hero { min-height: 440px; padding: 40px 6%; }
    .cit-section { padding: 40px 20px; }
    .cit-intro img { height: 260px; }
}
