/* =========================================================
   CEE MEDYA — DESTEK SAYFALARI (SSS, Gizlilik, Koşullar, Blog)
   ========================================================= */

/* --- Sayfa Başlığı (Hero) --- */
.pg-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 90px;
  color: #fff;
  background-color: #001b86;
  background-image:
    radial-gradient(circle at 88% 88%, #01bffd 0%, #02b0f7 18%, #0074d9 42%, rgba(1, 32, 148, 0) 70%),
    radial-gradient(circle at 8% 8%, #001159 0%, #001679 32%, rgba(0, 27, 134, 0) 68%),
    linear-gradient(135deg, #001159 0%, #001b86 34%, #012094 58%, #0069d2 82%, #01bffd 100%);
}

.pg-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -60%;
  width: 60vw;
  height: 60vw;
  max-width: 820px;
  max-height: 820px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 191, 253, 0.45) 0%, rgba(0, 116, 217, 0.15) 50%, transparent 72%);
  pointer-events: none;
}

.pg-hero .container {
  position: relative;
  z-index: 1;
}

.pg-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.pg-breadcrumb a:hover {
  color: #fff;
}

.pg-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pg-hero h1 span {
  color: #7fdcff;
}

.pg-hero-sub {
  max-width: 640px;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.pg-meta {
  margin-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Genel İçerik --- */
.pg-section {
  padding: 90px 0;
}

.pg-section.alt {
  background: var(--bg-light);
}

.pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-gradient-btn);
  background-size: 150% 150%;
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 116, 217, 0.3);
  transition: all 0.35s var(--transition-smooth);
}

.pg-btn:hover {
  background-position: 100% 50%;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(1, 191, 253, 0.45);
}

.pg-btn.ghost {
  background: #fff;
  color: var(--royal-dark) !important;
  border: 1px solid rgba(0, 116, 217, 0.2);
  box-shadow: none;
}

/* =========================================================
   SSS
   ========================================================= */
.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
}

.faq-cats {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-cat-btn {
  text-align: left;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 116, 217, 0.12);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-cat-btn:hover {
  border-color: rgba(1, 191, 253, 0.5);
  transform: translateX(4px);
}

.faq-cat-btn.active {
  background: var(--brand-gradient-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 116, 217, 0.28);
}

.faq-search {
  width: 100%;
  padding: 16px 22px;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.98rem;
  margin-bottom: 30px;
  outline: none;
  transition: all 0.3s ease;
}

.faq-search:focus {
  border-color: var(--accent-sky);
  box-shadow: 0 0 0 4px rgba(2, 176, 247, 0.12);
}

.faq-group {
  margin-bottom: 40px;
}

.faq-group-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--dark-blue-text);
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 116, 217, 0.1);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(1, 191, 253, 0.45);
  box-shadow: 0 12px 30px rgba(0, 116, 217, 0.1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
}

.faq-q .faq-plus {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 116, 217, 0.08);
  position: relative;
  transition: all 0.35s ease;
}

.faq-q .faq-plus::before,
.faq-q .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-blue);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease, background 0.35s ease;
}

.faq-q .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-plus {
  background: var(--brand-gradient-btn);
}

.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after {
  background: #fff;
}

.faq-item.open .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-gray);
  line-height: 1.75;
  font-size: 0.97rem;
}

.faq-empty {
  display: none;
  padding: 30px;
  text-align: center;
  color: var(--text-gray);
}

.faq-cta {
  margin-top: 50px;
  padding: 40px;
  border-radius: 24px;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.faq-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.faq-cta p {
  color: rgba(255, 255, 255, 0.85);
}

.faq-cta .pg-btn {
  background: #fff;
  color: var(--royal-dark) !important;
}

/* =========================================================
   YASAL SAYFALAR (Gizlilik & Koşullar)
   ========================================================= */
.legal-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 60px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 130px;
  padding: 26px;
  border-radius: 20px;
  background: var(--bg-light);
  border: 1px solid rgba(0, 116, 217, 0.1);
}

.legal-toc h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.legal-toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.legal-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--accent-sky);
  font-weight: 700;
}

.legal-toc a:hover,
.legal-toc a.active {
  background: #fff;
  color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(0, 116, 217, 0.08);
}

.legal-content section {
  scroll-margin-top: 130px;
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #eef2f8;
}

.legal-content section:last-child {
  border-bottom: none;
}

.legal-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark-blue-text);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 18px 0 10px;
  color: var(--dark-blue-text);
}

.legal-content p,
.legal-content li {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 0.98rem;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content ul {
  list-style: none;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient-btn);
}

.legal-note {
  padding: 20px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 116, 217, 0.06), rgba(1, 191, 253, 0.12));
  border: 1px solid rgba(0, 116, 217, 0.14);
  color: var(--text-dark) !important;
  margin: 16px 0;
}

.legal-content a {
  color: var(--primary-blue);
  font-weight: 600;
}

