/* AA Photo Galleries v1.1.6 */
html{scroll-behavior:smooth}.aag-gallery-embed{width:100%;max-width:820px;margin:34px 0 38px}.aag-slide-card{width:100%;min-width:0;scroll-margin-top:24px}.aag-slide-title{margin:0 0 16px!important;color:#111!important;font:900 clamp(24px,2.4vw,32px)/1.1 Arial,Helvetica,sans-serif!important;letter-spacing:-.025em!important}.aag-slide-media{margin:0!important;width:100%;background:#f3f3f3;overflow:hidden}.aag-slide-media img,.aag-gallery-image{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;margin:0!important;object-fit:contain!important}.aag-slide-description{margin:20px 0 0;color:inherit;font:inherit}.aag-slide-description p{margin:0 0 22px!important;font:inherit!important;line-height:inherit!important;color:inherit!important}.aag-gallery-inline-ad:empty{display:none}.aag-gallery-inline-ad{width:100%;margin:24px 0}.aag-gallery-after-copy-ad{margin-top:8px;margin-bottom:34px}


.aag-gallery-controls{display:grid;width:100%;grid-template-columns:1fr;gap:12px;margin:26px 0 28px;font-family:Arial,Helvetica,sans-serif}.aag-btn{box-sizing:border-box;width:100%;min-height:112px;display:flex!important;align-items:center;justify-content:center;gap:16px;padding:20px 24px;border-radius:16px!important;text-decoration:none!important;border-bottom:0!important;font-family:Arial,Helvetica,sans-serif!important;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}.aag-btn:hover{transform:translateY(-2px);filter:brightness(.98)}.aag-btn strong,.aag-btn-next-gallery{font:900 clamp(26px,3.2vw,42px)/1 Arial,Helvetica,sans-serif!important;letter-spacing:-.025em}.aag-btn>span{font:900 28px/1 Arial,Helvetica,sans-serif}.aag-btn-next-photo,.aag-btn-next-gallery{color:#080808!important;border:1px solid #ffb22e!important;background:linear-gradient(135deg,#ffc64d,#ff8c12)!important;box-shadow:0 0 26px rgba(255,148,20,.35),0 14px 36px rgba(0,0,0,.18)!important}.aag-btn-next-gallery{width:100%}

/* Gallery mode begins at photo 2. The normal article title, byline, image,
   global left rail, share bar and Trending sidebar disappear, while the site's
   complete top navigation and footer remain untouched. */
body.aag-gallery-mode{background:#fff!important;color:#111!important;overflow-x:hidden!important}body.aag-gallery-mode .aas-global-leftnav,body.aag-gallery-mode .aas-post-sidebar,body.aag-gallery-mode .aas-post-header,body.aag-gallery-mode .aas-content-featured,body.aag-gallery-mode .aaee-share-bar-100{display:none!important}body.aag-gallery-mode .aas-page-frame{display:block!important;max-width:none!important;background:#fff!important}body.aag-gallery-mode .aas-page-frame:before,body.aag-gallery-mode .aas-global-leftnav:before{display:none!important}body.aag-gallery-mode .aas-page-content{width:100%!important;max-width:none!important;background:#fff!important}body.aag-gallery-mode .aas-page-content>.aas-content-wrap{width:min(1540px,calc(100% - 36px))!important;max-width:none!important;margin:0 auto!important}body.aag-gallery-mode .aas-content-main{padding-top:32px!important}body.aag-gallery-mode .aas-post-layout{display:block!important;width:100%!important;max-width:none!important}body.aag-gallery-mode .aas-content-article{width:100%!important;max-width:none!important}body.aag-gallery-mode .aas-content-body{width:100%!important;max-width:none!important}body.aag-gallery-mode .aaee-shell-100{width:100%!important;max-width:none!important;margin:0!important}body.aag-gallery-mode .aaee-template-integrated-100>.aaee-article-copy-100{width:100%!important;max-width:none!important}body.aag-gallery-mode .aaee-related-zone-100{width:100%!important;max-width:none!important;left:auto!important}body.aag-gallery-mode .aaee-longform-nav{margin-left:auto!important;margin-right:auto!important}body.aag-gallery-mode .aaee-conversation-slot-100{max-width:1180px;margin-left:auto!important;margin-right:auto!important}

.aag-gallery-frame{width:100%;max-width:820px;margin:0 auto;display:grid;grid-template-columns:minmax(0,820px);justify-content:center;align-items:start;gap:24px}.aag-gallery-main{min-width:0}.aag-gallery-ad-col,.aag-gallery-below-ad{display:none;min-width:0}.aag-gallery-frame.aag-has-left-ad .aag-gallery-ad-left,.aag-gallery-frame.aag-has-right-ad .aag-gallery-ad-right,.aag-gallery-below-ad.aag-has-below-ad{display:block}.aag-gallery-frame.aag-has-left-ad{max-width:1104px;grid-template-columns:minmax(180px,260px) minmax(0,820px)}.aag-gallery-frame.aag-has-right-ad{max-width:1104px;grid-template-columns:minmax(0,820px) minmax(180px,260px)}.aag-gallery-frame.aag-has-left-ad.aag-has-right-ad{max-width:1388px;grid-template-columns:minmax(180px,260px) minmax(0,820px) minmax(180px,260px)}.aag-gallery-below-ad{margin-top:28px}.aag-format-three .aag-slide-card+.aag-slide-card{margin-top:42px;padding-top:36px;border-top:1px solid #ececec}

.aag-gallery-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.aag-index-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.aag-index-card h3{margin:10px 0 0;font:900 22px/1.1 Arial,Helvetica,sans-serif}.aag-index-card a{color:#111;text-decoration:none}

@media(max-width:1180px){.aag-gallery-frame.aag-has-left-ad,.aag-gallery-frame.aag-has-right-ad,.aag-gallery-frame.aag-has-left-ad.aag-has-right-ad{max-width:980px;grid-template-columns:minmax(0,1fr)}.aag-gallery-frame .aag-gallery-ad-col{grid-column:1}.aag-gallery-frame .aag-gallery-ad-left{grid-row:1}.aag-gallery-frame .aag-gallery-main{grid-row:2}.aag-gallery-frame .aag-gallery-ad-right{grid-row:3}.aag-gallery-ad-col{max-width:820px;width:100%;margin:0 auto}.aag-gallery-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
.aag-entry-link,.aag-entry-link:link,.aag-entry-link:visited,.aag-entry-link:hover,.aag-entry-link:active{color:inherit!important;text-decoration:none!important;text-decoration-line:none!important;border:0!important;border-bottom:0!important;box-shadow:none!important;background-image:none!important}.aag-entry-title-link{display:inline}.aag-entry-title-link::before,.aag-entry-title-link::after{content:none!important;display:none!important}.aag-entry-image-link{display:block;line-height:0;cursor:pointer}.aag-entry-image-link:focus-visible,.aag-entry-title-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}@media(max-width:700px){.aag-gallery-embed{margin:28px 0 32px}.aag-slide-title{font-size:25px!important}.aag-gallery-controls{gap:9px;margin-top:18px;margin-bottom:24px}.aag-btn{min-height:88px;padding:15px 14px;border-radius:13px!important}.aag-btn strong,.aag-btn-next-gallery{font-size:30px!important}.aag-btn>span{font-size:25px!important}body.aag-gallery-mode .aas-page-content>.aas-content-wrap{width:calc(100% - 24px)!important}body.aag-gallery-mode .aas-content-main{padding-top:22px!important}.aag-gallery-index{grid-template-columns:1fr}.aag-format-three .aag-slide-card+.aag-slide-card{margin-top:32px;padding-top:28px}}


/* v1.1.6 — force the first-photo title link to stay visually plain even when
   the active theme applies high-specificity/important link decorations. */
body .aag-gallery-embed .aag-slide-card .aag-slide-title,
body .aag-gallery-embed .aag-slide-card .aag-slide-title:hover,
body .aag-gallery-embed .aag-slide-card .aag-slide-title:focus {
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background:none!important;
  background-image:none!important;
  text-decoration:none!important;
}
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link,
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link:link,
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link:visited,
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link:hover,
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link:active,
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link:focus {
  color:inherit!important;
  text-decoration:none!important;
  text-decoration-line:none!important;
  text-decoration-color:transparent!important;
  text-decoration-thickness:0!important;
  border:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
  background:none!important;
  background-color:transparent!important;
  background-image:none!important;
  outline-offset:3px;
}
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link::before,
body .aag-gallery-embed .aag-slide-card .aag-slide-title > a.aag-entry-title-link::after {
  content:none!important;
  display:none!important;
  border:0!important;
  box-shadow:none!important;
  background:none!important;
}

/* v1.2.0 COTR gallery-portal hardening.
   Photo 2+ is the gallery portal, not the normal article view. COTR's current
   shell can render its article headline/byline/featured image outside the older
   .aas-post-header/.aas-content-featured wrappers, so cover both current and
   common WordPress article-header patterns. Gallery slide titles use h2/h3 and
   gallery images do not use .wp-post-image, so they remain visible. */
html body.aag-gallery-mode article h1,
html body.aag-gallery-mode main article h1,
html body.aag-gallery-mode .entry-header,
html body.aag-gallery-mode .post-header,
html body.aag-gallery-mode .single-post-header,
html body.aag-gallery-mode .article-header,
html body.aag-gallery-mode .post-title-wrap,
html body.aag-gallery-mode .entry-meta,
html body.aag-gallery-mode .post-meta,
html body.aag-gallery-mode .byline,
html body.aag-gallery-mode .author-byline,
html body.aag-gallery-mode .post-thumbnail,
html body.aag-gallery-mode .single-post-thumbnail,
html body.aag-gallery-mode .featured-image,
html body.aag-gallery-mode .post-featured-image,
html body.aag-gallery-mode .wp-block-post-featured-image,
html body.aag-gallery-mode img.wp-post-image,
html body.aag-gallery-mode .aas-post-header,
html body.aag-gallery-mode .aas-content-featured {
  display:none!important;
}
