/* Terre Narranti - responsive audit corrections 2026-11-05
   Presentation only. No change to desktop at widths >=1101 or mouse devices. */
@media (max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse) {
  /* Actual drawer/menu control, including pages with a text-only hamburger */
  html body header.tn-agreed-header .tn-agreed-head-inner {overflow:visible!important}
  html body header.tn-agreed-header nav.tn-agreed-nav.open {position:absolute!important;z-index:9999!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
  html body header.tn-agreed-header button.tn-agreed-menu-btn:not(:has(span)){font-size:0!important;line-height:1!important}
  html body header.tn-agreed-header button.tn-agreed-menu-btn:not(:has(span))::after{content:"☰";display:block;font:400 46px/1 Arial,sans-serif!important}
  html body header.tn-agreed-header button.tn-agreed-menu-btn[aria-expanded="true"]:not(:has(span))::after{content:"×"!important;font-size:52px!important}
  /* Book and album covers must never escape their image area */
  html body .tn-novita-grid>article{display:flex!important;flex-direction:column!important;min-width:0!important}
  html body .tn-novita-grid>article .tn-cover{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;box-sizing:border-box!important}
  html body .tn-novita-grid>article .tn-cover img{position:static!important;display:block!important;flex:none!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:430px!important;object-fit:contain!important;margin:0 auto!important}
  html body .tn-novita-grid>article .tn-copy{position:relative!important;display:flex!important;flex-direction:column!important;flex:1 0 auto!important;width:100%!important;min-width:0!important;box-sizing:border-box!important}
  html body .tn-novita-grid>article .tn-copy :is(h2,h3,p){position:static!important;max-width:100%!important}
  html body .tn-novita-grid>article:first-child{border-top:4px solid #8a6b3c!important}
  html body .tn-novita-grid>article:nth-child(2){margin-top:30px!important;border-top:4px solid #24503c!important}
  html body .tn-novita-grid>article:nth-child(3){border-top:4px solid #24503c!important}
  html body .tn-novita-grid>article:first-child::before{content:"LIBRI · STORIE DA LEGGERE";font:700 14px/1.35 Arial,sans-serif!important;letter-spacing:.1em;color:#694a25;display:block!important;padding:15px 22px 4px!important;align-self:stretch}
  html body .tn-novita-grid>article:nth-child(2)::before{content:"MUSICA · ALBUM DA ASCOLTARE";font:700 14px/1.35 Arial,sans-serif!important;letter-spacing:.1em;color:#24503c;display:block!important;padding:15px 22px 4px!important;align-self:stretch}
  /* Sidebar article controls must be readable */
  html body .tn-story-flow .tn-action-groups,html body .tn-action-panel .tn-action-groups{grid-template-columns:minmax(0,1fr)!important}
  html body .tn-action-panel .tn-action-button{font-size:19px!important;line-height:1.35!important;padding:13px 20px!important;min-height:52px!important;box-sizing:border-box!important}
  /* "La Stufa fuori casa" and "Cucino io": scale text along with hero */
  html body .stufa-detail-wrap .stufa-detail-intro p,
  html body .stufa-detail-wrap .stufa-detail-intro .lead,
  html body .stufa-detail-wrap .stufa-contact p,
  html body .stufa-detail-wrap .stufa-rule span{font-size:20px!important;line-height:1.55!important}
  html body .stufa-detail-wrap .stufa-rule strong{font-size:23px!important;line-height:1.3!important}
  html body .stufa-detail-wrap .stufa-rule{padding:21px 20px!important;min-height:0!important}
  html body .stufa-detail-wrap .stufa-rules,
  html body .stufa-detail-wrap .stufa-contact{grid-template-columns:minmax(0,1fr)!important}
  html body main.legacy-content .page-hero p{font-size:21px!important;line-height:1.55!important}
  /* Other audited small controls */
  html body .maiale-hero-v41,html body .maiale-story-grid-v41,html body .maiale-cd-grid-v41,html body .home26-values-grid{grid:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:26px!important}
  html body .maiale-hero-v41 img,html body .maiale-story-grid-v41 img{max-width:100%!important;height:auto!important}
  html body main .maiale-btn-v41,html body main .maiale-text-btn-v41{font-size:19px!important;line-height:1.35!important;min-height:54px!important;padding:14px 20px!important;box-sizing:border-box!important}
  html body main .tn-unified-contact-cta a,html body main .entra26-contact-grid a{font-size:19px!important;line-height:1.4!important;min-height:52px!important;box-sizing:border-box!important}
}
@media (min-width:861px) and (max-width:1100px) and (pointer:coarse) {
  html body header.tn-agreed-header button.tn-agreed-menu-btn:not(:has(span))::after{font-size:70px!important}
  html body header.tn-agreed-header button.tn-agreed-menu-btn[aria-expanded="true"]:not(:has(span))::after{font-size:75px!important}
  html body .tn-novita-grid>article .tn-cover img{max-height:520px!important}
  html body .tn-novita-grid>article:first-child::before,html body .tn-novita-grid>article:nth-child(2)::before{font-size:23px!important;padding:23px 30px 8px!important}
  html body .tn-action-panel .tn-action-button{font-size:27px!important;min-height:72px!important;padding:18px 26px!important}
  html body .stufa-detail-wrap .stufa-detail-intro p,html body .stufa-detail-wrap .stufa-detail-intro .lead,html body .stufa-detail-wrap .stufa-contact p,html body .stufa-detail-wrap .stufa-rule span{font-size:29px!important;line-height:1.5!important}
  html body .stufa-detail-wrap .stufa-rule strong{font-size:35px!important}
  html body .stufa-detail-wrap .stufa-rule{padding:30px 32px!important}
  html body main.legacy-content .page-hero p{font-size:30px!important}
  html body main .maiale-btn-v41,html body main .maiale-text-btn-v41{font-size:28px!important;min-height:72px!important;padding:19px 27px!important}
  html body main .tn-unified-contact-cta a,html body main .entra26-contact-grid a{font-size:28px!important;min-height:72px!important}
}

/* Higher-specificity exceptions validated in browser */
@media (max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body #novita-libri-musica.tn-novita .tn-novita-grid>article .tn-cover{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
html body #novita-libri-musica.tn-novita .tn-novita-grid>article .tn-cover img{height:auto!important;max-height:450px!important;width:auto!important;max-width:100%!important;object-fit:contain!important}
html body #page-maiale .maiale-hero-v41,html body #page-maiale .maiale-story-grid-v41,html body #page-maiale .maiale-cd-grid-v41{grid:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important}
}
@media (min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body #novita-libri-musica.tn-novita .tn-novita-grid>article .tn-cover img{max-height:450px!important}
}

/* 20261105: deep-level targeted corrections */
@media(max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse){
/* Trovarobe navigation and its six category pages */
html body main.wrap>.door-grid,html body main.wrap>section.grid{grid:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
html body main.wrap>.door-grid>* ,html body main.wrap>section.grid>*{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
html body main.wrap .tool-door a,html body main.wrap .card a,html body main.wrap .note a,html body main.wrap .callout a{font-size:19px!important;line-height:1.35!important;min-height:49px!important;display:inline-flex!important;align-items:center!important;padding:11px 15px!important;box-sizing:border-box!important}
html body main.wrap .tool-door p,html body main.wrap .card p{font-size:19px!important;line-height:1.5!important}
html body main.wrap .tool-door h2,html body main.wrap .card h2{font-size:29px!important;line-height:1.25!important}
/* Project hero sections */
html body #page-pilone .pilone-hero-v67,
html body #page-riso .riso-hero-v44,
html body #page-radici .radici-hero-v49{grid:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:25px!important}
html body #page-pilone .pilone-hero-v67>*,html body #page-riso .riso-hero-v44>*,html body #page-radici .radici-hero-v49>*{min-width:0!important;max-width:100%!important}
html body #page-pilone .pilone-hero-v67 img,html body #page-riso .riso-hero-v44 img,html body #page-radici .radici-hero-v49 img{max-width:100%!important;height:auto!important;object-fit:contain!important}
/* Public press-room access and collaborator onboarding */
html body .press-access-wrap .access-tabs,html body .press-access-wrap .press-access-grid,html body #publicArea .collab-hero,html body #registerForm .collab-checks{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
html body .press-access-wrap .access-tabs button,html body #publicArea .collab-btn{font-size:19px!important;line-height:1.3!important;min-height:54px!important;padding:13px 18px!important;box-sizing:border-box!important}
html body .press-access-wrap :is(input,select,textarea),html body #publicArea :is(input,select,textarea){max-width:100%!important;box-sizing:border-box!important}
/* Other visible controls */
html body #page-maiale .maiale-btn-v41,html body #page-maiale .maiale-text-btn-v41,html body #page-maiale .maiale-tracks-v41 a{font-size:19px!important;line-height:1.35!important;min-height:52px!important;padding:12px 16px!important;box-sizing:border-box!important}
html body #novita-libri-musica .tn-actions a{font-size:19px!important;min-height:50px!important;padding:13px 18px!important;line-height:1.3!important;box-sizing:border-box!important}
html body .vcn6-end a{font-size:19px!important;min-height:50px!important;padding:13px 18px!important}
html body a.tn-context-wa{font-size:18px!important;min-height:50px!important;line-height:1.3!important;padding:13px 18px!important}
}
@media(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body main.wrap .tool-door a,html body main.wrap .card a,html body main.wrap .note a,html body main.wrap .callout a{font-size:28px!important;min-height:72px!important;padding:18px 24px!important}
html body main.wrap .tool-door p,html body main.wrap .card p{font-size:29px!important}
html body main.wrap .tool-door h2,html body main.wrap .card h2{font-size:42px!important}
html body .press-access-wrap .access-tabs button,html body #publicArea .collab-btn{font-size:27px!important;min-height:73px!important;padding:18px 23px!important}
html body #page-maiale .maiale-btn-v41,html body #page-maiale .maiale-text-btn-v41,html body #page-maiale .maiale-tracks-v41 a{font-size:27px!important;min-height:72px!important;padding:17px 24px!important}
html body #novita-libri-musica .tn-actions a,html body .vcn6-end a,html body a.tn-context-wa{font-size:27px!important;min-height:70px!important;padding:17px 24px!important}
}

/* 20261105: specificity fixes for home and CTAs */
@media(max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body #page-home .home26-values.home26-values-approved .home26-wrap.home26-values-grid{grid:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
html body #novita-libri-musica.tn-novita .tn-novita-grid article .tn-copy .tn-actions a{font-size:19px!important;line-height:1.35!important;min-height:54px!important;padding:13px 18px!important}
html body #page-maiale .maiale-hero-actions-v41 a.maiale-btn-v41,html body #page-maiale .maiale-hero-actions-v41 a.maiale-text-btn-v41{font-size:20px!important;line-height:1.35!important;min-height:54px!important;padding:14px 19px!important}
html body main.wrap a{font-size:max(18px,1em)!important}
html body .tn-story-flow .tn-action-panel .tn-action-button{font-size:19px!important;min-height:52px!important}
}
@media(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body #page-maiale .maiale-hero-actions-v41 a.maiale-btn-v41,html body #page-maiale .maiale-hero-actions-v41 a.maiale-text-btn-v41{font-size:28px!important;min-height:75px!important;padding:20px 26px!important}
html body #novita-libri-musica.tn-novita .tn-novita-grid article .tn-copy .tn-actions a{font-size:27px!important;min-height:72px!important;padding:18px 26px!important}
html body main.wrap a{font-size:max(27px,1em)!important}
html body .tn-story-flow .tn-action-panel .tn-action-button{font-size:27px!important;min-height:72px!important}
}

/* TN mobile audit: remaining controls and contact links (2026-11-05) */
@media(max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body .shelf-talk-books a,
html body .talk-actions a,
html body #page-home .home26-actions a.home26-pill,
html body button.tn-context-wa,
html body .entra26-contact-card a[href^="mailto:"],
html body .legal-wrap .legal-links a,
html body .privacy-wrap-v70 a,
html body .tn-privacy-check-v70 a,
html body .press-access-wrap .tn-privacy-check-v70 a{
  font-size:19px!important;line-height:1.4!important;
  min-height:49px!important;padding:11px 15px!important;
  display:inline-flex!important;align-items:center!important;
  box-sizing:border-box!important;max-width:100%!important;
  overflow-wrap:anywhere!important;white-space:normal!important;
}
html body .shelf-talk-books a,html body .talk-actions a,
html body #page-home .home26-actions a.home26-pill,
html body button.tn-context-wa{
  font-family:Arial,sans-serif!important;font-weight:700!important;
}
html body .entra26-contact-card a[href^="mailto:"]{word-break:break-word!important}
}
@media(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body .shelf-talk-books a,
html body .talk-actions a,
html body #page-home .home26-actions a.home26-pill,
html body button.tn-context-wa,
html body .entra26-contact-card a[href^="mailto:"],
html body .legal-wrap .legal-links a,
html body .privacy-wrap-v70 a,
html body .tn-privacy-check-v70 a,
html body .press-access-wrap .tn-privacy-check-v70 a{
  font-size:27px!important;line-height:1.4!important;
  min-height:68px!important;padding:16px 22px!important;
}
}

/* 20261105 deep Trovarobe back link */
@media(max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body main.wrap a.back{font:700 19px/1.35 Arial,sans-serif!important;display:inline-flex!important;align-items:center!important;min-height:52px!important;padding:12px 16px!important;box-sizing:border-box!important;max-width:100%!important}
}
@media(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body main.wrap a.back{font-size:28px!important;min-height:74px!important;padding:18px 24px!important}
}

/* Trovarobe lower navigation 20261105 */
@media(max-width:860px),(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body section.bottom a.back{font:700 19px/1.35 Arial,sans-serif!important;display:inline-flex!important;align-items:center!important;min-height:52px!important;padding:12px 16px!important;box-sizing:border-box!important;white-space:normal!important}
}
@media(min-width:861px) and (max-width:1100px) and (pointer:coarse){
html body section.bottom a.back{font-size:28px!important;min-height:74px!important;padding:18px 24px!important}
}

/* Home mobile hero main action 20261105 */
@media(max-width:860px){
html body #page-home .home26-mobile-hero-copy a.home26-pill{font:700 19px/1.35 Arial,sans-serif!important;min-height:54px!important;padding:14px 20px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;max-width:100%!important}
}