/* =========================================================
   BLOG
   ========================================================= */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-filter {
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0, 116, 217, 0.15);
  background: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-filter:hover {
  border-color: var(--accent-sky);
}

.blog-filter.active {
  background: var(--brand-gradient-btn);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(0, 116, 217, 0.25);
}

.blog-search {
  min-width: 260px;
  padding: 12px 20px;
  border-radius: 50px;
  border: 2px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.3s ease;
}

.blog-search:focus {
  border-color: var(--accent-sky);
  box-shadow: 0 0 0 4px rgba(2, 176, 247, 0.12);
}

/* Öne çıkan yazı */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 116, 217, 0.1);
  box-shadow: 0 20px 50px rgba(0, 27, 134, 0.08);
  margin-bottom: 50px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 116, 217, 0.16);
}

.blog-featured-img {
  min-height: 380px;
  background-size: cover;
  background-position: center;
}

.blog-featured-body {
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 14px 0;
  color: var(--dark-blue-text);
}

.blog-featured-body p {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary-blue);
  background: rgba(0, 116, 217, 0.08);
  border: 1px solid rgba(0, 116, 217, 0.15);
}

.blog-meta-row {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: #8a9ab8;
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 116, 217, 0.1);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: blogFadeIn 0.5s ease both;
}

@keyframes blogFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0, 116, 217, 0.14);
  border-color: rgba(1, 191, 253, 0.4);
}

.blog-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s ease;
}

.blog-card-imgwrap {
  overflow: hidden;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--dark-blue-text);
}

.blog-card-body p {
  color: var(--text-gray);
  font-size: 0.92rem;
  line-height: 1.65;
  flex: 1;
}

.blog-read {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-blue);
}

.blog-empty {
  display: none;
  text-align: center;
  padding: 50px;
  color: var(--text-gray);
}

/* Bülten */
.blog-newsletter {
  margin-top: 70px;
  padding: 50px;
  border-radius: 28px;
  background: var(--brand-gradient);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.blog-newsletter h3 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.blog-newsletter p {
  color: rgba(255, 255, 255, 0.85);
}

.blog-newsletter form {
  display: flex;
  gap: 10px;
}

.blog-newsletter input {
  flex: 1;
  padding: 15px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: inherit;
  outline: none;
}

.blog-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.blog-newsletter button {
  background: #fff;
  color: var(--royal-dark) !important;
}

/* Okuma modalı */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
  overflow-y: auto;
  background: rgba(0, 14, 56, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.blog-modal.open {
  opacity: 1;
  visibility: visible;
}

.blog-article {
  position: relative;
  width: 100%;
  max-width: 820px;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  transform: translateY(30px) scale(0.98);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 40px 90px rgba(0, 17, 89, 0.35);
}

.blog-modal.open .blog-article {
  transform: translateY(0) scale(1);
}

.blog-article-cover {
  height: 340px;
  background-size: cover;
  background-position: center;
}

.blog-article-body {
  padding: 44px 50px 50px;
}

.blog-article-body h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 14px 0 12px;
  color: var(--dark-blue-text);
}

.blog-article-body h2 {
  font-size: 1.35rem;
  margin: 30px 0 12px;
  color: var(--dark-blue-text);
}

.blog-article-body p,
.blog-article-body li {
  color: #3c4f73;
  line-height: 1.85;
  font-size: 1.02rem;
}

.blog-article-body p + p {
  margin-top: 14px;
}

.blog-article-body ul {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-article-body ul li {
  position: relative;
  padding-left: 22px;
}

.blog-article-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gradient-btn);
}

.blog-article-body blockquote {
  margin: 22px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent-sky);
  background: var(--bg-light);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--text-dark);
}

.blog-article-cta {
  margin-top: 36px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 116, 217, 0.06), rgba(1, 191, 253, 0.14));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--royal-dark);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 17, 89, 0.2);
  transition: transform 0.3s ease;
  z-index: 2;
}

.blog-close:hover {
  transform: rotate(90deg);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 992px) {
  .faq-layout,
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-cats {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .faq-cat-btn {
    white-space: nowrap;
  }

  .legal-toc {
    position: static;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-featured,
  .blog-newsletter {
    grid-template-columns: 1fr;
  }

  .blog-featured-img {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .pg-hero {
    padding: 140px 0 60px;
  }

  .pg-section {
    padding: 60px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-search {
    min-width: 100%;
  }

  .blog-featured-body,
  .blog-newsletter {
    padding: 30px 24px;
  }

  .blog-featured-body h2 {
    font-size: 1.5rem;
  }

  .blog-newsletter form {
    flex-direction: column;
  }

  .blog-article-cover {
    height: 220px;
  }

  .blog-article-body {
    padding: 30px 22px 34px;
  }

  .blog-article-body h1 {
    font-size: 1.6rem;
  }

  .faq-cta {
    padding: 28px 22px;
  }
}
