/* Alt sayfalar (hizmetler, blog, yasal). Ana sayfa stilleri site.css ve
   local.css icinde; o dosyalar yalnizca ana sayfada yuklenir, bu yuzden
   burasi kendi temel katmanini tasir. */

:root {
  --ms-red: #e5192a;
  --ms-black: #0d0d0d;
}

body:has(.ms-page) {
  margin: 0;
  background-color: #0d0d0d;
  color: #fff;
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* `:where()` ozgullugu sifirlar; boylece asagidaki her sinif kurali bu
   sifirlamayi ekstra bir secici zincirine gerek kalmadan ezebilir. */
:where(.ms-page) :where(h1, h2, h3, p, ul, ol, figure) {
  margin: 0;
}

:where(.ms-page) :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.ms-page img,
.ms-page video {
  max-width: 100%;
  height: auto;
}

.ms-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}


/* Scroll ile acilan bloklar once gizlenir, page-motion.js gosterir.
   Betik hic gelmezse PageShell icindeki zamanlayici sinifi kaldirir.
   Hero bu listede degil: sayfanin LCP ogesi JS'i beklememeli, girisini
   asagidaki saf CSS animasyonu yapar. */
.ms-motion .ms-prose__block,
.ms-motion .ms-card,
.ms-motion .ms-cta-box,
.ms-motion .ms-related__title {
  opacity: 0;
}

@keyframes ms-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* Baslik ve cevap paragrafi sayfanin LCP adaylari; opacity ile
   animasyonlanirsa olcum gec kapaniyor, bu yuzden yalnizca kayiyorlar. */
@keyframes ms-slide {
  from {
    transform: translateY(20px);
  }
}

.ms-breadcrumb,
.ms-page-hero__eyebrow,
.ms-page-hero__meta {
  animation: ms-enter 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.ms-page-hero__title,
.ms-page-hero__answer {
  animation: ms-slide 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.ms-page-hero__eyebrow {
  animation-delay: 0.06s;
}

.ms-page-hero__title {
  animation-delay: 0.1s;
}

.ms-page-hero__answer {
  animation-delay: 0.18s;
}

.ms-page-hero__meta {
  animation-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  .ms-breadcrumb,
  .ms-page-hero__eyebrow,
  .ms-page-hero__title,
  .ms-page-hero__answer,
  .ms-page-hero__meta {
    animation: none;
  }
}

.ms-line {
  display: block;
}

.ms-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Ana sayfa blog bolumu ---------- */

.ms-home-blog__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 40px;
}

.ms-home-blog__head .para-1 {
  max-width: 46ch;
}

.ms-home-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}

.ms-home-blog__item {
  min-width: 0;
}

.ms-home-blog__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  height: 100%;
  min-height: 240px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: linear-gradient(
    160deg,
    rgba(229, 25, 42, 0.12) 0%,
    rgba(13, 13, 13, 0.94) 46%
  );
  color: #fff;
  text-decoration: none;
  transition: border-color 0.35s ease, box-shadow 0.35s ease,
    transform 0.35s ease;
}

.ms-home-blog__card:hover {
  border-color: rgba(229, 25, 42, 0.65);
  box-shadow: 0 0 0 1px rgba(229, 25, 42, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.ms-home-blog__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.ms-home-blog__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(229, 25, 42, 0.18);
  border: 1px solid rgba(229, 25, 42, 0.4);
  color: #fff;
}

.ms-home-blog__title {
  margin: 0 0 12px;
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.22;
  font-weight: 600;
  color: #fff;
}

.ms-home-blog__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
}

