/* Pagine, ricerca e 404: componenti interni coerenti con articolo e archivi. */
.nty-page-band { box-sizing: border-box; margin-block-start: 0 !important; padding: .65rem clamp(1.25rem,4vw,3rem); background: #f5f2ef; }
.nty-page-band__inner { width: 100%; max-width: 76rem; margin: 0 auto !important; }
.nty-page-band__inner > * { margin: 0 !important; }
.nty-page-band .nonestinguerti-breadcrumb { color: #5f6168; font-size: var(--wp--preset--font-size--small); }
.nty-page-band .nonestinguerti-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .6rem; margin: 0; padding: 0; list-style: none; }
.nty-page-band .nonestinguerti-breadcrumb li + li::before { margin-right: .6rem; color: #5f6168; content: "/"; }
.nty-page-band .nonestinguerti-breadcrumb a { display: inline-flex; min-height: 44px; align-items: center; color: #192847; text-decoration: underline; text-underline-offset: .15em; }
.nty-page-band .nonestinguerti-breadcrumb [aria-current="page"] { color: #11110f; font-weight: 700; }
.nty-page { box-sizing: border-box; width: 100%; max-width: calc(76rem + 2 * clamp(1.25rem,4vw,3rem)) !important; margin: 0 auto !important; padding: clamp(2rem,4vw,3.5rem) clamp(1.25rem,4vw,3rem) clamp(3rem,5vw,4rem) !important; }
.nty-page > * { max-width: none !important; margin-inline: 0 !important; }
.nty-page__header { max-width: 64rem !important; margin: 0 0 clamp(1.5rem,3vw,2.5rem) !important; }
.nty-page__title { box-sizing: border-box; width: 100%; min-width: 0; margin: 0 !important; color: #192847; font-size: var(--wp--preset--font-size--x-large); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.nty-page__dek { max-width: 52rem; margin: 1rem 0 0 !important; color: #444; font-size: var(--wp--preset--font-size--large); line-height: 1.45; }
.nty-page__dek:empty { display: none; }
.nty-page__figure { width: 100%; margin: 0 0 clamp(2rem,4vw,3rem) !important; }
.nty-page__figure img { display: block; width: 100%; height: auto; border-radius: 1.5rem; }
.nty-page__reading { width: 100%; max-width: none !important; margin: 0 !important; }
.nty-page__reading > .wp-block-post-content { width: 100%; max-width: none !important; margin: 0 !important; color: #11110f; font-size: var(--wp--preset--font-size--medium); line-height: 1.7; }
.nty-page__reading > .wp-block-post-content > * { max-width: none !important; margin-inline: 0 !important; }
.nty-page__reading > .wp-block-post-content > .alignwide,
.nty-page__reading > .wp-block-post-content > .alignfull,
.nty-page__reading > .wp-block-post-content > figure,
.nty-page__reading > .wp-block-post-content > .wp-block-image,
.nty-page__reading > .wp-block-post-content > .wp-block-gallery,
.nty-page__reading > .wp-block-post-content > .wp-block-cover { width: 100%; max-width: none !important; }
.nty-page__reading > .wp-block-post-content h2 { margin: 2.75rem 0 1rem !important; color: #192847; font-size: var(--wp--preset--font-size--heading-2); font-weight: 700; line-height: 1.2; scroll-margin-top: 6rem; }
.nty-page__reading > .wp-block-post-content h3 { margin: 2rem 0 .75rem !important; color: #192847; font-size: var(--wp--preset--font-size--large); font-weight: 700; line-height: 1.3; }
.nty-page__reading > .wp-block-post-content a { color: #192847; text-decoration: underline; text-underline-offset: .16em; }
.nty-page__reading > .wp-block-post-content blockquote { margin: 1.75rem 0 !important; padding: 1.5rem 1.75rem; border: 0; border-left: 6px solid #95c11f; border-radius: 1rem; background: #f0ede9; color: #192847; font-size: var(--wp--preset--font-size--large); font-style: italic; line-height: 1.55; }
.nty-page__reading > .wp-block-post-content ul,
.nty-page__reading > .wp-block-post-content ol { padding-left: 1.4em; line-height: 1.7; }
.nty-page__reading > .wp-block-post-content img { max-width: 100%; height: auto; border-radius: .9rem; }
.nty-page__reading > .wp-block-post-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }

.nty-page-search-banner { box-sizing: border-box; display: flex; min-height: 300px; align-items: center; margin-block-start: 0 !important; padding: 2.5rem clamp(1.25rem,4vw,3rem); background: #192847; color: #fff; }
.nty-page-search-banner .wp-block-query-title { margin: 0; color: #fff; font-size: var(--wp--preset--font-size--x-large); font-weight: 700; line-height: 1.1; }
.nty-page-search-banner .nty-cat-banner__inner { width: 100%; max-width: 76rem; margin: 0 auto !important; }
.nty-cat-row { position: relative; display: flex !important; min-width: 0; flex-direction: column; gap: .75rem; padding: 1.5rem 1.75rem !important; border: 1px solid #f2ede9; border-radius: 1.2rem; background: #fff; }
.nty-cat-row > * { margin: 0 !important; }
.nty-cat-row__meta { align-items: center; }
.nty-cat-row__tags { align-items: center; gap: .5rem .75rem; color: #5f6168; }
.nty-cat-row__tags > * { margin: 0 !important; }
.nty-cat-row__pill, .nty-cat-row__pill a { color: #11110f; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.nty-cat-row__pill { padding: .25rem .65rem; border-radius: 999px; background: #f2ede9; }
.nty-cat-row__title { color: #192847; }
.nty-cat-row__excerpt { color: #5f6168; }
.nty-cat-row__foot { display: flex !important; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .25rem !important; }
.nty-cat-row__foot .wp-block-post-author-name a { position: relative; z-index: 2; color: #11110f; font-size: var(--wp--preset--font-size--small); text-decoration: none; }
.nty-cat-row__foot .wp-block-post-author-name a:hover { text-decoration: underline; }
.nty-cat-row__foot > * { margin: 0 !important; }
.nty-cat-row:focus-within { outline: 3px solid #192847; outline-offset: 3px; }
.nty-readmore { color: #192847; font-weight: 700; }
.nty-meta__when { display: flex; align-items: center; gap: .5rem; color: #5f6168; }
.nty-meta__when, .nty-meta__when * { margin: 0; font-size: var(--wp--preset--font-size--small); }

.nty-page-search { box-sizing: border-box; width: 100%; max-width: calc(76rem + 2 * clamp(1.25rem,4vw,3rem)) !important; margin: 0 auto !important; padding: clamp(2rem,4vw,3.5rem) clamp(1.25rem,4vw,3rem) clamp(3rem,5vw,4rem) !important; }
.nty-page-search > * { max-width: none !important; margin-inline: 0 !important; }
.nty-page-search__form { margin: 0 0 2rem !important; }
.nty-page-search .nty-cat-search .wp-block-search__inside-wrapper,
.nty-page-404__form .wp-block-search__inside-wrapper { display: flex; min-height: 56px; align-items: center; overflow: hidden; border: 1px solid #f2ede9; border-radius: 999px; background: #fff; }
.nty-page-search .nty-cat-search .wp-block-search__input,
.nty-page-404__form .wp-block-search__input { box-sizing: border-box; min-width: 0; min-height: 52px; flex: 1; padding: 0 1.25rem; border: 0; background: transparent; color: #11110f; font: inherit; font-size: var(--wp--preset--font-size--medium); }
.nty-page-search .nty-cat-search .wp-block-search__button,
.nty-page-404__form .wp-block-search__button { display: grid; width: 48px; height: 48px; margin: 0 .25rem 0 0; place-items: center; border: 0; border-radius: 50%; background: #192847 !important; color: #fff !important; cursor: pointer; }
.nty-page-search__query .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.nty-page-search__query .wp-block-post-template > li { margin: 0 0 1.25rem !important; }
.nty-page-search__query .nty-cat-row__title a { color: #192847; text-decoration: none; }
.nty-page-search__query .nty-cat-row__title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.nty-cat-pagination { gap: 1rem; margin-top: 1.75rem; }
.nty-cat-pagination a, .nty-cat-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: #192847; font-weight: 600; text-decoration: none; }
.nty-cat-pagination .page-numbers.current { border-radius: 999px; background: #192847; color: #fff; }
.nty-cat-empty { margin: 0 !important; padding: 2rem; border: 1px solid #f2ede9; border-radius: 1.2rem; background: #fff; color: #5f6168; }

.nty-page-404 { box-sizing: border-box; width: 100%; max-width: calc(76rem + 2 * clamp(1.25rem,4vw,3rem)) !important; margin: 0 auto !important; padding: clamp(3rem,7vw,5.5rem) clamp(1.25rem,4vw,3rem) clamp(3rem,5vw,4rem) !important; }
.nty-page-404 > * { max-width: none !important; margin-inline: 0 !important; }
.nty-page-404__intro { max-width: none !important; margin: 0 0 clamp(3rem,6vw,4.5rem) !important; }
.nty-page-404__title { margin: 0 0 1rem !important; color: #192847; font-size: var(--wp--preset--font-size--x-large); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.nty-page-404__text { margin: 0 0 1.5rem !important; color: #444; line-height: 1.6; }
.nty-page-404__actions { margin: 1.25rem 0 0 !important; }
.nty-page-404__home .wp-block-button__link { display: inline-flex; min-height: 48px; align-items: center; padding: .65rem 1.4rem; border-radius: 999px; background: #192847; color: #fff; font-size: var(--wp--preset--font-size--small); font-weight: 700; text-decoration: none; }
.nty-page-404__home .wp-block-button__link:hover { background: #11110f; }
.nty-page-404__recent { max-width: none !important; margin: 0 !important; }
.nty-page-404__recent > h2 { margin: 0 0 1.25rem !important; color: #192847; font-size: var(--wp--preset--font-size--heading-2); }
.nty-page-404__recent .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.nty-page-404__recent .wp-block-post-template > li { margin: 0 0 1.25rem !important; }
.nty-page-404__recent .nty-cat-row__title a { color: #192847; text-decoration: none; }
.nty-page-404__recent .nty-cat-row__title a:hover { text-decoration: underline; text-underline-offset: .15em; }

.nty-page :focus-visible, .nty-page-search :focus-visible, .nty-page-404 :focus-visible { outline: 3px solid #192847; outline-offset: 3px; }
@media (max-width: 600px) {
	.nty-page__reading > .wp-block-post-content blockquote { padding: 1rem 1.1rem; }
	.nty-page-search .nty-cat-row { padding: 1.25rem !important; }
	.nty-page-search__query .nty-cat-row__meta { flex-wrap: wrap; }
	.nty-page-404 .nty-cat-row { padding: 1.25rem !important; }
}
@media (prefers-reduced-motion: reduce) {
	.nty-page *, .nty-page-search *, .nty-page-404 * { scroll-behavior: auto; animation-duration: .01ms; transition-duration: .01ms; }
}
