/* scorecard-fix-20261102: remove stock Plone breadcrumbs + 'Powered by Plone' footer credit */
[aria-label="Breadcrumbs"].breadcrumbs{display:none!important}
#footer a[href="https://plone.org"],#footer [role="listitem"]:has(>a[href="https://plone.org"]),footer a[href="https://plone.org"]{display:none!important}
/* t6909u 20261109: show the Related Items block again (hidden by site-go-related-20261106).
   Keep native .related-items visible on every content type, including directory listings
   whose theme bundle sets display:none. Visual styling stays in lic-pagination.css. */
.related-items,
.ui.container.related-items,
:root body #view > .related-items.ui.container,
:root body #view > .related-items,
:root body .ui.container.related-items,
.contenttype-directory-listing .related-items,
.contenttype-directory_listing .related-items,
body.qw-lic.contenttype-directory-listing .related-items,
body.qw-lic.contenttype-directory_listing .related-items{
  display:block!important;
}

/* t6908u 20261109: inset LIC newsletter signup like QW t6793u (20px 22px desktop / 16px small screens). */
body.qw-lic #view #page-document section.qw-newsletter,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-newsletter,
body.qw-lic section.qw-newsletter,
body.qw-lic footer section.qw-newsletter,
body.qw-lic .qw-footer section.qw-newsletter{
  padding:20px 22px!important;
  box-sizing:border-box!important;
}
@media (max-width:480px){
body.qw-lic #view #page-document section.qw-newsletter,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-newsletter,
body.qw-lic section.qw-newsletter,
body.qw-lic footer section.qw-newsletter,
body.qw-lic .qw-footer section.qw-newsletter{
  padding:16px!important;
}
}

/* t6912u 20261109: restore inner padding on boxed/colored panels.
   lic-pagination content-width (t6369u) sets padding-left/right:0!important on
   #page-document > * and .blocks-group-wrapper > *, which flushes slate callouts
   (Get listed), this-day, community, newsletter and similar painted panels.
   Reference: QW signup / t6908u, 20px 22px desktop and 16px at <=480px.
   Do not target nav, header, footer chrome, heroes, or map canvases. */
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--cta,
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--notice,
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--source,
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--info,
body.qw-lic #view #page-document .qw-slate.has--qw--cta,
body.qw-lic #view #page-document .qw-slate.has--qw--notice,
body.qw-lic #view #page-document .qw-slate.has--qw--source,
body.qw-lic #view #page-document .qw-slate.has--qw--info,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-thisday,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-community-latest,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-newsletter,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-promo,
body.qw-lic section.qw-thisday,
body.qw-lic section.qw-community-latest,
body.qw-lic section.qw-newsletter,
body.qw-lic section.qw-promo,
body.qw-lic footer section.qw-newsletter,
body.qw-lic .qw-footer section.qw-newsletter,
body.qw-lic #view > .lic-cta-end,
body.qw-lic .lic-cta-end,
body.qw-lic #view > .related-items,
body.qw-lic .related-items,
body.qw-lic.contenttype-news-item #view > .related-items,
body.qw-lic.contenttype-guide #view > .related-items,
body.qw-lic #view #page-document blockquote,
body.qw-lic #view #page-document .block.eventMetadata .details-container,
body.qw-lic .block.eventMetadata .details-container,
body.qw-lic .qw-forum__community,
body.qw-lic .qw-evcard{
  padding:20px 22px!important;
  box-sizing:border-box!important;
  max-width:100%;
}
@media (max-width:480px){
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--cta,
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--notice,
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--source,
body.qw-lic #view #page-document .blocks-group-wrapper > .qw-slate.has--qw--info,
body.qw-lic #view #page-document .qw-slate.has--qw--cta,
body.qw-lic #view #page-document .qw-slate.has--qw--notice,
body.qw-lic #view #page-document .qw-slate.has--qw--source,
body.qw-lic #view #page-document .qw-slate.has--qw--info,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-thisday,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-community-latest,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-newsletter,
body.qw-lic #view #page-document .blocks-group-wrapper > section.qw-promo,
body.qw-lic section.qw-thisday,
body.qw-lic section.qw-community-latest,
body.qw-lic section.qw-newsletter,
body.qw-lic section.qw-promo,
body.qw-lic footer section.qw-newsletter,
body.qw-lic .qw-footer section.qw-newsletter,
body.qw-lic #view > .lic-cta-end,
body.qw-lic .lic-cta-end,
body.qw-lic #view > .related-items,
body.qw-lic .related-items,
body.qw-lic.contenttype-news-item #view > .related-items,
body.qw-lic.contenttype-guide #view > .related-items,
body.qw-lic #view #page-document blockquote,
body.qw-lic #view #page-document .block.eventMetadata .details-container,
body.qw-lic .block.eventMetadata .details-container,
body.qw-lic .qw-forum__community,
body.qw-lic .qw-evcard{
  padding:16px!important;
}
}

