/* Stil za prikaz 4 stavke u jednom redu unutar .block-type-1 */
.block-type-1 .items.four-columns {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* Na tabletima će se prebaciti u 2x2 grid */
@media (max-width: 1024px) {
  .block-type-1 .items.four-columns {
    grid-template-columns: 1fr 1fr;
  }
}

/* Na mobitelima će ići jedna ispod druge */
@media (max-width: 600px) {
  .block-type-1 .items.four-columns {
    grid-template-columns: 1fr;
  }
}

/* ISPRAVAK: Smanjivanje velikog razmaka između blokova na desktopu.
  Problem je bio u klasi .block-type-1 koja ima `padding-top: 320px !important`,
  što je uzrokovalo veliki razmak. Ovaj kod to ispravlja.
*/

/* Uklanjamo donji razmak sa zadnjeg panela u "Program meetupa" sekciji */
#program-meetupa .items .item:last-child {
  padding-bottom: 40px;
}

/* Postavljamo manji gornji razmak za sekciju s cijenama.
  Koristimo !important da bismo nadjačali postojeće pravilo.
*/
#cijene-ulaznica {
  padding-top: 40px !important;
}

/*
  ISPRAVAK 2: Eksplicitno centriranje logotipa unutar containera.
*/

/* Glavni kontejner za sponzore */
.sponzori-wrapper .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

/* Uklanjamo stilove s "testimonial" kartice i pretvaramo je u flex container za centriranje */
.sponzori-wrapper .testimonial {
  background: none;
  box-shadow: none;
  padding: 15px;
  display: flex; /* << NOVO */
  justify-content: center; /* << NOVO: Horizontalno centriranje */
  align-items: center; /* << NOVO: Vertikalno centriranje */
}

/* Stil za sliku logotipa - uklanjamo margin: 0 auto jer flexbox to rješava */
.sponzori-wrapper .testimonial img {
  max-width: 180px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sponzori-wrapper .testimonial img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Na mobitelima, logotipi idu jedan ispod drugog */
@media (max-width: 768px) {
  .sponzori-wrapper .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Stilovi za FAQ sekciju */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5edff;
}

.faq-question {
  font-weight: 700;
  color: #4c0f7b;
  padding: 20px 0;
  cursor: pointer;
  position: relative;
  font-size: 22px;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s ease-in-out;
}

.faq-question.active:after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding-bottom: 20px;
  color: #002d39;
  line-height: 1.6;
  display: none; /* Odgovori su sakriveni dok se ne klikne */
}

.faq-answer p {
  margin: 0;
}

/* Smanjivanje gornjeg razmaka za ciljane .block-type-1 sekcije na ovoj stranici */
#faq-section {
  padding-top: 60px !important;
}

/* Styling for check and cross icons in comparison tables */
.comparison-table .check-icon {
  color: var(--color-turquoise);
  font-weight: bold;
  font-size: 20px;
}

.comparison-table .cross-icon {
  color: var(--color-red);
  font-weight: bold;
  font-size: 18px;
  opacity: 0.7;
}

/* NOVI STIL: Podešavanje širine stupaca u tablicama za usporedbu */
.comparison-table th.feature-name,
.comparison-table td.feature-name {
  width: 40%;
}

.comparison-table th:not(.feature-name),
.comparison-table td:not(.feature-name) {
  width: 20%;
}

/* NOVI STIL ZA CENTRIRANU HERO SEKCIJU BEZ SLIKE */
.hero.hero-centered .container {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero.hero-centered .hero-content {
  flex-basis: 100%;
}

/* Novi stil za breadcrumbs unutar hero sekcije */
.hero-breadcrumbs {
  color: var(--color-light-purple);
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
}
.hero-breadcrumbs a {
  color: var(--color-white);
  text-decoration: none;
  transition: text-decoration 0.2s ease-in-out;
}
.hero-breadcrumbs a:hover {
  text-decoration: underline;
}

.cover-image figure {
  color: var(--color-dark-turquoise2);
  background-color: var(--color-white);
}
.cover-image figure a,
.cover-image figure a:visited {
  color: var(--color-dark-turquoise2);
}

