/* =========================================
   PLUGINHUB PRO - MAIN STYLESHEET (CORE)
   ========================================= */
/* --- RESET & GLOBAL --- */
:root {
  /* Light Theme */
  --ph-accent: #0066ff;
  --ph-bg-body: #f5f7fa;
  --ph-bg-card: #ffffff;
  --ph-bg-hover: #f3f4f6;
  --ph-text-main: #111827;
  --ph-text-muted: #6b7280;
  --ph-text-light: #9ca3af;
  --ph-border: #e5e7eb;
  --ph-border-light: #f3f4f6;
  --ph-shadow: rgba(15, 23, 42, 0.03);
  --ph-shadow-lg: rgba(15, 23, 42, 0.06);
  --ph-bg-input: #ffffff;
  --ph-bg-header: #ffffff;
  --ph-bg-header-sticky: rgba(255, 255, 255, 0.75);
  --ph-footer-bg: #f5f7fa;
  --ph-divider: #e7e9ee;
}

[data-theme="dark"] {
  /* Dark Theme */
  --ph-bg-body: #0f172a;
  --ph-bg-card: #1e293b;
  --ph-bg-hover: #334155;
  --ph-text-main: #f8fafc;
  --ph-text-muted: #94a3b8;
  --ph-text-light: #64748b;
  --ph-border: #334155;
  --ph-border-light: #334155;
  --ph-shadow: rgba(0, 0, 0, 0.2);
  --ph-shadow-lg: rgba(0, 0, 0, 0.4);
  --ph-bg-input: #0f172a;
  --ph-bg-header: #1e293b;
  --ph-bg-header-sticky: rgba(30, 41, 59, 0.75);
  --ph-footer-bg: #0f172a;
  --ph-divider: #334155;
}

/* Font Awesome Global Default Size */
.fa-duotone,
.fa-brand {
  font-size: 16px;
  font-display: swap;
}

/* --- FONT AWESOME DUOTONE CORE FIX (Layering Logic) --- */

/* 1. Temel Kapsayıcı Ayarları */
.fad, .fa-duotone {
    font-family: 'Font Awesome 7 Duotone'; /* Dosyadaki isimle birebir aynı olmalı */
    font-weight: 300;
    
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    
    /* ÖNEMLİ: Katmanları tutmak için relative olmalı */
    position: relative; 
}

/* 2. İKİNCİL KATMAN (Secondary - Genelde Silik Olan) */
/* Core dosyasında bu işi yapan kod buydu, sildiğin için geri ekliyoruz */
.fad::before {
    position: absolute; /* Üst üste binmesi için havada asılı kalmalı */
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
    opacity: 0.4; /* Opaklık ayarı (Silik görünüm için) */
    display: block;
}

/* 3. BİRİNCİL KATMAN (Primary - Ana Hatlar) */
.fad::after {
    position: relative;
    display: block;
    opacity: 1;
}

/* 4. Ekran Okuyucu Gizleme */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--ph-bg-body);
  color: var(--ph-text-main);
  transition: background 0.3s ease, color 0.3s ease;
}

a {
  color: var(--ph-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
.ph-bold-text {
  font-weight: 600;
}

/* --- LAYOUT & CONTAINER --- */
.ph-container {
  max-width: 1200px;
  margin: 0 auto;
}
.ph-main {
  padding: 24px 0 40px;
}

/* --- TOP BAR NOTIFICATION --- */
.ph-top-bar {
    background: var(--ph-accent); /* Tema vurgu rengi (Mavi) */
    color: #ffffff; /* Beyaz yazı */
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    position: relative;
    z-index: 100;
}

.ph-top-bar p {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Link varsa rengini koru ama altını çiz */
.ph-top-bar a {
    color: #fff;
    text-decoration: underline;
}

.ph-top-bar a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* --- HEADER --- */
.ph-header {
  background: var(--ph-bg-header);
  border-bottom: 1px solid var(--ph-border);
  box-shadow: 0 8px 20px var(--ph-shadow);
  transition: all 0.3s ease;
  position: relative;
  width: 100%;
  z-index: 99;
}

.ph-header.ph-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
	z-index: 99;
  background: var(--ph-bg-header-sticky);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: phSlideDown 0.3s ease forwards;
}

@keyframes phSlideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.ph-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  transition: padding 0.3s ease;
}

.ph-header.ph-sticky .ph-header-inner {
  padding: 12px 0;
}

/* Logo */
.ph-logo-wrap {
  display: flex;
  align-items: center;
}
.ph-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.ph-logo-link:hover {
  opacity: 0.9;
  color: inherit;
}
.ph-logo-icon {
  display: inline-block;
  width: 48px;
  height: 48px;
}
.ph-logo-text {
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  color: var(--ph-text-main);
  letter-spacing: 0.01em;
}
.custom-logo-link img {
  max-height: 40px;
  width: auto;
  display: block;
}

/* Actions & Theme Toggle */
.ph-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ph-theme-toggle-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  order: 2;
}

