@charset "UTF-8";

/* =========================================================
   DOSYA: /assets/blog.css
   ANTALYA TEMİZ ELLER - BLOG / HABERLER FINAL

   Desktop: 4 kolon stabil blog kartları
   Tablet: 2 kolon
   Mobil: full ekran manuel sağa-sola kayar kartlar
========================================================= */

:root{
  --ks27-blog-primary:var(--ks27ph-button,#0057b8);
  --ks27-blog-secondary:var(--ks27ph-link,#18b8e8);
  --ks27-blog-glow:var(--ks27ph-button-glow,rgba(0,87,184,.30));
  --ks27-blog-text:#07111f;
  --ks27-blog-muted:#5f7088;
  --ks27-blog-white:#ffffff;
  --ks27-blog-soft:#f6fbff;
  --ks27-blog-border:rgba(15,23,42,.08);
  --ks27-blog-shadow:0 18px 48px rgba(15,23,42,.10);
  --ks27-blog-shadow-hover:0 28px 68px rgba(15,23,42,.15);
}

/* =========================================================
   ANA BLOG ALANI
========================================================= */

.ks27-news{
  position:relative;
  width:100%;
  padding:68px 0 82px;
  overflow:hidden;
  background:
    radial-gradient(circle at top left,rgba(24,184,232,.10),transparent 34%),
    radial-gradient(circle at right center,rgba(0,87,184,.08),transparent 34%),
    linear-gradient(180deg,#ffffff 0%,#f6fbff 58%,#ffffff 100%);
}

.ks27-news::before{
  content:"";
  position:absolute;
  left:-18%;
  top:8%;
  width:44%;
  height:58%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(24,184,232,.12),transparent 68%);
}

.ks27-news::after{
  content:"";
  position:absolute;
  right:-16%;
  bottom:0;
  width:46%;
  height:58%;
  pointer-events:none;
  background:radial-gradient(circle,rgba(0,87,184,.10),transparent 68%);
}

.ks27-news .ks27-container{
  position:relative;
  z-index:2;
  width:min(1540px,calc(100% - 72px));
  margin:0 auto;
}

/* =========================================================
   BAŞLIK ALANI
========================================================= */

.ks27-news .ks27-section-head{
  width:min(900px,100%);
  margin:0 auto 30px;
  text-align:center;
}

.ks27-news .ks27-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:8px 18px;
  border-radius:999px;
  color:var(--ks27-blog-primary);
  background:linear-gradient(135deg,rgba(0,87,184,.08),rgba(24,184,232,.10));
  border:1px solid rgba(0,87,184,.16);
  box-shadow:0 12px 28px rgba(0,87,184,.08);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.ks27-news .ks27-title,
.ks27-news .ks27-section-head h2{
  margin:14px 0 0;
  color:var(--ks27-blog-text);
  font-size:clamp(32px,3vw,56px);
  line-height:1.05;
  font-weight:950;
  letter-spacing:-.052em;
}

.ks27-news .ks27-desc,
.ks27-news .ks27-section-head p{
  width:min(760px,100%);
  margin:14px auto 0;
  color:var(--ks27-blog-muted);
  font-size:16px;
  line-height:1.66;
  font-weight:720;
}

/* =========================================================
   DESKTOP BLOG GRID - 4 KOLON
========================================================= */

.ks27-news-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  gap:24px;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  overflow:visible;
}

/* =========================================================
   BLOG KARTI - STABİL
========================================================= */

.ks27-news-card{
  position:relative;
  width:100%;
  height:100%;
  min-height:475px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-radius:28px;
  background:#ffffff;
  border:1px solid var(--ks27-blog-border);
  box-shadow:var(--ks27-blog-shadow);
  transform:translateZ(0);
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease;
}

.ks27-news-card:hover{
  transform:translateY(-7px);
  border-color:rgba(0,87,184,.16);
  box-shadow:var(--ks27-blog-shadow-hover);
}

/* =========================================================
   GÖRSEL ALANI
========================================================= */

.ks27-news-image{
  position:relative;
  width:100%;
  height:220px;
  min-height:220px;
  max-height:220px;
  flex:0 0 220px;
  display:block;
  line-height:0;
  overflow:hidden;
  margin:0;
  padding:0;
  background:
    radial-gradient(circle at top left,rgba(24,184,232,.12),transparent 38%),
    linear-gradient(135deg,#eef7ff,#ffffff);
  border-bottom:1px solid rgba(0,87,184,.06);
}

.ks27-news-image::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(to bottom,rgba(255,255,255,.025),rgba(255,255,255,0) 36%),
    linear-gradient(to top,rgba(2,8,23,.18),rgba(2,8,23,0) 52%);
}

.ks27-news-image img{
  display:block;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  object-fit:cover;
  object-position:center center;
  vertical-align:top;
  image-rendering:-webkit-optimize-contrast;
  filter:
    contrast(1.10)
    saturate(1.15)
    brightness(1.06);
  transition:
    transform .38s ease,
    filter .34s ease;
}

.ks27-news-card:hover .ks27-news-image img{
  transform:scale(1.045);
  filter:
    contrast(1.13)
    saturate(1.20)
    brightness(1.08);
}

/* Eksik görsel */
.ks27-news-image.ks27-img-missing{
  background:
    radial-gradient(circle at top left,rgba(24,184,232,.18),transparent 38%),
    radial-gradient(circle at bottom right,rgba(0,87,184,.13),transparent 42%),
    linear-gradient(135deg,#eef7ff,#ffffff);
}

/* =========================================================
   HABER ROZETİ
========================================================= */

.ks27-news-badge{
  position:absolute;
  right:16px;
  bottom:15px;
  z-index:4;
  min-height:34px;
  padding:9px 16px;
  border-radius:999px;
  color:#ffffff;
  background:linear-gradient(135deg,var(--ks27-blog-primary),var(--ks27-blog-secondary));
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 14px 28px rgba(0,87,184,.30);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
}

/* =========================================================
   KART İÇERİĞİ
========================================================= */

.ks27-news-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-height:0;
  padding:19px 22px 0;
  margin:0;
  background:#ffffff;
}

.ks27-news-body .ks27-date,
.ks27-news-body > .ks27-date{
  margin:0 0 10px;
  color:var(--ks27-blog-primary);
  font-size:12px;
  line-height:1;
  font-weight:950;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.ks27-news-body h3{
  margin:0;
  min-height:52px;
  color:var(--ks27-blog-text);
  font-size:20px;
  line-height:1.22;
  font-weight:950;
  letter-spacing:-.026em;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.ks27-news-body h3 a{
  color:inherit;
  text-decoration:none;
  transition:color .18s ease;
}

.ks27-news-body h3 a:hover{
  color:var(--ks27-blog-primary);
}

.ks27-news-body p{
  margin:10px 0 0;
  min-height:70px;
  max-height:70px;
  color:var(--ks27-blog-muted);
  font-size:14.5px;
  line-height:1.56;
  font-weight:720;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* =========================================================
   BUTON
========================================================= */

.ks27-news-card .ks27-card-footer{
  margin-top:auto;
  padding:17px 22px 22px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
}

.ks27-news-card .ks27-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  min-width:124px;
  padding:0 24px;
  border-radius:15px;
  color:#ffffff;
  background:linear-gradient(135deg,var(--ks27-blog-primary),var(--ks27-blog-secondary));
  box-shadow:
    0 14px 28px var(--ks27-blog-glow),
    0 0 20px rgba(24,184,232,.18);
  font-size:14px;
  line-height:1;
  font-weight:950;
  text-decoration:none;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.ks27-news-card .ks27-btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.08);
  box-shadow:
    0 18px 36px rgba(0,87,184,.30),
    0 0 26px rgba(24,184,232,.22);
}

.ks27-news .ks27-section-action{
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:30px;
}

.ks27-news .ks27-section-action .ks27-btn{
  min-height:52px;
  padding:0 30px;
  border-radius:16px;
  color:#ffffff;
  background:linear-gradient(135deg,var(--ks27-blog-primary),var(--ks27-blog-secondary));
  box-shadow:
    0 16px 34px var(--ks27-blog-glow),
    0 0 24px rgba(24,184,232,.18);
  font-weight:950;
  text-decoration:none;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media(min-width:1500px){
  .ks27-news-card{
    min-height:475px;
  }

  .ks27-news-image{
    height:220px;
    min-height:220px;
    max-height:220px;
    flex-basis:220px;
  }
}

/* =========================================================
   1200 - 1499
========================================================= */

@media(min-width:1200px) and (max-width:1499px){
  .ks27-news .ks27-container{
    width:calc(100% - 52px);
  }

  .ks27-news-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
  }

  .ks27-news-card{
    min-height:455px;
  }

  .ks27-news-image{
    height:205px;
    min-height:205px;
    max-height:205px;
    flex-basis:205px;
  }

  .ks27-news-body{
    padding:17px 19px 0;
  }

  .ks27-news-body h3{
    min-height:50px;
    font-size:18.5px;
  }

  .ks27-news-body p{
    min-height:66px;
    max-height:66px;
    font-size:13.8px;
    line-height:1.52;
  }

  .ks27-news-card .ks27-card-footer{
    padding:16px 19px 20px;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media(max-width:1199px){
  .ks27-news{
    padding:56px 0 66px;
  }

  .ks27-news .ks27-container{
    width:100%;
    max-width:100%;
    padding:0;
  }

  .ks27-news .ks27-section-head{
    padding:0 18px;
    margin-bottom:22px;
  }

  .ks27-news-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    padding:0 18px;
  }

  .ks27-news-card{
    min-height:455px;
  }

  .ks27-news-image{
    height:210px;
    min-height:210px;
    max-height:210px;
    flex-basis:210px;
  }
}

/* =========================================================
   MOBİL FULL EKRAN MANUEL KAYAR BLOG
========================================================= */

@media(max-width:767px){
  .ks27-news{
    padding:42px 0 54px;
    background:
      radial-gradient(circle at top left,rgba(24,184,232,.10),transparent 36%),
      linear-gradient(180deg,#ffffff 0%,#f6fbff 60%,#ffffff 100%);
  }

  .ks27-news .ks27-container{
    width:100%;
    max-width:100%;
    margin:0;
    padding:0;
  }

  .ks27-news .ks27-section-head{
    padding:0 14px;
    margin-bottom:18px;
  }

  .ks27-news .ks27-kicker{
    min-height:30px;
    padding:7px 14px;
    font-size:10.5px;
    letter-spacing:.11em;
  }

  .ks27-news .ks27-title,
  .ks27-news .ks27-section-head h2{
    font-size:34px;
    line-height:1.08;
    letter-spacing:-.045em;
  }

  .ks27-news .ks27-desc,
  .ks27-news .ks27-section-head p{
    font-size:14.5px;
    line-height:1.58;
  }

  .ks27-news-grid{
    width:100vw;
    max-width:100vw;
    display:flex;
    grid-template-columns:none;
    gap:0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding:0;
    margin:0;
    scrollbar-width:none;
  }

  .ks27-news-grid::-webkit-scrollbar{
    display:none;
  }

  .ks27-news-card{
    flex:0 0 100vw;
    width:100vw;
    min-width:100vw;
    max-width:100vw;
    min-height:500px;
    height:500px;
    max-height:500px;
    border-radius:0;
    border-left:0;
    border-right:0;
    box-shadow:none;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }

  .ks27-news-card:hover{
    transform:none;
    box-shadow:none;
  }

  .ks27-news-image{
    height:220px;
    min-height:220px;
    max-height:220px;
    flex-basis:220px;
    border-radius:0;
  }

  .ks27-news-image img{
    object-fit:cover;
    object-position:center center;
    filter:
      contrast(1.11)
      saturate(1.16)
      brightness(1.07);
  }

  .ks27-news-badge{
    right:16px;
    bottom:14px;
    min-height:34px;
    padding:9px 15px;
    font-size:11.5px;
  }

  .ks27-news-body{
    padding:17px 18px 0;
  }

  .ks27-news-body .ks27-date,
  .ks27-news-body > .ks27-date{
    margin-bottom:10px;
    font-size:11px;
  }

  .ks27-news-body h3{
    min-height:58px;
    font-size:23px;
    line-height:1.18;
  }

  .ks27-news-body p{
    margin-top:10px;
    min-height:66px;
    max-height:66px;
    font-size:14px;
    line-height:1.55;
    -webkit-line-clamp:3;
  }

  .ks27-news-card .ks27-card-footer{
    margin-top:auto;
    padding:16px 18px 20px;
  }

  .ks27-news-card .ks27-btn{
    width:100%;
    min-height:48px;
    border-radius:16px;
    font-size:14.5px;
  }

  .ks27-news .ks27-section-action{
    padding:0 14px;
    margin-top:18px;
  }

  .ks27-news .ks27-section-action .ks27-btn{
    width:100%;
    min-height:48px;
  }
}

/* =========================================================
   KÜÇÜK MOBİL
========================================================= */

@media(max-width:420px){
  .ks27-news .ks27-title,
  .ks27-news .ks27-section-head h2{
    font-size:31px;
  }

  .ks27-news-card{
    height:480px;
    min-height:480px;
    max-height:480px;
  }

  .ks27-news-image{
    height:205px;
    min-height:205px;
    max-height:205px;
    flex-basis:205px;
  }

  .ks27-news-body{
    padding:16px 16px 0;
  }

  .ks27-news-body h3{
    min-height:54px;
    font-size:21px;
  }

  .ks27-news-body p{
    min-height:62px;
    max-height:62px;
    font-size:13.5px;
    line-height:1.52;
  }

  .ks27-news-card .ks27-card-footer{
    padding:14px 16px 18px;
  }
}