/* Color background only for the second menu item */
#menu-item-509 > a {
  background-color: rgb(255, 90, 49); /* your color */
  color: #fff;               /* make text readable */
  border-radius: 6px;        /* optional for softer edges */
  padding: 20px 20px !important;         /* adjust as needed */
}

/* Optional hover effect */
#menu-item-509 > a:hover {
  background-color: #ff7f66;
  color: #fff;
}

/* Make heading visible for 3s, then fade out smoothly */
.fade-away-heading {
  animation: fadeOutAfter3s 7s forwards; /* 3s visible + 2s fade */
}

@keyframes fadeOutAfter3s {
  0% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Icon Centrat pe button */

.nectar-button .im-icon-wrap span svg {
  vertical-align: text-top;
}

/* Classic Enhanced Alt: ascunde excerptul */
.blog-recent[data-style="classic_enhanced_alt"] .inner-wrap .excerpt,
.masonry.classic_enhanced .post.wide_tall .excerpt {
  display: none !important;
}

/* === REPOZIȚIONARE BUTON "Citește mai mult" === */

/* 1️⃣ Anulează poziționarea absolută aplicată de Salient */
.blog-scoala .inner-wrap .post-readmore-wrap
{
  position: static !important;    /* îl scoate din colțul fix */
  float: none !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: 100%;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
  z-index: 30;
  display: block !important;
}

/* 2️⃣ Stil buton */
.blog-scoala .inner-wrap .custom-readmore {
  display: inline-block;
  background: #ff5a31;
  color: #fff;
  padding: 16px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 1;
  transition: all 0.25s ease;
  position: relative;
  z-index: 35;
}

/* 3️⃣ Hover efect */
.blog-scoala .inner-wrap .custom-readmore:hover {
  background: #680037;
}

/* Change button color only for the second row */
.blog-scoala-alt .inner-wrap .custom-readmore {
  background: #97153E; /* alternate color */
}
.blog-scoala-alt .inner-wrap .custom-readmore:hover {
  background: #7b1032; /* optional darker hover tone */
}


/* 4️⃣ Asigură-te că părintele permite afișarea completă */
.blog-scoala .inner-wrap {
  overflow: visible !important;
}

/* === Buton "Citește mai mult" fixat la baza cardului === */

/* Transformăm cardul într-un container flexibil */
.blog-scoala .inner-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: visible !important;
}

/* Asigură că secțiunea cu titlul + excerpt ocupă restul spațiului */
.blog-scoala .inner-wrap .article-content-wrap
{
  flex-grow: 1;
}

/* Butonul rămâne lipit de partea de jos */
.blog-scoala .inner-wrap .post-readmore-wrap
{
  margin-top: auto;
  margin-bottom: 10px;
  text-align: center;
}
/* === Aliniere buton "Citește mai mult" la stânga, sub titlu === */
.blog-scoala .inner-wrap .post-readmore-wrap
{
  text-align: left; /* în loc de center */
  margin-left: 0;   /* asigură că e lipit de marginea textului */
}

/* Potrivim marginea butonului cu alinierea titlului */
.blog-scoala .inner-wrap .custom-readmore
{
  margin-left: 2em; /* ajustează până e aliniat perfect cu titlul  */
}

/* Allow color override even if .blog-scoala is missing */
.blog-scoala-alt .inner-wrap .custom-readmore {
  background: #d4df2a; color:#000000;
}
.blog-scoala-alt .inner-wrap .custom-readmore:hover {
  background: #7b1032;
}

.blog-scoala-nma .inner-wrap .custom-readmore {
  background: #F900B1;
}
.blog-scoala-nma .inner-wrap .custom-readmore:hover {
  background: #F900B1;
}

.blog-scoala-inst .inner-wrap .custom-readmore {
  background: #748492;
}
.blog-scoala-inst .inner-wrap .custom-readmore:hover {
  background: #748492;
}

/* Hide ONLY the main quantity selector under the bundle button */

.bundle_button .quantity {
  display: none !important;
}

/* Keep the Add to Cart button visible and aligned */
.bundle_button .single_add_to_cart_button {
  margin-top: 10px;
}

/* Change the color of the Ticket Button */

	
/* :root { --tec-color-accent-primary: #ff5a31; } */

/* === Fix modal visibility above header === */
.tribe-dialog,
.tribe-tickets__tickets-dialog,
.tribe-modal__wrapper {
  z-index: 99999 !important;
}

/* === Shrink modal window for single ticket === */
.tribe-dialog__wrapper,
.tribe-tickets__tickets-dialog .tribe-dialog__wrapper {
  max-width: 800px !important;
  max-height: 400px !important;
  margin: 15% auto !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* Optional: center and clean up content spacing */
.tribe-dialog__header,
.tribe-dialog__content {
  text-align: center !important;
  padding: 15px 20px !important;
}

/* Optional: dim overlay less */
.tribe-dialog__overlay {
  background-color: rgba(0, 0, 0, 0.4) !important;
}

/* Personalizare sectiune bilet general */

.tribe-dialog__content {text-align: left !important; }
.tribe-common button.tribe-common-c-btn--small {background-color:#ff5a31 !important;}


/* === 2 COLUMNS CHECKOUT LAYOUT === */

.checkout .col2-set {
  display: flex;
  gap: 40px;
}

/* Left column (Billing / Shipping) */
.checkout .col-1 {
  width: 55%;
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
}

/* Right column (Order review) */
.checkout .col-2 {
  width: 45%;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
}

/* Mobile layout */
@media (max-width: 768px) {
  .checkout .col2-set {
    flex-direction: column;
  }
  .checkout .col-1, .checkout .col-2 {
    width: 100%;
  }
}

/* Make Netopia logo discreet and elegant */
img[src*="mobilpay"],
img[src*="netopia"],
.mobilpay-logo,
.netopia-logo {
    max-width: 120px !important;     /* dimensiune redusă */
    opacity: 0.75 !important;        /* transparență elegantă */
    margin: 20px !important;   /* centrat sub cart */
    transition: opacity 0.3s ease;
}

/* Optional: la hover logo-ul devine puțin mai vizibil */
img[src*="mobilpay"]:hover,
img[src*="netopia"]:hover {
    opacity: 0.7 !important;
}