/* t6912u-related-specificity: beat lic-pagination 992px padding-left/right:0 on non-news Related */
body.qw-lic:not(.contenttype-news-item):not(.contenttype-guide) #view > .related-items,
body.qw-lic:not(.contenttype-news-item):not(.contenttype-guide) #view>.related-items{
  padding:20px 22px!important;
  box-sizing:border-box!important;
}
@media (max-width:480px){
body.qw-lic:not(.contenttype-news-item):not(.contenttype-guide) #view > .related-items,
body.qw-lic:not(.contenttype-news-item):not(.contenttype-guide) #view>.related-items{
  padding:16px!important;
}
}

/* t6926u lic-content-width-20261110: shared theme-starter content_width_matches_header.
   Header container + #view use --site-content-max (Wilder formula: 40px gutters,
   cap 1200px). Maps --lic-edge-w so existing lic-pagination content-width rules
   follow. Mobile keeps the current 18px padding. Footer background stays
   full-bleed; .qw-footer__inner is already 1200px at 1280 and is pinned here.
   Rollback: lic-sc-fix.css.bak-pre-width-20261110 (see ROLLBACK.md).
*/
body.qw-lic{
  --site-content-gutter:40px;
  --site-content-gutter-mobile:18px;
  --site-content-cap:1200px;
  --site-content-max:min(calc(100vw - 80px),1200px);
  --lic-edge-w:var(--site-content-max);
  --narrow-container-width:var(--site-content-max);
  --default-container-width:var(--site-content-max);
  --layout-container-width:var(--site-content-max);
}
@media (max-width:768px){
  body.qw-lic{
    --site-content-max:min(calc(100vw - 36px),1200px);
    --lic-edge-w:var(--site-content-max);
    --narrow-container-width:var(--site-content-max);
    --default-container-width:var(--site-content-max);
    --layout-container-width:var(--site-content-max);
  }
}