.ph-theme-btn {
  background: transparent;
  border: 1px solid var(--ph-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ph-text-main);
  transition: all 0.2s;
}
.ph-theme-btn:hover {
  background: var(--ph-bg-hover);
  border-color: var(--ph-accent);
  color: var(--ph-accent);
}
.ph-theme-btn .ph-icon-sun,
.ph-theme-btn .ph-icon-moon,
.ph-theme-btn .ph-icon-auto {
  display: none;
}

.ph-theme-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--ph-bg-card);
  border: 1px solid var(--ph-border);
  border-radius: 12px;
  box-shadow: 0 10px 25px var(--ph-shadow-lg);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 120px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ph-theme-menu.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ph-theme-menu button {
  background: transparent;
  border: none;
  padding: 8px 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  font-size: 13px;
  color: var(--ph-text-main);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.1s;
}
.ph-theme-menu button:hover {
  background: var(--ph-bg-hover);
}
.ph-theme-menu button.active {
  background: var(--ph-bg-hover);
  color: var(--ph-accent);
  font-weight: 600;
}

.ph-collection-header-btn {
  background: transparent;
  border: 1px solid var(--ph-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ph-text-main);
  transition: all 0.2s;
	display:none;
}
.ph-collection-header-btn:hover {
  background: var(--ph-bg-hover);
  border-color: #ef4444;
  color: #ef4444;
}
.ph-collection-header-btn.active {
	display: flex;
}

/* Navigation */
.ph-nav {
  display: flex;
  align-items: center;
}
.ph-nav ul,
.ph-menu {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 8px !important;
  list-style: none !important;
}
.ph-nav li {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}
.ph-menu a {
  display: inline-block;
  font-size: 14px;
  color: var(--ph-text-muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  transition: all 0.3s ease;
  line-height: normal;
}
.ph-menu a:hover,
.current-menu-item > a {
  background: transparent;
  color: var(--ph-accent) !important;
}

/* Mobile Toggle */
.ph-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ph-border);
  border-radius: 50%;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  z-index: 1100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
  color: var(--ph-text-main);
}
.ph-mobile-toggle:hover {
  background: var(--ph-bg-hover);
  border-color: var(--ph-accent);
  color: var(--ph-accent);
}
.ph-mobile-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.ph-mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.ph-mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.ph-mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
body.ph-noscroll {
  overflow: hidden;
}

/* --- ARCHIVE & FILTERS --- */
.ph-archive-header {
  background: var(--ph-bg-card);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 18px 45px var(--ph-shadow-lg);
  border: 1px solid var(--ph-border);
}
.ph-archive-title {
  margin: 0;
  font-size: 20px;
  color: var(--ph-text-main);
}
.ph-archive-sub {
  margin: 4px 0 0;
  color: var(--ph-text-muted);
  font-size: 13px;
}
.ph-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  align-items: center;
}

.ph-search-wrap {
  position: relative;
  min-width: 280px;
}
.ph-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ph-text-light);
  pointer-events: none;
  font-size: 18px;
}
#ph-search-input {
  width: 100%;
  height: 50px;
  padding: 0 20px 0 48px;
  font-size: 15px;
  border: 1px solid var(--ph-border);
  border-radius: 12px;
  background: var(--ph-bg-input);
  color: var(--ph-text-main);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px var(--ph-shadow);
}
#ph-search-input:focus {
  border-color: var(--ph-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Custom Select */
.ph-custom-select-wrap {
  position: relative;
  width: 220px;
  height: 50px;
  font-family: inherit;
}
.ph-select-selected {
  background-color: var(--ph-bg-input);
  border: 1px solid var(--ph-border);
  border-radius: 12px;
  height: 100%;
  padding: 0 16px;
  font-size: 15px;
  color: var(--ph-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px var(--ph-shadow);
}
.ph-select-selected:hover {
  background-color: var(--ph-bg-hover);
}
.ph-select-selected.ph-select-arrow-active {
  border-color: var(--ph-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.ph-select-items {
  position: absolute;
  background-color: var(--ph-bg-card);
  top: 110%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--ph-border);
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.2s;
}
.ph-select-hide {
  display: none;
}
.ph-select-items div {
  color: var(--ph-text-main);
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--ph-border-light);
  font-size: 14px;
}
.ph-select-items div:hover,
.ph-select-items div.same-as-selected {
  background-color: var(--ph-bg-hover);
  color: var(--ph-accent);
  font-weight: 500;
}

/* --- COMMON UI ELEMENTS --- */
.ph-download-stat,
.ph-view-stat,
.ph-rating-static {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--ph-text-muted) !important;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
  line-height: 1;
}
.ph-download-stat svg,
.ph-view-stat svg,
.ph-rating-static svg {
  width: 16px;
  height: 16px;
  color: inherit;
  stroke: currentColor;
  stroke-width: 2;
}

.ph-download-stat i,
.ph-view-stat i,
.ph-rating-static i {
  font-size: 16px;
}

.ph-rating-static {
  gap: 0;
}

.ph-rating-static span {
  font-weight: 600;
  color: var(--ph-text-main)
}

.ph-rating-static span.ph-rating-muted {
  font-weight: 400;
  color: var(--ph-text-muted)
}

/* Rating System (General) */
.ph-rating-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.ph-rating-stars {
  display: flex;
  gap: 4px;
}
.ph-star-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ph-text-muted);
  font-size: 20px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
	position: relative;
}
.ph-star-btn.active,
.ph-star-btn.ph-hover {
  color: #f59e0b;
}
.ph-rating-score {
  font-weight: 700;
  color: var(--ph-text-main);
  display: flex;
  align-items: center;
      font-size: 13px;
}
.ph-rating-max {
  font-weight: 400;
  color: var(--ph-text-muted);
}
.ph-rating-static i {
  color: #f59e0b;
  margin-right: 5px;
}

