*{
	padding: 0;
	margin: 0 ;
}

@font-face { font-family: Inter; src: url('Inter/Inter-VariableFont_slnt,wght.ttf'); } 
@font-face { font-family: Lobster; src: url('Lobster/Lobster-Regular.ttf'); } 
@font-face { font-family: Libre_Franklin; src: url('Libre_Franklin/LibreFranklin-VariableFont_wght.ttf'); } 

.main-body{
  position: relative;
  width: 98%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top:6vh;
}


.headline1{
  position: relative;
  text-align: center;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
  font-size: 3em;
  font-family: 'Lobster';
}
.headline2{
  position: relative;
  text-align: center;
  font-family: 'Inter';
  color: #4a4a4a;
  font-size: 1em;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 9vh;
}

.splitter-top{
  position: relative;
  width: 80%;
  max-width: 300px;
  height: 1px;
  margin-top: 3vh;
  background-color: #000000;
  margin-left: auto;
  margin-right: auto;
}


.headline3{
  position: relative;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
  font-size: 3em;
  font-family: 'Lobster';
  font-size: 2.3em;
  margin-top:8vh;
}




/* Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  font-family: 'Inter';
  margin-top: 2vh;
}

/* FEATURED */
.featured-post {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  transition: transform .45s ease;
}
.featured-post:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.featured-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.featured-content {
  position: absolute;
  inset: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
}

.tags {
  display: flex;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  background: rgba(255,255,255,0.2);
  color: white;
}

.tag.featured {
  background: #ff7a00;
}

.featured-content h2 {
  color: white;
  font-size: clamp(22px, 3vw, 32px);
  margin: 0;
  max-width: 90%;
}

/* SIDEBAR */
.side-posts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.side-post {
  display: flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #d0d0d0;
  transition: 0.45s ease;
}
.side-post:hover {
  transform: scale(1.05);
  cursor: pointer;
  background-color: #e7e7e7;
  border-radius: 16px;
}

.side-post img {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  object-fit: cover;
}

.category {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 6px;
}

.side-post h3 {
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .featured-post img {
    min-height: 300px;
  }
}

@media (max-width: 500px) {
  .side-post {
    gap: 12px;
  }

  .side-post img {
    width: 70px;
    height: 70px;
  }
}












/* GRID */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  padding: 20px;
  margin: auto;
  margin-top: 2vh;
  font-family: 'Inter';
  padding-bottom: 9vh;
}

/* CARD */
.card {
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border: 1px solid #d6d6d6;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  cursor: pointer;
}

/* IMAGE */
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.card-content {
  padding: 20px;
  color: #000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  opacity: .9;
}

.card-content h3 {
  font-size: 18px;
  line-height: 1.4;
  margin: 0;
}

.card-content p {
  font-size: 14px;
  line-height: 1.6;
  opacity: .9;
}

.link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .blog-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-cards {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 200px;
  }
}