/* ==========================================================================
   ERSA TEL — BLOG TASARIMI (Referans)
   Renk, tipografi ve bileşen dili ersatel.com ile uyumludur.
   Ana renk: #a52d50 | Koyu zemin: #191919 / #252525
   ========================================================================== */

/* ----------------------------------
   01. Değişkenler & Reset
---------------------------------- */
:root {
  --accent: #a52d50;
  --accent-light: #c2436c;
  --accent-dark: #83223f;
  --accent-rgb: 165, 45, 80;

  --dark: #191919;
  --dark-1: #1e1e1e;
  --dark-2: #242424;
  --dark-3: #2a2a2a;
  --footer: #161616;
  --footer-bottom: #0b0b0b;

  --white: #ffffff;
  --text: #c5c5c5;
  --text-soft: #a8a8a8;
  --muted: #8b8b8b;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1260px;
  --radius: 3px;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}



html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin: 0;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

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

::-webkit-scrollbar-thumb {
  background: #3d3d3d;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

#main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 30px;
}

.section {
  padding: 110px 0;
}

.section--tight {
  padding: 84px 0;
}

/* ----------------------------------
   02. Yardımcı Bileşenler
---------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--accent-light);
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.sec-title {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-top: 18px;
}

.sec-text {
  max-width: 470px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-soft);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 32px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #101010;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn i {
  font-size: 12px;
  transition: transform 0.35s var(--ease);
}

.btn:hover i {
  transform: translateX(4px);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
}

.btn--ghost::before {
  background: var(--accent);
}

.btn--ghost:hover {
  border-color: var(--accent);
}

.btn--light {
  background: #fff;
  color: #191919;
}

.btn--light::before {
  background: #101010;
}

.btn--light:hover {
  color: #fff;
}


/* ----------------------------------
   06. Blog Araç Çubuğu (Filtreler)
---------------------------------- */
.blog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  margin-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: #fff;
}

.filter-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.blog-count {
  font-size: 13px;
  color: var(--muted);
}

.blog-count strong {
  color: #fff;
}

.blog-toolbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn--sm {
  padding: 11px 18px;
  font-size: 11.5px;
  letter-spacing: 1px;
}

/* ----------------------------------
   07. Öne Çıkan Yazı
---------------------------------- */
.featured {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  min-height: 440px;
  margin-bottom: 54px;
  background: var(--dark-2);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.35s ease;
}

.featured:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
}

.featured.is-hidden {
  display: none;
}

.featured__media {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #111;
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.featured:hover .featured__media img {
  transform: scale(1.05);
}

.featured__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 20, 20, 0) 55%, rgba(36, 36, 36, 0.5) 100%);
}

.featured__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.featured__tag i {
  font-size: 11px;
}

.featured__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 38px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 46%),
    var(--dark-2);
}

.featured__body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 46px;
  bottom: 46px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.featured__cat {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-light);
}

.featured__title {
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.32;
}

.featured__title a:hover {
  color: var(--accent-light);
}

.featured__text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-soft);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--muted);
}

.post-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.post-meta i {
  font-size: 12px;
  color: var(--accent-light);
}

.post-meta--line {
  padding-top: 20px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.featured__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.author-mini {
  display: flex;
  align-items: center;
  gap: 11px;
}

.author-mini__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.2);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex: none;
}

.author-mini__text {
  line-height: 1.4;
}

.author-mini__name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

.author-mini__role {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
}

.arrow-link i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 11px;
  color: var(--accent-light);
  transition: all 0.35s var(--ease);
}

.arrow-link:hover {
  color: var(--accent-light);
}

.arrow-link:hover i {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(3px);
}

/* ----------------------------------
   08. Blog Listesi & Kartlar
---------------------------------- */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 54px;
  align-items: start;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--dark-2);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow: var(--shadow);
}

.post-card.is-hidden {
  display: none;
}

.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #111;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.4s ease;
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.07);
}

.post-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.34) 0%, transparent 38%, transparent 60%, rgba(15, 15, 15, 0.55) 100%);
}

