/* ============================================================
   GENEL PORTAL YAPISI
============================================================ */

.portal-wrapper {
  background: #f5f7fb;
}



/* ============================================================
   BREADCRUMB BAR
============================================================ */

.portal-breadcrumb-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
}

.portal-breadcrumb-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.portal-breadcrumb-bar .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
}

.portal-breadcrumb-bar .breadcrumb li {
  font-size: 12px;
  color: #6b7280;
}

.portal-breadcrumb-bar .breadcrumb a {
  color: #4b5563 !important;
}

.portal-breadcrumb-bar .breadcrumb > li + li:before {
  content: " / ";
  padding: 0 4px;
  color: #9ca3af;
}



/* ============================================================
   HERO BÖLÜMÜ
============================================================ */

.portal-hero {
  padding: 26px 0 26px;
  background: radial-gradient(circle at top left, #a7f3d0 0, #059669 40%, #065f46 100%);
  color: #ffffff;
}

.portal-hero-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.portal-hero-text {
  max-width: 600px;
}

.portal-hero-text h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.portal-hero-text p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 14px;
}

.portal-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-hero-tags span {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.portal-hero-tags i {
  margin-right: 4px;
}

.portal-hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.portal-stat {
  min-width: 100px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.portal-stat-number {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.portal-stat-label {
  display: block;
  font-size: 11px;
  opacity: 0.9;
}



/* ============================================================
   ANA GRID
============================================================ */

.portal-main {
  margin-top: 20px;
  margin-bottom: 40px;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 22px;
}



/* ============================================================
   KARTLAR
============================================================ */

.portal-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.portal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.portal-card-header > div:first-child {
  flex: 1;
}

.portal-card-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
}

.portal-card-header h2 i {
  margin-right: 6px;
  color: #059669;
}

.portal-card-header p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0;
}



/* ============================================================
   GENEL BUTON STİLİ (PORTAL İÇİ)
============================================================ */

.portal-wrapper .btn,
.portal-wrapper .btn-link,
.portal-wrapper .btn-xs {
  display: inline-flex !important;
  align-items: center;
}

/* Şık CTA buton */
.portal-cta-button,
.lens-tv-more-btn { /* iki ismi de destekleyelim */
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  color: #111827 !important;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.15s ease,
              transform 0.15s ease;
  white-space: nowrap;
}

.portal-cta-button.small,
.lens-tv-more-btn.small {
  font-size: 12px;
  padding: 5px 12px;
}

.portal-cta-button:hover,
.lens-tv-more-btn:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transform: translateY(-1px);
}

.portal-cta-arrow {
  font-size: 12px;
}



/* ============================================================
   LENS TV – ANA PLAYER
============================================================ */

.portal-lens-tv .lens-tv-main {
  margin-top: 10px;
}

.lens-tv-player-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
}

.lens-tv-player {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
}

.lens-tv-player iframe {
  display: block;
  width: 100%;
}

