@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
/*@import url('https://fonts.googleapis.com/css2?family=Karla:wght@200;800&display=swap');*/
@import url('https://fonts.cdnfonts.com/css/ds-digital');
@import url('https://fonts.googleapis.com/css2?family=Karla:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@700&display=swap');
/* … your existing imports follow … */


body {
  font-family: Arial, sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

/*.container {*/
/*  max-width: unset !important;*/
/*}*/

/************ HEADER ************/

/* ─── Modern Main Header ───────────────────────────────────────────────── */
.site-header {
  position: relative;
  top: 0;
  z-index: 1000;
  background: #121212;
  color: #fff;
}
.main-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}
/* new: only the top “main-header” row */
/* make sure the nav row spans full width & sits on top */
.site-header .main-menu {
  position: relative;
  z-index: 900;
  background: #121212;
}
.site-branding {
  display: flex;
  align-items: center;
  
}
.logo-link img {
  display: block; /* or inline‐block */
  height: 48px;
  vertical-align: middle;
}
.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;        /* kill any default h1 margin */
  line-height: 1;   /* so it lines up nicely with your img */
}

.main-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between; /* logo/title on left, actions on right */
}

/* on desktop we already force it to show: */
@media (min-width: 993px) {
    

  /* 2) Make sure the mobile‐only toggle is hidden */
  .menu-opener-wrapper {
    display: none !important;
  }

  /* 3) Push your nav‐row down underneath */
  .main-menu {
    margin-top: 8px;  /* adjust as you like */
  }
  .main-menu { display:block !important; }
   #mainMenu > ul {
    display: flex !important;
    justify-content: center !important;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* 2) Lay out its immediate LI children inline, with spacing */
  #mainMenu > ul > li {
    float: none !important;   /* kill any old floats */
    display: inline-block;
    margin: 0 16px;           /* tweak spacing as needed */
  }

  /* 3) Keep all dropdowns hidden by default */
  #mainMenu li.dropdown > ul {
    display: none !important;
  }
}


.site-branding {
  display: flex;
  align-items: center;

}
.logo-link img {
  height: 48px;
}
.site-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover {
  color: #C9A34D;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}
.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Roboto Mono', monospace;
  font-weight: bold;
  transition: background .2s;
}
.btn-tickets {
  background: #E10600;
  color: #fff !important;
}
.btn-tickets:hover {
  background: rgba(225,6,0,0.8);
}

.btn-shop {
  background: #C9A34D;
  color: #fff !important;
}
.btn-shop:hover {
  background: rgba(201,163,77,0.8);
}


/* ─── Modern Scoreboard Bar ───────────────────────────────────────────── */
.scoreboard-bar {
  background: #101010;
  padding: 8px 0;
}
.scoreboard-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.5rem;
}
.team-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.score–num {
  font-size: 2rem;
}
.score–sep {
  font-size: 1.5rem;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #C9A34D;
}
.live-label .dot {
  width: 8px;
  height: 8px;
  background: #E10600;
  border-radius: 50%;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

/* ─── Responsiveness ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
}

@media (max-width: 992px) {
  /* hide search + tickets + shop on mobile */
  .header-actions {
    display: none !important;
  }
  .site-header {
    position: relative;
    top: 0px; left: 0; right: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
  }
  .site-header.hide-on-scroll {
    transform: translateY(-100%);
  }
  
  #euroleague-topbar {
    position: fixed;
  }

  /* push your page content down so it isn’t covered by the fixed header */
  body {
    padding-top: /* match your header’s total height */  64px;
  }
}

/* ========== CUSTOM SLIDER ========== */
.custom-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
}
.custom-slider .slides {
  display: flex;
  width: 500%;
  transition: transform .5s ease;
  height: 100%;
}
.custom-slider .slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center center;
  position: relative;
}
.custom-slider .slide-content {
  position: absolute;
  top: 50%;
  /* center horizontally: */
  left: 50%;
  /* pull it back by half its own size: */
  transform: translate(-50%, -50%);
  /* optional: constrain how wide your text area can grow */
  max-width: 600px;
  width: 90%;         /* so on very narrow screens it still has some breathing room */
  text-align: center; /* center the paragraph and button inside it */
  text-shadow: 0 2px 4px rgba(0,0,0,.6);
}
/* ← white text now: */
.custom-slider .slide-content p {
  color: #ffffff !important;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
/* ← new button color: */
.custom-slider .btn-slider {
  display: inline-block;
  padding: .5rem 1rem;
  background: #e4ff4c !important;
  color: #121212 !important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background .2s;
  text-shadow: none !important;
}
.custom-slider .btn-slider:hover {
  background: #d9f94a !important;
}

.custom-slider .slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  z-index: 10;
}
.custom-slider .slider-control.prev { left: 1rem; }
.custom-slider .slider-control.next { right: 1rem; }