.post-card__cat {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 13px;
  background: rgba(16, 16, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.post-card__pin {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.post-card__pin i {
  font-size: 8px;
}

.post-card__date {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  width: 58px;
  padding: 9px 0 8px;
  background: var(--accent);
  text-align: center;
  line-height: 1;
}

.post-card__date strong {
  display: block;
  font-size: 23px;
  font-weight: 700;
  color: #fff;
}

.post-card__date span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 22px;
}

.post-card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.post-card__title a:hover {
  color: var(--accent-light);
}

.post-card__text {
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.post-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.post-card .post-meta {
  font-size: 12px;
  gap: 6px 14px;
}

.post-card .post-meta i {
  font-size: 11px;
}

.post-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 11px;
  flex: none;
  transition: all 0.35s var(--ease);
}

.post-card:hover .post-card__more {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.filter-empty {
  display: none;
  padding: 46px 30px;
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.filter-empty.is-visible {
  display: block;
}

/* ----------------------------------
   09. Sayfalama
---------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 54px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}

.pagination a:hover {
  border-color: var(--accent);
  color: #fff;
}

.pagination .is-current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.pagination .page-next {
  gap: 9px;
  padding: 0 20px;
  color: #fff;
}

.pagination .page-next i {
  font-size: 11px;
  color: var(--accent-light);
}

/* ----------------------------------
   10. Sidebar
---------------------------------- */
.sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.widget {
  position: relative;
  padding: 28px 26px;
  background: var(--dark-2);
  border: 1px solid var(--line);
}

.widget__title {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.widget__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

/* Arama */
.search-form {
  display: flex;
  border: 1px solid var(--line-strong);
  background: var(--dark-1);
  transition: border-color 0.3s ease;
}

.search-form:focus-within {
  border-color: var(--accent);
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.search-form input::placeholder {
  color: #777;
}

.search-form button {
  width: 50px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: var(--accent-dark);
}

/* Kategoriler */
.cat-list li {
  border-bottom: 1px solid var(--line);
}

.cat-list li:last-child {
  border-bottom: 0;
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-soft);
}

.cat-list a span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cat-list a i {
  font-size: 10px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.cat-list a em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.cat-list a:hover {
  color: #fff;
}

.cat-list a:hover i {
  transform: translateX(3px);
}

.cat-list a:hover em {
  border-color: rgba(var(--accent-rgb), 0.5);
  color: var(--accent-light);
}

/* Popüler Yazılar */
.popular li {
  display: flex;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.popular li:first-child {
  padding-top: 0;
}

.popular li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.popular__thumb {
  position: relative;
  width: 82px;
  height: 78px;
  flex: none;
  overflow: hidden;
  background: #111;
}

.popular__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.popular li:hover .popular__thumb img {
  transform: scale(1.08);
}

.popular__date {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: var(--accent-light);
}

.popular__date i {
  font-size: 10px;
}

.popular h4 {
  margin-top: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.popular h4 a:hover {
  color: var(--accent-light);
}

/* Etiketler */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--text-soft);
  background: transparent;
}

.tag-cloud a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Destek / CTA Widget */
.support-widget {
  position: relative;
  padding: 40px 30px;
  background:
    linear-gradient(180deg, rgba(30, 30, 30, 0.9) 0%, rgba(20, 20, 20, 0.94) 100%),
    url("https://www.ersatel.com/images/hakkimizda.jpg") center / cover no-repeat;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  text-align: center;
  overflow: hidden;
}

.support-widget::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), 0.18);
  filter: blur(30px);
}

.support-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.6);
  background: rgba(var(--accent-rgb), 0.18);
  color: #fff;
  font-size: 22px;
}

.support-widget h3 {
  font-size: 21px;
  line-height: 1.4;
}

.support-widget p {
  margin: 10px 0 20px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-soft);
}

.support-widget__phone {
  display: block;
  margin-bottom: 18px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
}

.support-widget__phone:hover {
  color: var(--accent-light);
}

.support-widget .btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 12px;
}

/* ----------------------------------
   11. Bülten / CTA Bandı
---------------------------------- */
.newsletter {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
  background: linear-gradient(115deg, #a52d50 0%, #7d2140 58%, #5d1930 100%);
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://www.ersatel.com/images/background/footer-pattern-2.png") right -60px center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.newsletter__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 460px;
  align-items: center;
  gap: 50px;
}

.newsletter__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.newsletter__label::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #fff;
}

