/* Anchor target for the header "Prenumerera" link — offset so the sticky header doesn't cover it. */
#prenumerera {
  scroll-margin-top: 120px;
}

/* AWTV Newsletter — thank-you modal.
   Styled to match the startpage: brand magenta/cyan, rounded corners, brush heading font
   ('Permanent Marker' + 'Poppins' are already loaded on the startpage). */

.awtv-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;                       /* above the site's custom cursor (99999) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(40, 0, 30, 0.55);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.awtv-modal-overlay.is-open {
  opacity: 1;
}

.awtv-modal {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 34px;
  text-align: center;
  background: #61cef1;                    /* brand blue */
  border-radius: 18px;                   /* same rounded family as the page cards */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.awtv-modal-overlay.is-open .awtv-modal {
  transform: translateY(0) scale(1);
}

.awtv-modal-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #d600a8;                    /* brand magenta */
  color: #ffffff;
  font-size: 34px;
  line-height: 64px;
  font-weight: 700;
}

.awtv-modal-title {
  margin: 0 0 10px;
  font-family: 'Permanent Marker', cursive;
  color: #111111;                        /* black text */
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.awtv-modal-text {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  color: #111111;                        /* black text */
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

.awtv-modal-benefits {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #111111;                        /* black text */
  font-size: 14.5px;
  line-height: 1.55;
}

/* Just a bold × in the corner — no button box. High specificity + !important on every property
   defeats the theme/Elementor native <button> styling (the modal lives on <body>). 10px inset. */
.awtv-modal-overlay .awtv-modal .awtv-modal-close {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
          appearance: none !important;
  color: orangered !important;           /* #ff4500 */
  font-size: 30px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, color 0.15s ease !important;
}
.awtv-modal-overlay .awtv-modal .awtv-modal-close:hover {
  color: rgba(255, 69, 0, 0.6) !important;   /* weaker orangered */
  transform: scale(1.2) !important;
}

@media (prefers-reduced-motion: reduce) {
  .awtv-modal-overlay { transition: opacity 0.2s ease; }
  .awtv-modal { transition: none; transform: none; }
}