/*******social*******/


/************ FOOTER ************/

.sponsors {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 50px;
}

.sponsors .sponsor {
  display: inline-block;
  width: 9%;
  vertical-align: middle;
  text-align: center;
}

.sponsors .sponsor.big {
  width: 100%;
  text-align: left;
}

.sponsors .sponsor.big img {
  width: 40%;
}

footer {
  text-align: left;
}

footer h3 {
  font-family: 'Karla', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  color: #E4FF4C;
  margin-top: 50px;
}

footer .info-footer {
  /*background: url('./img/footer-slika.svg') no-repeat center center;*/
  /*background-size: cover;*/
  background-image: url("img/Layer 2 1.png"), url("img/Layer 2 2.png"),
  linear-gradient(
      90deg,
      rgba(0, 0, 0, 1)   0%,   /* pure black */
      rgba(0, 0, 0, 0.85) 100% /* 15% lighter */
    );
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
}

footer .info-footer .container .social-mob {
  display: none;
}

footer .info-footer .container {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

footer .info-footer .container p {
  font-family: 'Karla', sans-serif;
  font-weight: 800;
  padding: 5px 0;
}

footer .info-footer .container a {
  font-family: 'Karla', sans-serif;
  font-weight: 800;
  color: white;
}

footer .copyright {
  background-color: black;
  border-top: 2px solid #E4FF4C;
  /*height: 60px;*/
}

footer .copyright p {
  font-family: 'Karla', sans-serif;
  font-weight: bold;
  font-size: 15px;
  color: white;
  vertical-align: middle;
  padding: 20px 0;
  text-align: left;
}

footer .copyright a {
  color: #E4FF4C;
  font-weight: bold;
}

@media (min-width: 992px) {
  footer a:hover {
    text-decoration: underline;
  }
}

#sponsorsInfoPage .sponsors-info p:not(.article-title) {
  font-family: 'Karla', sans-serif;
  font-size: 20px;
  line-height: 40px;
  margin-bottom: 50px;
}

#sponsorsInfoPage .sponsors-title {
  display: none;
}

#sponsorsPage .sponsors-title h2.article-title {
  position: relative;
}

#sponsorsPage .sponsors-title h2.article-title::after {
  position: absolute;
  content: "";
  background: #E4FF4C;
  height: 2px;
  width: 100px;
  top: 30px;
  margin-left: 20px;
}

#sponsorsPage .sponsors {
  gap: 50px;
}

#sponsorsPage .sponsors .sponsor:not(.big) {
  width: 12%;
}

#sponsorsPage .sponsors .sponsor.big {
  text-align: center;
}

.sponsors-info .center {
  display: flex;
  justify-content: center !important;
  margin-bottom: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.sponsors-info .center h3 {
  width: 100%;
  font-family: 'Roboto';
  text-align: center;
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  line-height: 93px;
  color: #000000;
  display: flex;
  justify-content: center;
}

.sponsors-info .center .item {
  width: 33% !important;
}

.sponsors-info .sponsors-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}

.sponsors-info .sponsors-wrapper .sponsors-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 50%;
}




.sponsors-info .sponsors-wrapper .sponsors-main h3 {
  width: 100%;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  line-height: 93px;
  color: #000000;
  display: flex;
  justify-content: center;
}

.sponsors-info .sponsors-main .item {
  width: 50%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.sponsors-info .sponsors-main .item h3 {
  width: 100%;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-size: 26px;
  line-height: 93px;
  color: #000000;
  display: flex;
  justify-content: center;
}

.sponsors-info .sponsors-main .item img {
  width: 250px;
}

.sponsors-info .sponsors-wraper {
  margin-top: 40px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.sponsors-info .sponsors-wraper .item {
  width: 7%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  margin-right: 40px;
}

.sponsors-info .sponsors-wraper .item img {
  width: 150px;
}

.sponsors-info .sponsors-wraper .item #videostroj {
  width: 100px;
}

.sponsors-info .sponsors-wraper .item #work_and_care {
  width: 130px;
}

