.kultur-filter-dropdown[open] > .kultur-filter-toggle .kultur-chevron { transform: rotate(180deg); }
.kultur-filter-dropdown > summary { list-style: none; }
.kultur-filter-dropdown > summary::-webkit-details-marker { display: none; }
a.kultur-clear-filters { text-decoration: none; }
#primary .videolar-container,
#primary .yayinlar-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.cms-pager { display: flex; gap: 8px; justify-content: center; margin: 28px 0 10px; flex-wrap: wrap; }
.cms-pager a, .cms-pager span { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #e5e7eb; color: #153d25; text-decoration: none; padding: 0 10px; background: #fff; }
.cms-pager .is-current { background: #153d25; color: #fff; border-color: #153d25; }
.cms-form-wrap { max-width: 720px; margin: 28px auto 40px; padding: 0 16px; }
.cms-form { display: grid; gap: 12px; }
.cms-form label { display: grid; gap: 6px; font-weight: 600; color: #153d25; }
.cms-form input, .cms-form textarea, .cms-search input, .videolar-search-input, .yayinlar-search-input, .kultur-search-input, .ihaleler-search-input {
  width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: 12px 14px; font: inherit; background: #fff;
}
.cms-form button, .cms-search button, .cms-button, .munhal-sonuclar__submit {
  background: #153d25; color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex;
}
.cms-form-ok { background: #ecfdf3; color: #166534; padding: 12px 14px; border-radius: 8px; }
.cms-form-error, .cms-empty { color: #991b1b; }
.hp-field { position: absolute; left: -9999px; }
.cms-search { display: flex; gap: 10px; max-width: 760px; margin: 0 auto 24px; padding: 0 16px; }
.cms-search-results { max-width: 760px; margin: 0 auto 40px; padding: 0 16px; display: grid; gap: 10px; list-style: none; }
.cms-search-results a { color: #153d25; font-weight: 700; text-decoration: none; }
.cms-heritage, .cms-not-found { max-width: 920px; margin: 0 auto 40px; padding: 0 16px; }
.cms-heritage__cover { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.cms-heritage__slogan { font-size: 1.15rem; color: #153d25; }
.cms-prose img, .cms-gallery img { max-width: 100%; height: auto; }
.cms-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 16px; }
.cms-video-modal { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 100000; display: grid; place-items: center; padding: 24px; }
.cms-video-modal[hidden] { display: none; }
.cms-video-modal__frame { width: min(960px, 100%); aspect-ratio: 16/9; }
.cms-video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.cms-video-modal__close { position: absolute; top: 16px; right: 16px; background: #fff; border: 0; width: 40px; height: 40px; border-radius: 999px; font-size: 24px; cursor: pointer; }
.videolar-thumbnail { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.evkaf-post-detail__content iframe { max-width: 100%; }
.e-odeme-frame, .entry-content iframe { width: 100%; min-height: 1400px; border: 0; }

body:not(.home) .site-main {
  padding-top: 28px;
  padding-bottom: 48px;
}
body:not(.home) #primary :is(
  .yayinlar-container,
  .kultur-varliklari-container,
  .videolar-container,
  .ihaleler-container,
  .personeller-wrapper,
  .evkaf-news-wrap,
  .cms-form-wrap,
  .evkaf-search-page,
  .kultur-single-container
) {
  margin-top: 0;
  margin-bottom: 0;
}
#primary .kultur-single-container {
  padding-top: 0;
  padding-bottom: 0;
}

body.error404 .evkaf-404 {
  padding-top: 20px;
  padding-bottom: 10px;
}

.cms-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.cms-form-wrap h2 {
  margin: 0 0 16px;
  color: #153d25;
  font-size: 1.35rem;
}
.cms-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e5ebe6;
  border-radius: 8px;
}
.cms-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.cms-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: #153d25;
  font-size: 14px;
}
.cms-form input,
.cms-form textarea {
  width: 100%;
  border: 1px solid #d7ddd8;
  border-radius: 6px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}
.cms-form input { height: 46px; }
.cms-form button {
  justify-self: start;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 5px;
  background: #153d25;
  color: #fff;
  border: 0;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 700px) {
  .cms-form-row { grid-template-columns: 1fr; }
}
.cms-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, .88);
  display: grid;
  place-items: center;
  padding: 24px;
}
.cms-image-lightbox[hidden] { display: none; }
.cms-image-lightbox img {
  position: absolute;
  top: 48px;
  left: 72px;
  width: calc(100vw - 144px);
  height: calc(100dvh - 88px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
}
@media (max-width: 768px) {
  .cms-image-lightbox img {
    top: 52px;
    left: 12px;
    width: calc(100vw - 24px);
    height: calc(100dvh - 96px);
  }
}
.cms-image-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  font-size: 26px;
  cursor: pointer;
}
