@media (max-width: 767px) {
  .collapse-mobile {
    transform: unset !important;
    position: relative !important;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

summary::-webkit-details-marker {
  display: none;
}

.eventSwiper .swiper-pagination .swiper-pagination-bullet {
  background: #000000 !important;
}

.eventSwiper .swiper-pagination {
  position: relative;
  z-index: 10;
  bottom: -5px !important;
}

.eventSwiper .swiper-slide.event-card {
  min-height: 184px;
}

/* */

.swiper-slide {
  background: transparent !important;
}

.swiper-slide-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 10;
}

.fancybox-bg {
  opacity: 1 !important;
  background: white !important;
}

.fancybox-caption {
  color: #000000 !important;
  background: transparent !important;
}

.fancybox-image {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.list-ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 1rem;
}

.list-ul li a {
  padding: 5px;
}

.list-ul li a:hover {
  color: #ffffff;
  background: #000000;
}

.scroll-margin-top-100 {
  scroll-margin-top: 100px;
}

.masonry-wrapper a {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #e9e9e9;
}

.masonry-wrapper a:hover {
  border-color: #cccccc;
}

.custom-full-link::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 7;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.custom-full-link span {
  position: relative;
  z-index: 20;
}

/* Accordion'un açık olduğu durumda ikonun döndürülmesi */

[data-accordion='collapse'] [data-accordion-icon] {
  transition: transform 0.2s ease;
}

[data-accordion='collapse'] button[aria-expanded='false'] svg {
  transform: rotate(180deg) !important;
}

[data-accordion='collapse'] button[aria-expanded='true'] svg {
  transform: rotate(0deg) !important;
}

/* Aktif ebeveyn dropdown menü */

[data-parent-active='true'] {
  color: #333333;
}

/* Dropdown'da tam aktif link */

a[aria-current='page'] {
  color: #333333;
}

ul.dropdown-submenu-list li a[data-state='active'] {
  color: #333333 !important;
}

.event-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.event-list.full-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

/* Masaüstü için 2 sütun düzeni */

@media (min-width: 768px) {
  .event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

h1 {
  font-size: 2rem;
  font-weight: 600;
  padding-top: 1rem;
  margin-bottom: 1rem;
}

#main p {
  margin-bottom: 1rem;
}

.border-global {
  border-color: rgba(33, 33, 33, 0.2);
}

/* event */

.event-card {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 16px;
  gap: 16px;
  border: 1px solid rgba(33, 33, 33, 0.2);
  min-height: 139px;
}

.event-card .event-images,
.event-card .event-info {
  width: 50%;
  min-height: 190px;
  overflow: hidden;
  flex: 1;
}

.event-card .event-images img {
  height: 100%;
}

.event-card a {
  color: #000000;
  font-weight: 500;
}

@media (max-width: 1279px) {
  .event-card .event-images,
  .event-card .event-info {
    min-height: 110px;
  }
  .event-card .event-info p {
    line-height: 1.2rem;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .event-card .event-info a {
    font-size: 1rem;
  }
}

.event-card a:hover {
  text-decoration: none;
  // color: #ffffff;
}

.event-card a::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.event-card:hover {
  background: #ededed;
}

.event-card:hover .svg-icon-wrapper svg {
  transform: rotate(-45deg);
}

.event-info .event-date {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  // margin-bottom: 15px;
}

.event-info p:not(.event-date) {
  margin-bottom: 5px;
}

.event-info p.date-text {
  font-size: 0.9rem;
  font-weight: 400;
  color: #666666;
}

.event-info {
  margin-right: auto;
}

.event-info h2 {
  font-size: 1.2rem;
}

.event-info h2 a::before {
  content: '';
  display: block;
  position: absolute;
  z-index: 1;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

.event-image {
  width: 200px;
  height: 105px;
  object-fit: cover;
}

.svg-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
}

/* Marquee Infinite scrolling LOGO carousel */

.slider {
  height: 100px;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #000000;
}

.slider::before,
.slider::after {
  position: absolute;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: '';
  height: 100%;
  width: 25%;
  z-index: 2;
  pointer-events: none;
}

// html[data-theme='dark'] .slider::before,
// html[data-theme='dark'] .slider::after {
//   position: absolute;
//   background-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
//   content: '';
//   height: 100%;
//   width: 25%;
//   z-index: 2;
//   pointer-events: none;
// }
// html[data-theme='light'] .slider::before,
// html[data-theme='light'] .slider::after {
//   position: absolute;
//   background-image: linear-gradient(
//     to right,
//     rgba(255, 255, 255, 1) 0%,
//     rgba(255, 255, 255, 0) 100%
//   );
//   content: '';
//   height: 100%;
//   width: 25%;
//   z-index: 2;
//   pointer-events: none;
// }
.slider::before {
  left: 0;
  top: 0;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

/*  IMPORTANT CODE BELOW */

.slide-track {
  width: calc(200px * 20);
  display: flex;
  animation: scroll 20s linear infinite;
  justify-content: space-between;
}

.slide {
  width: 200px;
  height: 60px;
  display: grid;
  place-items: center;
  transition: 0.5s;
}

.slide.bordered {
  padding: 10px;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

// .slide:hover {
//   transform: scale(0.8);
// }
@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-150px * 10));
  }
}

@media screen and (max-width: 768px) {
  .slide-track {
    width: calc(80px * 20);
  }
  .slide {
    width: 80px;
  }
  @keyframes scroll {
    0% {
      transform: translateX(0px);
    }
    100% {
      transform: translateX(calc(-80px * 10));
    }
  }
}

/* end // Marquee Infinite scrolling LOGO carousel */

/* Varsayılan (mobil) */

.container {
  max-width: 100%;
}

/* sm (640px ve üstü) */

@media (min-width: 640px) {
  .container {
    max-width: 600px;
  }
}

/* md (768px ve üstü) */

@media (min-width: 768px) {
  .container {
    max-width: 800px;
  }
}

/* lg (1024px ve üstü) */

@media (min-width: 1024px) {
  .container {
    max-width: 1000px;
    /* senin istediğin sınır */
  }
}

/* xl (1280px ve üstü) */

@media (min-width: 1280px) {
  .container {
    max-width: 1260px;
  }
}

/* 2xl (1536px ve üstü) */

@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }
}
