/* Melis Ülger — hizmet/rehber blokları ve tema düzeltmeleri
   Sitenin kendi tasarım dilinden: aksan #2b6cf5 / #204289, Plus Jakarta Sans,
   kart yarıçapı 16px, hap buton 38px.
   Gerçek dosya olarak yükleniyor — the_content içindeki inline <style>
   Easy Optimizer'ın unused-CSS akışında eleniyordu. */

.melis-hl {
  --mh-accent: #2b6cf5;
  --mh-deep: #204289;
  --mh-ink: #151c2c;
  --mh-muted: #6b7280;
  --mh-line: #e7edf6;
  --mh-tint: #f7fafd;
  width: min(1220px, 95%);
  margin: 56px auto 8px;
  padding: 38px 40px;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--mh-tint) 0%, #fff 62%);
  /* Yazı tipi bilerek belirtilmiyor: blok temanın gövde fontunu miras alsın.
     Sabitlenirse tema fontu değiştiğinde blok yamalı kalır. */
  position: relative;
  overflow: hidden;
}
.melis-hl:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mh-accent), var(--mh-deep) 60%, transparent);
}
.melis-hl .mh-ey {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mh-accent);
}
.melis-hl .mh-ey:before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--mh-accent);
  border-radius: 2px;
}
.melis-hl h2 {
  margin: 0 0 8px;
  font-size: 27px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--mh-ink);
  letter-spacing: -.015em;
}
.melis-hl > p {
  margin: 0 0 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mh-muted);
  max-width: 56ch;
}
.melis-hl ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.melis-hl li {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--mh-line);
}
.melis-hl li:first-child,
.melis-hl ul > li:nth-child(2) { border-top: 0; }
.melis-hl li a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 2px;
  text-decoration: none;
  color: var(--mh-ink);
  font-size: 15.5px;
  line-height: 1.42;
  font-weight: 500;
  transition: color .18s ease;
}
/* Kayma efekti padding yerine transform ile: padding animasyonu her karede
   layout hesabı tetikliyor. Ok sağda sabit kalsın diye sadece metin kayıyor. */
.melis-hl li a > span {
  display: block;
  transition: transform .18s ease;
}
.melis-hl li a:hover > span { transform: translateX(8px); }
.melis-hl li a:after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  border-right: 2px solid var(--mh-accent);
  border-bottom: 2px solid var(--mh-accent);
  transform: rotate(-45deg);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.melis-hl li a:hover { color: var(--mh-accent); }
.melis-hl li a:hover:after { opacity: 1; transform: rotate(-45deg) translate(2px, 2px); }
.melis-hl li a:focus-visible { outline: 2px solid var(--mh-accent); outline-offset: 3px; border-radius: 4px; }

.melis-hl .mh-gruplar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.melis-hl .mh-grup { margin-top: 30px; }
.melis-hl .mh-gruplar > .mh-grup:nth-child(-n+2) { margin-top: 0; }
.melis-hl .melis-hl-kat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--mh-deep);
}
.melis-hl .melis-hl-kat:after { content: ""; flex: 1; height: 1px; background: var(--mh-line); }
.melis-hl .mh-grup ul { grid-template-columns: 1fr; }
.melis-hl .mh-grup li:nth-child(2) { border-top: 1px solid var(--mh-line); }
.melis-hl .mh-grup li:first-child { border-top: 0; }

.melis-hl.mh-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 26px 32px;
}
.melis-hl.mh-cta .mh-sol { min-width: 0; }
.melis-hl.mh-cta h2 { font-size: 21px; margin: 0 0 4px; }
.melis-hl.mh-cta > p { display: none; }
.melis-hl.mh-cta .mh-alt { margin: 0; font-size: 14.5px; color: var(--mh-muted); line-height: 1.5; }
.melis-hl .mh-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  padding: 13px 26px;
  border-radius: 38px;
  background: var(--mh-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease;
}
.melis-hl .mh-btn:after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.melis-hl .mh-btn:hover { background: var(--mh-deep); color: #fff; }
.melis-hl .mh-btn:hover:after { transform: rotate(-45deg) translate(2px, 2px); }

/* Blog listeleme başlığı */
.melis-blog-h1 { font-size: 28px; line-height: 1.3; margin: 0 0 24px; }

/* İlgili Yazılar — görsel oranını sabitle, kartları hizala */
.section-related-ul .post-related .image_frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: auto;
  display: block;
}
.section-related-ul .post-related .image_frame,
.section-related-ul .post-related .image_wrapper { width: 100%; }
.section-related-ul { align-items: stretch; }
.section-related-ul .post-related .mcb-column-inner { height: 100%; display: flex; flex-direction: column; }
.section-related-adjustment .related-heading { font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .melis-hl li { animation: mhIn .5s cubic-bezier(.22, .7, .3, 1) both; }
  .melis-hl li:nth-child(1) { animation-delay: .02s; }
  .melis-hl li:nth-child(2) { animation-delay: .06s; }
  .melis-hl li:nth-child(3) { animation-delay: .1s; }
  .melis-hl li:nth-child(4) { animation-delay: .14s; }
  .melis-hl li:nth-child(5) { animation-delay: .18s; }
  .melis-hl li:nth-child(6) { animation-delay: .22s; }
  .melis-hl li:nth-child(7) { animation-delay: .26s; }
  .melis-hl li:nth-child(8) { animation-delay: .3s; }
  @keyframes mhIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 781px) {
  .melis-hl { width: min(1220px, 92%); padding: 28px 22px; margin: 40px auto 8px; border-radius: 14px; }
  .melis-hl h2 { font-size: 22px; }
  .melis-hl ul { grid-template-columns: 1fr; gap: 0; }
  .melis-hl ul > li:nth-child(2) { border-top: 1px solid var(--mh-line); }
  .melis-hl .mh-gruplar { grid-template-columns: 1fr; gap: 0; }
  .melis-hl .mh-gruplar > .mh-grup:nth-child(2) { margin-top: 30px; }
  .melis-hl li a { padding: 14px 2px; font-size: 15px; }
  .melis-hl.mh-cta { padding: 24px 22px; }
  .melis-hl .mh-btn { width: 100%; justify-content: center; }
  .melis-blog-h1 { font-size: 23px; }
}
