/* GORSMAN V19 ads and mobile layout repair. Must load after style.css. */

:root{
  --gm-bg:#e4d8c6;
  --gm-paper:#fffaf0;
  --gm-paper2:#f7efe2;
  --gm-line:#d8c7aa;
  --gm-ink:#111;
  --gm-gold:#a66f00;
}

html,body{
  max-width:100%;
  overflow-x:hidden!important;
}

body{
  padding-top:var(--gm-header-h, 92px)!important;
  background:var(--gm-bg)!important;
}

/* Header follows the viewport, hides on scroll down, shows on scroll up. */
.gm-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  z-index:99999!important;
  background:var(--gm-paper2)!important;
  border-bottom:1px solid #cdbb9f!important;
  transition:transform .22s ease!important;
  will-change:transform;
}

.gm-header.gm-hide{
  transform:translateY(-115%)!important;
}

.gm-header *,
.gm-page-with-ads *,
.gm-readable *,
.gm-article-card *,
.gm-side *{
  box-sizing:border-box!important;
}

.gm-brand,
.gm-brand-main,
.gm-brand-tag{
  position:static!important;
  transform:none!important;
}

.gm-brand{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  text-decoration:none!important;
  color:var(--gm-ink)!important;
}

.gm-brand-main{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  font-weight:900!important;
  line-height:.9!important;
  color:var(--gm-ink)!important;
}

.gm-brand-tag{
  display:block!important;
  width:100%!important;
  text-align:center!important;
  margin-top:9px!important;
  font-weight:400!important;
  text-transform:uppercase!important;
  color:var(--gm-gold)!important;
}

/* Main page with ads. Desktop has ad rails. Tablet/mobile keeps ads but does not squeeze content. */
.gm-page-with-ads{
  width:min(1760px,96vw)!important;
  margin:34px auto 0!important;
  display:grid!important;
  grid-template-columns:180px minmax(0,1fr) 180px!important;
  gap:24px!important;
  align-items:start!important;
}

.gm-readable{
  min-width:0!important;
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,980px) 340px!important;
  gap:30px!important;
  justify-content:center!important;
  align-items:start!important;
}

.gm-article-card{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
  background:var(--gm-paper)!important;
  border:1px solid var(--gm-line)!important;
  border-radius:28px!important;
  padding:42px!important;
  box-shadow:0 18px 55px rgba(70,45,15,.08)!important;
}

.gm-article-card h1{
  font-size:clamp(44px,5vw,86px)!important;
  line-height:.96!important;
  letter-spacing:-2.4px!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  margin:18px 0 28px!important;
}

.gm-article-card img,
.gm-article-card video,
.article-body img,
.article-media img{
  max-width:100%!important;
  height:auto!important;
}

.gm-article-card .hero-image{
  display:block!important;
  width:100%!important;
  margin:0 0 30px!important;
  border-radius:22px!important;
}

.gm-side{
  min-width:0!important;
  width:100%!important;
}

.gm-side-card{
  background:var(--gm-paper)!important;
  border:1px solid var(--gm-line)!important;
  border-radius:24px!important;
  padding:28px!important;
  margin-bottom:24px!important;
  box-shadow:0 18px 50px rgba(70,45,15,.08)!important;
}

.gm-ad-rail{
  position:sticky!important;
  top:calc(var(--gm-header-h, 92px) + 24px)!important;
  min-width:0!important;
}

.gm-ad-placeholder{
  min-height:600px!important;
  border:1px dashed #bda987!important;
  background:rgba(255,250,240,.72)!important;
  border-radius:20px!important;
  color:#9a7b43!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-weight:900!important;
  letter-spacing:1px!important;
  text-transform:uppercase!important;
  font-size:13px!important;
  line-height:1.5!important;
}

.gm-ad-rect{
  min-height:250px!important;
}

.gm-mobile-ad{
  display:none!important;
  margin:20px 0!important;
}

