/*
Theme Name: Dinler Tarihi Ağı — Avada Child
Description: Türkiye Dinler Tarihçileri Ağı için Avada child theme. Dinler Tarihi Proje Eklentisi ile birlikte çalışır.
Author: Türkiye Dinler Tarihçileri Ağı
Template: Avada
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: dinler-tarihi-avada-child
*/

:root {
  --dta-theme-primary: #102a43;
  --dta-theme-secondary: #1f5a7a;
  --dta-theme-focus: #2b6f95;
  --dta-theme-text: #152638;
  --dta-theme-muted: #526273;
  --dta-theme-border: #cbd5df;
  --dta-theme-surface: #ffffff;
  --dta-theme-soft: #f3f6f8;
}

body {
  color: var(--dta-theme-text);
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

a {
  text-underline-offset: 0.16em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--dta-theme-focus);
  outline-offset: 3px;
}

.fusion-header-wrapper,
.fusion-footer {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

.fusion-main-menu > ul > li > a,
.fusion-mobile-nav-item a {
  color: var(--dta-theme-primary);
}

.fusion-main-menu > ul > li > a:hover,
.fusion-main-menu > ul > li.current-menu-item > a,
.fusion-mobile-nav-item a:hover {
  color: var(--dta-theme-secondary);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .fusion-header-wrapper,
  .fusion-footer,
  .dta-filter-open,
  .dta-directory__filters {
    display: none !important;
  }

  .dta-profile,
  .dta-single-academic-main {
    max-width: none !important;
    color: #000 !important;
    background: #fff !important;
  }
}


/* Aşama 7 production integration fixes. */
.dta-home-current-row {
  align-items: start;
  column-gap: clamp(2rem, 4vw, 4rem);
}

.dta-home-current-row > section,
.dta-section-heading,
.dta-section-heading h2 {
  min-width: 0;
}

.dta-section-heading h2 {
  line-height: 1.15;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Prevent long labels and URLs from forcing horizontal overflow. */
.dta-home,
.dta-directory,
.dta-profile {
  overflow-wrap: break-word;
}

.dta-home a,
.dta-directory a,
.dta-profile a {
  word-break: normal;
}

@media (max-width: 1024px) {
  .dta-home-current-row {
    column-gap: 2rem;
  }
}
