/**
 * DTV Tema - Ek Stiller
 * Drupal 10 Tam Uyumlu Versiyon
 */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar (Webkit / Firefox Modern Scrollbar) */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Selection color (Modern Standart) */
::selection {
  background: #d6121f;
  color: #fff;
}

/* Drupal 10 Accessibility Standard (Element Invisible kaldırıldı) */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focusable Skip-link Structure */
.visually-hidden.focusable:active,
.visually-hidden.focusable:focus,
#skip-link a:focus {
  position: fixed !important;
  top: 10px !important;
  left: 10px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 15px !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
  background: #000;
  color: #fff;
  text-decoration: none;
  z-index: 10000;
  border-radius: 4px;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: #2d72a8;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.nav-toggle:hover {
  background: #1a4d7a;
  text-decoration: none;
}

.mobile-header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.mobile-header-logo {
  display: none;
}



/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

.slide-down {
  animation: slideDown 0.3s ease-in;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-justify { text-align: justify; }

.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }
.text-capitalize { text-transform: capitalize; }

.float-left {
  float: left;
  margin-right: 15px;
}

.float-right {
  float: right;
  margin-left: 15px;
}

.clear {
  clear: both;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Margin utilities */
.m-0 { margin: 0; }
.m-1 { margin: 0.5rem; }
.m-2 { margin: 1rem; }
.m-3 { margin: 1.5rem; }
.m-4 { margin: 2rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Padding utilities */
.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
/**
 * DTV Header Yerleşimi & Hizalaması
 */

/* Ana Header Kapsayıcı */
.main-header {
  width: 100%;
  background-color: #b9d9f5;
  background-image: url("../images/header-background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom: 1px solid #e5e5e5;
}

#header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  background: transparent;
}

#header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Sol Taraf: Logo */

#header-top-left {
  transform: translateX(calc((837px - 425px) / 2));
  transition: transform 0.3s ease;
}

#header-top-left #logo-container img {
  max-height: 175px;
  width: 425px;
  display: block;
  transition: width 0.3s ease, max-height 0.3s ease;
}

/* Sağ Taraf Düzeni */
#header-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Sağ Üst Alan (Arama + Sosyal Medya + Dil) */
#header-right-top .region-header-right-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Arama Formu İç Hizalaması */
#header-right-top form {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

#header-right-top .form-item-keys,
#header-right-top .form-actions {
  margin: 0;
}

#header-right-top .form-search {
  appearance: none;
  width: 180px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid rgba(50, 100, 145, 0.45);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 9px;
}

#header-right-top .form-search::-webkit-search-decoration,
#header-right-top .form-search::-webkit-search-cancel-button,
#header-right-top .form-search::-webkit-search-results-button,
#header-right-top .form-search::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
}

#header-right-top .form-submit {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(50, 100, 145, 0.45);
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='7.5' cy='7.5' r='4.5' fill='none' stroke='%23234c70' stroke-width='2'/%3E%3Cpath d='M11 11l4 4' fill='none' stroke='%23234c70' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  color: transparent;
  font-size: 0;
  cursor: pointer;
}

#header-right-top .form-submit:hover,
#header-right-top .form-submit:focus {
  background-color: #fff;
}



#block-search-form .container-inline,
.block-search .container-inline {
  display: flex;
  align-items: center;
  gap: 5px;
}

.element-invisible {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
}

/* Sosyal Medya İkonları */
#social_links {
  display: flex;
  align-items: center;
  width: auto;
  gap: 2px;
}

#social_links img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  vertical-align: middle;
}

#block-dtv-dtv-block-7 {
  width: 223px;
  max-width: 100%;
  margin: 1px 0 0 auto;
}




#social_links .language-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 1px solid #335898;
  border-radius: 50%;
  background: #e7f0fe;
  color: #335898;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

#social_links .language-switcher:hover,
#social_links .language-switcher:focus-visible {
  background: #335898;
  color: #fff;
}



/* Dil Butonu */
.langs a {
  /*display: inline-block;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #234c70;
  text-decoration: none;
  padding: 6px 11px;
  border: 1px solid rgba(35, 76, 112, 0.35);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.72);
  transition: background-color 0.2s ease, color 0.2s ease;*/

     font-weight: bold;
    color: #335898;
    font-size: 1.8em;
}
    body{
    font-family: 'Montserrat', sans-serif !important;
    }