/* Desktop: gutters come from the centered 1200px container, not header-wrapper padding. */
@media (min-width:769px){
  body.qw-lic .header-wrapper{
    padding-left:0!important;
    padding-right:0!important;
  }
  body.qw-lic .header-wrapper > .q.container.layout,
  body.qw-lic .header-wrapper .header{
    width:var(--site-content-max)!important;
    max-width:var(--site-content-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.qw-lic #main .content-area #view,
  body.qw-lic #main .content-area,
  body.qw-lic #view{
    width:var(--site-content-max)!important;
    max-width:var(--site-content-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
  body.qw-lic .qw-footer__inner,
  body.qw-lic footer .qw-footer__inner{
    width:var(--site-content-max)!important;
    max-width:var(--site-content-max)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }
}

/* t6929u: Developments nav icon (Lucide building-2, same 24px stroke set as News–Advertise).
   /development was unmapped and fell back to the `page` placeholder (circle r=3).
   CSS mask so the icon survives Volto client hydration without a frontend image rebuild.
   Source of truth: packages/volto-qw/src/components/nav/QwIcons.jsx (icon `developments`). */
body.qw-lic a[href*="/development"] svg.qw-ico{
  background-color:currentColor;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2022V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202v18Z%22%2F%3E%3Cpath%20d%3D%22M6%2012H4a2%202%200%200%200-2%202v6a2%202%200%200%200%202%202h2%22%2F%3E%3Cpath%20d%3D%22M18%209h2a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202h-2%22%2F%3E%3Cpath%20d%3D%22M10%206h4%22%2F%3E%3Cpath%20d%3D%22M10%2010h4%22%2F%3E%3Cpath%20d%3D%22M10%2014h4%22%2F%3E%3Cpath%20d%3D%22M10%2018h4%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2022V4a2%202%200%200%201%202-2h8a2%202%200%200%201%202%202v18Z%22%2F%3E%3Cpath%20d%3D%22M6%2012H4a2%202%200%200%200-2%202v6a2%202%200%200%200%202%202h2%22%2F%3E%3Cpath%20d%3D%22M18%209h2a2%202%200%200%201%202%202v9a2%202%200%200%201-2%202h-2%22%2F%3E%3Cpath%20d%3D%22M10%206h4%22%2F%3E%3Cpath%20d%3D%22M10%2010h4%22%2F%3E%3Cpath%20d%3D%22M10%2014h4%22%2F%3E%3Cpath%20d%3D%22M10%2018h4%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
}
body.qw-lic a[href*="/development"] svg.qw-ico *{
  opacity:0!important;
}

/* t6949s36999: listing-item inner padding at 390; gallery arrow contrast.
   Beat body.qw-lic #page-document .block.listing.summary .listing-item {padding:14px 0!important}
   and .block.listing .image-gallery .ui.button {color:#000!important}. */
@media (max-width: 480px) {
  body.qw-lic #page-document .block.listing.default .listing-item,
  body.qw-lic #page-document .block.listing.summary .listing-item,
  body.qw-lic #view #page-document .block.listing.summary li.listing-item {
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }
}
body.qw-lic #view .image-gallery .ui.button.image-gallery-icon,
body.qw-lic #page-document .image-gallery .ui.button.image-gallery-icon,
body.qw-lic #page-document .block.listing .image-gallery .ui.button,
body.qw-lic .block.listing .image-gallery .ui.button.image-gallery-left-nav,
body.qw-lic .block.listing .image-gallery .ui.button.image-gallery-right-nav,
body.qw-lic .block.listing .image-gallery .ui.button.image-gallery-play-button,
body.qw-lic .block.listing .image-gallery .ui.button.image-gallery-fullscreen-button {
  color: #fff !important;
}
body.qw-lic #view .image-gallery .ui.button.image-gallery-icon svg,
body.qw-lic #page-document .image-gallery .ui.button.image-gallery-icon svg {
  fill: #fff !important;
  color: #fff !important;
}


/* t7164s37983: Tips nav icon (Lucide lightbulb 0.460.0, same 24px stroke set as News–Advertise).
   /tips is unmapped in the live frontend QwIcons BY_URL and falls back to the `page` placeholder.
   CSS mask so the icon survives Volto client hydration without a frontend image rebuild.
   Next frontend image should add BY_URL['/tips'] = 'tips' in QwIcons.jsx. */
body.qw-lic a[href="/tips"] svg.qw-ico,
body.qw-lic a[href="/tips/"] svg.qw-ico,
body.qw-lic a[href="https://longislandcity.info/tips"] svg.qw-ico,
body.qw-lic a[href="https://longislandcity.info/tips/"] svg.qw-ico{
  background-color:currentColor;
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%2014c.2-1%20.7-1.7%201.5-2.5%201-.9%201.5-2.2%201.5-3.5A6%206%200%200%200%206%208c0%201%20.2%202.2%201.5%203.5.7.7%201.3%201.5%201.5%202.5%22%2F%3E%3Cpath%20d%3D%22M9%2018h6%22%2F%3E%3Cpath%20d%3D%22M10%2022h4%22%2F%3E%3C%2Fsvg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M15%2014c.2-1%20.7-1.7%201.5-2.5%201-.9%201.5-2.2%201.5-3.5A6%206%200%200%200%206%208c0%201%20.2%202.2%201.5%203.5.7.7%201.3%201.5%201.5%202.5%22%2F%3E%3Cpath%20d%3D%22M9%2018h6%22%2F%3E%3Cpath%20d%3D%22M10%2022h4%22%2F%3E%3C%2Fsvg%3E");
  -webkit-mask-size:contain;
  mask-size:contain;
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
}
body.qw-lic a[href="/tips"] svg.qw-ico *,
body.qw-lic a[href="/tips/"] svg.qw-ico *,
body.qw-lic a[href="https://longislandcity.info/tips"] svg.qw-ico *,
body.qw-lic a[href="https://longislandcity.info/tips/"] svg.qw-ico *{
  opacity:0!important;
}


/* t7164s37983: Tip items have no lead images. Hide Volto default-image
   placeholders in the All tips listing so each row is title and description only.
   Scoped to the tips section (and Tip pages, if a lead placeholder appears).
   The Tip of the Day / Tip of the Week panels are text only and have no image. */
body.qw-lic.section-tips #page-document .block.listing img[src*="default-image"],
body.qw-lic.section-tips #page-document .block.listing .image-placeholder,
body.qw-lic.contenttype-tip #page-document img[src*="default-image"],
body.qw-lic.contenttype-tip #page-document .image-placeholder {
  display: none !important;
}
