/* Anthony Michelli responsive layout — 2026 WHC migration.
   This stylesheet is deliberately last in the cascade. It neutralizes the fixed
   1100px/absolute pixel coordinates of the old Website.com styles without
   changing the content, photos, lightbox or contact form semantics. */

html:has(body.am-modern) { min-width: 0 !important; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body.am-modern { min-width: 0 !important; margin: 0; background-size: min(100%, 1100px) auto !important; }
body.am-modern #body-wrapper { width: 100%; min-width: 0 !important; overflow: clip; padding-top: 0 !important; }
body.am-modern .section > .container {
  box-sizing: border-box; width: min(calc(100% - 32px), 1100px) !important;
  max-width: 1100px !important; margin-inline: auto;
}
body.am-modern header, body.am-modern #header-body { height: auto !important; min-height: 0 !important; margin-top: 30px;}
body.am-modern #header-body > .container {
  display: flex; flex-direction: column; justify-content: flex-end;
  height: auto !important; min-height: 337px; padding-top: 260px;
}
body.am-modern #header-body #el-21761 {
  position: relative !important; top: auto !important; left: auto !important;
  right: auto !important; bottom: auto !important;
  width: auto !important; height: auto !important; 
  max-width: 100%; text-align: center;
}
body.am-modern #header-body #el-21761 p { margin: 0; }
body.am-modern .am-header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 54px; position: relative; z-index: 10;
}
body.am-modern #menu {
  position: relative !important; inset: auto !important; top:auto !important; left:auto !important;
  right:auto !important; bottom:auto !important; opacity:1 !important;
  visibility: visible !important; flex: 1 1 auto; min-width: 0;
  height: auto !important; width: auto !important; max-width: none !important;
}
body.am-modern #menu .navbar, body.am-modern #menu #nav_2 {
  position: static !important; inset: auto !important;
  width: 100% !important; max-width: none !important; height: auto !important;
  margin: 0 !important; padding: 0 !important;
}
body.am-modern #menu .nav {
  float: none !important; width: 100% !important; height: auto !important;
  display: grid !important; grid-template-columns: repeat(6,minmax(0,1fr));
  align-items: stretch; margin: 0 !important; padding: 0 !important;
  list-style: none; gap: 0;
}
body.am-modern #menu .nav > li {
  display: block !important; width: auto !important; min-width: 0 !important;
  height: auto !important; float:none !important; margin: 0 !important;
}
body.am-modern #menu .nav > li.more { display:none !important; }
body.am-modern #menu .nav > li > a.menuPageLink {
  display: flex !important; align-items: center; justify-content: center;
  position: relative !important; top:auto !important; left:auto !important;
  width: 100% !important; min-width:0 !important; height:100% !important;
  box-sizing: border-box; padding: 11px 3px !important;
  text-align: center !important; line-height: 1.3;
}
body.am-modern #menu .menulink-wrapper {
  display: flex !important; align-items:center; justify-content:center;
  position: static !important; inset:auto !important;
  width:auto !important; min-width:0; max-width:100%; height:auto !important;
  padding:0 !important; margin:0 !important;
}
body.am-modern #menu .text-wrapper { display:block; font-size: clamp(13px,1.35vw,18px); white-space: nowrap; }
body.am-modern #menu a:focus-visible, body.am-modern .am-social a:focus-visible {outline: 2px solid #37475d;outline-offset: 3px;}
body.am-modern .am-social {
  display: flex; flex: 0 0 auto; align-items:center;
  justify-content: flex-end; gap: 8px;
}
body.am-modern .am-social .element {
  position: relative !important; inset:auto !important; top:auto !important; left:auto !important;
  width: 30px !important; height: 31px !important; transform:none!important;
  margin:0!important;
}
body.am-modern .am-social .image-wrapper { display:flex; align-items:center; justify-content:center; overflow:visible !important; height:auto!important; width:100%!important; }
body.am-modern .am-social a { display:flex; align-items:center; justify-content:center; width:100%; height:31px; }
body.am-modern .am-social img {
  display:block; position:static !important; width:auto !important;
  height:auto!important; max-width:100%!important; max-height:27px!important;
  object-fit:contain;
}