.ph-rating-count-lbl {
	font-weight: 400;
	color: var(--ph-text-muted);
	font-size: 13px;
}

/* Buttons */
.ph-btn,
.ph-btn-download {
  display: inline-flex;
	white-space: nowrap !important;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 12px !important;
  font-size: 14px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  background: var(--ph-bg-hover) !important;
  color: var(--ph-text-main) !important;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1) !important;
}
.ph-btn:hover,
.ph-btn-download:hover {
  background: var(--ph-accent) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}
.ph-btn-full {
  width: 100%;
}

/* Pagination */
.ph-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.ph-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--ph-bg-hover);
  color: var(--ph-text-muted);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.ph-pagination a.page-numbers:hover {
  background-color: var(--ph-border);
  color: var(--ph-text-main);
}
.ph-pagination .page-numbers.current {
  background-color: var(--ph-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  font-weight: 600;
}

/* =========================================
   GLOBAL COMPONENTS & SHARED STYLES
   (Centralized from single-flow, archive-card, etc.)
   ========================================= */

/* --- 1. Global Section Titles --- */
.ph-section-title {
    font-family: "Space Grotesk", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    margin: 0 0 35px 0;
    padding: 0 0 25px 0;
    color: var(--ph-accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--ph-border-light);
}

.ph-section-title span {
    display: flex;
    gap: 7px;
    font-weight: 300;
    font-size: 14px;
    color: var(--ph-text-muted);
}

.ph-content-col .ph-section-title {
  margin-top: 0;
}

/* --- 2. Global Badges (Upcoming/Featured) --- */
.ph-card-badges {
    position: absolute;
    top: 16px;
    right: 18px;
    display: grid;
    gap: 10px;
}

/* Sidebar vb. yerlerde ortalı kullanım için */
.ph-card-badges.ph-center {
	display: flex;
	justify-content: center;
    position: static; /* Absolute iptal */
    margin-bottom: 10px;
}

.ph-badge-upcoming,
.ph-badge-featured {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 14px;
    height: 32px;
    border-radius: 50px;
    background: #63e6be;
    color: #111828;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    user-select: none;
    overflow: visible;
    z-index: 9;
}

.ph-badge-featured {
    background: #ffd43b;
}

/* List view için boyut ayarı (Override) */
.ph-list-thumb-wrap .ph-badge-upcoming {
    top: 5px;
    right: 5px;
    padding: 2px 5px;
    font-size: 9px;
    border-radius: 4px;
}

@media (max-width: 600px) {
.ph-badge-upcoming,
.ph-badge-featured {
        font-size: 10px;
    }
}

/* --- 3. Global Spark Animation --- */
.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    pointer-events: none;
    background: radial-gradient(circle, #ffffff 0%, #ffffff 40%, transparent 70%);
    clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
    animation: spark-float 2.2s ease-in-out infinite;
    opacity: 0.9;
}

.s1 { top: -6px; left: 12px; animation-delay: 0s; }
.s2 { top: 50%; right: -6px; animation-delay: 0.6s; }
.s3 { bottom: -6px; right: 30px; animation-delay: 1.2s; }

@keyframes spark-float {
    0% { transform: translateY(0) scale(0.6); opacity: 0.5; }
    50% { transform: translateY(-6px) scale(1.1); opacity: 1; }
    100% { transform: translateY(0) scale(0.6); opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
    .spark { animation: none; }
}

/* --- 4. Global Meta Rows (Single Pages) --- */
.ph-flow-meta-row,
.ph-tabs-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 15px;
    color: var(--ph-text-muted);
    border-top: 1px solid var(--ph-border-light);
    padding-top: 20px;
    margin-top: 20px;
}

.ph-meta-left, 
.ph-meta-right,
.ph-meta-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ph-meta-center {
	width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .ph-flow-meta-row,
    .ph-tabs-meta-row {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* --- 5. Global Compatibility & Status Badges --- */
.ph-compat-badge {
    display: inline-flex;
    align-items: center;
    background: var(--ph-bg-hover);
    border: 1px solid var(--ph-border);
    border-radius: 6px;
    font-size: 13px;
    height: 31px;
    overflow: hidden;
}

.ph-c-label {
    background: #e2e8f0;
    color: #475569;
    padding: 0 8px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 11px;
}

.ph-c-val {
    padding: 0 10px;
    font-weight: 600;
    color: var(--ph-text-main);
}

.ph-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.ph-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
}

.ph-st-success { background-color: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.ph-st-warning { background-color: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.ph-st-danger  { background-color: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.ph-st-muted   { background-color: rgba(100, 116, 139, 0.1); color: #64748b; border: 1px solid rgba(100, 116, 139, 0.2); }

.ph-version-pill {
    background: var(--ph-accent);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* --- Language Section Grid --- */
.ph-lang-grid {
    display: grid;
    /* 5 Sütun, ancak ekran daralırsa min 140px olacak şekilde otomatik sığdır */
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px;
}

.ph-lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.ph-lang-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.ph-lang-flag-icon {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0; /* İkonun sıkışmasını engeller */
}

.ph-lang-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ph-lang-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ph-text-main, #333);
}

.ph-lang-code {
    font-size: 11px;
    color: var(--ph-text-muted, #888);
    text-transform: uppercase;
}

@media (min-width: 600px) and (max-width: 1023px) {
.ph-lang-grid {
    grid-template-columns: repeat(3, 1fr); 
}
}

@media (max-width: 599px) { 
  .ph-lang-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
}
}

/* --- 6. Global Gallery Grid --- */
.ph-flow-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ph-gallery-item {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--ph-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.ph-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px var(--ph-shadow-lg);
}

.ph-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* --- 8. Global Timeline Styles --- */
.ph-timeline {
    position: relative;
    padding-left: 10px;
}

.ph-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 30px;
    left: 20px;
    width: 2px;
    background: var(--ph-border-light);
    border-radius: 2px;
}

.ph-tl-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 50px;
}

.ph-tl-item:last-child { margin-bottom: 0; }

.ph-tl-marker {
    position: absolute;
    left: 3px;
    top: 22.5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ph-bg-card);
    border: 3px solid var(--ph-accent);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--ph-bg-card);
}

.ph-tl-item:first-child .ph-tl-marker {
    border-color: #10b981;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 21.5px;
}

.ph-tl-content {
    background: var(--ph-bg-hover);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--ph-border-light);
}

.ph-tl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 12px;
}

