/*
Theme Name: Rodos İstanköy ve Onikiada Türkleri Derneği
Theme URI: https://rodosistankoyturkleri.org.tr/
Author: Rodos İstanköy ve Onikiada Türkleri Derneği
Description: Dernek haberleri, kültürel miras, yayınlar, videolar ve şubeler için hazırlanmış özel WordPress teması.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.3
Text Domain: rodos-istankoy
*/

:root {
  --rodos-burgundy: #7a1724;
  --rodos-ink: #102a31;
  --rodos-sand: #f4efe6;
  --rodos-bronze: #d8b36a;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fbfaf7;
  color: var(--rodos-ink);
}

.admin-bar .rodos-header {
  top: 32px;
}

.rodos-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.rodos-menu > ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rodos-menu a {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  color: rgba(16, 42, 49, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.rodos-menu .current-menu-item > a,
.rodos-menu a:hover {
  background: var(--rodos-burgundy);
  color: #fff;
}

.rodos-mobile-menu {
  display: none;
}

.rodos-mobile-menu.is-open {
  display: block;
}

.rodos-mobile-menu ul {
  display: grid;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 1rem;
}

.rodos-mobile-menu a {
  display: block;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  color: var(--rodos-ink);
  font-weight: 800;
  text-decoration: none;
}

.rodos-mobile-menu .current-menu-item > a {
  background: var(--rodos-burgundy);
  color: #fff;
}

.wp-hero-slide {
  opacity: 0;
  pointer-events: none;
}

.wp-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.wp-hero-copy {
  opacity: 0;
  transform: translateY(16px);
}

.wp-hero-slide.is-active .wp-hero-copy {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease 0.15s, transform 0.65s ease 0.15s;
}

.wp-hero-dot.is-active {
  width: 1.75rem;
  background: var(--rodos-bronze);
}

.rodos-credit {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  z-index: 2;
  border-radius: 999px;
  background: rgba(16, 42, 49, 0.76);
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.rodos-credit:hover {
  background: var(--rodos-burgundy);
}

.rodos-content > * + * {
  margin-top: 1.4rem;
}

.rodos-content a {
  color: var(--rodos-burgundy);
  font-weight: 700;
}

.rodos-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.rodos-pagination .page-numbers {
  display: grid;
  min-width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--rodos-ink);
  font-weight: 800;
  text-decoration: none;
}

.rodos-pagination .current {
  background: var(--rodos-burgundy);
  color: #fff;
}

@media (max-width: 782px) {
  .admin-bar .rodos-header {
    top: 46px;
  }
}

@media (max-width: 1023px) {
  .rodos-desktop-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .rodos-menu-toggle,
  .rodos-mobile-menu {
    display: none !important;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .rodos-header .site-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .rodos-header img {
    max-height: 2.75rem;
    max-width: 5rem;
  }

  .rodos-menu a {
    padding: 0.55rem 0.55rem;
    font-size: 0.68rem;
  }
}
