/* SOLIS — Stepа's final review v1.7. Independent of custom single.css, gallery CSS. */
/* On desktop actions sit to the right of H1, leaving the accent under the title. */
@media (min-width:1200px) {
  .solis-single .solis-single-hero {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    column-gap:24px !important;
    align-items:start !important;
  }
  .solis-single .solis-single-hero > h1 {
    grid-column:1 !important;grid-row:1 !important;
  }
  /* Overrides the older padding reserved for the formerly absolute live CTA. */
  .solis-single .solis-single-hero.has-live > h1 {padding-right:0 !important;}
  .solis-single .solis-single-hero > .solis-single-accent {
    grid-column:1 !important;grid-row:2 !important;
  }
  .solis-single .solis-single-hero-actions {
    grid-column:2 !important;grid-row:1 / 3 !important;
    display:flex !important;flex-direction:row !important;align-items:center !important;
    gap:12px !important;max-width:100%;margin-top:15px !important;
  }
}
/* Tablet: two accessible actions on a separate row; no overlap with title. */
@media (min-width:768px) and (max-width:1199px) {
  .solis-single .solis-single-hero-actions {
    display:flex !important;flex-wrap:wrap;align-items:center;
    gap:12px;margin-top:22px;
  }
  .solis-single .solis-single-hero.has-live > h1 {padding-right:0 !important;}
}
/* Return action is the existing button, moved rather than duplicated. */
.solis-single .solis-single-hero-actions > .solis-single-return {
  margin:0 !important;padding:0 !important;flex:0 0 auto;
}
.solis-single .solis-single-hero-actions .solis-single-return a,
.solis-single .solis-single-hero-actions .solis-single-live-hero {
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  box-sizing:border-box !important;white-space:nowrap !important;
}
.solis-single .solis-single-hero-actions .solis-single-return a {
  height:52px !important;min-height:52px !important;margin:0 !important;
  padding:0 17px !important;
}
/* The previous stylesheet uses absolute positioning for the video action. */
.solis-single .solis-single-hero-actions > .solis-single-live-hero {
  position:static !important;top:auto !important;right:auto !important;
  margin:0 !important;cursor:pointer !important;
}
@media (min-width:1800px) and (max-width:2199px) {
  .solis-single .solis-single-hero-actions .solis-single-return a {
    height:68px !important;min-height:68px !important;
    font-size:20px !important;line-height:28px !important;padding:0 24px !important;
  }
  .solis-single .solis-single-hero-actions {gap:16px !important;}
}
@media (min-width:2200px) {
  .solis-single .solis-single-hero-actions .solis-single-return a {
    height:77px !important;min-height:77px !important;
    font-size:24px !important;line-height:30px !important;padding:0 30px !important;
  }
  .solis-single .solis-single-hero-actions {gap:20px !important;}
}
@media (max-width:767px) {
  .solis-single .solis-single-hero-actions {
    display:flex !important;flex-direction:column !important;align-items:stretch !important;
    gap:10px !important;margin-top:20px !important;
  }
  .solis-single .solis-single-hero-actions > .solis-single-return {width:100% !important;}
  .solis-single .solis-single-hero-actions .solis-single-return a,
  .solis-single .solis-single-hero-actions > .solis-single-live-hero {
    display:flex !important;width:100% !important;
    height:52px !important;min-height:52px !important;margin:0 !important;
  }
}
/* Date shown is when the image was added to WordPress, not EXIF shoot date. */
.solis-single-lightbox .solis-single-lightbox-date {
  margin:14px 0 0 !important;color:#BFC8D2 !important;
  font:400 14px/22px Inter,Arial,sans-serif !important;
}
.solis-single-lightbox .solis-single-lightbox-date[hidden],
.solis-single-live-notice[hidden] {display:none !important;}
@media (min-width:2200px) {
  .solis-single-lightbox .solis-single-lightbox-date {font-size:20px !important;line-height:30px !important;}
}
@media (max-width:767px) {
  .solis-single-lightbox .solis-single-lightbox-date {font-size:12px !important;line-height:18px !important;}
}
/* Accessible no-stream dialog. */
.solis-single-live-notice {
  position:fixed;inset:0;z-index:1000001;
  display:flex;align-items:center;justify-content:center;padding:20px;
  font-family:Inter,Arial,sans-serif;
}
.solis-single-live-notice-backdrop {position:absolute;inset:0;background:rgba(6,13,23,.75);}
.solis-single-live-notice-panel {
  position:relative;box-sizing:border-box;width:min(500px,100%);border-radius:10px;
  padding:30px 30px 28px;background:#fff;color:#121B25;
  box-shadow:0 15px 70px rgba(0,0,0,.28);
}
.solis-single-live-notice-panel h2 {
  font:600 24px/32px Inter,Arial,sans-serif !important;color:#121B25 !important;
  margin:0 35px 14px 0 !important;
}
.solis-single-live-notice-panel p {
  font:400 16px/25px Inter,Arial,sans-serif !important;color:#121B25 !important;margin:0 0 22px !important;
}
.solis-single-live-notice-close {
  position:absolute;right:12px;top:10px;border:0 !important;
  background:transparent !important;color:#121B25 !important;
  padding:4px 8px !important;font:400 26px/1 Inter,Arial,sans-serif !important;cursor:pointer;
}
.solis-single-live-notice-ok {
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  min-width:115px;min-height:42px;padding:8px 18px !important;
  border:2px solid #EB850C !important;border-radius:7px;
  background:#EB850C !important;color:#fff !important;
  font:600 15px/20px Inter,Arial,sans-serif !important;cursor:pointer;
}
.solis-single-live-notice-close:focus-visible,
.solis-single-live-notice-ok:focus-visible {outline:3px solid #121B25;outline-offset:3px;}
body.solis-live-notice-open {overflow:hidden;}

/* SOLIS — v1.8: livestream unavailable dialog + return arrow polish.
   Add AFTER the rules in steppa-v1.7.css. 18.11.2026 */

/* The return arrow is a centered SVG-shaped flex item, not a font glyph.
   The existing markup and click target are preserved. */
.solis-single .solis-single-hero-actions .solis-single-return a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.solis-single .solis-single-hero-actions .solis-single-return-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  flex: 0 0 22px !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  vertical-align: middle !important;
}
.solis-single .solis-single-hero-actions .solis-single-return-arrow::before {
  content: "";
  display: block;
  flex: none;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m7-7-7 7 7 7' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 12H4m7-7-7 7 7 7' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Dialog — normal desktop/tablet. Scoped only to unavailable-stream modal. */
.solis-single-live-notice .solis-single-live-notice-panel {
  width: min(500px, 100%) !important;
  max-width: 100% !important;
}
.solis-single-live-notice .solis-single-live-notice-panel h2 {
  font-size: 24px !important;
  line-height: 32px !important;
}
.solis-single-live-notice .solis-single-live-notice-panel p {
  font-size: 16px !important;
  line-height: 25px !important;
}
.solis-single-live-notice .solis-single-live-notice-ok {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: none !important;
  width: auto !important;
  min-width: 150px !important;
  max-width: 100% !important;
  height: 52px !important;
  min-height: 52px !important;
  padding: 0 24px !important;
  margin: 0 !important;
  border: 2px solid #EB850C !important;
  border-radius: 7px !important;
  background: #EB850C !important;
  color: #fff !important;
  font: 600 16px/24px Inter, Arial, sans-serif !important;
  text-align: center !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color .16s ease, color .16s ease !important;
}
.solis-single-live-notice .solis-single-live-notice-ok:hover {
  background: #D87600 !important;
  color: #fff !important;
}

/* Wide 1800–2199: same typography scale as other SOLIS UI. */
@media (min-width: 1800px) and (max-width: 2199px) {
  .solis-single .solis-single-hero-actions .solis-single-return-arrow {
    flex-basis: 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel {
    width: min(680px, 100%) !important;
    padding: 38px 40px 36px !important;
    border-radius: 10px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel h2 {
    font-size: 30px !important;
    line-height: 40px !important;
    margin-bottom: 18px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel p {
    font-size: 20px !important;
    line-height: 30px !important;
    margin-bottom: 28px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-ok {
    min-width: 190px !important;
    height: 68px !important;
    min-height: 68px !important;
    padding: 0 28px !important;
    border-radius: 8px !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }
}

/* Ultrawide 2200+: larger window, text and button. */
@media (min-width: 2200px) {
  .solis-single .solis-single-hero-actions .solis-single-return-arrow {
    flex-basis: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel {
    width: min(880px, 100%) !important;
    padding: 48px 50px 44px !important;
    border-radius: 12px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel h2 {
    font-size: 38px !important;
    line-height: 48px !important;
    margin-bottom: 24px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel p {
    font-size: 27px !important;
    line-height: 40px !important;
    margin-bottom: 34px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-ok {
    min-width: 228px !important;
    height: 77px !important;
    min-height: 77px !important;
    padding: 0 34px !important;
    border-radius: 8px !important;
    font-size: 24px !important;
    line-height: 30px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-close {
    font-size: 32px !important;
    top: 16px !important;
    right: 20px !important;
  }
}

/* Mobile: keep the OK button compact; do NOT stretch full width. */
@media (max-width: 767px) {
  .solis-single .solis-single-hero-actions .solis-single-return-arrow {
    flex-basis: 20px !important;
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
  }
  .solis-single-live-notice {
    padding: 16px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel {
    width: min(420px, 100%) !important;
    padding: 24px 20px 22px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel h2 {
    font-size: 21px !important;
    line-height: 28px !important;
    margin-bottom: 14px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-panel p {
    font-size: 15px !important;
    line-height: 23px !important;
    margin-bottom: 22px !important;
  }
  .solis-single-live-notice .solis-single-live-notice-ok {
    display: inline-flex !important;
    flex: none !important;
    width: auto !important;
    min-width: 136px !important;
    max-width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }
}