.sponsors-info .sponsors-wraper .item #adriaticBank {
  width: 200px;
}

.sponsors-info .sponsors-wraper .item #fizioVracar {
  width: 100px;
}

.sponsors-info .sponsors-wraper .item #vianor {
  width: 100px;
}

.sponsors-info .sponsors-wraper .item #west {
  width: 100px;
}
.sponsors-info .sponsors-wraper .item #lasta {
  width: 120px;
}

footer .info-footer .container .contact {
    color: white;
}

footer .info-footer .container .contact p {
    color: white;
}

@media (max-width: 768px) {
  footer .info-footer .container {
    flex-wrap: wrap;
  }

  footer .footer-menu {
    width: 100%;
  }

  footer .footer-menu ul li {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10px;
  }

  footer .footer-menu ul li a {
    text-align: center;
    width: 100%;
  }

  .sponsors-title h2.article-title {
  font-size: 30px;
  }

  .sponsors .sponsors-info .sponsors-main {
    flex-wrap: wrap;
  }

  .sponsors .sponsors-info .sponsors-main .item {
      width: 100%;
  }

  .sponsors .sponsors-info .sponsors-main .item h3 {
    font-size: 25px;
  }

  .sponsors-info .sponsors-wraper .item {
    width: 35% !important;
    margin-right: 0;
  }

  footer .info-footer .container .logo {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  footer .info-footer .container .menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer .info-footer .container .social {
    display: none;
  }

  footer .info-footer .container .social h3 {
    text-align: center;
    display: none;
  }

  footer .info-footer .container .social-mob {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 20px;
  }

  footer .info-footer .container .social-mob .social-button a i {
    font-size: 35px;
  }

  footer .info-footer .container .social p {
    text-align: center;
  }

  footer .info-footer .container .contact {
    width: 100%;
  }

  footer .info-footer .container .contact h3 {
    text-align: center;
  }

  footer .info-footer .container .contact p {
    text-align: center;
  }
}

@media (max-width: 680px) {

  .sponsors-info .sponsors-wrapper {
      flex-wrap: wrap;
  }

  .sponsors .sponsors-info .sponsors-main {
    width: 100%;
  }



  .sponsors .sponsors-info .sponsors-main .item {
    margin-bottom: 40px;
  }

  .sponsors-info .center .item {
    width: 100% !important;
  }

}

/***************** SEARCH FORM *****************/

#searchOverlay {
  background-color: rgba(30, 126, 220, 0.96);
}

#searchOverlay button {
  background-color: transparent;
  position: fixed;
  top: 40px;
  right: 5%;
}

#searchOverlay button i {
  font-size: 50px;
  color: #ffffff;
}

#searchOverlay .search-form-wrapper {
  width: 80%;
  max-width: 800px;
  z-index: 999;
}

#searchOverlay .search-form-wrapper h3 {
  margin-bottom: 70px;
  font-size: 60px;
  color: #ffffff;
}

#searchOverlay .search-form-wrapper .field {
  width: 100%;
  padding: 10px;
  background-color: transparent;
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  font-size: 20px;
}

#searchOverlay .search-form-wrapper button {
  position: absolute;
  right: 0;
  bottom: -60px;
  background-color: transparent;
  font-size: 30px;
}

#searchOverlay .search-form-wrapper button i {
  color: #ffffff;
}

p.article-title {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  color: #E4FF4C;
  padding-top: 30px;
  z-index: 2;
}

h2.article-title {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 100;
  margin-bottom: 30px;
  z-index: 2;
}

h2.article-title.with-line {
  position: relative;
}

h2.article-title.with-line::after {
  position: absolute;
  content: "";
  background: #E4FF4C;
  height: 2px;
  width: 100px;
  top: 22px;
  margin-left: 20px;
}

h2.news-title.with-line {
  position: relative;
}

h2.news-title.with-line::after {
  position: absolute;
  content: "";
  background: #E4FF4C;
  height: 2px;
  width: 100px;
  top: 30px;
  margin-left: 20px;
}

/**********home shop ************/

.home-shop {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1)    0%,
    rgba(0, 0, 0, 0.90) 100%
  );
}


.home-shop .container {
  position: relative;
}

