/* ========================================================================
   HOME.CSS / CLEANED
   ======================================================================== */

.sp-homepage{
  background:#fff;
  padding:18px 0 5px;
}

.sp-home-container{
  max-width:1300px;
  margin:0 auto;
  padding:0 20px;
}

.sp-home-section{
  margin-bottom:34px;
}

.sp-section-head{
  margin-bottom:14px;
  padding-top:0;
  border-top:none;
}

.sp-section-title{
  position:relative;
  display:block;
  width:100%;
  margin:0;
  padding:16px 18px 16px 24px;
  border:1px solid #dddddd;
  background:#fff;
  font-size:28px;
  line-height:1.2;
  font-weight:600;
  color:#111;
  box-sizing:border-box;
}

.sp-section-title::before{
  content:"";
  position:absolute;
  left:0;
  top:-1px;
  bottom:-1px;
  width:4px;
  background:#bd081c;
}

/* =========================================================
   HOME INTRO
   ========================================================= */

.sp-home-intro{
  position:relative;
  margin-bottom:12px;
  padding:14px 20px 12px;
  border:1px solid #e8e8e8;
  background:#fff;
  box-shadow:none;
  overflow:hidden;
}

.sp-home-intro::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background:#bd081c;
}

.sp-home-intro::after{
  content:"";
  position:absolute;
  right:18px;
  top:0;
  width:160px;
  height:160px;
  background-image:url("/wp-content/uploads/2026/03/cropped-fbd6ffa2-8bff-4b54-bcb9-102d483c4178-1.webp");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  opacity:.035;
  pointer-events:none;
  z-index:0;
}

.sp-home-intro > *{
  position:relative;
  z-index:2;
}

.sp-home-intro__mini{
  display:inline-block;
  width:100%;
  margin:0 0 6px;
  padding:0 0 6px;
  border-bottom:1px solid #efefef;
  font-size:12px;
  line-height:1.3;
  font-weight:600;
  color:#777;
}

.sp-home-intro h1{
  margin:0 0 6px;
  max-width:900px;
  font-size:25px;
  line-height:1.15;
  font-weight:600;
  color:#111;
}

.sp-home-intro p{
  margin:0;
  max-width:920px;
  font-size:15px;
  line-height:1.6;
  color:#444;
}

/* =========================================================
   FEATURED POSTS
   ========================================================= */

.sp-featured-posts{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:6px;
}

.sp-featured-posts__item{
  position:relative;
  display:block;
  min-height:190px;
  overflow:hidden;
  text-decoration:none;
  background:#f3f3f3;
}

.sp-featured-posts__item--large{
  grid-row:span 2;
  min-height:386px;
}

.sp-featured-posts__image{
  position:absolute;
  inset:0;
  display:block;
}

.sp-featured-posts__image img,
.sp-featured-posts__image .sp-no-thumb,
.sp-no-thumb{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  background:#e9e9e9;
}

.sp-featured-posts__overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,.10) 10%,rgba(0,0,0,.62) 100%);
}

.sp-featured-posts__content{
  position:absolute;
  left:16px;
  right:16px;
  bottom:14px;
  z-index:2;
}

.sp-featured-posts__content strong{
  display:block;
  font-size:18px;
  line-height:1.2;
  font-weight:600;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}

.sp-featured-posts__item--large .sp-featured-posts__content strong{
  font-size:22px;
}

/* =========================================================
   CATEGORY + RECENT SHARED CARD BASE
   ========================================================= */

.sp-category-grid,
.sp-recent-grid{
  display:grid;
  gap:10px;
}

.sp-category-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}

.sp-recent-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.sp-category-card,
.sp-recent-card{
  border:1px solid #dddddd;
  background:#fff;
  overflow:hidden;
}

.sp-category-card__thumb,
.sp-recent-card__thumb{
  display:block;
  text-decoration:none;
  background:#f3f3f3;
}

.sp-category-card__thumb img,
.sp-category-card__thumb-placeholder,
.sp-recent-card__thumb img,
.sp-recent-card__thumb .sp-no-thumb{
  display:block;
  width:100%;
  height:185px;
  object-fit:cover;
  background:#ededed;
}

.sp-category-card__body,
.sp-recent-card__body{
  padding:13px 14px 14px;
}

.sp-category-card__title,
.sp-recent-card__title{
  margin:0;
  font-size:18px;
  line-height:1.28;
  font-weight:600;
  letter-spacing:-0.1px;
}