.gm-ad-mobile-box{
  min-height:110px!important;
}

.woman-gallery{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

.woman-gallery a,
.woman-gallery img{
  display:block!important;
  width:100%!important;
}

.woman-gallery img{
  aspect-ratio:3/4!important;
  object-fit:cover!important;
  border-radius:18px!important;
}

@media(max-width:1500px){
  .gm-page-with-ads{
    grid-template-columns:0 minmax(0,1fr) 0!important;
    gap:0!important;
    width:min(1280px,94vw)!important;
  }

  .gm-ad-rail{
    display:none!important;
  }

  .gm-readable{
    grid-template-columns:minmax(0,1fr) 340px!important;
    gap:28px!important;
  }
}

@media(max-width:1050px){
  .gm-page-with-ads{
    display:block!important;
    width:min(960px,94vw)!important;
    max-width:94vw!important;
    margin:22px auto 0!important;
  }

  .gm-readable{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }

  .gm-article-card,
  .gm-side,
  .gm-side-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .gm-side{
    margin-top:22px!important;
  }

  .gm-mobile-ad{
    display:block!important;
  }

  .gm-sidebar-ad{
    display:none!important;
  }

  .gm-article-card h1{
    font-size:clamp(36px,8vw,64px)!important;
    letter-spacing:-1.5px!important;
  }
}

/* Mobile header and mobile article. */
@media(max-width:980px){
  .gm-header-inner{
    width:100%!important;
    min-height:92px!important;
    padding:12px 22px!important;
    display:grid!important;
    grid-template-columns:1fr 52px!important;
    gap:10px!important;
    align-items:center!important;
  }

  .gm-brand{
    width:100%!important;
    max-width:none!important;
    padding-left:28px!important;
  }

  .gm-brand-main{
    font-size:clamp(42px,12vw,72px)!important;
    letter-spacing:-1.6px!important;
  }

  .gm-brand-tag{
    font-size:clamp(13px,3.4vw,18px)!important;
    letter-spacing:clamp(6px,2vw,10px)!important;
  }

  .gm-menu-toggle{
    display:flex!important;
    width:52px!important;
    height:52px!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:end!important;
    border:0!important;
    background:transparent!important;
    color:#111!important;
    font-size:34px!important;
    line-height:1!important;
  }

  .gm-nav,
  .gm-actions{
    display:none!important;
  }

  body.gm-menu-open .gm-nav,
  body.gm-menu-open .gm-actions{
    grid-column:1 / -1!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding:12px 0!important;
    background:var(--gm-paper2)!important;
  }

  body.gm-menu-open .gm-nav a,
  body.gm-menu-open .gm-actions a{
    padding:13px 4px!important;
  }

  body.gm-menu-open .gm-dropdown-menu{
    position:static!important;
    display:block!important;
    box-shadow:none!important;
    margin:4px 0 8px!important;
  }

  body.gm-menu-open .gm-search input{
    width:100%!important;
  }
}

@media(max-width:760px){
  .gm-page-with-ads{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin:16px auto 0!important;
  }

  .gm-article-card{
    padding:22px!important;
    border-radius:22px!important;
  }

  .gm-article-card h1{
    font-size:clamp(34px,10.5vw,52px)!important;
    line-height:.98!important;
    letter-spacing:-1.3px!important;
  }

  .gm-side-card{
    padding:22px!important;
    border-radius:22px!important;
  }

  .woman-gallery{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}

@media(max-width:420px){
  .gm-header-inner{
    padding:11px 14px!important;
    grid-template-columns:1fr 46px!important;
  }

  .gm-brand{
    padding-left:24px!important;
  }

  .gm-menu-toggle{
    width:46px!important;
    height:46px!important;
  }

  .gm-page-with-ads{
    width:calc(100vw - 18px)!important;
    max-width:calc(100vw - 18px)!important;
  }

  .gm-article-card{
    padding:18px!important;
  }
}