/* Main flow: content itself defines the height; footer follows naturally. */
body.am-modern #content, body.am-modern #content-body,
body.am-modern #content-body > .container,
body.am-modern #content-wrapper { height:auto !important; min-height:0!important; }
body.am-modern #content-body { padding: clamp(24px,4vw,44px) 0 clamp(40px,6vw,70px); }
body.am-modern #content-wrapper.am-content {
  display: grid !important; grid-template-columns: minmax(0,1fr);
  gap: clamp(18px,3vw,30px); width:100%; align-items:start; overflow:visible!important;
}
body.am-modern #content-wrapper .element {
  position:relative!important; inset:auto!important;
  top:auto!important; left:auto!important; right:auto!important; bottom:auto!important;
  width: auto!important; max-width:100%!important; height:auto!important;
  min-height:0!important; transform:none!important; margin:0!important;
  box-sizing:border-box;
}
body.am-modern #content-wrapper .image-wrapper {
  display:block; width:100%!important; height:auto!important; overflow:visible!important;
}
.image-wrapper-shadow {box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;}
body.am-modern #content-wrapper .image-element img {
  display:block; position:static!important;
  width:100%!important; max-width:100%!important;
  height:auto!important; object-fit:contain;
}
body.am-modern #content-wrapper .text-content,
body.am-modern #content-wrapper .text-content p {
  max-width:100%; height:auto!important; overflow:visible!important;
}
body.am-modern #content-wrapper .text-element h1,
body.am-modern #content-wrapper .text-element h2 { margin:0; line-height:1.1; }
body.am-modern #content-wrapper .title2 .fontSize {font-size:clamp(42px,6vw,72px)!important;}
body.am-modern #content-wrapper .video-element {
  width:min(100%,709px)!important; aspect-ratio:16 / 9; overflow:hidden;
  background:#000; justify-self:center;
}
body.am-modern #content-wrapper .video-element iframe {
  display:block!important; position:static!important; inset:auto!important;
  width:100%!important;height:100%!important;border:0!important;
}

/* Homepage — portrait then film, with no overlap or clipping. */
body.am-page-home #el-3378977 { justify-self:stretch; }
body.am-page-home #el-3378978,
body.am-page-home #el-3378979 { width:min(100%,709px)!important;justify-self:center; }

/* Drummer — the biography can grow, followed by the drum photo and logos. */
body.am-page-drummer .am-drummer-photo-grid {
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);
  align-items:center; gap:clamp(10px,2vw,24px);
}
body.am-page-drummer .am-drummer-thumbnails {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;align-items:center;
}
body.am-page-drummer .am-drummer-thumbnails > :first-child {grid-column:span 2;max-width:190px!important;justify-self:center;}
body.am-page-drummer #el-3378986 {width:100%!important;}
body.am-page-drummer #el-3378987 {width:min(100%,794px)!important;justify-self:center;}
body.am-page-drummer .am-endorsements {
  display:flex;align-items:center;justify-content:space-around;
  flex-wrap:wrap;gap:clamp(14px,2vw,28px);
}
body.am-page-drummer .am-endorsements .element {flex:0 1 105px;}
body.am-page-drummer .am-endorsements img {max-height:58px!important;}

/* Educator — native two-column grid with text height unconstrained. */
body.am-page-educator .am-educator-columns {display:grid; grid-template-columns:minmax(0,0.85fr) minmax(0,1.15fr); gap:clamp(18px,3vw,36px);}
body.am-page-educator .am-educator-columns .element { min-width:0; }

/* Producer — side-by-side studio photographs, then biography and endorsements. */
body.am-page-producer .am-producer-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,3vw,28px);align-items:start;}
body.am-page-producer .am-producer-photos .element {max-width:100%!important;}
body.am-page-producer .am-producer-endorsements {display:flex;align-items:center;justify-content:center;gap:32px;flex-wrap:wrap;}
body.am-page-producer .am-producer-endorsements img {max-height:50px!important;width:auto!important;max-width:180px!important;}

/* Gallery — responsive photograph grid and four 16:9 videos. */
body.am-page-gallery .am-gallery-feature {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:clamp(16px,2.5vw,26px);align-items:start;}
body.am-page-gallery #el-3375140 #grid-el-3375140 {
  display:grid!important;height:auto!important;max-height:none!important;
  overflow:visible!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
body.am-page-gallery #el-3375140 #grid-el-3375140 .grid-img {
  height:clamp(100px,13vw,180px)!important;
  width:100%!important;object-fit:cover;
}
body.am-page-gallery .am-gallery-videos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,3vw,28px);}
body.am-page-gallery .am-gallery-videos .video-element {width:100%!important;}

/* Contact — form and text in normal flow; existing PHP handler is untouched. */
body.am-page-contact .am-contact-details {display:grid;gap:8px;}
body.am-page-contact .am-contact-columns {display:grid;grid-template-columns:minmax(0,1fr);max-width:760px;width:100%;}
body.am-page-contact #el-21842 { display:none; } /* obsolete decorative vertical rule */
body.am-page-contact #el-21844 {width:100%!important;}
body.am-page-contact #anthony-contact-form {position:relative!important; width:100%!important;box-sizing:border-box;}
body.am-page-contact #anthony-contact-form input,
body.am-page-contact #anthony-contact-form textarea {max-width:100%;box-sizing:border-box;}

/* Footer is natural-height, after all content, never positioned over photographs. */
body.am-modern #footer-body {height:auto!important;min-height:65px;padding:12px 0 8px;}
body.am-modern #footer-wrapper {position:relative!important;height:auto!important;display:flex;flex-direction:column;align-items:center;gap:4px;}
body.am-modern #footer-wrapper > .element {
  position:relative!important;top:auto!important;left:auto!important;
  width:100%!important; height:auto!important;transform:none!important; margin:0!important;
}
body.am-modern #footer-wrapper p, body.am-modern #footer-wrapper h4 {margin:0!important;}