.ph-tl-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

/* --- FAQ MODERN STYLING --- */
.ph-faq-grid {
    display: grid;
    gap: 20px;
    margin-top: 25px;
}

.ph-faq-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ph-faq-card:hover {
    border-color: var(--ph-accent);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.ph-faq-header-wrap {
    background: #f8fafc;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
	cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.ph-q-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--ph-accent);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ph-faq-question {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

/* Height animasyonu dış container’da */
.ph-faq-answer{
  overflow: hidden;
  height: 0;
  transition: height 420ms cubic-bezier(.22,1,.36,1);
  will-change: height;
}

/* Padding artık inner’da (maskelenmiş olur) */
.ph-faq-answer-inner{
  padding: 24px; /* temandaki padding neyse ona göre ayarla */
}

/* Daha soft görünüm için içeriğe hafif fade/translate */
.ph-faq-answer-inner{
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 200ms ease, transform 420ms cubic-bezier(.22,1,.36,1);
}

.ph-faq-card.is-open .ph-faq-answer-inner{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .ph-faq-answer,
  .ph-faq-answer-inner{
    transition: none;
  }
}

.ph-faq-answer p:first-child {
    margin-top: 0;
}

.ph-faq-answer p:last-child {
    margin-bottom: 0;
}

/* =========================================
   RELEASE IMPACT BADGES (Sürüm Etiketleri)
   ========================================= */
.ph-badge-impact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* 1. Minor Update (Gri/Nötr - Rutin güncelleme) */
.ph-badge-minor {
    background-color: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

/* 2. Major Update (Mavi - Yeni Özellik) */
.ph-badge-major {
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

/* 3. Breaking Change (Kırmızı - Kritik/Uyumsuzluk) */
.ph-badge-breaking {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fee2e2;
}

/* --- Dark Mode Uyumluluğu --- */
[data-theme="dark"] .ph-badge-minor {
    background-color: #374151;
    color: #9ca3af;
    border-color: #4b5563;
}

[data-theme="dark"] .ph-badge-major {
    background-color: rgba(37, 99, 235, 0.15); /* Mavi transparan */
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .ph-badge-breaking {
    background-color: rgba(220, 38, 38, 0.15); /* Kırmızı transparan */
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.3);
}

.ph-tl-ver {
    font-size: 16px;
    font-weight: 700;
    color: var(--ph-text-main);
}

.ph-tl-date {
    font-size: 13px;
    color: var(--ph-text-muted);
}

.ph-tl-downloads {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
    color: var(--ph-text-muted);
    font-weight: 400;
    margin-left: auto;
}

.ph-btn-small {
    height: 32px;
    padding: 0 16px;
    font-size: 12px;
    border-radius: 8px !important;
}

/* Timeline Notes (Rich Text) */
.ph-tl-notes { font-size: 14px; line-height: 1.6; color: inherit; overflow-wrap: break-word;
    /* Eski tarayıcılar için yedek */
    word-wrap: break-word; }
.ph-tl-notes h1, .ph-tl-notes h2, .ph-tl-notes h3, 
.ph-tl-notes h4, .ph-tl-notes h5, .ph-tl-notes h6 {
    margin-top: 1.2em; margin-bottom: 0.6em; font-weight: 600; line-height: 1.3; color: inherit;
}
.ph-tl-notes h1 { font-size: 2em; border-bottom: 1px solid #eee; padding-bottom: 0.3em; }
.ph-tl-notes h2 { font-size: 1.75em; }
.ph-tl-notes h3 { font-size: 1.5em; }
.ph-tl-notes h4 { font-size: 1.25em; }
.ph-tl-notes h5 { font-size: 1.1em; }
.ph-tl-notes h6 { font-size: 1em; text-transform: uppercase; color: var(--ph-text-muted, #777); }
.ph-tl-notes p { margin-bottom: 15px; }
.ph-tl-notes div { margin-bottom: 15px; }
.ph-tl-notes hr { border: 0; border-top: 1px solid #e5e5e5; margin: 20px 0; }
.ph-tl-notes blockquote { border-left: 4px solid var(--ph-accent, #ddd); margin: 15px 0; padding: 10px 20px; background: #f9f9f9; color: #555; font-style: italic; }
.ph-tl-notes strong, .ph-tl-notes b { font-weight: 700; }
.ph-tl-notes em, .ph-tl-notes i { font-style: italic; }
.ph-tl-notes u { text-decoration: underline; }
.ph-tl-notes s, .ph-tl-notes del { text-decoration: line-through; opacity: 0.7; }
.ph-tl-notes ins { text-decoration: none; border-bottom: 2px solid var(--ph-accent, #46b450); background-color: rgba(0, 0, 0, 0.05); color: inherit; }
.ph-tl-notes small { font-size: 0.85em; color: var(--ph-text-muted, #666); }
.ph-tl-notes mark { background-color: #fff9c4; color: #333; padding: 0 4px; border-radius: 2px; }
.ph-tl-notes code { font-family: Consolas, Monaco, monospace; font-size: 0.9em; background-color: #f0f0f1; padding: 2px 5px; border-radius: 3px; color: #d63638; }
.ph-tl-notes pre { background: #2d2d2d; color: #f8f8f2; padding: 15px; overflow-x: auto; border-radius: 4px; margin-bottom: 15px; font-family: monospace; white-space: pre-wrap; }
.ph-tl-notes ul, .ph-tl-notes ol { margin-left: 20px; margin-bottom: 15px; padding-left: 0; }
.ph-tl-notes ul { list-style: disc; }
.ph-tl-notes ul ul { list-style: circle; margin-top: 5px; }
.ph-tl-notes ol { list-style: decimal; }
.ph-tl-notes li { margin-bottom: 5px; }
.ph-tl-notes a { color: var(--ph-accent); text-decoration: none; transition: color 0.3s ease; }
.ph-tl-notes a:hover { color: var(--ph-text-muted); text-decoration: none; }
.ph-tl-notes img { max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin: 10px 0; }

/* --- 9. Categories Badges --- */
.ph-cat-badge {
    display: inline-block;
    background: var(--ph-bg-hover);
    color: var(--ph-accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin: 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}
.ph-cat-badge:hover {
    background: var(--ph-accent);
    color: #fff;
}

/* --- FOOTER --- */
.ph-footer {
  border-top: none;
  padding: 60px 0 40px;
  background-color: var(--ph-footer-bg);
  color: var(--ph-text-main);
}
.ph-footer-divider {
  width: 100%;
  height: 2px;
  background-color: var(--ph-divider);
  margin-bottom: 40px;
}
.ph-footer-quote h2 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 500;
  margin: 0 0 40px;
  color: var(--ph-text-main);
}
.ph-footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 80px;
}
.ph-footer-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--ph-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s;
}
.ph-footer-email-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  opacity: 0.9;
}
.ph-copy-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  display: flex;
  align-items: center;
  margin-left: 8px;
}
/* Kapsayıcı ve Liste Düzeni */
.ph-flags {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.ph-flags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px; /* Bayraklar arası boşluk */
    align-items: center;
}

/* Link (a) Etiketi - Opaklık Ayarları */
.ph-flags-list li a {
    display: block;
    opacity: 0.5; /* Aktif olmayanlar %50 silik */
    transition: all 0.3s ease; /* Yumuşak geçiş */
}

/* Hover (Üzerine gelince) ve Active (Seçili Dil) Opaklık */
.ph-flags-list li a:hover,
.ph-flags-list li.active a {
    opacity: 1; /* Seçili olan veya üzerine gelinen tam net */
}

/* Resim (Bayrak) Genel Özellikleri */
.ph-flags-list img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    display: block;
    border-radius: 50%; /* Yuvarlak görünüm. Kare isterseniz burayı silin */
    border: none; /* Çerçeve kesinlikle yok */
    box-shadow: none; /* Varsayılan olarak gölge yok */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Sadece AKTİF DİLDE Gölge Olsun */
.ph-flags-list li.active img {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Sadece aktif olanda gölge */
    transform: translateY(-3px); /* Aktif olan hafifçe yukarıda dursun */
}
.ph-footer-socials {
  display: flex;
  align-items: center;
  gap: 24px;
	margin-left: auto
}
.ph-footer-socials a {
  color: var(--ph-text-main);
  transition: opacity 0.2s;
  display: inline-block;
}
.ph-footer-socials a:hover {
  opacity: 0.6;
}
.ph-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ph-text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.ph-made-with {
display: flex;
    flex: 1;
    padding: 0 20px;
    align-items: center;
    justify-content: center;
}

/* =========================================
   FOOTER MENU STYLES
   ========================================= */

/* Footer Bottom Grid Ayarı (Mevcut yapıyı esnekleştirir) */
.ph-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--ph-border);
    margin-top: 40px;
    gap: 20px;
}

/* Menü Konteynırı */
.ph-footer-nav {
    text-align: center;
}

/* Liste Yapısı */
.ph-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Liste Elemanları */
.ph-footer-links li {
    font-size: 14px;
    color: var(--ph-text-light);
    display: flex;
    align-items: center;
}

/* Ayırıcı Nokta (•) */
.ph-footer-links li:not(:last-child)::after {
    content: "•";
    margin: 0 10px;
    font-size: 10px;
    opacity: 0.4;
    color: var(--ph-text-light);
}

/* Link Stilleri */
.ph-footer-links li a {
    color: var(--ph-text-main);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.ph-footer-links li a:hover {
    color: var(--ph-accent);
    opacity: 1;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .ph-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .ph-footer-nav {
        order: -1; /* Menüyü mobilde en üste al (İsteğe bağlı) */
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    
    /* Mobilde linkler çok sıkışırsa alt alta alabiliriz */
    /* .ph-footer-links li { 
        margin: 5px 10px; 
    }
    .ph-footer-links li::after { 
        display: none; 
    } 
    */
}

/* --- EMPTY STATE (FLOATING ANIMATION RESTORED) --- */
.ph-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--ph-bg-card);
    border: 1px solid var(--ph-border);
    border-radius: 16px;
    margin-top: 20px;
    box-shadow: 0 10px 30px var(--ph-shadow);
}

.ph-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: var(--ph-bg-card);
    border-radius: 50%;
    margin-bottom: 24px;
    color: var(--ph-accent);
    
    /* Eski Float animasyonu geri geldi */
    animation: phFloat 3s ease-in-out infinite;
}

.ph-empty-icon i {
  font-size: 60px;
}

.ph-empty-icon svg {
    /* Yeni ikon biraz daha detaylı olduğu için boyutu büyüttük */
    width: 60px;
    height: 60px;
    /* Stroke yerine fill kullanıldığı için stroke ayarları kaldırıldı */
}

.ph-empty-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ph-text-main);
    margin: 0 0 12px;
}

.ph-empty-text {
    font-size: 16px;
    color: var(--ph-text-muted);
    max-width: 400px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.ph-empty-state .ph-btn {
	width: auto !important;
}

/* Float (Süzülme) Animasyonu */
@keyframes phFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); } /* Hafifçe yukarı çık */
    100% { transform: translateY(0px); }
}

/* Kapsayıcılara relative özelliği (Eğer yoksa garanti olsun) */
.ph-card-thumb,
.ph-flow-hero,
.ph-tabs-hero,
.ph-sidebar-thumb,
.ph-list-thumb-wrap {
    position: relative;
}

/* --- GLOBAL UTILITIES (From Inline Cleanup) --- */
.ph-hidden-input { display: none !important; }
.ph-hidden-select { display: none; }
.ph-mt-20 { margin-top: 20px !important; }
.ph-mt-0 { margin-top: 0 !important; }
.ph-hidden { display: none !important; }

/* Loading State */
.ph-lists-grid { transition: opacity 0.4s ease; opacity: 1; min-height: 200px; }
.ph-lists-grid.ph-loading { opacity: 0.4; pointer-events: none; }
.ph-spinner { display: none !important; } 
#ph-lists-loader { display: none !important; }

.btn-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: default;
}

/* --- BREADCRUMB (PH Teması Değişkenleri ile) --- */

/* 1. Dış Kapsayıcı */
.breadcrumb-wrapper {
    background-color: var(--ph-bg-card); 
    border-bottom: 1px solid var(--ph-border);
    padding: 15px 0;
    width: 100%;
    margin-top: 0;
}

/* 2. Liste Hizalaması */
.breadcrumb {
    display: flex !important;
    flex-wrap: wrap; /* Sığmayanları alt satıra atar */
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none !important;
}

/* 3. Liste Öğesi */
.breadcrumb-item {
    display: flex;
    align-items: center;
    line-height: 1.2;
}

/* 4. Link Stilleri */
.breadcrumb-item a {
    color: var(--ph-text-muted);
    font-size: 14px; 
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
}

/* 5. Hover */
.breadcrumb-item a:hover {
    color: var(--ph-accent); 
}

/* 6. Ayırıcı Tire (&mdash;) */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\2014";
    font-size: 14px;
    color: var(--ph-text-light); 
    /* Masaüstü aralık */
    margin: 0 15px; 
    transform: translateY(0px); 
    line-height: 1;
}

/* 7. Aktif Sayfa */
.breadcrumb-item.active {
    color: var(--ph-text-main);
    font-size: 14px; 
    font-weight: 600;
    pointer-events: none;
}

/* --- MOBİL UYUM VE SIKIŞTIRMA (GÜNCEL) --- */
@media (max-width: 768px) {
    .breadcrumb-wrapper {
        padding: 10px 0;
        overflow: hidden;
    }

    .breadcrumb {
        flex-wrap: nowrap !important;
        width: 100%;
    }

    /* Öğeler */
    .breadcrumb-item {
        min-width: 0;
        flex-shrink: 1;
        overflow: hidden;
        white-space: nowrap;
        position: relative; /* Before/After konumlandırması için şart */
    }

    /* Linkler */
    .breadcrumb-item a {
        font-size: 13px;
        overflow: hidden;
        white-space: nowrap;
        display: block;
    }

    /* --- YENİ EKLENEN KISIM: FADE OUT EFEKTİ --- */
    /* Son öğe HARIÇ (:not(:last-child)) tüm öğelerin sağına gölge at */
    .breadcrumb-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 20px; /* Silik alanın genişliği */
        /* Transparandan senin kart arkaplan rengine geçiş */
        background: linear-gradient(to right, transparent, var(--ph-bg-card));
        pointer-events: none; /* Tıklamayı engellemesin */
        z-index: 1;
    }

    /* SON ÖĞE (Aktif Sayfa) ayarları */
    .breadcrumb-item:last-child {
        flex-shrink: 0;
        overflow: visible;
        flex-grow: 0;
        max-width: 90%;
    }

    .breadcrumb-item:last-child a {
        text-overflow: unset;
    }

    /* Tire ayarları */
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 5px;
        flex-shrink: 0;
    }
}

/* --- AJAX FLASH FIX (HAYAT KURTARAN KOD) --- */

/* Mantık: Eğer bir resimde .ph-lazy sınıfı YOKSA (yani AJAX ile yeni geldiyse),
   onu geçici olarak gizle.
*/
img:not(.ph-lazy):not(.custom-logo):not(.ph-no-lazy) {
    /* Başlangıçta görünmez olsun */
    opacity: 0 !important;
    
    /* Eğer JS devreye girmezse 0.5s sonra resmi göster (Güvenlik Önlemi) */
    animation: ph-flash-protect 0.5s forwards 0.2s; 
}

@keyframes ph-flash-protect {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* --- STANDART LAZY LOAD EFEKTLERİ --- */

/* JS tarafından yakalanmış resimler */
.ph-lazy, .ph-lazy-bg {
    opacity: 0 !important;
    filter: blur(15px) !important;
    transform: translateY(15px);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    will-change: opacity, filter, transform;
}

/* Yüklendiğinde */
.ph-lazy.loaded, .ph-lazy-bg.loaded {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: translateY(0) !important;
}

/* Slider / Arka Plan Ayarı */
.ph-lazy-bg.loaded {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
}
/* Lazy Load sırasında yer kaplamasını sağla */
.ph-flow-gallery-grid img.ph-lazy:not(.loaded) {
    min-height: 150px; /* Mobilde ortalama bir kare boyutu */
    background: #f0f0f0; /* Yüklenirken gri görünür */
    opacity: 1; /* Bazı temalar lazy resimleri opacity:0 yapar, bunu düzelt */
    transition: opacity 0.3s ease;
}

.ph-flow-gallery-grid img.loaded {
    min-height: auto; /* Yüklendikten sonra serbest bırak */
}

/* Google ve Ekran Okuyucular için Gizli Metin */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* --- PERFORMANCE: CLS FIX (LOGO) --- */
.custom-logo-link img, 
.ph-logo-link img {
    /* Logonun görünen genişliği (Temana göre ayarla, genelde 150-200px iyidir) */
    width: 160px; 
    height: auto;
    
    /* Logonun en/boy oranı (Genişlik / Yükseklik) */
    /* Tarayıcı resim yüklenmeden önce bu kadar yer ayırır */
    aspect-ratio: 160 / 45; 
}

/* Masaüstü Bildirim İkonu Kapsayıcı */
.ph-floating-bell {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Yuvarlak Kapsayıcı (Zil Kutusu) */
.ph-bell-icon {
    width: 50px;
    height: 50px;
    
    /* Ana Rengi Değişkenden Çek */
    background: var(--ph-accent); 
    color: var(--ph-bg-card); /* İkon rengi (Genelde beyaz) */
    
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Gölgeye Opacity Vermek için Modern CSS (color-mix) */
    /* --ph-accent rengini %60 saydamlaştırarak gölge yapar */
    box-shadow: 0 4px 15px color-mix(in srgb, var(--ph-accent), transparent 40%);
    
    transition: all 0.3s ease;
}

/* Hover Durumu */
.ph-bell-icon:hover {
    transform: scale(1.1);
    /* Rengi manuel değiştirmek yerine ana rengi %10 koyulaştırıyoruz */
    filter: brightness(0.9); 
}

/* Font Awesome İkon Ayarı */
.ph-bell-icon i {
    font-size: 20px; /* İkon boyutunu sabitlemek istersen */
}

/* Kırmızı Nokta (Badge) */
.ph-bell-badge {
position: absolute;
    top: 12px;
    right: 12px;
    width: 6px;
    height: 6px;
    background: #ff4757;
    border-radius: 50%;
}

/* Tooltip (Baloncuk) */
.ph-bell-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    
    /* Arka planı koyu metin renginden, yazıyı kart renginden al */
    background: var(--ph-text-main); 
    color: var(--ph-bg-card);
    
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    box-shadow: 0 2px 10px var(--ph-shadow);
}

/* Hover olunca Tooltip Göster */
.ph-bell-icon:hover + .ph-bell-tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

/* MOBİLDE GİZLE (Sadece Desktop) */
@media (max-width: 768px) {
    .ph-floating-bell {
        display: none !important;
    }
}


/* =========================================
   PLUGINHUB PRO - REAL FLOW PAGE LAYOUT
   ========================================= */

/* Arka Plan ve Genel Konteynır */
.ph-page-flow-layout {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* Sayfa Başlığı (Geniş ve Net) */
.ph-page-custom-header {
    text-align: center;
    margin-bottom: 40px;
}

.ph-page-custom-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--ph-text-main);
	margin-top: 0;
    margin-bottom: 40px;
}

/* Hero Image (Slider Genişliğiyle Uyumlu) */
.ph-page-custom-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--ph-shadow-lg);
    border: 1px solid var(--ph-border);
}

