.tw-p-0.tw-mr-4 {
  color: #ffffffc2 !important;
}

.tw-font-sans {
        font-family: system-ui, -apple-system, BlinkMacSystemFont,
                     "Segoe UI", sans-serif !important;
    }

.xhide {
  display: none !important;
}

/* INDEX: poista kaikki transitionit ja animaatiot hero-osiosta,
   jotta mikään teeman efekti ei aiheuta CLS:ää */

body.index-pleasure,
body.index-pleasure .th-set__index_promo_text_main,
body.index-pleasure .th-set__index_promo_text_main *,
body.index-pleasure .b-afterheader.th-set__index_promo_text_on_bg.th-set__main_bg,
body.index-pleasure .b-afterheader.th-set__index_promo_text_on_bg.th-set__main_bg * {
  transition: none !important;
  animation: none !important;
}

/* LOGIN / users/login_form:
   käytä vain systeemifontteja -> ei fontin vaihtumista -> ei CLS:ää */
body.tw-login-page,
body.tw-login-page * {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* (valinnainen) poista kaikki siirtymä- ja animaatioefektit login-sivulla */
body.tw-login-page *,
body.tw-login-page *::before,
body.tw-login-page *::after {
  transition: none !important;
  animation: none !important;
}

/* 1) Login-sivu: varaa koko ruutu pjaxcontainerille */
body.tw-login-page #pjaxcontainer {
  min-height: 100vh;       /* varaa ruudun korkeuden heti */
  position: relative;
}



.tw-text-black.tw-text-right.group-\[\:not\(\[data-theme\=flatty\]\)\]\/body\:tw-text-current {
  margin-top: 10px !important;
}

.form-control.tw-join-item.tw-border-solid.tw-select-info.tw-select {
  max-width: 50vw !important;
}

.load_content_bg.gallery-type {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.media-popup-info {
  color: #333 !important;
}

.tw-flex.tw-flex-wrap.tw-items-center {
  display: block !important;
}

.view-photo-button.photo-action-js.tw-max-w-x.tw-bottom-0 {
  display: none !important;
}

.nwButton2 {
  margin-top: 50px !important;
  margin-bottom: 50px !important;
}

.nwButton1 {
  text-transform: uppercase !important;
  width: fit-content !important;
  margin: auto !important;
  background: #f0d6e8 !important;
  border-radius: 50px !important;
  color: #333 !important;
  font-size: 20px !important;
  border: 2px solid #f0d6e8 !important;
  font-weight: 500 !important;
  letter-spacing: 1px !important;

  /* VOIMAKAS valkoinen highlight */
  box-shadow: 0 0 1px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.27);
}