.newsletter h2 {
  margin-top: 14px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.3px;
}

.newsletter p {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}

.newsletter__form {
  display: flex;
  padding: 6px;
  background: rgba(16, 16, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 13px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.newsletter__form input::placeholder {
  color: #8f8f8f;
}

.newsletter__form button {
  padding: 13px 24px;
  border: 0;
  background: #fff;
  color: #191919;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.newsletter__form button:hover {
  background: #191919;
  color: #fff;
}

.newsletter__note {
  display: block;
  margin-top: 12px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.6);
}



/* ----------------------------------
   15. Reveal Animasyonu
---------------------------------- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   16. MAKALE DETAY SAYFASI
   ========================================================================== */
.page-hero--article {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.88) 0%, rgba(20, 20, 20, 0.74) 50%, rgba(20, 20, 20, 0.95) 100%),
    url("https://www.ersatel.com/images/resource/filmasin.jpg") center center / cover no-repeat;
}

.article-hero {
  padding: 78px 0 72px;
}

.article-hero h1 {
  max-width: 880px;
  margin: 18px auto 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.24;
  text-transform: none;
  letter-spacing: -0.6px;
}

.article-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
}

.article-hero .post-meta {
  color: rgba(255, 255, 255, 0.68);
}

.article-hero .post-meta li {
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.article-hero .post-meta li:last-child {
  padding-right: 0;
  border-right: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 54px;
  align-items: start;
  padding: 80px 0 110px;
}

.article {
  min-width: 0;
}

.article__cover {
  position: relative;
  margin-bottom: 36px;
  overflow: hidden;
  background: #111;
}

.article__cover img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
}

.article__cover figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 9px 16px;
  background: rgba(16, 16, 16, 0.78);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
}

.article-content {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text);
}

.article-content > p {
  margin-bottom: 22px;
}

.article-content .lead {
  font-size: 19px;
  line-height: 1.8;
  color: #dedede;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  margin-bottom: 32px;
}

.article-content h2 {
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.35;
  margin: 46px 0 18px;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
}

.article-content h3 {
  font-size: 21px;
  margin: 34px 0 14px;
}

.article-content strong {
  color: #fff;
  font-weight: 700;
}

.article-content a {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 26px;
}

.article-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

.article-content ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 12px;
  color: var(--accent-light);
}

.article-content ol {
  counter-reset: item;
}

.article-content ol li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 12px;
  counter-increment: item;
}

.article-content ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.5px;
}

.article-content blockquote {
  position: relative;
  margin: 36px 0;
  padding: 30px 34px 30px 64px;
  background: var(--dark-2);
  border-left: 3px solid var(--accent);
  font-size: 19px;
  line-height: 1.75;
  color: #eaeaea;
}

.article-content blockquote::before {
  content: "\201C";
  position: absolute;
  left: 20px;
  top: 10px;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
}

.article-content blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.article-content table {
  width: 100%;
  margin: 30px 0 34px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.article-content th,
.article-content td {
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  text-align: left;
}

.article-content th {
  background: var(--dark-3);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.article-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.article__tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article__tags span {
  margin-right: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #fff;
}

.article__tags a {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  color: var(--text-soft);
  text-decoration: none;
}

.article__tags a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.share-row__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}

.share-row__links {
  display: flex;
  gap: 8px;
}

.share-row__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 14px;
}

.share-row__links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 44px;
}

.post-nav__item {
  position: relative;
  padding: 24px 26px;
  background: var(--dark-2);
  border: 1px solid var(--line);
  transition: all 0.35s var(--ease);
}

.post-nav__item:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: var(--dark-3);
}

.post-nav__item span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent-light);
}

.post-nav__item strong {
  display: block;
  margin-top: 9px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #fff;
}

.post-nav__item--next {
  text-align: right;
}

.post-nav__item--next span {
  justify-content: flex-end;
}

.related {
  margin-top: 54px;
}

