/* Two-click YouTube consent embed — renewable-energy example, 2026-11-18 */
#tcEnergyExample{scroll-margin-top:var(--anchor-scroll-margin, 110px)}
.tc-energy-vid-intro{
  max-width:72ch;
  color:#1a1a1a;
  line-height:1.55;
  margin:0 0 1.25rem;
}
.yt-consent{max-width:100%;min-width:0}
.yt-consent-frame{
  width:100%;
  max-width:420px;
  margin-inline:auto;
  aspect-ratio:9/16;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #e0e0e0;
  background:linear-gradient(135deg, #E20074, #b8005a);
  position:relative;
  box-shadow:0 8px 30px rgba(26,26,26,.07);
}
.yt-consent-btn{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:16px;
  width:100%;
  height:100%;
  margin:0;
  padding:20px;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#fff;
  font:inherit;
  text-align:center;
  position:relative;
  z-index:1;
}
.yt-consent-btn:focus-visible{
  outline:3px solid #fff;
  outline-offset:-6px;
}
.yt-consent-poster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  pointer-events:none;
  display:block;
}
.yt-consent-play{
  position:relative;
  z-index:1;
  width:72px;
  height:72px;
  flex-shrink:0;
  border-radius:50%;
  background:rgba(255,255,255,.95);
  box-shadow:0 6px 20px rgba(0,0,0,.2);
}
.yt-consent-play::after{
  content:"";
  position:absolute;
  top:50%;
  left:54%;
  transform:translate(-50%,-50%);
  border-style:solid;
  border-width:12px 0 12px 20px;
  border-color:transparent transparent transparent #E20074;
}
.yt-consent-btn-label{position:relative;z-index:1;white-space:normal}
.yt-consent-frame iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
  display:block;
}
.yt-consent-hint,
.yt-consent-source,
.yt-consent-affil{
  max-width:420px;
  margin:12px auto 0;
  text-align:start;
  line-height:1.5;
  overflow:visible;
  overflow-wrap:anywhere;
}
.yt-consent-hint{margin-top:14px}
.yt-consent-hint a{color:#E20074;font-weight:600}
@media (max-width:700px){
  .yt-consent-frame{max-width:100%}
  .yt-consent-hint,
  .yt-consent-source,
  .yt-consent-affil{max-width:100%}
}