.glow-button {
  background-color: #000;
  color: #fff;
  border: 2px solid #f38cfc;
  /* korostusväri */
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 0 12px #f38cfc;
  /* hohto */
  transition: all 0.3s ease-in-out;
  font-weight: 700;
  max-width: 320px;
  width: 90%;
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.glow-button:hover {
  box-shadow: 0 0 20px #f38cfc, 0 0 40px #f38cfc;
  color: #000;
  transform: scale(1.05);
}

/* --- Pienemmät harmaat napit (Verotel & Paynt) --- */
.small-gray-button {
  background-color: #3a3a3a;
  color: #ddd;
  border: 1px solid #555;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  max-width: 280px;
  width: 85%;
  margin: 0 auto;
}

.small-gray-button:hover {
  background-color: #555;
  color: #fff;
}

.apple-gpay-logo {
  margin-top: 8px;
  max-width: 180px;
  height: auto;
  display: block;
}

/* Pinoa otsikko ja kenttä päällekkäin tässä blokissa */
.user-profile-view .view-user .view-section.owner-actions .field-block {
  display: flex;
  flex-direction: column;
  /* otsikko ylös, kenttä alle */
  align-items: stretch;
  gap: 6px;
  /* pieni väli otsikon ja kentän väliin */
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  line-height: 20px;
  padding: 8px 0;
}

/* Nollaa grid/float ja pakota täysi leveys */
.user-profile-view .view-user .view-section.owner-actions .field-block .field-name,
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Otsikko hieman korostetummaksi */
.user-profile-view .view-user .view-section.owner-actions .field-block .field-name {
  font-weight: 700;
  margin-bottom: 2px;
}

/* Kenttä-/ohjausosuus täyteen leveyteen */
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info,
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info .input-group,
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info .input__input-group {
  width: 100%;
}

/* Teksti- ja select-kentille mukava oletusleveys; poista jos ei tarvita */
.user-profile-view .view-user .view-section.owner-actions .field-block input[type="text"],
.user-profile-view .view-user .view-section.owner-actions .field-block select {
  width: 100%;
  max-width: 480px;
}

/* Varmista, että piilotetut esikatselut eivät riko pinoamista */
.user-profile-view .view-user .view-section.owner-actions .field-block .hide {
  display: none;
}

.add_to_fav.tw-w-full.tw-btn.tw-normal-case.tw-btn-primary.group-\[\:not\(\[data-theme\=sihteeriopistoTreffit\]\)\]\/body\:tw-text-white {
  display: none !important;
}

/* 18.11.2025 */

/* Rivi jossa teksti ja painike */
.cookie-policy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Teksti */
.cookie-policy-text {
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}

/* Hyväksy-painike */
.cookie-policy-accept-btn {
  padding: 8px 20px;
  background-color: #000;
  /* musta tausta */
  color: #fff;
  /* valkoinen teksti */
  border: 2px solid #fff;
  /* valkoinen border */
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.cookie-policy-accept-btn:hover {
  background-color: #111;
  transform: translateY(-1px);
}

.cookie-policy-accept-btn:active {
  transform: translateY(0);
}

#b-header {
  /*  background-image: url('/uploads/themes-fixed/honey/images/index_v2_b-header.webp');*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Vakio korkeus → ei CLS */
  min-height: 320px;
  /* säädä halutuksi, esim. 280–380 */
  width: 100%;
}

/* Jos sivu venyy animointien takia, estetään hyppiminen */
.custom-header,
.custom-header_without_img {
  min-height: inherit;
}

img#logo.img-responsive2 {
  width: 225px !important;
  /* vastaa attribuuttia */
  height: auto !important;
  /* säilyttää kuvasuhteen */
  max-width: 100% !important;
  /* skaalautuu pienemmillä näytöillä */
  display: block !important;
}

/* --- Responsiivisuus --- */
@media (max-width: 480px) {
  .glow-button {
    width: 90%;
    font-size: 15px;
  }

  /*  #b-header {
    background-image: url('/uploads/themes-fixed/honey/images/index_v2_b-header_mobile.webp'); 
  }*/

  .col-xs-12.col-md-6.tw-p-0.md\:tw-pl-4 {
    display: none !important;
  }

  .xhide-mob {
    display: none !important;
  }

  .footer-info {
    font-size: 10px !important;
    margin-bottom: 80px !important;
  }


  .small-gray-button {
    width: 90%;
    font-size: 14px;
  }

  .apple-gpay-logo {
    max-width: 150px;
  }

  .load_content_bg .lc-header {
    background-color: #332673 !important;
  }

  .load_content_outer {
    background-color: #332673 !important;
  }

  .tw-text-secondary-content {
    z-index: 8 !important;
  }

  .lc-content-outer {
    background-color: #332673 !important;
  }

  /* --- UUSI: Mobiilissa min-height 100% --- */
  .tw-group\/body:not([data-theme=flatty]) .group-\[\:not\(\[data-theme\=flatty\]\)\]\/body\:tw-bg-base-200 {
    min-height: 100% !important;
  }

  .user-profile-view .view-user .view-section.owner-actions .field-block {
    gap: 8px;
  }

  /* 18.11.2025 */

  .cookie-policy-row {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Lisää välistystä tekstin ja napin väliin */
  .cookie-policy-accept-btn {
    margin-top: 10px;
    align-self: flex-end;
  }
}