.sponsor-list-frontend {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.sponsor-card {
  flex: 1 1 calc(25% - 30px); /* max 4 kártya sorban */
  max-width: calc(25% - 30px);
  min-width: 250px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px var(--sponsor-color, rgba(0, 0, 0, 0.1));
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sponsor-card:hover {
  box-shadow: 0 8px 20px var(--sponsor-color, rgba(0, 0, 0, 0.3));
}

.sponsor-card a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.sponsor-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  height: 100%;
  min-height: 300px;
}

.sponsor-type {
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  border: 1px solid var(--sponsor-color, #999);
  color: var(--sponsor-color, #999);
  border-radius: 10px;
  padding: 6px 14px;
  display: inline-block;
  align-self: center;
  text-transform: capitalize;
}

.sponsor-logo-wrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin: 10px 0;
}

.sponsor-logo img {
  max-height: 120px;
  max-width: 80%;
  height: auto;
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.sponsor-logo img {
  object-fit: contain;
}

.sponsor-name {
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  margin-top: auto;
}


@media (max-width: 1024px) {
  .sponsor-card {
    flex: 1 1 calc(50% - 30px);
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 600px) {
  .sponsor-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}


/* Slider */

.sponsor-slider-container {
    width: 100%;
    padding: 20px 0;
}

.sponsor-slide {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.sponsor-slide:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sponsor-slide .sponsor-type {
    font-weight: bold;
    border: 1px solid;
    border-radius: 12px;
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.sponsor-slide .sponsor-logo img {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    margin: 0 auto;
}


.sponsor-widget-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.sponsor-slider-container {
    width: 100%;
    padding: 20px 0;
}

.sponsor-slide-widget {
    background-color: #f1f4f5;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.sponsor-slide-widget:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.sponsor-logo-wrapper img {
    max-height: 60px;
    max-width: 80%;
    object-fit: contain;
}

.custom-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding-bottom: 4rem;
}

.custom-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.custom-slide {
  flex: 0 0 auto;
  min-width: 200px;
  padding: 20px;
  background-color: #f1f5f6;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-slide a {
    width: 100%;
}

.custom-slider-pagination {
  text-align: center;
  margin-top: 15px;
}

.custom-slider-pagination .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.custom-slider-pagination .dot.active {
  background: #717171;
}


