.tvcta-bar {
  position: fixed; 
  bottom: 0; 
  left: 0; 
  width: 100%; /* Mere skudsikkert på mobil end inset */
  box-sizing: border-box;
  z-index: 99999; /* Hævet lidt for at undgå konflikter med WP mobile menuer */
  display: flex; 
  align-items: center; 
  gap: 12px;
  padding: 10px 14px 24px 14px; /* Samlet padding */
  background: rgba(15, 23, 42, .92); /* semitransparent mørk */
  backdrop-filter: saturate(120%) blur(2px);
  -webkit-backdrop-filter: saturate(120%) blur(2px); /* Vigtigt for iOS Safari */
  color: #fff; 
  font: 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-shadow: 0 -4px 28px rgba(2, 6, 23, .18); /* Skyggen vendt, så den ses i toppen */
  transform: translateY(110%); 
  opacity: 0; 
  transition: transform .35s ease, opacity .35s ease;
}

.tvcta-bar.tvcta-show { 
  transform: translateY(0); 
  opacity: 1; 
}

.tvcta-logo { 
  width: 40px; 
  height: auto; 
  flex: 0 0 auto; 
  border-radius: 6px; 
  background: #fff; 
  padding: 3px; 
}

.tvcta-copy { 
  min-width: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 2px; 
}

.tvcta-title { 
  font-weight: 700; 
  font-size: 15px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}

.tvcta-sub { 
  font-weight: 600; 
  opacity: .9; 
  font-size: 13px; 
}

.tvcta-btn {
  margin-left: auto; 
  flex: 0 0 auto; 
  text-decoration: none; 
  font-weight: 700;
  padding: 9px 12px; 
  border-radius: 10px; 
  background: #14a44d; 
  color: #fff;
  box-shadow: 0 4px 14px rgba(20, 164, 77, .35);
  position: relative;
}

.tvcta-btn:focus { 
  outline: 2px solid rgba(255, 255, 255, 0.3); 
  outline-offset: 2px; 
}

.tvcta-btn::after {
  content: "ads";
  position: absolute;
  left: 50%; 
  transform: translateX(-50%);
  bottom: -14px;
  font-size: 10px; 
  line-height: 1;
  color: #fff; 
  opacity: .75;
  pointer-events: none;
}

.tvcta-close {
  border: 0; 
  background: transparent; 
  color: #fff; 
  opacity: .75;
  font-size: 20px; 
  line-height: 1; 
  cursor: pointer; 
  padding: 6px;
  margin-left: 8px; 
  flex: 0 0 auto;
}

.tvcta-close:hover { 
  opacity: 1; 
}

@media (min-width: 860px) {
  .tvcta-bar {
    bottom: 16px; 
    left: 50%; 
    width: min(980px, calc(100vw - 32px)); 
    border-radius: 14px;
    transform: translate(-50%, 110%);
  }
  .tvcta-bar.tvcta-show { 
    transform: translate(-50%, 0); 
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvcta-bar { 
    transition: none; 
  }
}