.ph-custom-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Flow Kart Yapısı (Single Flow Benzeri) */
.ph-page-main-card.ph-flow-card {
    background: var(--ph-bg-card);
    border: 1px solid var(--ph-border);
    border-radius: 20px;
    padding: 60px; /* Daha ferah içerik alanı */
    margin-top: 0;
    box-shadow: 0 10px 40px var(--ph-shadow);
    width: 100%;
}

/* Tipografi Ayarları */
.ph-page-entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--ph-text-main);
}

.ph-page-entry-content h2 { margin-top: 0; }

/**
 * Shared Base Styling for WordPress Gutenberg Separators.
 * Strictly enforces the requested 75px vertical margins.
 */
hr.wp-block-separator {
	margin: 75px auto !important;
	border: none !important;
	background: none !important;
	clear: both;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: .5;
}

/**
 * Shared Core for Default and Wide Styles.
 * Creates a premium "engraved" 3D line effect using multiple gradients
 * and a subtle white drop shadow for depth. Highly visual but clean.
 */
hr.wp-block-separator:not(.is-style-dots) {
	height: 2px;
	background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1) 15%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 85%, transparent) !important;
	box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
	border-radius: 100%;
}

/**
 * 1. Default Separator Style.
 * Constrains the engraved line to a balanced, centered width.
 */
hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 60%;
	max-width: 350px;
}

/**
 * 2. Wide Separator Style.
 * Extends the engraved line effect across the entire container width.
 */
hr.wp-block-separator.is-style-wide {
	width: 100%;
}

/**
 * 3. Dots Separator Style (Premium Pill Interface).
 * Discards standard dots in favor of three horizontal "pill" shapes.
 * Provides a visually satisfying rhythm and a modern UI aesthetic.
 */
hr.wp-block-separator.is-style-dots {
	height: 6px;
	overflow: visible;
}

/**
 * Renders the three pill shapes using a single pseudo-element and box-shadows.
 * Ensures perfect alignment, equal spacing, and optimal performance.
 */
hr.wp-block-separator.is-style-dots::before {
	content: "";
	width: 30px;
	height: 6px;
	background-color: currentColor;
	border-radius: 6px;
	box-shadow: -45px 0 0 0 currentColor, 45px 0 0 0 currentColor;
	opacity: 0.45;
}

/* Mobil Düzenlemeler */
@media (max-width: 768px) {
    .ph-page-custom-title {
        font-size: 32px;
        margin-bottom: 25px;
    }
    .ph-page-main-card.ph-flow-card {
        padding: 30px 20px;
    }
}