/* OGA 5.3.35 — sale art direction + mobile homepage + honest, readable artist editorial.
   Loaded after previous releases. Every selector is limited to the affected site components. */

/* A vivid red is reserved for an actual WooCommerce sale; sold artwork keeps its own banner. */
html body.oga-build-45.oga-v5335-editorial .oga-product-badge.oga-product-badge--sale,
html body.oga-build-45.oga-v5335-editorial ul.products li.product .oga-product-badge.oga-product-badge--sale,
html body.oga-build-45.oga-v5335-editorial .oga-main-art .oga-product-badge.oga-product-badge--sale{
  position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:62px!important;min-height:42px!important;width:auto!important;height:auto!important;
  margin:0!important;padding:9px 14px 9px 19px!important;
  background:#b32232!important;background-color:#b32232!important;background-image:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;
  font-size:14px!important;font-weight:700!important;line-height:1!important;letter-spacing:.015em!important;
  border:1px solid #861827!important;border-radius:1px!important;
  box-shadow:0 5px 13px rgba(83,19,29,.22)!important;
  transform:none!important;clip-path:none!important;opacity:1!important;z-index:66!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-product-badge.oga-product-badge--sale::before{
  content:""!important;display:block!important;position:absolute!important;left:8px!important;top:7px!important;bottom:7px!important;
  width:1px!important;background:rgba(255,239,222,.88)!important;pointer-events:none!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-product-badge.oga-product-badge--sale::after{content:none!important;display:none!important;}
/* Discounted price should catch the eye, without making the original price look discounted. */
html body.oga-build-45.oga-v5335-editorial :is(.oga-card-price,.oga-card-price-v49,.woocommerce ul.products li.product .price,.oga-summary .price,.woocommerce div.product p.price,.woocommerce div.product span.price) ins,
html body.oga-build-45.oga-v5335-editorial :is(.oga-card-price,.oga-card-price-v49,.woocommerce ul.products li.product .price,.oga-summary .price,.woocommerce div.product p.price,.woocommerce div.product span.price) ins .woocommerce-Price-amount{
  color:#b32232!important;-webkit-text-fill-color:#b32232!important;text-decoration:none!important;font-weight:700!important;
}
html body.oga-build-45.oga-v5335-editorial :is(.oga-card-price,.oga-card-price-v49,.woocommerce ul.products li.product .price,.oga-summary .price,.woocommerce div.product p.price,.woocommerce div.product span.price) del,
html body.oga-build-45.oga-v5335-editorial :is(.oga-card-price,.oga-card-price-v49,.woocommerce ul.products li.product .price,.oga-summary .price,.woocommerce div.product p.price,.woocommerce div.product span.price) del .woocommerce-Price-amount{
  color:#77716e!important;-webkit-text-fill-color:#77716e!important;opacity:1!important;text-decoration:line-through!important;text-decoration-thickness:1px!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-home-standard-grid li.product .oga-card-price ins .woocommerce-Price-amount{
  font-size:clamp(19px,1.5vw,24px)!important;line-height:1.2!important;
}
/* Promotion is a destination, not an almost invisible third tab. */
html body.oga-build-45.oga-v5335-editorial .oga-artwork-tablist .oga-artwork-tab[data-oga-artwork-tab="promotions"]{
  color:#a91f30!important;-webkit-text-fill-color:#a91f30!important;font-weight:700!important;
  letter-spacing:.08em!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artwork-tablist .oga-artwork-tab[data-oga-artwork-tab="promotions"].is-active{
  background:#fbf1ed!important;border-bottom:3px solid #b32232!important;box-shadow:inset 0 -1px 0 #b32232!important;
}
html body.oga-build-45.oga-v5335-editorial #oga-panel-promotions .oga-artwork-panel-intro h3{
  color:#a91f30!important;-webkit-text-fill-color:#a91f30!important;
}
@media(min-width:768px){
  /* A two-piece sale becomes a curated diptych; with 3+ pieces the normal grid remains. */
  html body.oga-build-45.oga-v5335-editorial #oga-panel-promotions ul.oga-home-standard-grid:has(> li.product:nth-child(2):last-child){
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    max-width:820px!important;width:100%!important;margin-inline:auto!important;gap:clamp(20px,3vw,38px)!important;
  }
  html body.oga-build-45.oga-v5335-editorial #oga-panel-promotions ul.oga-home-standard-grid:has(> li.product:nth-child(2):last-child)>li.product{
    width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;
  }
}

