/* Razzecanine.it - Modello 2. Verde bosco, oro, bianco. Foglio di stile condiviso da tutte le pagine (style.css). */
:root {
    color-scheme: light;
    --ink: #1e2924;
    --muted: #5b6760;
    --green: #153f32;
    --green-dark: #0c2b21;
    --gold: #b9974c;
    --gold-dark: #785b1d;
    --pale: #f3f7f4;
    --gold-pale: #faf7ef;
    --soft: #f7f8f6;
    --line: #dfe5df;
    --white: #ffffff;
    --radius: 7px;
    --width: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: break-word;
}
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button, input, select { border-radius: var(--radius); }
button { color: var(--ink); border: 1px solid var(--line); background: var(--white); }
input, select { color: var(--ink); background: var(--white); accent-color: var(--green); min-width: 0; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 4px; }
::selection { color: var(--white); background: var(--green); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -.045em; }
h1 { font-size: clamp(34px, 4.35vw, 58px); }
h2 { font-size: clamp(23px, 2.5vw, 31px); }
h3 { font-size: 20px; }
p + p { margin-top: 15px; }
small { font-size: 12px; }
ul, ol { margin: 0; padding: 0; }
button:disabled { cursor: not-allowed; }
.wrap { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.eyebrow { display: block; margin-bottom: 13px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.6; text-transform: uppercase; }
.lead { max-width: 670px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.fineprint, .source-note { font-size: 12px; line-height: 1.8; color: var(--muted); }
.source-note { margin-top: 14px; }
.source-note a, .prose a:not(.button), .faq-answer a { text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 12px; background: var(--white); z-index: 100; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 87px; display: flex; align-items: center; gap: 24px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 41px; height: 41px; display: grid; place-items: center; background: var(--green); color: var(--white); border-radius: 7px; border-bottom: 3px solid var(--gold); font-size: 20px; font-weight: 700; letter-spacing: -.09em; }
.brand-name { display: flex; font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.06em; }
.brand-name span { color: var(--gold-dark); }
.brand-tagline { display: block; margin-top: 3px; font-size: 10px; color: var(--muted); line-height: 1.4; }
.desktop-nav { display: flex; align-items: center; gap: 22px; }
.desktop-nav a { color: var(--ink); font-size: 12px; font-weight: 700; padding: 12px 0; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 8px; }
.desktop-nav .nav-action { background: var(--green); color: var(--white); padding: 10px 16px; border-radius: 6px; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 10px; min-height: 44px; cursor: pointer; font-size: 12px; font-weight: 700; border: 1px solid var(--line); border-radius: 6px; }
.mobile-menu summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker, .page-index summary::-webkit-details-marker { display: none; }
.hamburger { width: 19px; display: grid; gap: 4px; }
.hamburger i { width: 19px; height: 2px; background: var(--green); display: block; }
.mobile-menu[open] summary { background: var(--pale); border-color: var(--green); }
.mobile-menu nav { position: absolute; top: calc(100% + 12px); right: 0; width: min(310px, calc(100vw - 32px)); max-height: calc(100dvh - 100px); overflow-y: auto; padding: 10px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 14px 35px #153f3220; border-radius: var(--radius); }
.mobile-menu nav a { display: block; padding: 12px; color: var(--green); font-size: 14px; font-weight: 700; }
.mobile-menu nav a + a { border-top: 1px solid var(--line); }
.directory-hero { padding: 58px 0 0; }
.directory-hero-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 55px; align-items: center; }
.directory-hero h1 { margin-bottom: 22px; }
.directory-hero h1 em { display: block; color: var(--green); font-style: normal; }
.search-form { display: flex; gap: 10px; margin-top: 26px; max-width: 640px; }
.search-form input { width: 100%; min-width: 0; padding: 15px 17px; border: 1px solid #b5c5ba; outline-offset: 2px; -webkit-appearance: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--green); color: var(--white); padding: 12px 21px; font-weight: 700; font-size: 13px; line-height: 1.6; border: 1px solid var(--green); border-radius: 6px; text-align: center; min-height: 45px; }
.button:hover { background: var(--green-dark); color: var(--white); text-decoration: none; }
.button.secondary { background: var(--white); color: var(--green); border-color: #a8b8ad; }
.button.secondary:hover { background: var(--pale); }
.button.gold { background: var(--gold); border-color: var(--gold); color: #18271f; }
.button.gold:hover { background: #c7aa69; }
.hero-index { background: var(--pale); border: 1px solid #d4e0d6; border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 27px 29px; }
.hero-index-head { display: flex; justify-content: space-between; gap: 15px; color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.big-az { font-size: clamp(62px, 6vw, 87px); color: var(--green); font-weight: 700; line-height: 1.25; letter-spacing: -.1em; padding: 25px 0 18px; }
.hero-index strong { display: block; line-height: 1.55; font-size: 16px; }
.hero-index p { font-size: 12px; color: var(--muted); margin: 10px 0 19px; }
.hero-index a { font-size: 12px; font-weight: 700; }
.quick-paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; padding: 32px 0; margin-top: 20px; border-bottom: 1px solid var(--line); }
.quick-paths a { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 12px; font-weight: 700; padding: 10px 0; }
.path-icon { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: var(--gold-pale); color: var(--gold-dark); font-size: 13px; border-radius: 6px; }
.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 24px; }
.result-count { font-size: 12px; color: var(--muted); text-align: right; }
.catalog-tools { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap: 15px; padding: 20px; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); margin: 22px 0; align-items: end; }
.field { min-width: 0; }
.field label { display: block; font-size: 11px; font-weight: 700; margin-bottom: 7px; }
.field select, .field input { width: 100%; padding: 11px 12px; border: 1px solid #bdc9c0; font-size: 13px; min-height: 44px; }
.reset-button { padding: 12px; font-size: 11px; font-weight: 700; min-height: 44px; color: var(--green); background: var(--white); border-color: #bdc9c0; }
.alphabet { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 24px; }
.alphabet button { min-width: 32px; min-height: 36px; padding: 5px 9px; font-size: 11px; font-weight: 700; }
.alphabet button[aria-pressed="true"] { color: var(--white); background: var(--green); border-color: var(--green); }
.alphabet button:disabled { color: #7b837d; background: #f5f5f2; border-color: #eceee9; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.breed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.breed-card { padding: 23px; display: flex; flex-direction: column; position: relative; transition: border-color .18s, box-shadow .18s; min-width: 0; }
.breed-card:hover { border-color: #91a995; box-shadow: 0 5px 17px #153f320a; }
.breed-card.featured { border-color: var(--gold); }
.breed-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.breed-top > span:last-child { white-space: nowrap; color: var(--gold-dark); }
.flag { font-size: 16px; margin-right: 4px; }
.breed-card h3 { font-size: 18px; line-height: 1.4; margin: 17px 0 9px; }
.breed-card h3 a { color: var(--ink); }
.breed-meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 11px; }
.card-link { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: auto; padding-top: 20px; font-size: 12px; font-weight: 700; }
.card-link > span { color: var(--gold-dark); }
.catalog-more { text-align: center; margin-top: 27px; }
.catalog-more .fineprint { margin-top: 10px; }
.empty-state { padding: 35px; background: var(--gold-pale); border: 1px solid #e6dcc7; border-radius: var(--radius); }
.empty-state h3 { margin-bottom: 10px; }
.directory-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 34px; background: var(--pale); border: 1px solid #d4e0d6; border-left: 4px solid var(--gold); border-radius: var(--radius); }
.directory-feature h2 { margin-bottom: 16px; }
.directory-feature p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.facts { width: 100%; border-collapse: collapse; font-size: 13px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts th { font-weight: 400; color: var(--muted); width: 39%; padding-right: 15px; }
.facts td { font-weight: 700; }
.facts tr:last-child > * { border-bottom: 0; }
.directory-lower { display: grid; grid-template-columns: 1.55fr 1fr; gap: 38px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; align-items: start; justify-content: space-between; gap: 22px; cursor: pointer; font-weight: 700; font-size: 13px; padding: 20px 2px; color: var(--ink); line-height: 1.65; }
.faq-item summary::after { content: '+'; flex-shrink: 0; color: var(--gold-dark); font-size: 19px; line-height: 1.2; font-weight: 400; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item[open] summary { color: var(--green); }
.faq-answer { padding: 0 25px 22px 2px; font-size: 14px; color: var(--muted); }
.related-box { border: 1px solid #dcccaa; border-top: 3px solid var(--gold); background: var(--gold-pale); border-radius: var(--radius); padding: 27px; }
.related-box h2, .related-box h3 { margin-bottom: 12px; }
.related-box p { font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.related-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; border-top: 1px solid #e5dbc8; font-size: 13px; font-weight: 700; }
.related-link small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); font-weight: 400; }
.related-link > span:last-child { color: var(--gold-dark); }
.notice { background: var(--gold-pale); border: 1px solid #e6dcc7; border-left: 3px solid var(--gold); padding: 22px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 13px; }
.notice strong { color: var(--green); }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.source-card { padding: 24px; }
.source-card strong { display: block; color: var(--ink); font-size: 15px; }
.source-card span { display: block; color: var(--muted); font-size: 12px; margin: 7px 0 12px; }
.source-card small { color: var(--green); font-weight: 700; }
.site-footer { margin-top: 30px; background: var(--green-dark); color: #f7faf5; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 60px; padding: 42px 0; }
.footer-grid h2 { font-size: 24px; margin-bottom: 15px; }
.footer-grid h2 span { color: #d5bb7e; }
.footer-grid h3 { color: #d5bb7e; font-size: 12px; letter-spacing: .05em; margin-bottom: 17px; text-transform: uppercase; }
.footer-grid p { font-size: 12px; color: #cfdbd2; max-width: 420px; }
.footer-links { display: grid; gap: 9px; }
.site-footer a { color: #f7faf5; font-size: 12px; }
.footer-bottom { border-top: 1px solid #365448; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #cfdbd2; font-size: 10px; }
.page-hero { padding: 46px 0 34px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 950px; margin-bottom: 18px; font-size: clamp(31px, 4vw, 50px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 25px; }
.breadcrumbs span[aria-hidden] { color: var(--gold-dark); }
.page-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 25px 0 0; }
.tag { padding: 6px 11px; border: 1px solid #d7e0d9; color: var(--green); border-radius: 5px; font-size: 11px; background: var(--pale); }
.tag.gold-tag { border-color: #dfd0ac; background: var(--gold-pale); color: var(--gold-dark); }
.page-index { margin: 28px 0 0; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.page-index summary { padding: 14px 0; font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 15px; }
.page-index summary::after { content: '+'; color: var(--gold-dark); }
.page-index[open] summary::after { content: '\2212'; }
.page-index nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 0 0 20px; }
.page-index nav a { font-size: 12px; }
.article-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.article-main { min-width: 0; }
.article-main .section:first-child { padding-top: 0; }
.article-main h2, .prose h2 { margin-bottom: 20px; }
.article-main p, .prose p { margin-bottom: 17px; }
.identity-card { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 25px; background: var(--white); }
.identity-card h2 { font-size: 22px; margin-bottom: 15px; }
.identity-card .fineprint { margin-top: 16px; }
.sidebar-stack { display: grid; gap: 25px; }
.article-notice { font-size: 12px; color: var(--muted); border-left: 3px solid var(--gold); padding: 8px 0 8px 16px; }
.breed-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.breed-navigation a { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; font-weight: 700; }
.breed-navigation small { display: block; font-size: 10px; color: var(--gold-dark); margin-bottom: 8px; font-weight: 400; }
.directory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.directory-tile { padding: 26px; display: flex; flex-direction: column; }
.directory-tile .tile-number { color: var(--gold-dark); font-size: 13px; margin-bottom: 20px; font-weight: 700; }
.directory-tile h2 { font-size: 20px; margin-bottom: 13px; }
.directory-tile p { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.directory-tile a { margin-top: auto; font-size: 12px; font-weight: 700; }
.prose { max-width: 820px; }
.prose h2:not(:first-child) { margin-top: 35px; }
.prose h3 { font-size: 18px; margin: 24px 0 14px; }
.prose ul { padding-left: 22px; margin-bottom: 22px; }
.prose li { padding: 4px 0; }
.compact-search { max-width: 720px; margin-bottom: 20px; }
.budget-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0; }
.budget-total { background: var(--pale); border-left: 3px solid var(--gold); padding: 24px; margin: 22px 0; }
.budget-total strong { display: block; font-size: 28px; color: var(--green); }
.budget-total p { font-size: 12px; margin: 5px 0; }
.error-message { color: #553f14; background: var(--gold-pale); padding: 12px; font-size: 12px; }
@media (min-width: 1001px) { .page-index nav { padding-top: 3px; } }
@media (max-width: 1100px) {
    .desktop-nav { gap: 15px; }
    .brand-name { font-size: 21px; }
    .directory-hero-grid { gap: 32px; }
    .catalog-tools { grid-template-columns: 1fr 1fr; }
    .reset-button { width: 100%; }
}
@media (max-width: 940px) {
    .desktop-nav { display: none; }
    .mobile-menu { display: block; }
    .directory-hero-grid { grid-template-columns: 1.4fr 1fr; gap: 25px; }
    .hero-index { padding: 23px; }
    .directory-lower { grid-template-columns: 1.4fr 1fr; gap: 24px; }
    .article-layout { grid-template-columns: 1.25fr 1fr; gap: 26px; }
    .breed-grid, .directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { gap: 32px; }
}
@media (max-width: 720px) {
    .wrap { width: calc(100% - 36px); }
    .header-inner { min-height: 77px; gap: 12px; }
    .brand-mark { width: 36px; height: 36px; font-size: 18px; }
    .brand-name { font-size: 20px; }
    .brand-tagline { font-size: 8px; }
    .brand { gap: 8px; }
    .directory-hero { padding-top: 33px; }
    .directory-hero-grid { grid-template-columns: 1fr; gap: 25px; }
    .directory-hero h1 { font-size: clamp(31px, 6.8vw, 44px); }
    .lead { font-size: 15px; line-height: 1.8; }
    .hero-index { padding: 23px; }
    .big-az { font-size: 59px; padding: 13px 0 8px; }
    .hero-index p { margin: 8px 0 13px; }
    .quick-paths { grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-top: 8px; padding: 20px 0; }
    .quick-paths a { font-size: 11px; gap: 8px; padding: 6px 0; }
    .path-icon { width: 34px; height: 34px; font-size: 11px; }
    .section { padding: 32px 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
    .result-count { text-align: left; }
    .catalog-tools { gap: 14px; padding: 16px; }
    .catalog-tools .field:nth-child(3) { grid-column: 1 / -1; }
    .catalog-tools .reset-button { grid-column: 1 / -1; }
    .field select { padding: 11px 8px; font-size: 12px; }
    .breed-grid { gap: 12px; }
    .breed-card { padding: 17px 14px; }
    .breed-top { flex-direction: column; gap: 2px; font-size: 9px; }
    .breed-card h3 { font-size: 15px; margin-top: 13px; }
    .breed-meta { font-size: 10px; gap: 4px; }
    .card-link { font-size: 10px; padding-top: 17px; }
    .flag { font-size: 15px; }
    .directory-feature, .directory-lower, .article-layout { grid-template-columns: 1fr; gap: 26px; }
    .directory-feature { padding: 24px; }
    .source-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; padding: 32px 0; }
    .footer-about { grid-column: 1 / -1; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
    .page-hero { padding: 27px 0; }
    .page-hero h1 { font-size: 33px; }
    .page-meta { gap: 7px; }
    .tag { font-size: 10px; padding: 6px 9px; }
    .identity-card { padding: 22px; }
    .article-layout .sidebar-stack { grid-row: 1; }
    .article-layout .sidebar-stack .related-box { display: none; }
    .desktop-related { display: none; }
    .mobile-related { display: block; }
    .breed-navigation { gap: 12px; }
    .breed-navigation a { padding: 15px; font-size: 11px; }
    .directory-grid { gap: 14px; }
    .directory-tile { padding: 20px; }
    .directory-tile h2 { font-size: 17px; }
    .directory-tile p { font-size: 11px; }
}
@media (min-width: 721px) { .mobile-related { display: none; } }
@media (max-width: 420px) {
    .menu-word { display: none; }
    .mobile-menu summary { padding: 11px; }
    .brand-name { font-size: 19px; }
    .search-form { gap: 8px; }
    .search-form input { padding: 12px; font-size: 14px; }
    .search-form .button { padding: 12px 16px; font-size: 12px; gap: 8px; }
    .directory-hero h1 { font-size: 32px; }
    .hero-index-head { font-size: 8px; }
    .page-hero h1 { font-size: 29px; }
    .directory-grid { grid-template-columns: 1fr; }
    .budget-grid { grid-template-columns: 1fr; }
}
@media (max-width: 370px) {
    .wrap { width: calc(100% - 28px); }
    .breed-grid { grid-template-columns: 1fr; }
    .breed-top { flex-direction: row; }
    .breed-card h3 { font-size: 18px; }
    .catalog-tools { grid-template-columns: 1fr; }
    .brand-tagline { max-width: 185px; }
    .facts { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
@media print {
    .site-header, .quick-paths, .site-footer, .page-index, .catalog-tools, .alphabet, .search-form, .catalog-more, .breed-navigation { display: none !important; }
    .wrap { width: 100%; }
    body { font-size: 11pt; }
    h1 { font-size: 27pt !important; }
    .article-layout, .directory-lower { display: block; }
    .sidebar-stack { margin-bottom: 25px; }
    .section { padding: 20px 0; }
    a { color: var(--ink); }
    .faq-item, .card, .identity-card { break-inside: avoid; }
    .faq-answer { display: block !important; }
}
  
/* Correzioni funzionali e accessibilita: identita grafica invariata. */
.breed-card { min-width: 0; }
.breed-card h3 { overflow-wrap: anywhere; }
.breed-card h3 a { display: inline; }
.breed-top > span:first-child { overflow-wrap: anywhere; }
.catalog-scope { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.catalog-tools select { width: 100%; max-width: 100%; text-overflow: ellipsis; }
.reference { font-size: .82em; vertical-align: super; white-space: nowrap; }
.facts td, .facts th { overflow-wrap: anywhere; }
.facts { table-layout: fixed; width: 100%; }
.identity-card .fineprint { margin-top: 14px; }
.card.source-card { min-width: 0; overflow-wrap: anywhere; }
.source-card strong { line-height: 1.5; }
.article-main p + p { margin-top: 16px; }
.editorial-link { display: inline-block; margin-top: 14px; font-weight: 700; }
.alias-box { max-width: 820px; margin-inline: auto; }
.alias-box .button { margin-top: 22px; }
.section-reference { font-size: 12px; color: var(--muted); margin-top: 14px; }
.alphabet { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.alphabet button { min-width: 36px; min-height: 38px; padding: 5px 9px; font-weight: 700; }
.alphabet button[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.alphabet button:disabled { color: #87938c; background: var(--soft); opacity: .65; }
.revision-note { border-left: 3px solid var(--gold); padding: 14px 18px; background: var(--gold-pale); margin-top: 20px; font-size: 13px; }
@media (max-width: 720px) {
  .facts th { width: 42%; }
  .breed-navigation { gap: 12px; }
  .breed-navigation a { min-width: 0; overflow-wrap: anywhere; }
  .page-meta { align-items: flex-start; }
  .page-meta .tag { max-width: 100%; white-space: normal; }
}
  
/* Estensione del catalogo: nomi lunghi e indici geografici. */
h1, h2, h3, .tag, .brand-name, .related-link, .breed-navigation a { overflow-wrap: anywhere; }
.section + .section { border-top: 1px solid var(--line); }
.catalog-description { color: var(--muted); font-size: 12px; margin: 12px 0 18px; }
.source-standard { margin-top: 18px; font-size: 13px; }
.source-standard a { text-decoration: underline; }
.editorial-list { margin: 14px 0 22px; padding-left: 24px; }
.editorial-list li { margin: 9px 0; }
.origin-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.catalog-noscript { padding: 16px; border: 1px solid var(--line); margin: 16px 0; font-size: 13px; }
.breed-card h3 { line-height: 1.4; }
.breed-top > span:first-child { min-width: 0; }
.desktop-nav [aria-current="page"], .mobile-menu [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 420px) { .page-hero h1 { font-size: 32px; } .page-meta { gap: 7px; } }

/* Fotografie di razza: file JPEG locali, senza ritaglio del soggetto. */
.breed-photo-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 36px;
}
.breed-photo-intro { min-width: 0; }
.breed-photo-intro h1 { font-size: clamp(30px, 3.1vw, 44px); }
.breed-photo { margin: 0; min-width: 0; }
.breed-photo a { display: block; }
.breed-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.breed-photo figcaption {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
}
.breed-photo figcaption a { display: inline; text-decoration: underline; }
.catalog-photo { display: block; margin-bottom: 17px; }
.catalog-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 4px;
}
@media (max-width: 850px) {
    .breed-photo-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .breed-photo { max-width: 680px; width: 100%; }
    .breed-photo-intro h1 { font-size: clamp(30px, 6vw, 42px); }
}
@media print {
    .breed-photo-layout { display: block; }
    .breed-photo { max-width: 100mm; margin-top: 15px; }
}