.home-shop h2 {
  color: white;
}

.home-shop .visit-shop {
  position: absolute;
  right: 0;
  top: 50px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 20px;
  background: #E4FF4C;
  border: 2px solid transparent;
}

.home-shop .visit-shop p {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: black;
}

.home-shop .shop-items .item {
  display: inline-block;
  width: 18%;
  margin: 1%;
  height: 450px;
  position: relative;
  margin-bottom: 20px;
}

.home-shop .shop-items .item .item-title {
  color: white;
}

.home-shop .shop-items .item .item-price {
  color: #E4FF4C;
  position: absolute;
  bottom: 0;
  left: 0;
}

.home-shop .shop-items .item .item-image img {
  border-radius: 10% / 10%;
}

.home-shop-mob {
  display: none;
}

.home-shop-mob h2 {
  color: #fff;
}

.home-shop-mob .visit-shop {
  position: absolute;
  right: 0;
  top: 50px;
  right: 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 20px;
  background: #E4FF4C;
  border: 2px solid transparent;
}

.home-shop-mob .visit-shop p {
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  color: black;
}

.home-shop-mob .home-shop-wrapper #carouselExampleControlsShop {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-shop-mob .home-shop-wrapper #carouselExampleControlsShop .carousel-inner {
  width: 60%;

}

@media (max-width: 768px) {
  .home-shop {
    display: none;
  }

  .home-shop-mob {
    position: relative;
    display: block;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1)    0%,
        rgba(0, 0, 0, 0.90) 100%
    );
    padding: 40px 0;
  }

  .home-shop-mob .home-shop-wrapper #carouselExampleControlsShop .carousel-inner {
        height: 700px;
  }

  .home-shop-mob .home-shop-wrapper .carousel .carousel-inner {
    top: 30px;
  }

  .home-shop-mob .home-shop-wrapper .carousel .carousel-inner .carousel-item.active p {
    position: relative;
    z-index: +1;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    color: #FFFFFF;
    text-align: center;
  }

  .home-shop-mob .home-shop-wrapper .carousel .carousel-inner .carousel-item.active p.orange {
    font-family: 'Karla';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 24px;
    color: #E4FF4C;
  }

}

@media (max-width: 680px) {

  footer .info-footer .container .menu {
    display: none;
  }

  .home-shop-mob .home-shop-wrapper #carouselExampleControlsShop .carousel-inner {
    height: 640px;
  }

  .home-shop-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-shop-wrapper .visit-shop {
    position: unset;
  }

  .home-shop-wrapper p.article-title {
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 580px) {
  .home-shop-mob .home-shop-wrapper #carouselExampleControlsShop .carousel-inner {
    height: 580px;
  }
}

@media (max-width: 480px) {
  .home-shop-mob .home-shop-wrapper #carouselExampleControlsShop .carousel-inner {
    height: 460px;
  }
}

/************news**********/

#news {
  /*background: linear-gradient(90deg, rgba(35,35,36,1) 0%, rgba(65,67,69,1) 50%, rgba(35,35,36,1) 100%);*/
  background-image: url("img/Layer 2 1.png"), url("img/Layer 2 2.png"),
  linear-gradient(
      90deg,
      rgba(0, 0, 0, 1)   0%,   /* pure black */
      rgba(0, 0, 0, 0.85) 100% /* 15% lighter */
    );
  background-position: left center, right center;
  background-repeat: no-repeat, no-repeat;
}

#news .container {
  display: flex;
  flex-wrap: wrap;
}

#news h2.article-title {
  color: white;
  font-size: 65px;
}

#news .titles {
  width: 100%;
}

#news .button-wrapper .pogledaj-sve {
  width: 165px;
  padding: 10px 20px;
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background: #E4FF4C;
  color: black;
  border: 2px solid transparent;
}

#news .titles p.text {
  color: white;
  font-family: 'Karla', sans-serif;
  margin-bottom: 20px;
}

#news .button-wrapper .pogledaj-sve:hover {
  background: white;
  border: 2px solid #D2A446;
}

#news .latest-news {
  width: 100%;
  display: flex;
  margin: 50px 0 0;
}

#news .latest-news .news-left {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#news .latest-news .news-left .article {
  width: 30%;
  margin-bottom: 40px;
}

#news .latest-news .news-left .article a {
  display: block;
}

