/* ======================================
   HOME – EDITORIAL + ADS CONVERSION
====================================== */

.home-main{
  max-width:720px;
  margin:0 auto;
  padding:32px 16px 64px;
}

/* --------------------------------------
   CATEGORY BLOCK
-------------------------------------- */

.home-category{
  margin-bottom:96px;
}

.category-header{
  margin-bottom:24px;
}

.category-title{
  font-size:1.6rem;
  font-weight:700;
  line-height:1.2;
  color:#020617;
}

/* --------------------------------------
   FEATURED SLOT (POST OR AD)
-------------------------------------- */

.category-featured-slot{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:24px;
  align-items:start;
}

/* Media column (image OR ad) */
.featured-media{
  width:300px;
  min-height:250px;
  border-radius:12px;
  overflow:hidden;
  background:#f1f5f9;
}

.featured-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Ad container safety */
.featured-media .pubads-ad{
  display:block;
  width:300px;
  height:250px;
}

/* --------------------------------------
   FEATURED CONTENT
-------------------------------------- */

.featured-content{
  max-width:640px;
}

.featured-title{
  font-size:1.35rem;
  line-height:1.3;
  margin-bottom:8px;
}

.featured-title a{
  color:#020617;
  text-decoration:none;
}

.featured-title a:hover{
  text-decoration:underline;
}

.featured-excerpt{
  font-size:1rem;
  line-height:1.55;
  color:#475569;
}

/* --------------------------------------
   CATEGORY LIST (TEXT-FIRST)
-------------------------------------- */

.category-list{
  list-style:none;
  padding:0;
  margin:24px 0 0;
  border-top:1px solid #e5e7eb;
}

.category-list li{
  padding:12px 0;
  border-bottom:1px solid #e5e7eb;
}

.category-list a{
  font-size:1.05rem;
  font-weight:600;
  color:#020617;
  text-decoration:none;
}

.category-list a:hover{
  text-decoration:underline;
}

/* --------------------------------------
   MOBILE OPTIMIZATION
-------------------------------------- */

@media (max-width:768px){

  .category-featured-slot{
    grid-template-columns:1fr;
  }

  .featured-media{
    width:100%;
    aspect-ratio:300/250;
    height:auto;
  }

  .featured-media .pubads-ad{
    width:100%;
    height:auto;
    aspect-ratio:300/250;
  }

  .featured-content{
    max-width:100%;
  }

  .home-category{
    margin-bottom:72px;
  }

}

/* --------------------------------------
   AD UX (CONVERSION SAFE)
-------------------------------------- */

.pubads-ad{
  cursor:pointer;
}

.pubads-ad img{
  display:block;
  width:100%;
  height:100%;
}
