/* Shared CSC ticker and secondary-page ad placeholders.
   The ticker rules intentionally mirror the homepage ticker. */

.project-ticker,
.project-ticker *{box-sizing:border-box}
.project-ticker{
  z-index:20;
  height:128px;
  color:#fff;
  background:#0e1524;
  border-top:1px solid #26334a;
  border-bottom:1px solid #26334a;
  position:relative;
  overflow:visible;
  box-shadow:0 12px 34px #0a0f1c24;
  font-family:Arial,Helvetica,sans-serif;
}
.project-ticker a{color:inherit;text-decoration:none}
.project-ticker .ticker-viewport{
  min-width:0;
  height:100%;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,#0000 0,#000 28px calc(100% - 28px),#0000 100%);
  mask-image:linear-gradient(90deg,#0000 0,#000 28px calc(100% - 28px),#0000 100%);
}
.project-ticker .ticker-track{
  will-change:transform;
  width:max-content;
  height:100%;
  animation:62s linear infinite csc-ticker-scroll;
  display:flex;
}
.project-ticker .ticker-viewport:hover .ticker-track,
.project-ticker .ticker-viewport:focus-within .ticker-track{animation-play-state:paused}
.project-ticker .ticker-group{
  flex-shrink:0;
  gap:12px;
  height:100%;
  padding:13px 6px;
  display:flex;
}
.project-ticker .ticker-ad{
  --ticker-thumb:none;
  background-color:#151f32;
  background-image:linear-gradient(90deg,rgba(8,13,23,.91) 0%,rgba(8,13,23,.73) 46%,rgba(8,13,23,.42) 76%,rgba(8,13,23,.62) 100%),var(--ticker-thumb);
  background-size:cover;
  background-position:center right;
  background-repeat:no-repeat;
  border:1px solid #2a3850;
  border-radius:9px;
  align-content:center;
  width:350px;
  height:100px;
  padding:15px 44px 14px 18px;
  transition:background .16s,border-color .16s;
  display:grid;
  position:relative;
  overflow:hidden;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025),inset 0 -28px 44px rgba(0,0,0,.12);
}
.project-ticker .ticker-ad:hover,
.project-ticker .ticker-ad:focus-visible{
  background-color:#1b2941;
  background-image:linear-gradient(90deg,rgba(8,13,23,.86) 0%,rgba(8,13,23,.64) 46%,rgba(8,13,23,.29) 76%,rgba(8,13,23,.52) 100%),var(--ticker-thumb);
  background-size:cover;
  background-position:center right;
  border-color:#ffb423dd;
  outline:none;
}
.project-ticker .ticker-ad>*{position:relative;z-index:1}
.project-ticker .ticker-status{
  color:#ffb423;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:5px;
  font-family:"Courier New",monospace;
  font-size:9px;
  font-weight:800;
  text-shadow:0 1px 6px rgba(0,0,0,.9);
}
.project-ticker .ticker-status i{
  background:#58d88b;
  border-radius:50%;
  width:5px;
  height:5px;
  margin-right:5px;
  display:inline-block;
}
.project-ticker .ticker-ad strong{
  color:#fff;
  letter-spacing:-.02em;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:17px;
  line-height:1.15;
  overflow:hidden;
  text-shadow:0 2px 8px rgba(0,0,0,.9);
}
.project-ticker .ticker-pitch{
  color:#d6deea;
  text-overflow:ellipsis;
  white-space:nowrap;
  margin-top:5px;
  font-size:11px;
  line-height:1.35;
  overflow:hidden;
  text-shadow:0 1px 7px rgba(0,0,0,.95);
}
.project-ticker .ticker-ad>b{
  color:#ffb423;
  font-size:16px;
  position:absolute;
  top:50%;
  right:17px;
  transform:translateY(-50%);
}
.project-ticker .ticker-ad-advertise{
  background-image:linear-gradient(90deg,rgba(25,18,4,.91) 0%,rgba(25,18,4,.67) 50%,rgba(25,18,4,.35) 79%,rgba(25,18,4,.55) 100%),var(--ticker-thumb);
  border-color:#ffb423b8;
  box-shadow:inset 0 0 28px #ffb42314;
}
.project-ticker .ticker-ad-advertise:hover,
.project-ticker .ticker-ad-advertise:focus-visible{
  background-image:linear-gradient(90deg,rgba(25,18,4,.86) 0%,rgba(25,18,4,.58) 50%,rgba(25,18,4,.25) 79%,rgba(25,18,4,.48) 100%),var(--ticker-thumb);
}
.project-ticker .ticker-ad-advertise:after{
  content:"313-777-5739";
  color:#ffe0a1;
  letter-spacing:.08em;
  font-family:"Courier New",monospace;
  font-size:9px;
  font-weight:800;
  position:absolute;
  top:14px;
  right:42px;
}
.project-ticker .ticker-popouts{
  pointer-events:none;
  width:min(520px,calc(100vw - 40px));
  position:absolute;
  top:calc(100% + 12px);
  right:clamp(20px,4vw,76px);
}
.project-ticker .ticker-popout{
  visibility:hidden;
  opacity:0;
  color:#dce7f8;
  background:#0e1524fa;
  border:1px solid #34435d;
  border-radius:12px;
  width:100%;
  padding:24px 26px;
  transition:opacity .14s,transform .14s,visibility .14s;
  position:absolute;
  top:0;
  right:0;
  transform:translateY(-8px);
  box-shadow:0 24px 65px #0a0f1c52;
}
.project-ticker .ticker-popout:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-14px;
  height:14px;
}
.project-ticker .ticker-popout.is-visible,\n.project-ticker .ticker-popout:is(:hover,:focus-within){
  visibility:visible;
  opacity:1;
  transform:translateY(0);
}
.project-ticker .ticker-popout-sponsored{
  max-height:min(560px,calc(100vh - 190px));
  overflow:auto;
}
.project-ticker .ticker-popout-media{
  display:block;
  width:100%;
  max-height:240px;
  object-fit:contain;
  background:#090f1a;
  border:1px solid #34435d;
  border-radius:9px;
  margin:4px 0 14px;
}
.project-ticker .ticker-popout-sponsored p{
  white-space:normal;
}
.project-ticker .ticker-popout-extra{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #34435d;
}
.project-ticker .ticker-popout-extra>span{
  display:block;
  color:#ffb423;
  font-family:"Courier New",monospace;
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:5px;
}
.project-ticker .ticker-popout-extra a{
  display:block;
  color:#dce7f8;
  text-decoration:underline;
  text-underline-offset:3px;
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.5;
}
.project-ticker .ticker-popout-extra a:hover,
.project-ticker .ticker-popout-extra a:focus-visible{
  color:#fff;
  outline-color:#ffb423;
}
.project-ticker .ticker-popout:before{
  content:"";
  background:#0e1524;
  border-top:1px solid #34435d;
  border-left:1px solid #34435d;
  width:12px;
  height:12px;
  position:absolute;
  top:-7px;
  right:55px;
  transform:rotate(45deg);
}
.project-ticker .ticker-popout>span{
  color:#ffb423;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:7px;
  font-family:"Courier New",monospace;
  font-size:9px;
  font-weight:800;
  display:block;
}
.project-ticker .ticker-popout>strong{
  color:#fff;
  letter-spacing:-.025em;
  margin-bottom:9px;
  font-size:19px;
  display:block;
}
.project-ticker .ticker-popout p{color:#b8c3d5;margin:0;font-size:13px;line-height:1.65}
.project-ticker .ticker-popout[data-popout="advertise"] p strong{color:#ffe0a1;font-size:inherit;display:inline;margin:0;text-shadow:none}
.project-ticker:has(.ticker-ad[data-project="veloreah"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="veloreah"],
.project-ticker:has(.ticker-ad[data-project="lucia"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="lucia"],
.project-ticker:has(.ticker-ad[data-project="protected-deal"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="protected-deal"],
.project-ticker:has(.ticker-ad[data-project="jfc"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="jfc"],
.project-ticker:has(.ticker-ad[data-project="adventures"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="adventures"],
.project-ticker:has(.ticker-ad[data-project="vip"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="vip"],
.project-ticker:has(.ticker-ad[data-project="joslynns-world"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="joslynns-world"],
.project-ticker:has(.ticker-ad[data-project="etc"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="etc"],
.project-ticker:has(.ticker-ad[data-project="advertise"]:is(:hover,:focus-visible)) .ticker-popout[data-popout="advertise"]{
  visibility:visible;
  opacity:1;
  transform:translateY(0);
}
.project-ticker .ticker-ad[data-project="veloreah"]{--ticker-thumb:url('/__csc-thumbs/veloreah.svg')}
.project-ticker .ticker-ad[data-project="lucia"]{--ticker-thumb:url('/__csc-thumbs/lucia.svg')}
.project-ticker .ticker-ad[data-project="protected-deal"]{--ticker-thumb:url('/__csc-thumbs/protected-deal.svg')}
.project-ticker .ticker-ad[data-project="jfc"]{--ticker-thumb:url('/__csc-thumbs/jfc.svg')}
.project-ticker .ticker-ad[data-project="adventures"]{--ticker-thumb:url('/__csc-thumbs/adventures.svg')}
.project-ticker .ticker-ad[data-project="vip"]{--ticker-thumb:url('/__csc-thumbs/vip.svg')}
.project-ticker .ticker-ad[data-project="joslynns-world"]{--ticker-thumb:url('/__csc-thumbs/joslynns-world.svg')}
.project-ticker .ticker-ad[data-project="etc"]{--ticker-thumb:url('/__csc-thumbs/etc.svg')}
.project-ticker .ticker-ad[data-project="advertise"]{--ticker-thumb:url('/__csc-thumbs/advertise.svg')}

@keyframes csc-ticker-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

@media (max-width:680px){
  .project-ticker{height:112px;overflow:hidden}
  .project-ticker .ticker-viewport{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-mask-image:none!important;
    mask-image:none!important;
    scroll-snap-type:x mandatory;
    scroll-padding:0 18px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .project-ticker .ticker-viewport::-webkit-scrollbar{display:none}
  .project-ticker .ticker-track{animation:none!important;transform:none!important;width:max-content!important}
  .project-ticker .ticker-group{gap:10px;padding:10px 18px!important}
  .project-ticker .ticker-group[aria-hidden="true"]{display:none!important}
  .project-ticker .ticker-ad{
    width:min(82vw,318px)!important;
    height:90px!important;
    flex:0 0 auto;
    scroll-snap-align:center;
    padding:14px 38px 13px 17px!important;
  }
  .project-ticker .ticker-ad strong{font-size:16px}
  .project-ticker .ticker-popouts{display:none!important}
}
@media (prefers-reduced-motion:reduce){
  .project-ticker .ticker-ad{transition:none}
  .project-ticker .ticker-viewport{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .project-ticker .ticker-track{animation:none}
  .project-ticker .ticker-group[aria-hidden="true"]{display:none}
}

/* Blank advertising positions used on CSC secondary pages. */
.csc-page-ad-placeholders{
  box-sizing:border-box;
  width:min(100%,1180px);
  margin:0 auto;
  padding:54px 20px 68px;
  display:grid;
  grid-template-columns:repeat(2,288px);
  justify-content:center;
  align-items:start;
  gap:136px;
}
.csc-page-ad-placeholder{
  box-sizing:border-box;
  width:288px;
  height:288px;
  background:#fff;
  border:1px solid #dce1e8;
  border-radius:10px;
  box-shadow:0 12px 30px rgba(20,28,43,.08);
}
@media (max-width:760px){
  .csc-page-ad-placeholders{
    grid-template-columns:288px;
    gap:136px;
    padding:48px 16px 60px;
  }
}
@media (max-width:340px){
  .csc-page-ad-placeholders{grid-template-columns:minmax(0,1fr)}
  .csc-page-ad-placeholder{width:100%;height:auto;aspect-ratio:1/1}
}