#news .latest-news .news-left .article a img {
  display: block;
  /*object-fit: cover;*/
  border-radius: 10% / 10%;
}


#news .button-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 50px;
}


#news .latest-news .news-right {
  height: 490px;
}

#news .latest-news .news-right .article {
  height: 100%;
  max-height: 400px;
}

#news .latest-news .news-right .article a {
  height: 100%;
  display: block;
  position: relative;
}


#news .latest-news .news-right .article a p {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 35px;
  text-shadow: 5px 5px 7px #000000;
}


#news .latest-news p {
  font-family: 'Karla', sans-serif;
  font-size: 18px;
  color: white;
  font-weight: bold;
  margin-top: 10px;
  /*line-height: 21px;*/
  /*height: 43px;*/
  /*overflow: hidden;*/
}

@media (max-width: 768px) {
  #news .container {
    flex-wrap: wrap;
  }
  #news .titles {
    width: 100%;
  }

  #news h2.article-title {
    font-size: 20px;
  }

  #news .latest-news {
    width: 100%;
  }

  #news .latest-news .news-left {

  }

  #news .latest-news .news-left .article {
    width: 49%;
  }

  #news .latest-news .news-right .article a {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    max-height: 320px;
  }

  #news .latest-news .news-right .article {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    max-height: 320px;
  }

  #news .latest-news .news-right .article a p {
    position: unset;
  }

  #news .latest-news .news-right {
    width: 100%;
    height: 320px;
  }


}

@media (max-width: 580px) {
  #news .latest-news .news-left .article {
    width: 100%;
  }
}

/*********/

#players {
  position: relative;
  background: url('./img/bg-players.png');
}

#players h2.article-title {
  color: white;
}

#players .container {
  position: relative;
}

#players .container .players .player .player-image img {
  border-radius: 10% / 10%;
}

#players .show-all-players {
  position: absolute;
  color: #E4FF4C;
  right: 0;
  top: 50px;
  display: flex;
  gap: 10px;
  align-items: center;
}

#players-mob {
  display: none;
  position: relative;
  background: url('./img/bg-players.png');
}

#players-mob .show-all-players {
  position: absolute;
  color: #E4FF4C;
  right: 30px;
  top: 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}

#players-mob .show-all-players p {
  margin-bottom: 0;
}

#players .players {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

#players-mob h2.article-title {
  color: #ffffff;
}

#players .player {
  width: 15%;
  margin-bottom: 20px;
}

#players .player .player-info {
  background: black;
  position: relative;
  text-align: center;
  color: white;
}

#players .player .player-info::after {
  position: absolute;
  content: "";
  background: #E4FF4C;
  height: 5px;
  width: 100%;
  left: 0;
}

#players .player .player-info .player-name {
  font-size: 20px;
}

#players .player .player-info .player-position {
  font-size: 15px;
}

#players-mob .player-info {
  background: black;
  position: relative;
  text-align: center;
  color: white;
}

#players-mob .player-info::after {
  position: absolute;
  top: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(215, 172, 82,1) 0%, rgba(255, 255, 255,1) 50%, rgba(215, 172, 82,1) 100%);
  height: 5px;
  width: 100%;
  left: 0;
}

#players-mob .player-info .player-name {
  font-size: 20px;
}

#players-mob .player-info .player-position {
  font-size: 15px;
}

@media (max-width: 768px) {
  #players-mob {
    display: block;
    padding-bottom: 120px;
  }

  #players {
    display: none;
  }
}

/*****gallery****/

#galleries .galleries {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
}

.gallery-button-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.home-gallery-wrapper {
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.home-gallery-wrapper p.article-title {
  width: 100%;
}

.home-gallery-wrapper h2.article-title {
  width: 50%;
  margin-bottom: unset;
}

.home-gallery-wrapper .galleries {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
}

.home-gallery-wrapper .galleries a {
  width: 30%;
}

.home-gallery-wrapper .galleries a .gallery .gallery-image {
  /*border: 2px solid #E4FF4C;*/
  height: 270px;
  overflow: hidden;
}

.home-gallery-wrapper .galleries a .gallery .gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10% / 10%;
}

.home-gallery-wrapper .galleries a .gallery .gallery-date {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 24px;
  color: #E4FF4C;
  margin: 10px 0 15px 0;
}

