/* =========================================================
   Home Blog Section (home-blog.css)
========================================================= */

.eg-homeBlog{
  padding: 56px 0 70px;
  background: #fff;
}

.eg-homeBlog__inner{
  display: grid;
  gap: 26px;
}

.eg-homeBlog__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
}

.eg-homeBlog__kicker{
  margin:0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--eg-blue-500);
  display:flex;
  align-items:center;
  gap:10px;
}
.eg-homeBlog__bolt{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(30,89,137,.10);
  border: 1px solid rgba(30,89,137,.18);
}

.eg-homeBlog__title{
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing: -0.02em;
  color: var(--eg-blue-900);
}

.eg-homeBlog__btn{
  flex: 0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--eg-blue-500);
  color:#fff;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: var(--eg-shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.eg-homeBlog__btn:hover{ background: var(--eg-blue-900); }
.eg-homeBlog__btn:active{ transform: translateY(1px); }
.eg-homeBlog__btnIcon{ font-weight: 900; }

.eg-homeBlog__grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.eg-homeBlogCard{
  position: relative;
  border: 1px solid var(--eg-border);
  border-radius: var(--eg-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 26px rgba(11,42,62,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.eg-homeBlogCard:hover{
  transform: translateY(-2px);
  border-color: rgba(30,89,137,.25);
  box-shadow: 0 18px 40px rgba(11,42,62,.10);
}
.eg-homeBlogCard__link{
  position:absolute;
  inset:0;
  z-index: 3;
}

.eg-homeBlogCard__media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(30,89,137,.12), rgba(11,42,62,.06));
}
.eg-homeBlogCard__img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.eg-homeBlogCard__ph{
  width:100%;
  height:100%;
}

.eg-homeBlogCard__tag{
  position:absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,42,62,.82);
  color:#fff;
  font-weight: 800;
  font-size: 12px;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}

.eg-homeBlogCard__body{
  padding: 16px 16px 14px;
}

.eg-homeBlogCard__meta{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--eg-muted);
  font-weight: 650;
  font-size: 13px;
  margin: 0 0 10px;
}
.eg-dot{ opacity: .7; }

.eg-homeBlogCard__title{
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.22;
  color: var(--eg-text);
  letter-spacing: -0.01em;
}

.eg-homeBlogCard__desc{
  margin: 0 0 14px;
  color: var(--eg-muted);
  font-size: 14px;
}

.eg-homeBlogCard__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.eg-homeBlogCard__time{
  color: var(--eg-muted);
  font-weight: 700;
  font-size: 13px;
}

.eg-homeBlogCard__arrow{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--eg-border);
  display:grid;
  place-items:center;
  background: #fff;
  color: var(--eg-blue-900);
  font-weight: 900;
}

/* Reveal (blog section) */
.eg-homeBlog.eg-reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.eg-homeBlog.eg-reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Home Blog - CTA ile aynı arka plan + padding
   (Dosya: assets/css/home-blog.css -> EN ALTA EKLE)
========================================= */

.eg-homeBlog{
  padding: 72px 0 84px; /* padding unutma */
  background: linear-gradient(180deg, #0b2a3e 0%, #082536 100%);
}

/* Başlık alanı koyu zeminde okunaklı olsun */
.eg-homeBlog__kicker{
  color: rgba(255,255,255,.78);
}
.eg-homeBlog__bolt{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
}
.eg-homeBlog__title{
  color: #fff;
}

/* Buton koyu zeminde */
.eg-homeBlog__btn{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.eg-homeBlog__btn:hover{
  background: rgba(255,255,255,.18);
}

/* Kartlar beyaz kalsın (kontrast iyi) */
.eg-homeBlogCard{
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.eg-homeBlogCard:hover{
  box-shadow: 0 26px 60px rgba(0,0,0,.22);
}

/* Mobilde padding biraz düşsün */
@media (max-width: 640px){
  .eg-homeBlog{
    padding: 56px 0 64px;
  }
}

@media (min-width: 992px){
  .eg-homeBlog{ padding: 70px 0 86px; }
  .eg-homeBlog__grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .eg-homeBlogCard__title{ font-size: 19px; }
}
@media (max-width: 640px){
  .eg-homeBlog__head{ flex-direction: column; align-items: flex-start; }
  .eg-homeBlog__btn{ width: 100%; justify-content:center; }
}
@media (prefers-reduced-motion: reduce){
  .eg-homeBlog.eg-reveal{ opacity:1; transform:none; transition:none; }
}