.sp-category-card__title a,
.sp-recent-card__title a{
  color:#111;
  text-decoration:none;
}

.sp-category-card__title a:hover,
.sp-recent-card__title a:hover{
  color:#bd081c;
}

/* =========================================================
   HOME EDITOR
   ========================================================= */

.sp-home-editor{
  padding:22px;
  border:1px solid #ececec;
  background:#fff;
  font-size:17px;
  line-height:1.9;
  color:#333;
}

.sp-home-editor > *:first-child{
  margin-top:0;
}

.sp-home-editor > *:last-child{
  margin-bottom:0;
}

/* =========================================================
   WEEKLY QUOTES
   ========================================================= */

.home-weekly-quotes{
  margin-top:10px;
}

.home-weekly-quotes__box{
  background:#fff;
  border:1px solid #e9e9e9;
}

.home-weekly-quotes__title{
  margin:0;
  padding:18px 10px;
  border-bottom:1px solid #ececec;
  font-size:18px;
  line-height:1.2;
  font-weight:600;
  text-transform:uppercase;
  color:#bd081c;
}

.home-weekly-quotes__list{
  display:block;
}

.home-weekly-quotes__item{
  padding:20px;
  border-bottom:1px solid #f1f1f1;
}

.home-weekly-quotes__item:last-child{
  border-bottom:0;
}

.home-weekly-quotes__item p{
  margin:0;
  font-size:15px;
  line-height:1.85;
  color:#222;
}

/* =========================================================
   1100
   ========================================================= */