@media (max-width:900px) {
 body.am-modern #header-body > .container {padding-top:clamp(150px,29vw,255px);min-height:0;}
 body.am-modern .am-header-row {flex-direction:column;align-items:stretch;gap:10px;}
 body.am-modern #menu .nav {grid-template-columns:repeat(3,minmax(0,1fr));}
 body.am-modern .am-social {justify-content:center;padding:4px 0 8px;}
 body.am-page-drummer .am-drummer-photo-grid {grid-template-columns:1fr;max-width:720px;}
 body.am-page-drummer .am-drummer-thumbnails {grid-template-columns:repeat(3,minmax(0,1fr));}
 body.am-page-drummer .am-drummer-thumbnails > :first-child {grid-column:auto;}
 body.am-page-educator .am-educator-columns {grid-template-columns:1fr;}
 body.am-page-educator .am-educator-columns > .image-element {max-width:450px!important;}
}
@media (max-width:600px) {
 body.am-modern .section > .container {width:calc(100% - 24px)!important;}
 body.am-modern #header-body > .container {padding-top:clamp(125px,33vw,190px);}
 body.am-modern #header-body #el-21761 {margin:0 auto 10px;text-align:center;}
 body.am-modern #header-body #el-21761 span[style*="font-size"] {font-size:clamp(12px,3.2vw,18px)!important;}
 body.am-modern #menu .nav {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.am-modern #menu .text-wrapper {font-size:15px;}
 body.am-modern .am-social {gap:16px;}
 body.am-modern #content-body {padding-top:25px;}
 body.am-modern #content-wrapper .title2 .fontSize {font-size:clamp(38px,11vw,60px)!important;}
 body.am-page-drummer .am-drummer-thumbnails {gap:8px;}
 body.am-page-gallery .am-gallery-feature, body.am-page-gallery .am-gallery-videos {grid-template-columns:1fr;}
 body.am-page-gallery #el-3378616 {max-width:360px!important;justify-self:center;}
 body.am-page-gallery #el-3375140 #grid-el-3375140 {grid-template-columns:repeat(2,minmax(0,1fr));}
 body.am-page-gallery #el-3375140 #grid-el-3375140 .grid-img {height:155px!important;}
 body.am-page-producer .am-producer-photos {gap:10px;}
 body.am-modern #footer-wrapper h4 {font-size:16px!important;overflow-wrap:anywhere;}
}
@media (prefers-reduced-motion:reduce) {
 body.am-modern #menu *, body.am-modern #content-wrapper * {scroll-behavior:auto!important;transition-duration:0s!important;}
}

/* Logo: remove old body background */
body.am-modern {
    background-image: none !important;
}

/* Remove the fixed spacer used by the old layout */
body.am-modern #header-body > .container {
    padding-top: 0 !important;
    min-height: 0 !important;
}

/* Display the logo above the navigation */
body.am-modern #header-body > .container::before {
    content: "";
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(110px, 20vw, 230px);
    background-image: url("../../images/anthony-michelli-logo.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#body-wrapper {padding-top: 0;}
.fonts1 .paragraph2 {font-family: 'Lato';color: #64748a; font-size: 16px;font-weight: normal; text-decoration: none; letter-spacing: 0em; line-height: 1.4em;}
.fonts1 .title3 {font-family: 'Oswald';color: #37475d; font-size: 26px; font-weight: normal; text-decoration: none; letter-spacing: 0em; line-height: 1.6;}
.fonts1 .title2 {font-family: 'Oswald';color: #37475d; font-size: 48px; font-weight: normal; text-decoration: none; letter-spacing: 0em; line-height: 1em;}
.fonts1 .title1 {font-family: 'Oswald';color: #37475d; font-size: 72px; font-weight: normal; text-decoration: none; letter-spacing: 0em; line-height: 1em;}
.fonts1 .title4 {font-family: 'Oswald';color: #37475d; font-size: 18px; font-weight: normal; text-decoration: none; letter-spacing: 0em; line-height: 1.6;}

ol, ul {list-style: square inside;line-height: 22px;}
li {font-family: 'Lato';color: #64748a; font-size: 16px;font-weight: normal; text-decoration: none; letter-spacing: 0em;}

/* ==========================================
   Navigation - Remove link underlines
   ========================================== */

body.am-modern #menu ul.nav > li > a,
body.am-modern #menu ul.nav > li > a:link,
body.am-modern #menu ul.nav > li > a:visited,
body.am-modern #menu ul.nav > li > a:hover,
body.am-modern #menu ul.nav > li > a:focus,
body.am-modern #menu ul.nav > li > a:active,
body.am-modern #menu ul.nav > li > a .text-wrapper {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

/* Preserve the active menu indicator */
body.am-modern #menu ul.nav > li.active > a,
body.am-modern #menu ul.nav > li.current > a {
    border-bottom: 2px solid #666666;
}