.home-gallery-wrapper .galleries a .gallery .gallery-title {
  /*font-family: 'Karla';*/
  /*font-style: normal;*/
  /*font-weight: 700;*/
  /*font-size: 36px;*/
  /*line-height: 30px;*/
  /*!* identical to box height, or 67% *!*/


  color: #000000;

  font-family: 'Karla', sans-serif;
  font-weight: bold;
  font-size: 26px;
  margin-top: 10px;
}


.home-gallery-wrapper .tab-buttons {
 display: flex;
  justify-content: flex-end;
  width: 50%;
}

.home-gallery-wrapper .tab-buttons a {
  padding: 10px 20px;
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  background: black;
  color: white;
  border: 2px solid transparent;
  transition: all 250ms;
}

.home-gallery-wrapper .tab-buttons a.active {
  background: #E4FF4C;
  color: black;
}

.home-gallery-wrapper .tab-buttons a:hover {
  background: white;
  color: black;
  border: 2px solid #D2A446;
}

.home-gallery-wrapper .tab-buttons a:not(:first-child) {
  margin-left: 10px;
}

#galleries .galleries .gallery {
  width: 30%;
}

#galleries .galleries .gallery .gallery-date {
  font-family: 'Karla', sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #E4FF4C;
}

#galleries .galleries .gallery .gallery-title {
  font-family: 'Karla', sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  color: #000000;
}

@media (max-width: 768px)  {

  .home-gallery-wrapper h2.article-title {
    width: 100%;
  }

  .home-gallery-wrapper .tab-buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .home-gallery-wrapper .galleries a {
    width: 100%;
  }

  .home-gallery-wrapper .galleries {
    flex-wrap: wrap;
  }

}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

.tab-content {
  display: none;
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

.tab-content.open {
  display: block;
}

@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/********matches********/

#matches {
    
}

#matches .container {
  display: flex;
  margin-bottom: 20px !important;
}

#matches .titles {
  width: 35%;
}

#matches .titles h2.article-title {
  margin-bottom: 20px;
  font-size: 55px;
}

#matches .titles .pogledaj-sve {
  width: 165px;
  padding: 10px 20px;
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background: #E4FF4C;
  color: black;
  border: 2px solid transparent;
}

#matches .titles .pogledaj-sve:hover {
  background: white;
  border: 2px solid #D2A446;
}

#matches .matches-list {
  width: 65%;
}

#matches .matches-list .tab-buttons {
  margin-top: 20px;
}

#matches .matches-list .tab-buttons .tab-button {
  font-size: 38px;
  font-family: 'Roboto', sans-serif;
  color: #bbb;
  font-weight: bold;
}

#matches .matches-list .tab-buttons .tab-button.active {
  color: #000;
  position: relative;
}

#matches .matches-list .tab-buttons .tab-button.active::after {
  content: '';
  position: absolute;
  width: 100%;
  bottom: -5px;
  left: 0;
  background: #D8AC51;
  height: 2px;
}

#matches .matches {
  width: 100%;
  margin-top: 20px;
}

#matches table.matches thead tr th {
  text-align: left;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #acacac;
}

#matches .matches .table-header {
  display: flex;
  justify-content: space-between;
}

#matches .matches .table-header p {
  text-align: left;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #acacac;
  width: 16%;
}

#matches table.matches tbody tr {
  margin-top: 10px;
  height: 60px;
}

#matches .matches .table-body tr td {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  vertical-align: middle;
}

#matches .matches .table-body div p {
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  vertical-align: middle;
  width: 16%;
}

#matches .matches .table-body div {
  display: flex;
  justify-content: space-between;
}

#matches .matches .table-body div p a {
  padding: 10px 20px;
  display: block;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  transition: all 250ms;
  border: 2px solid transparent;
}

#matches .matches .table-body div p a {
  background: black;
  color: white;
}

#matches .matches .table-body div p a:hover {
  background: white;
  border: 2px solid #D2A446;
  color: black;
}

@media (max-width: 768px) {
  #matches .container {
    flex-wrap: wrap;
  }

  #matches .matches .table-header p {
    width: unset;
  }

  #matches .titles {
    width: 100%;
  }

  #matches .matches-list {
    width: 100%;
  }

  #matches .matches-list .tab-buttons .tab-button {
    font-size: 26px;
  }

  #matches .matches .table-body div:nth-child(2) {
    display: none;
  }

  #matches .matches .table-header {
    flex-direction: column
  }

  #matches .matches .table-body div {
    flex-direction: column;
  }


  #matches .matches {
    display: flex;
    align-items: baseline;
    flex-direction: row;
  }

  #matches .matches .table-body div p {
    font-size: 14px;
    padding-left: 10px;
    width: unset;
  }

  #matches .matches .table-body div p a {
    padding: 3px 2px;
    width: 80px;

  }
}

