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

.content-wrapper a {
  text-decoration: underline;
}

ul {
  list-style-type: disc;
  margin: 0 0 10px 20px;
  padding: 0;
}

ul li {
  margin-bottom: 5px;
}

table {
  width: 100%;
}

table tr {
  border-bottom: 1px solid #ddd;
}

table tr:hover {
  background: #f9f9f9;
}

table tr td {
  padding: 10px;
}

figure figcaption {
  padding: 10px;
  text-align: center;
  color: #666;
  font-size: 0.8rem;
}

.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;
}

ul.links-list li {
  border-color: #f04036;
  border-left-width: 2px;
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  margin-bottom: 1.5rem;
}

ul.links-list li a:hover {
  color: #f04036;
}

.content-wrapper {
  color: #222222;
}

.content-wrapper h2,
.content-wrapper p {
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 2rem;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid #e1e1e1;
}

/* 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.right-icon {
  transform: rotate(180deg) !important;
}

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

/* Aktif ebeveyn dropdown menü */

.has-active-submenu {
  // border: rgba(255, 255, 255, 0.2) 1px solid;
  background: rgba(255, 255, 255, 0.1);
  // background: #7a0f0b;
  // border-radius: 0.375rem;
}

#mobileMenu ul {
  list-style-type: none;
  margin: 0 0 5px 0;
  padding: 0;
  background: #4e4dc3;
}

#mobileMenu ul li {
  margin-bottom: 0px;
  background: #8384d6;
  overflow: hidden;
}

#mobileMenu ul li:last-child {
  border-radius: 0 0 0.375rem 0.375rem;
}

#mobileMenu ul li a[data-state='active'] {
  color: #000000 !important;
  background: #ffda5b !important;
}

#mobileMenu div > div > button {
  background: transparent !important;
  color: white !important;
}

#mobileMenu div > a[data-state='active'] {
  color: #000000 !important;
  background: #ffda5b !important;
  // background: transparent !important;
}

#mobileMenu div > a,
#mobileMenu div > button {
  margin-bottom: 5px;
}

#mobileMenu div > div:not(.has-active-submenu) {
  background: #3738a5;
}

#mobileMenu div > div.has-active-submenu > button[data-parent-active='true'] {
  // color: #ec413c !important;
  // background: #8384d6 !important;
}

// [data-parent-active='true'] {
//   color: #1d4ed8;
// }

/* Dropdown'da tam aktif link */

// a[aria-current='page'] {
//   color: black;
//   background: rgba(255, 255, 255, 0.5);
//   border: 1px solid rgba(255, 255, 255, 0.1);
// }
// a[aria-current='page'] + div {
//   background: rgba(255, 255, 255, 0);
//   border: 1px solid rgba(255, 255, 255, 0.1);
//   margin-top: 10px;
//   border-radius: 0.375rem;
// }

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

#event-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;
  padding-top: 1rem;
  margin-bottom: 1rem;
}

/* event */

.event-card {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 16px;
  gap: 16px;
  border: 1px solid #ededed;
  min-height: 139px;
}

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

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

.event-info .event-date {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 15px;
}

.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 #e1e1e1;
}

.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 */