.lens-tv-player-label {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-live,
.badge-hd {
  padding: 2px 7px;
  font-size: 10px;
  border-radius: 999px;
  font-weight: 600;
}

.badge-live {
  background: #ef4444;
  color: #fff;
}

.badge-hd {
  background: rgba(0, 0, 0, 0.75);
  color: #e5e7eb;
}



/* ============================================================
   LENS TV – ANA BİLGİ
============================================================ */

.lens-tv-main-info {
  padding-top: 6px;
}

.lens-tv-main-info h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.lens-tv-main-category {
  display: inline-block;
  font-size: 11px;
  color: #059669;
  background: #ecfdf5;
  border-radius: 999px;
  padding: 2px 8px;
  margin-right: 6px;
}

.lens-tv-main-duration {
  font-size: 11px;
  color: #6b7280;
}

.lens-tv-main-duration i {
  margin-right: 4px;
}



/* ============================================================
   LENS TV – LİSTE
============================================================ */

.lens-tv-list-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.lens-tv-list-header h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.lens-tv-list-header span {
  font-size: 11px;
  color: #6b7280;
}

.lens-tv-list {
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.lens-tv-item {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.lens-tv-item:last-child {
  border-bottom: none;
}

.lens-tv-thumb {
  position: relative;
  flex: 0 0 120px;
}

.lens-tv-thumb img {
  width: 100%;
  border-radius: 8px;
}

.lens-tv-duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
}

.lens-tv-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.lens-tv-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

.lens-tv-meta {
  font-size: 11px;
  color: #6b7280;
  margin-bottom: 4px;
}

.lens-tv-meta i {
  margin-right: 3px;
}



/* ============================================================
   GÖZ SÖZLÜĞÜ
============================================================ */

.portal-glossary {
  position: relative;
}

.glossary-letter-filter-wrapper {
  margin-top: 6px;
  margin-bottom: 10px;
  /* kaydırma YOK, hepsi görünsün */
  overflow-x: visible;
}

.glossary-letter-filter {
  display: flex;
  flex-wrap: wrap;  /* >>> A-Z çok satırlı <<< */
  gap: 6px;
  padding-bottom: 2px;
}

/* A-Z butonları */
.glossary-letter-btn {
  display: inline-block !important;
  border: 1px solid #e5e7eb !important;
  background: #f9fafb !important;
  border-radius: 999px !important;
  padding: 5px 10px !important;
  font-size: 12px !important;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  color: #374151 !important;
}

.glossary-letter-btn:hover {
  background: #f3f4f6 !important;
}

.glossary-letter-btn.active {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
}

.glossary-list {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.glossary-item {
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
}

.glossary-term-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glossary-letter-badge {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #059669;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.glossary-term-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.glossary-term-tag {
  display: inline-block;
  font-size: 11px;
  color: #6b7280;
}

.glossary-term-desc {
  font-size: 13px;
  color: #4b5563;
  margin: 4px 0 8px;
}

/* Sesli oynatıcı */
.glossary-audio-player {
  display: flex;
  align-items: center;
  gap: 8px;
}

.glossary-audio-progress {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.glossary-audio-bar {
  width: 0;
  height: 100%;
  background: #059669;
  transition: width 0.1s linear;
}

.glossary-audio-status {
  font-size: 11px;
  color: #6b7280;
  min-width: 50px;
}

/* “Terimi Dinle” butonu – portal CTA stilini kullan */
.portal-glossary .portal-cta-button,
.portal-glossary .portal-cta-button.small {
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}



/* Alt bilgi notu */
.glossary-footer-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
  margin-top: 10px;
}

.glossary-footer-note i {
  margin-top: 2px;
  color: #059669;
}



/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 991px) {
  .portal-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575px) {
  .portal-hero-text h2 {
    font-size: 22px;
  }

  .portal-card {
    padding: 14px 12px 16px;
  }

  .lens-tv-player iframe {
    height: 220px;
  }
}
/* === LENSTV TÜM VİDEOLAR – FİLTRE BAR === */
.lenstv-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.lenstv-filter-right {
  display: flex;
  gap: 8px;
}

.lenstv-filter-select,
.lenstv-filter-input {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  outline: none;
}

.lenstv-filter-input {
  min-width: 220px;
}

/* === GRID === */
.lenstv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lenstv-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.lenstv-card-thumb {
  position: relative;
}

.lenstv-card-thumb img {
  width: 100%;
  display: block;
}

.lenstv-card-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 7px;
  font-size: 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
}

.lenstv-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lenstv-card-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.lenstv-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: #6b7280;
}

.lenstv-card-meta i {
  margin-right: 3px;
}

.lenstv-card-tags {
  font-size: 11px;
  color: #4b5563;
}

.lenstv-card-tags i {
  margin-right: 3px;
}

.lenstv-no-videos {
  font-size: 13px;
  color: #6b7280;
}

/* Mobil uyum */
@media (max-width: 991px) {
  .lenstv-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lenstv-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .lenstv-filter-right {
    width: 100%;
    flex-direction: column;
  }

  .lenstv-filter-input {
    min-width: 0;
    width: 100%;
  }
}