.post-hero{
  padding:100px 0 50px;
  background:linear-gradient(135deg,#041918,#104959);
  color:#fff;
}

.post-title{
  font-size:48px;
  max-width:800px;
  line-height:1.1;
}

.post-meta{
  margin-top:10px;
  opacity:.7;
}

.post-layout{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:40px;
  padding:60px 0;
}

.post-content{
  font-size:18px;
  line-height:1.7;
}

.post-content h2{
  font-size:32px;
  margin-top:40px;
}

.post-sidebar{
  display:grid;
  gap:20px;
}

.post-widget{
  padding:20px;
  border-radius:16px;
  background:#fff;
}

.post-widget--cta{
  background:linear-gradient(135deg,#104959,#0b3742);
  color:#fff;
}

/* Sidebar sticky desktop */
.post-layout {
  align-items: start;
}

.post-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Tablet */
@media (max-width: 1100px) {
  .post-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .post-sidebar {
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .post-widget--cta {
    grid-column: 1 / -1;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .post-hero {
    padding: 90px 0 42px;
  }

  .post-title {
    font-size: 34px;
    line-height: 1.08;
  }

  .post-layout {
    padding: 42px 0;
  }

  .post-content h1{
    font-size:27px !important;
  }

  .post-content {
    font-size: 16px;
    padding:0px 15px !important;
  }

  .post-content h2 {
    font-size: 25px;
  }

  .post-content h3 {
    font-size: 21px;
  }

  .post-sidebar {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0px 15px !important;
  }

  .post-widget--cta{
    display: none !important;
  }

  .cat-item {
    margin:10px 0px !important;
  }

  .cat-item a {
    font-weight: 600 !important;
  }

  .post-widget {
    padding: 22px 20px;
    border-radius: 18px;
  }
}

/* Móvil pequeño */
@media (max-width: 480px) {
  .post-title {
    font-size: 29px;
  }

  .post-meta {
    flex-direction: column;
    gap: 6px;
  }

  .post-content p,
  .post-content li {
    font-size: 15px;
  }

  .post-widget {
    padding: 20px 18px;
  }
}