/* The artist's original exhibition dates and venues remain verbatim, but they are no longer
   chopped by read-more or squeezed into a photo-height sidebar. */
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-intro{
  margin:0 0 25px!important;padding:0 0 18px!important;border-bottom:1px solid #ded4c9!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-editorial-kicker{
  display:block!important;margin:0 0 8px!important;font-size:11px!important;font-weight:600!important;
  letter-spacing:.16em!important;text-transform:uppercase!important;color:#995045!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-intro p{
  margin:0!important;font-size:15px!important;line-height:1.55!important;color:#615852!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-timeline{
  list-style:none!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  margin:0!important;padding:0!important;max-width:100%!important;min-width:0!important;gap:0!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-entry{
  position:relative!important;display:grid!important;grid-template-columns:minmax(105px,23%) minmax(0,1fr)!important;
  gap:clamp(12px,3vw,32px)!important;align-items:start!important;padding:18px 0!important;margin:0!important;
  border-bottom:1px solid #e0d8cf!important;list-style:none!important;min-width:0!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-entry::before,
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-entry::after{
  content:none!important;display:none!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-year{
  font-size:15px!important;font-weight:600!important;line-height:1.45!important;color:#965045!important;
  overflow-wrap:break-word!important;min-width:0!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-description{
  font-size:clamp(15px,1.1vw,17px)!important;line-height:1.55!important;color:#393431!important;
  overflow-wrap:break-word!important;min-width:0!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-liviu-critical-note{
  max-width:75ch!important;padding:2px 0 5px!important;margin:0 auto!important;
}
html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-liviu-critical-note p{
  font-size:clamp(16px,1.2vw,19px)!important;line-height:1.8!important;color:#393431!important;margin:10px 0 0!important;
}
@supports selector(section:has([hidden])){
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(#expozitii:not([hidden])),
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(.oga-liviu-critical-note:not([hidden])):has(#texte-critice:not([hidden])){
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;min-height:0!important;align-items:start!important;
  }
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(#expozitii:not([hidden]))>.oga-artist-about-media,
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(.oga-liviu-critical-note):has(#texte-critice:not([hidden]))>.oga-artist-about-media{
    display:none!important;
  }
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(#expozitii:not([hidden]))>.oga-artist-about-content,
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(.oga-liviu-critical-note):has(#texte-critice:not([hidden]))>.oga-artist-about-content{
    width:100%!important;max-width:100%!important;min-height:0!important;margin:0 auto!important;
    padding:clamp(25px,4vw,60px) clamp(20px,6vw,100px)!important;
  }
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(#expozitii:not([hidden])) .oga-exhibition-timeline,
  html body.oga-build-45.oga-v5335-editorial section.oga-artist-about--editorial-timeline:has(#expozitii:not([hidden])) .oga-exhibition-intro{
    max-width:1000px!important;margin-left:auto!important;margin-right:auto!important;
  }
}

/* Mobile homepage: no horizontally cropped/category carousel, no narrow inner column. */
@media(max-width:767px){
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-intro{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:26px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0!important;padding:36px clamp(16px,5vw,26px) 45px!important;box-sizing:border-box!important;
    overflow:hidden!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-intro .oga95-editorial-copy{
    display:block!important;position:relative!important;min-width:0!important;max-width:100%!important;width:100%!important;
    margin:0!important;padding:0!important;left:auto!important;right:auto!important;
    transform:none!important;box-sizing:border-box!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-copy>span{
    margin:0 0 14px!important;font-size:11px!important;letter-spacing:.14em!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-copy h1{
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0 0 18px!important;padding:0!important;font-size:clamp(29px,7.2vw,38px)!important;
    line-height:1.14!important;letter-spacing:-.025em!important;
    overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;
    text-wrap:pretty!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-copy h1 .oga95-editorial-line,
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-copy h1 .oga95-editorial-subline{
    display:block!important;max-width:100%!important;width:auto!important;white-space:normal!important;
    margin:0!important;padding:0!important;overflow-wrap:normal!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-copy p{
    width:100%!important;max-width:55ch!important;min-width:0!important;margin:0 0 22px!important;
    font-size:clamp(15px,3.8vw,18px)!important;line-height:1.6!important;overflow-wrap:break-word!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-actions{
    display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-editorial-actions>.oga-btn{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:50px!important;
    margin:0!important;padding:14px 18px!important;text-align:center!important;white-space:normal!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-category-gallery{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;
    gap:18px!important;align-items:stretch!important;width:100%!important;max-width:100%!important;
    min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
    overflow:visible!important;scroll-snap-type:none!important;scrollbar-width:none!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-category-gallery>.oga95-category-work,
  html body.oga-build-45.oga-v5335-editorial .oga95-category-gallery>.oga95-category-work:nth-child(n){
    display:flex!important;flex-direction:column!important;flex:initial!important;
    grid-column:1/-1!important;grid-row:auto!important;min-width:0!important;width:100%!important;
    max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;
    padding:15px!important;scroll-snap-align:none!important;box-sizing:border-box!important;
    overflow:hidden!important;transform:none!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-category-gallery .oga95-category-frame{
    display:flex!important;align-items:center!important;justify-content:center!important;
    width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
    padding:14px 6px 9px!important;flex:initial!important;overflow:hidden!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-category-gallery .oga95-category-frame img{
    display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:min(72vw,350px)!important;
    object-fit:contain!important;object-position:center!important;margin:0 auto!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-category-gallery .oga95-category-work strong{
    width:100%!important;max-width:100%!important;display:block!important;
    padding:7px 0 3px!important;font-size:14px!important;line-height:1.4!important;
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
    overflow-wrap:anywhere!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-prefooter-cards{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:18px!important;width:100%!important;min-width:0!important;
    padding:36px 16px!important;box-sizing:border-box!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-prefooter-cards .oga95-help-card{
    min-width:0!important;max-width:100%!important;min-height:0!important;
    padding:28px 18px!important;box-sizing:border-box!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-help-card--consult>div{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;margin:12px 0 0!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-help-card--consult>div>a.oga-btn,
  html body.oga-build-45.oga-v5335-editorial .oga95-help-card--consult>div>a.oga-wa-button{
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:relative!important;inset:auto!important;transform:none!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    height:auto!important;min-height:50px!important;
    margin:0!important;padding:12px 16px!important;flex:initial!important;
    font-size:13px!important;line-height:1.3!important;text-align:center!important;
    white-space:normal!important;box-sizing:border-box!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-help-card--consult>div>a.oga-wa-button{
    background:#24774c!important;border:1px solid #24774c!important;color:#fff!important;
    -webkit-text-fill-color:#fff!important;border-radius:0!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga95-help-card--consult>div>a.oga-wa-button:hover,
  html body.oga-build-45.oga-v5335-editorial .oga95-help-card--consult>div>a.oga-wa-button:focus-visible{
    background:#175839!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
  /* Preserve 1 artwork per row, including an especially small promotional selection. */
  html body.oga-build-45.oga-v5335-editorial #oga-panel-promotions ul.oga-home-standard-grid{
    grid-template-columns:minmax(0,1fr)!important;max-width:100%!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-entry{
    grid-template-columns:minmax(0,1fr)!important;gap:3px!important;padding:14px 0!important;
  }
  html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-year{font-size:13px!important;}
  html body.oga-build-45.oga-v5335-editorial .oga-artist-about--editorial-timeline .oga-exhibition-description{font-size:15px!important;}
}
@media (prefers-reduced-motion: reduce){
  html body.oga-v5335-editorial .oga-product-badge--sale{transition:none!important;animation:none!important;}
}