/*****turmanents******/

#tournaments {
  margin-bottom: 50px;
}

#tournaments .tab-buttons {
  margin-top: 20px;
}

#tournaments .tab-buttons .tab-button {
  font-size: 28px;
  font-family: 'Roboto', sans-serif;
  color: #bbb;
  font-weight: bold;
}

#tournaments .tab-buttons .tab-button:not(:first-child) {
  margin-left: 50px;
}


#tournaments .tab-buttons .tab-button.active {
  color: #000;
  position: relative;
}

#tournaments .tab-buttons .tab-button.active::after {
  content: '';
  position: absolute;
  width: 100%;
  bottom: -5px;
  left: 0;
  background: #D8AC51;
  height: 2px;
}

#tournaments table.teams {
  width: 100%;
  margin-top: 20px;
}

#tournaments table.teams.page:first-child {
  background-image: url("img/Vector Smart Object 3.png");
  background-repeat: no-repeat;
  background-size: contain;
}

#tournaments table.teams thead tr th {
  text-align: left;
  font-family: 'Karla', sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #acacac;
  padding: 20px;
}

#tournaments table.teams tbody tr {
  margin-top: 10px;
  height: 60px;
}


#tournaments table.teams tbody tr:nth-child(odd) {
  background: #efefef;
}

#tournaments table.teams tbody tr td {
  text-align: left;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  vertical-align: middle;
  padding: 0 20px;
}

@media (max-width: 768px) {
  #tournaments .tab-buttons {
    display: flex;
    flex-direction: column;
  }
  #tournaments .tab-buttons .tab-button.active::after {
    bottom: 1px;
  }

  #tournaments .tab-buttons .tab-button {
    font-size: 20px;
    width: fit-content;
  }

  #tournaments .tab-buttons .tab-button:not(:first-child) {
    margin-left: 0;
  }

  #tournaments table.teams thead tr th  {
      font-size: 10px;
  }

  .tab-content {
    overflow: auto;
  }

  #historyPage .tab-content {
    overflow: unset !important;
  }

  /*#tournaments table.teams thead tr th:nth-child(5) {*/
  /*  display: none;*/
  /*}*/

  /*#tournaments table.teams thead tr th:nth-child(6) {*/
  /*  display: none;*/
  /*}*/

  /*#tournaments table.teams thead tr th:nth-child(7) {*/
  /*  display: none;*/
  /*}*/

  #tournaments table.teams tbody tr td  {
    font-size: 10px;
  }

  /*#tournaments table.teams tbody tr td:nth-child(5)  {*/
  /*  display: none;*/
  /*}*/

  /*#tournaments table.teams tbody tr td:nth-child(6)  {*/
  /*  display: none;*/
  /*}*/

  /*#tournaments table.teams tbody tr td:nth-child(7)  {*/
  /*  display: none;*/
  /*}*/

}

/*********top bar*************/

#euroleague-topbar {
  /*position: fixed;*/
  width: 100%;
  height: 72px;
  padding: 0;
  border: unset;
  top: 0;
  z-index: 2000;
}

/*****************competitions page***************/
#competitionsPage header {
  margin-bottom: 40px;
}

/*****************AI chat agent***************/