@media (max-width:1100px){
  .sp-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

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

/* =========================================================
   992
   ========================================================= */

@media (max-width:992px){
  .sp-home-container{
    padding:0 5px;
  }

  .sp-home-intro{
    padding:12px 14px 10px;
  }

  .sp-home-intro::after{
    width:120px;
    height:120px;
  }

  .sp-home-intro h1{
    font-size:24px;
  }

  .sp-home-intro p{
    font-size:14px;
  }

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

  .sp-featured-posts__item--large{
    grid-column:1 / -1;
    grid-row:auto;
    min-height:280px;
  }

  .sp-section-head{
    margin-bottom:12px;
  }

  .sp-section-title{
    padding:14px 14px 14px 20px;
    font-size:20px;
  }

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

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

  .sp-category-card__thumb img,
  .sp-category-card__thumb-placeholder,
  .sp-recent-card__thumb img,
  .sp-recent-card__thumb .sp-no-thumb{
    height:145px;
  }

  .sp-category-card__body,
  .sp-recent-card__body{
    padding:11px 12px 12px;
  }

  .sp-category-card__title,
  .sp-recent-card__title{
    font-size:17px;
    line-height:1.26;
  }
}

/* =========================================================
   768
   ========================================================= */

@media (max-width:768px){
  .home-weekly-quotes{
    margin-top:18px;
  }

  .home-weekly-quotes__title{
    padding:16px;
    font-size:17px;
  }

  .home-weekly-quotes__item{
    padding:16px;
  }

  .home-weekly-quotes__item p{
    font-size:15px;
    line-height:1.75;
  }
}

/* =========================================================
   640
   ========================================================= */

@media (max-width:640px){
  .sp-homepage{
    padding-top:0;
  }

  .sp-home-intro{
    margin-bottom:6px;
    padding:10px 12px;
  }

  .sp-home-intro__inner{
    padding:0;
  }

  .sp-home-intro::after{
    width:90px;
    height:90px;
    opacity:.03;
  }

  .sp-home-intro h1{
    font-size:18px;
    line-height:1.2;
  }

  .sp-home-intro p{
    font-size:13.5px;
  }

  .sp-section-head{
    margin-bottom:10px;
  }

  .sp-section-title{
    padding:12px 12px 12px 18px;
    font-size:20px;
  }

  .sp-featured-posts{
    grid-template-columns:1fr 1fr;
    gap:6px;
  }

  .sp-featured-posts__item{
    min-height:auto;
    aspect-ratio:16 / 11;
  }

  .sp-featured-posts__item--large{
    grid-column:1 / -1;
    grid-row:auto;
    min-height:auto;
    aspect-ratio:16 / 8;
  }

  .sp-category-grid,
  .sp-recent-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .sp-category-card__thumb img,
  .sp-category-card__thumb-placeholder,
  .sp-recent-card__thumb img,
  .sp-recent-card__thumb .sp-no-thumb{
    height:125px;
  }

  .sp-category-card__body,
  .sp-recent-card__body{
    padding:10px 11px 11px;
  }

  .sp-category-card__title,
  .sp-recent-card__title{
    font-size:16px;
    line-height:1.24;
  }
}

/* =========================================================
   HOME TEXT BLOCKS
   ========================================================= */

.sp-home-texts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.sp-home-text-card{
  border:1px solid #e7e7e7;
  background:#fff;
  padding:18px 18px 16px;
}

.sp-home-text-card__title{
  margin:0 0 14px;
  font-size:20px;
  line-height:1.3;
  font-weight:600;
  color:#111;
}

.sp-home-text-card__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.sp-home-text-card__list li{
  position:relative;
  margin:0;
  padding-left:14px;
  font-size:15px;
  line-height:1.8;
  font-weight:400;
  color:#333;
}

.sp-home-text-card__list li::before{
  content:"";
  position:absolute;
  left:0;
  top:11px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#bd081c;
}

/* =========================================================
   HOME ABOUT
   ========================================================= */

.sp-home-about__box{
  padding:22px;
  border:1px solid #ececec;
  background:#fff;
  font-family:"Poppins",sans-serif;
}

.sp-home-about__box p{
  margin:0;
  font-size:17px;
  line-height:1.95;
  font-weight:400;
  color:#333;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:1100px){
  .sp-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

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

  .sp-home-texts-grid{
    grid-template-columns:1fr 1fr;
  }

  .sp-home-intro h1{
    font-size:34px;
  }
}

@media (max-width:992px){
  .sp-home-container{
    padding:0 14px;
  }

  .sp-home-intro{
    padding:18px 16px 16px;
  }

  .sp-home-intro::after{
    right:10px;
    width:150px;
    height:150px;
  }

  .sp-home-intro h1{
    font-size:31px;
    line-height:1.2;
  }

  .sp-home-intro p{
    font-size:16px;
    line-height:1.75;
  }

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

  .sp-featured-posts__item--large{
    grid-column:1 / -1;
    grid-row:auto;
    min-height:280px;
  }

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

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

  .sp-home-texts-grid{
    grid-template-columns:1fr;
  }

  .home-weekly-quotes__title{
    padding:16px 16px;
    font-size:17px;
  }

  .home-weekly-quotes__item{
    padding:16px;
  }

  .home-weekly-quotes__item p{
    font-size:15px;
    line-height:1.75;
  }
}

@media (max-width:768px){
  .home-weekly-quotes{
    margin-top:18px;
  }
}

@media (max-width:640px){
  .sp-homepage{
    padding-top:12px;
  }

  .sp-home-intro{
    margin-bottom:16px;
    padding:16px 14px 14px;
  }

  .sp-home-intro__inner{
    padding:0;
  }

  .sp-home-intro::after{
    right:6px;
    width:110px;
    height:110px;
    opacity:.03;
  }

  .sp-home-intro__mini{
    margin-bottom:10px;
    padding-bottom:8px;
    font-size:12px;
  }

  .sp-home-intro h1{
    font-size:25px;
    line-height:1.22;
  }

  .sp-home-intro p{
    font-size:15px;
    line-height:1.7;
  }

  .sp-section-title{
    font-size:23px;
  }

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

  .sp-featured-posts__item,
  .sp-featured-posts__item--large{
    min-height:220px;
  }

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

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

  .sp-category-card__thumb img,
  .sp-category-card__thumb-placeholder,
  .sp-recent-card__thumb img,
  .sp-recent-card__thumb .sp-no-thumb{
    height:210px;
  }

  .sp-home-text-card{
    padding:16px 14px;
  }

  .sp-home-text-card__title{
    font-size:18px;
  }

  .sp-home-text-card__list li{
    font-size:14px;
    line-height:1.75;
  }

  .sp-home-about__box,
  .sp-home-editor{
    padding:16px 14px;
  }

  .sp-home-about__box p,
  .sp-home-editor{
    font-size:15px;
    line-height:1.85;
  }
}

/* öne çıkan içerik taşması*/

/* MOBILE FIX */
@media (max-width:768px){

  .sp-featured-posts{
    display:block;
  }

  .sp-featured-posts__item,
  .sp-featured-posts__item--large{
    width:100%;
    max-width:100%;
    display:block;
  }

  .sp-featured-posts__image img{
    width:100%;
    height:auto;
    display:block;
  }

}