.langs a:hover,
.langs a:focus {
  color: #173853;
  background-color: #fff;
  text-decoration: none;
}

/* Sağ Alt Alan (Ana Menü) */
#main-menu ul#main-menu-links,
#main-menu ul.menu,
#main-menu ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

#main-menu ul#main-menu-links li,
#main-menu ul.menu li,
#main-menu ul li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-menu ul#main-menu-links li a,
#main-menu ul.menu li a,
#main-menu ul li a {
  display: block;
  white-space: nowrap;
  text-decoration: none;
  color: #335898;
  font-weight: bold;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  padding: 4px 2px;
  transition: color 0.2s ease;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif !important;

}

#header-right-bottom {
  width: auto;
  max-width: 100%;
}

#header-right-bottom .navigation {
  width: 100%;
}

#main-menu ul#main-menu-links li a:hover,
#main-menu ul#main-menu-links li a.is-active,
#main-menu ul#main-menu-links li.active a {
  color: #d9534f;

}

/* Ana İçerik Konumlandırması ve 2 Sütunlu Düzen */
.main-content__container {
  max-width: 1200px;
  margin: auto auto;
  padding: 0;            /* Playlist 1200px tam kullanabilsin */
  box-sizing: border-box;
  overflow: hidden;      /* Taşmaları engelle */
}

/* Playlist wrapper — tam 1200px, padding yok */
.main-content__top {
  width: 100%;
  overflow: hidden;
}

/* Alt icerik: content 837px (video ile hizali) | 5px gap | sidebar 358px (playlist ile hizali) */
.main-content__body {
  display: grid;
  grid-template-columns: minmax(0, 837px) minmax(0, 358px); /* Oranı koruyarak esner */
  gap: 5px;
  align-items: start;
  width: 100%;             /* 1200px yerine 100% yapıldı */
  max-width: 1200px;       /* En fazla 1200px olabilir */
  padding: 0;
  box-sizing: border-box;
}

.main-content__body.has-sidebar-first {
  grid-template-columns: 200px minmax(0, 1fr) minmax(0, 358px);
  width: 100%;
  max-width: 1200px;
}

.main-content__category-player {
  grid-column: 1;
  min-width: 0;
}