.related__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.related__head h3 {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related__head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.related .post-card__thumb {
  aspect-ratio: 16 / 10;
}

.post-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.post-grid--3 .post-card__body {
  padding: 20px 18px 18px;
}

.post-grid--3 .post-card__title {
  font-size: 16px;
}

.post-grid--3 .post-card__text {
  display: none;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .container {
    padding: 0 24px;
  }

  .nav__list {
    gap: 2px;
  }

  .nav__link {
    padding: 32px 10px;
    font-size: 14px;
  }

  .header-phone {
    padding-left: 16px;
  }

  .header-phone__icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .header-phone__number {
    font-size: 14.5px;
  }

  .blog-layout,
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 38px;
  }

  .featured__body {
    padding: 38px 34px;
  }

  .newsletter__inner {
    grid-template-columns: 1fr 400px;
    gap: 36px;
  }
}

@media (max-width: 1023px) {
  .topbar__info li:last-child {
    display: none;
  }

  .nav,
  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-main {
    min-height: 78px;
  }

  .site-header.is-scrolled .header-main {
    min-height: 70px;
  }

  .logo img,
  .site-header.is-scrolled .logo img {
    height: 38px;
  }

  .page-hero {
    padding: 76px 0 70px;
  }

  .section {
    padding: 84px 0;
  }

  .blog-layout,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }

  .support-widget {
    grid-column: span 2;
  }

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

  .featured__body {
    padding: 34px 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .sec-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

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

  .featured__media {
    min-height: 300px;
    aspect-ratio: 16 / 9;
  }

  .featured__body {
    padding: 32px 28px;
  }

  .featured__body::before {
    top: 28px;
    bottom: 28px;
  }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .post-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .newsletter__form {
    max-width: 520px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  .topbar__inner {
    justify-content: center;
    gap: 12px;
  }

  .topbar__right {
    gap: 12px;
  }

  .topbar__info {
    gap: 16px;
  }

  .topbar__info li {
    font-size: 12px;
  }

  .topbar__shop {
    font-size: 10px;
    padding: 4px 11px;
  }

  .topbar__langs a:nth-child(n + 4) {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 60px 0 56px;
  }

  .page-hero__text {
    font-size: 14.5px;
  }

  .breadcrumb {
    font-size: 11.5px;
    gap: 9px;
  }

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

  .post-grid--3 {
    grid-template-columns: 1fr;
  }

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

  .support-widget {
    grid-column: auto;
  }

  .blog-toolbar {
    gap: 16px;
  }

  .blog-count {
    order: 2;
  }

  .featured__media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .post-card__thumb {
    aspect-ratio: 16 / 10;
  }

  .article-layout {
    padding: 56px 0 80px;
  }

  .article-content {
    font-size: 15.5px;
  }

  .article__cover img {
    aspect-ratio: 16 / 10;
  }

  .article-content .lead {
    font-size: 17px;
    padding-left: 18px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav__item--next {
    text-align: left;
  }

  .post-nav__item--next span {
    justify-content: flex-start;
  }

  .article-content blockquote {
    padding: 26px 24px 26px 50px;
    font-size: 17px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 40px;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom__inner {
    justify-content: center;
    text-align: center;
  }

  .newsletter {
    padding: 52px 0;
  }

  .newsletter__form button {
    padding: 13px 18px;
    font-size: 11px;
  }
}

@media (max-width: 479px) {
  .topbar__info li:first-child {
    display: none;
  }

  .topbar__langs a:nth-child(n + 3) {
    display: none;
  }

  .page-hero h1 {
    letter-spacing: 0;
  }

  .filters {
    gap: 6px;
  }

  .filter-btn {
    padding: 8px 13px;
    font-size: 11.5px;
  }

  .featured__body,
  .widget {
    padding: 24px 20px;
  }

  .post-card__body {
    padding: 20px 20px 18px;
  }

  .featured__foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter__form {
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .newsletter__form input,
  .newsletter__form button {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .newsletter__form input {
    background: rgba(16, 16, 16, 0.85);
    padding: 15px 16px;
  }

  .pagination a,
  .pagination span {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
  }

  .pagination .page-next {
    padding: 0 14px;
  }

  .share-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   HAREKET KATMANI (GSAP)
   ========================================================================== */
html.has-gsap .page-hero__inner {
  animation: none;
}

.pagination.is-hidden {
  display: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.header-social_box {
    display: inline-flex;
    position: relative;
}