/* Text links remain recognizable; cards and controls have their own affordances. */
a{text-underline-offset:.22em;text-decoration-thickness:1px;text-decoration-skip-ink:auto}

/* Prose and standalone editorial links. */
#main :is(p,li) a:not(.button):not(.text-link),
#nnc-home p a:not(.nh-button),
.camp-page :is(p,li) a:not(.camp-link),
.event-detail :is(p,li) a:not(.button),
.nnc-legal a,
.nnc-cookie-banner p a,.nnc-privacy-dialog p a{
 text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em
}
#main a.text-link,#main .hero-guide-link,#main .memory-game-link,
#main .guide-answer a,#main .camp-note a,
#nnc-home .nh-text-link .nnc-link-label{
 text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;border-bottom:0
}

/* Linked cards and photographs do not need a line beneath every word. */
#main :is(.press-card,.community-link,.interest-card,.album-cover,.ritual-photo-link,.city-chat-link,.meme-watch),
#main .mini-help-links nav a,#main .sticker-photo>a,
#nnc-calendar-live .k-event h3 a,.camp-page .partner-mark a,
.event-detail a.button{ text-decoration:none }
#main .community-link strong,#main .press-card h3,#main .press-read{ text-decoration:none }

/* Ratings stay together; emphasize the provider on hover, not scores or stars. */
#main a.rating-link,#main a.service-map-link,#main .service-links a,
#service-map .nnc-service-popup a,#service-map .leaflet-control-attribution a{
 text-decoration:none;border-bottom:0
}
#main .service-contact summary{text-decoration:none;border-bottom:0;border-radius:3px}
#main .service-contact summary:is(:hover,:focus-visible){background:#f0eaf9;color:#5017bd}

/* Leaflet uses anchors as buttons. Keep its functional dividing borders. */
#service-map .leaflet-control-zoom a,#service-map .leaflet-control-zoom a span,
#service-map a.leaflet-popup-close-button,#service-map a.leaflet-popup-close-button span,
a[role="button"],a.button,a.btn,a.nh-button{text-decoration:none}

#main :is(.photo-credit,.join-credit,.hero-source),#main figcaption a,
.nnc-footer .nnc-footer-brand{text-decoration:none}

#main a.rating-link:focus-visible .rating-platform,
#main a.service-map-link:focus-visible,#main .service-links a:focus-visible,
#service-map .nnc-service-popup a:focus-visible,#service-map .leaflet-control-attribution a:focus-visible,
#main .community-link:focus-visible strong,#main .press-card:focus-visible h3,
#nnc-calendar-live .k-event h3 a:focus-visible,#main figcaption a:focus-visible{text-decoration:underline}
@media(hover:hover){
 #main a.rating-link:hover{text-decoration:none}
 #main a.rating-link:hover .rating-platform,
 #main a.service-map-link:hover,#main .service-links a:hover,
 #service-map .nnc-service-popup a:hover,#service-map .leaflet-control-attribution a:hover,
 #main .community-link:hover strong,#main .press-card:hover h3,
 #nnc-calendar-live .k-event h3 a:hover,#main figcaption a:hover{
  text-decoration:underline;text-decoration-thickness:1px
 }
 #main a.text-link:hover,#main .hero-guide-link:hover,#main .memory-game-link:hover{text-decoration-thickness:2px}
 #service-map a.rating-link:hover{text-decoration:none}
}