.main-content__category-layout > .sidebar--second {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.main-content__category-layout > .content-region {
  grid-column: 1;
  grid-row: 2;
}

.content-region {
  min-width: 0;
  width: 100%;
}

.sidebar--second {
  min-width: 0;
  width: 100%;
  min-height: 1px;
}

.node--type-media.node--view-mode-full .node-media-player,
.node--type-media.node--view-mode-full .video-player-shell .video-js {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: #101820;
}

/* Video oynatıcının içindeki video tag'i ve Video.js vjs-tech her zaman görünür olmalı */
.node--type-media.node--view-mode-full .video-player-shell video,
.node--type-media.node--view-mode-full .video-player-shell .vjs-tech {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Sadece içerik gövdesindeki (node-body-container) mükerrer video veya referans linkini gizle */
.node--type-media.node--view-mode-full .node-body-container video,
.node--type-media.node--view-mode-full .yazi-referans-linki {
  display: none;
}







.node-translation-links {
  clear: both;
  display: block;
  margin-top: 10px;
  margin-bottom: auto;
    margin-top: 1rem;
}

.meta.submitted {
    font-family: 'Montserrat Regular', 'Montserrat', sans-serif !important;
    color: #496aa1 !important;
    text-transform: uppercase !important;
    font-size: 1vw !important;
}



/* ==========================================================================
   Pager / Sayfalama (Yatay, Sade ve Klasik Metin Linkleri)
   ========================================================================== */
nav.pager,
.pager {
  clear: both;
  margin: 24px auto;
  padding: 8px 0;
  text-align: center;
  width: 100%;
}

.region--content ul.pager__items,
.region--content .pager ul,
ul.pager__items,
.pager__items {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 4px;
}

.region--content ul.pager__items li,
.pager__items li,
li.pager__item,
.pager__item {
  display: inline-flex !important;
  align-items: center;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


 .node-teaser h2 {
    font-family: 'Montserrat Black';
    font-weight: bold;
    color: #405373 !important;
    font-size: 1.4em;
    text-transform: uppercase;
}
/* Sayfalama Numaraları ve Linkleri */
.pager__item a,
.pager__item span:not(.visually-hidden) {
  display: inline-block;
  padding: 6px 12px;
  color: #0066cc;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.3;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.pager__item a:hover,
.pager__item a:focus {
  color: #d6121f;
  text-decoration: underline;
  background-color: rgba(0, 102, 204, 0.08);
}

/* Aktif Sayfa */
.pager__item.is-active a,
.pager__item.is-active span:not(.visually-hidden),
.pager__item--current {
  font-weight: 700 !important;
  color: #d6121f !important;
  text-decoration: underline;
  background-color: rgba(214, 18, 31, 0.08);
  cursor: default;
}

/* Üç nokta (...) ve aralıklar */
.pager__item--ellipsis {
  display: inline-flex !important;
  align-items: center;
  padding: 6px 4px;
  color: #666;
  font-size: 14px;
  user-select: none;
}

/* İlk / Önceki / Sonraki / Son butonları */
.pager__item--first a,
.pager__item--previous a,
.pager__item--next a,
.pager__item--last a {
  font-weight: 600;
  color: #333;
}

.pager__item--first a:hover,
.pager__item--previous a:hover,
.pager__item--next a:hover,
.pager__item--last a:hover {
  color: #d6121f;
  background-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Sağ Sütun Kategoriler Bloğu Stilleri
   ========================================================================== */
.sidebar--second .block {
  background-color: #f7f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar--second .block h2 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 8px;
  color: #1a202c;
  border-bottom: 2px solid #d6121f;
}

#block-dtv-altkonu-kutular {
  margin-top: 22px;
}

#block-dtv-altkonu-kutular > h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: right;
  color: #005b7f;
  background-color: #f4f8fb;
  border-right: 10px solid #d6121f;
  border-bottom: 2px solid #0089d0;
  padding: 9px 12px;
  margin: 0 0 8px 0;
}

ul.kategori-list-element,
.kategori-list-element {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kategori-list-element li.views-row,
.kategori-list-element li {
     list-style: none;
    background-color: #005b7f;
    margin-bottom: 5px;
}

.kategori-list-element li.views-row-last,
.kategori-list-element li:last-child {
  border-bottom: none;
}

.kategori-list-element .views-field-name {
  margin: 0;
  padding: 0;
}

.kategori-list-element .field-content a,
.kategori-list-element a {
    margin-left: 10px;
    display: block;
    list-style: none;
    background-color: #0089d0;
    color: #fff;
    padding: 9px;
    background: linear-gradient(to right, #005b7f 50%, #0089d0 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    margin-left: 10px;
    transition: all 2s ease;
    font-family: 'Montserrat';
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
}

.kategori-list-element .field-content a::before,
.kategori-list-element a::before {
  content: none;
  display: none;

}

.kategori-list-element .field-content a:hover,
.kategori-list-element a:hover,
.kategori-list-element .field-content a:focus,
.kategori-list-element a:focus {
  color: #d6121f;
  background-color: #ffffff;
  border-left-color: #d6121f;
  padding-left: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

.kategori-list-element .field-content a:hover::before,
.kategori-list-element a:hover::before {
  transform: translateX(2px);
}


#header-right-bottom .navigation {
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   Footer (Alt Bilgi)
   ========================================================================== */
.footer,
#footer {
  width: 100%;
  background-color: #4874bb;
  color: #ffffff;
  margin-top: 48px;
  padding: 24px 0;
  box-sizing: border-box;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Footer Ana Menü */
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.footer__nav ul li {
  display: inline-block;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif !important;
  transition: color 0.2s ease;
}

.footer__nav ul li a:hover,
.footer__nav ul li a.is-active {
  color: #aedcfa;
  text-decoration: none;
}

/* Sağ Bölüm: English Linki ve Sosyal İkonlar */
.footer__right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* English Linki */
.footer__langs.langs a {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif !important;
  display: inline-block;
}

.footer__langs.langs a:hover {
  background-color: #ffffff;
  color: #234c70;
  text-decoration: none;
}

/* Sosyal Medya İkonları */
#footer_social_links {
  display: flex;
  align-items: center;
  gap: 10px;
}

#footer_social_links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

#footer_social_links a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

#footer_social_links img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
}

/* Ek Blok Bölgesi (Varsa) */
.footer__extra {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.page-front .kategori-list {
  padding-top: 10px;
}


h1#page-title {font-size:2vw!important}
.title-altbaslik {font-size: 1vw;font-weight:bold}