.ms-home-blog__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.ms-home-blog__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(229, 25, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.ms-home-blog__card:hover .ms-home-blog__arrow {
  background: var(--ms-red, #e5192a);
  transform: translateX(3px);
}

.ms-home-blog__all {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(229, 25, 42, 0.5);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ms-home-blog__all:hover {
  background-color: rgba(229, 25, 42, 0.16);
  border-color: var(--ms-red, #e5192a);
}

@media screen and (max-width: 767px) {
  .ms-home-blog__grid {
    grid-template-columns: 1fr;
  }
}

.ms-page {
  --ms-page-max: 1080px;
  background-color: #0d0d0d;
  color: #fff;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
}

.ms-page a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Navbar ---------- */

.ms-page-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(229, 25, 42, 0.35);
}

.ms-page-nav__inner {
  max-width: var(--ms-page-max);
  margin-inline: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.ms-page-nav__brand img {
  display: block;
  width: auto;
  max-width: 44px;
  max-height: 36px;
  height: auto;
  object-fit: contain;
}

.ms-page-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.ms-page-nav__link {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.ms-page-nav__link:hover {
  background-color: rgba(229, 25, 42, 0.16);
  color: #fff;
}

.ms-page-nav__cta {
  padding: 10px 20px;
  border-radius: 999px;
  background-color: var(--ms-red, #e5192a);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.ms-page-nav__cta:hover {
  background-color: #ff2a3c;
  box-shadow: 0 8px 24px rgba(229, 25, 42, 0.35);
}

.ms-page-nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.ms-page-nav__burger span,
.ms-page-nav__burger span::before,
.ms-page-nav__burger span::after {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.ms-page-nav__burger span {
  top: 19px;
}

.ms-page-nav__burger span::before,
.ms-page-nav__burger span::after {
  content: "";
  left: 0;
}

.ms-page-nav__burger span::before {
  top: -7px;
}

.ms-page-nav__burger span::after {
  top: 7px;
}

.ms-page-nav__burger span.is-open {
  background-color: transparent;
}

.ms-page-nav__burger span.is-open::before {
  transform: translateY(7px) rotate(45deg);
}

.ms-page-nav__burger span.is-open::after {
  transform: translateY(-7px) rotate(-45deg);
}

.ms-page-nav__panel {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 20px 24px;
  background: linear-gradient(180deg, #000 0%, #14060a 100%);
  border-top: 1px solid rgba(229, 25, 42, 0.35);
}

.ms-page-nav__panel-link {
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
}

.ms-page-nav__panel-link:hover {
  background-color: rgba(229, 25, 42, 0.14);
}

.ms-page-nav__panel-cta {
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 12px;
  background-color: var(--ms-red, #e5192a);
  text-align: center;
  font-weight: 500;
}

@media screen and (max-width: 991px) {
  .ms-page-nav__links,
  .ms-page-nav__cta {
    display: none;
  }

  .ms-page-nav__burger {
    display: block;
  }

  .ms-page-nav__panel {
    display: flex;
  }
}

/* ---------- Layout ---------- */

.ms-page__main {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--ms-page-max);
  margin-inline: auto;
  padding: 32px 20px 96px;
}

.ms-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.ms-breadcrumb a:hover {
  color: var(--ms-red, #e5192a);
}

.ms-breadcrumb__sep {
  margin-left: 8px;
}

/* ---------- Hero ---------- */

.ms-page-hero {
  padding: 48px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ms-page-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ms-red, #e5192a);
}

.ms-page-hero__title {
  margin: 0 0 22px;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

.ms-page-hero__answer {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  border-left: 2px solid rgba(229, 25, 42, 0.85);
  padding-left: 18px;
}

.ms-page-hero__meta {
  margin-top: 26px;
}

.ms-page-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ms-page-hero__tags li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(229, 25, 42, 0.35);
  background-color: rgba(229, 25, 42, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.ms-page-hero__byline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Prose ---------- */

.ms-prose {
  padding-top: 8px;
}

.ms-prose__block {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ms-prose__block h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.ms-prose__block h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}

.ms-prose__block p {
  margin: 0 0 16px;
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.78);
}

.ms-prose__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 72ch;
}

.ms-prose__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.ms-prose__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--ms-red, #e5192a);
}

.ms-prose__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ms-step;
  display: grid;
  gap: 18px;
  max-width: 72ch;
}

.ms-prose__steps li {
  counter-increment: ms-step;
  position: relative;
  padding: 18px 20px 18px 62px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: linear-gradient(
    160deg,
    rgba(229, 25, 42, 0.09) 0%,
    rgba(13, 13, 13, 0.9) 45%
  );
}

.ms-prose__steps li::before {
  content: "0" counter(ms-step);
  position: absolute;
  left: 20px;
  top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ms-red, #e5192a);
}

.ms-prose__steps p {
  margin: 0;
  font-size: 15px;
}

.ms-prose__table-wrap {
  overflow-x: auto;
  margin-top: 8px;
}

.ms-prose__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}

.ms-prose__table th,
.ms-prose__table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  line-height: 1.6;
}

.ms-prose__table th {
  font-weight: 600;
  color: #fff;
  border-bottom-color: rgba(229, 25, 42, 0.5);
}

.ms-prose__table td {
  color: rgba(255, 255, 255, 0.76);
}

.ms-prose__table td:first-child {
  color: #fff;
  white-space: nowrap;
}

/* ---------- SSS ---------- */

.ms-faq {
  display: grid;
  gap: 10px;
  max-width: 72ch;
}

.ms-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease;
}

.ms-faq__item[open],
.ms-faq__item:hover {
  border-color: rgba(229, 25, 42, 0.5);
}

.ms-faq__item summary {
  padding: 16px 18px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  list-style: none;
  position: relative;
  padding-right: 46px;
}

.ms-faq__item summary::-webkit-details-marker {
  display: none;
}

.ms-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 14px;
  font-size: 20px;
  color: var(--ms-red, #e5192a);
}

.ms-faq__item[open] summary::after {
  content: "−";
}

.ms-faq__item p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- Kartlar (proje kartlariyla ayni dil) ---------- */

.ms-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.ms-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 260px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: linear-gradient(
    160deg,
    rgba(229, 25, 42, 0.12) 0%,
    rgba(13, 13, 13, 0.94) 46%
  );
  transition: border-color 0.35s ease, box-shadow 0.35s ease,
    transform 0.35s ease;
}

.ms-card:hover {
  border-color: rgba(229, 25, 42, 0.65);
  box-shadow: 0 0 0 1px rgba(229, 25, 42, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.ms-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.ms-card__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(229, 25, 42, 0.18);
  border: 1px solid rgba(229, 25, 42, 0.4);
  color: #fff;
  letter-spacing: 0.04em;
}

.ms-card__title {
  margin: 0 0 12px;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.2;
  font-weight: 600;
}

.ms-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
}

.ms-card__tags {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ms-card__tags li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ms-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

.ms-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(229, 25, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.ms-card:hover .ms-card__arrow {
  background: var(--ms-red, #e5192a);
  transform: translateX(3px);
}

.ms-card-grid--compact .ms-card {
  min-height: 200px;
  padding: 20px;
}

@media screen and (max-width: 767px) {
  .ms-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA kutusu ---------- */

.ms-cta-box {
  margin-top: 48px;
  padding: 34px 30px;
  border: 1px solid rgba(229, 25, 42, 0.4);
  border-radius: 6px;
  background: linear-gradient(
    160deg,
    rgba(229, 25, 42, 0.16) 0%,
    rgba(13, 13, 13, 0.94) 55%
  );
}

.ms-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
}

.ms-cta-box p {
  margin: 0 0 22px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.ms-cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ms-cta-box__primary {
  padding: 13px 24px;
  border-radius: 999px;
  background-color: var(--ms-red, #e5192a);
  color: #fff;
  font-weight: 500;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.ms-cta-box__primary:hover {
  background-color: #ff2a3c;
  box-shadow: 0 10px 28px rgba(229, 25, 42, 0.35);
}

.ms-cta-box__secondary {
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: border-color 0.3s ease;
}

.ms-cta-box__secondary:hover {
  border-color: var(--ms-red, #e5192a);
}

/* ---------- Ilgili icerik ---------- */

.ms-related {
  margin-top: 56px;
}

.ms-related__title {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
}

.ms-related .ms-card-grid {
  margin-top: 20px;
}

/* ---------- Footer ---------- */

.ms-page-footer {
  border-top: 1px solid rgba(229, 25, 42, 0.3);
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.ms-page-footer__inner {
  max-width: var(--ms-page-max);
  margin-inline: auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 40px;
}

.ms-page-footer__cta-label {
  margin: 0 0 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.ms-page-footer__mail {
  display: inline-block;
  line-height: 1.15;
  font-size: clamp(21px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.ms-page-footer__mail:hover {
  color: var(--ms-red, #e5192a);
}

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

.ms-page-footer__title {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ms-red, #e5192a);
  font-weight: 600;
}

.ms-page-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.ms-page-footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

.ms-page-footer__col a:hover {
  color: #fff;
}

/* Footer'daki 81 il bandi. Kapali dursun ama isaretlemede yer alsin. */
.ms-page-footer__cities {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ms-page-footer__cities > summary {
  cursor: pointer;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
}

.ms-page-footer__cities > summary:hover {
  color: #fff;
}

.ms-page-footer__cities ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px 16px;
}

.ms-page-footer__cities a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

.ms-page-footer__cities a:hover {
  color: #fff;
}

/* Sehir dizini: plaka kodu + il adi. */
.ms-city-grid {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.ms-city-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease,
    transform 0.25s ease;
}

.ms-city-grid a:hover {
  border-color: rgba(229, 25, 42, 0.45);
  background: rgba(229, 25, 42, 0.07);
  transform: translateY(-2px);
}

.ms-city-grid__plate {
  min-width: 30px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(229, 25, 42, 0.16);
  color: var(--ms-red, #e5192a);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.ms-city-grid__name {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

/* Sehir sayfasi alt kismindaki yakin il baglantilari. */
.ms-city-inline {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ms-city-inline a {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.ms-city-inline a:hover {
  border-color: rgba(229, 25, 42, 0.5);
  color: #fff;
}

@media (hover: none) {
  .ms-city-grid a:hover {
    transform: none;
  }
}

.ms-page-footer__bottom {
  max-width: var(--ms-page-max);
  margin-inline: auto;
  padding: 18px 20px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.ms-page-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.ms-page-footer__legal a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease;
}

.ms-page-footer__legal a:hover {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .ms-page-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ms-page-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* ---------- Kucuk telefonlar (<=480px) ---------- */

@media screen and (max-width: 480px) {
  .ms-page__main {
    padding: 24px 16px 72px;
  }

  .ms-page-nav__inner {
    padding: 10px 16px;
  }

  .ms-page-hero {
    padding: 32px 0 28px;
  }

  .ms-page-hero__answer {
    font-size: 16px;
  }

  .ms-prose__block {
    padding: 30px 0;
  }

  .ms-prose__block p,
  .ms-prose__list li {
    font-size: 15.5px;
  }

  /* Tablolar yatay kaydirma yerine sarsin. */
  .ms-prose__table {
    min-width: 0;
    font-size: 14px;
  }

  .ms-prose__table th,
  .ms-prose__table td {
    padding: 11px 10px;
  }

  .ms-prose__table td:first-child {
    white-space: normal;
  }

  .ms-faq__summary,
  .ms-faq summary {
    font-size: 15.5px;
  }

  .ms-card,
  .ms-home-blog__card {
    padding: 22px 20px 18px;
    min-height: 0;
  }

  .ms-cta-box {
    padding: 26px 20px;
  }

  .ms-cta-box__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ms-cta-box__primary,
  .ms-cta-box__secondary {
    text-align: center;
  }

  /* Iki dar sutun 360px genislikte okunmuyor. */
  .ms-page-footer__cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ms-page-footer__inner {
    padding: 40px 16px 32px;
  }

  .ms-breadcrumb {
    font-size: 12px;
  }
}

/* ---------- Genis ekranlar ---------- */

@media screen and (min-width: 1440px) {
  .ms-page {
    --ms-page-max: 1180px;
  }
}

/* Dokunmatik cihazlarda hover durumlari yapisik kalmasin. */
@media (hover: none) {
  .ms-card:hover,
  .ms-home-blog__card:hover {
    transform: none;
  }
}