/* --- Chat widget styles (scoped) --- */
    .kkp-chat-launcher {
      position: fixed; right: 16px; bottom: 64px;
      width: 56px; height: 56px; border-radius: 9999px;
      border: none; cursor: pointer; z-index: 2147483000;
      box-shadow: 0 6px 20px rgba(0,0,0,.25);
      background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center;
      transition: transform .12s ease, box-shadow .12s ease;
      background: #e4ff4c;       /* fluorescent */
      color: #111;               /* icon color for contrast */
      box-shadow:
      0 6px 20px rgba(0,0,0,.25),
      0 0 24px rgba(228,255,76,.45); /* soft neon glow */
    }
    .kkp-chat-launcher:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.28); }
    .kkp-chat-launcher:active { transform: translateY(0); }

    .kkp-chat-panel {
      position: fixed; right: 24px; bottom: 96px;
      width: 360px; height: 560px; max-height: calc(100vh - 140px);
      background: #fff; border-radius: 16px; overflow: hidden;
      box-shadow: 0 18px 60px rgba(0,0,0,.32);
      z-index: 2147483000; opacity: 0; pointer-events: none;
      transform: translateY(16px) scale(.98);
      transition: opacity .18s ease, transform .18s ease;
    }
    .kkp-chat-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

    .kkp-chat-header {
      height: 48px; background: #111; color: #fff;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 12px 0 16px;
    }
    .kkp-chat-header .kkp-chat-close {
      border: 0; background: transparent; color: #fff; font-size: 24px; cursor: pointer;
      line-height: 1;
    }
    .kkp-chat-frame-wrap { width: 100%; height: calc(100% - 48px); background: #f6f7f9; }

    /* Mobile: full-screen */
    @media (max-width: 640px) {
      .kkp-chat-panel {
        top: 0; right: 0; bottom: 0; left: 0;
        width: 100vw; height: 100vh; border-radius: 0;
      }
      .kkp-chat-launcher { bottom: 64px; right: 14px; }
    }
    
/* ===== Latest Videos (same look as Shop) ===== */
.home-videos {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1)    0%,
    rgba(0, 0, 0, 0.90) 100%
  );
  padding: 40px 0;
}
.home-videos p.article-title { color: #E4FF4C; }
.home-videos h2.article-title { color: #fff; }

/* right-aligned yellow CTA, like other sections */
.home-videos .button-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.home-videos .button-wrapper .pogledaj-sve {
  width: 165px;
  padding: 10px 20px;
  display: inline-block;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background: #E4FF4C;
  color: #000;
  border: 2px solid transparent;
  text-decoration: none;
}
.home-videos .button-wrapper .pogledaj-sve:hover {
  background: #fff;
  border: 2px solid #D2A446;
}

/* iframe wrapper + responsive height (removes bottom white gap) */
.home-videos .videos-embed {
  padding: 0;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}
.home-videos .videos-embed iframe {
  display: block;
  width: 100%;
  height: 230px;   /* desktop: one row */
  border: 0;
}
@media (max-width: 1200px) { .home-videos .videos-embed iframe { height: 300px; } }
@media (max-width: 992px)  { .home-videos .videos-embed iframe { height: 420px; } }
@media (max-width: 768px)  { .home-videos .videos-embed iframe { height: 560px; } }
@media (max-width: 560px)  { .home-videos .videos-embed iframe { height: 510px; } }

/* show desktop iframe by default */
.home-videos .videos-embed .iframe-desktop { display: block; }
.home-videos .videos-embed .iframe-mobile  { display: none; }

/* on ≤992px, show the mobile (8 videos) iframe */
@media (max-width: 992px){
  .home-videos .videos-embed .iframe-desktop { display: none; }
  .home-videos .videos-embed .iframe-mobile  { display: block; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
}

.lang-switcher a {
  text-decoration: none;
  opacity: 0.7;
}

.lang-switcher a.active {
  opacity: 1;
  text-decoration: underline;
}

.lang-switcher .sep {
  opacity: 0.5;
}

.lang-switcher-dd{
  position:relative;
  display:inline-block;
}

.lang-dd-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:32px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:700;
  font-size:12px;
  letter-spacing:.4px;
  cursor:pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-dd-btn:hover{
  background:rgba(255,255,255,.10);
}

.lang-dd-menu{
  position:absolute;
  right:0;
  top:calc(100% + 8px);
  min-width:110px;
  padding:6px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(17,17,17,.92);
  box-shadow:0 10px 24px rgba(0,0,0,.28);
  display:none;
  z-index:9999;
}

.lang-switcher-dd.is-open .lang-dd-menu{
  display:block;
}

@media (max-width: 992px){
  .header-actions .lang-switcher-dd{
    display:none;
  }
}

.mobile-lang-switcher .lang-switcher-dd .lang-dd-menu{
  position:absolute;
}

.lang-dd-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:9px 10px;
  border-radius:10px;
  text-decoration:none;
  color:rgba(255,255,255,.88);
  font-weight:700;
  font-size:12px;
}

.lang-dd-item:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}

.lang-dd-item.is-active{
  background:rgba(255,255,255,.14);
}
