body {
  font-family: 'Inter', sans-serif;
  background: var(--light-font-color);
}

main {
  max-width: 100vw;
  margin: 0 auto;
  padding: 60px 20px;
}
.eyebrow {
  font-family: var(--font2);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--secondary) 85%, #000);
  font-weight: 700;
  margin-bottom: 14px;
}
/*<=============================== HERO ===============================>*/
#inicio.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(
    120deg,
    var(--primary),
    color-mix(in srgb, var(--primary) 60%, var(--primary-variant)) 45%,
    color-mix(in srgb, var(--primary) 20%, var(--primary-variant)) 100%
  );
  background-size: 200% 200%;
  animation: gradiente 8s ease infinite;
  width: 100%;
  padding-inline: 17%;
}
@keyframes gradiente {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 5%, color-mix(in srgb, var(--secondary) 30%, transparent), transparent 25%);
}
.hero img {
  max-width: 100%;
  display: block;
  filter: drop-shadow(1px 1px 2px #fffb);
  margin: 0 auto;
}
.hero-glyph {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26rem;
  line-height: 1;
  color: color-mix(in srgb, var(--secondary) 9%, transparent);
  font-family: var(--font1);
  user-select: none;
  pointer-events: none;
}
h1 {
  color: var(--light-font-color);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin: 20px 0;
  font-family: var(--font1);
  line-height: 1.2em;
}
h1 em {
  font-style: normal;
  color: var(--secondary);
}
.hero .eyebrow {
  font-size: 1.2rem;
}
.hero p {
  color: var(--light-font-color);
  font-size: 1.12rem;
  max-width: 80ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.hero .catchphrase {
  color: var(--light-font-color);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  margin: 20px 0;
  font-family: var(--font1);
  line-height: 1.2em;
  font-weight: bold;
}
.hero .catchphrase em {
  font-style: normal;
  color: var(--secondary);
}
/*<============================ POST LIST ============================>*/
.introduction {
  text-align: center;
  padding: 20px 0;
}

.introduction h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-variant);
}

.introduction p {
  max-width: 60ch;
  margin: 12px auto;
  color: var(--dark-font-color);
  opacity: 0.6;
}
.post-list {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  width: 70vw;
  max-width: 70vw;
  gap: 28px;
  padding: 40px 0;
  margin-inline: auto;
}

/*<============================ POST CARD ============================>*/
.post-card {
  background: var(--primary-mix);
  border: 1px solid #7775;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--primary) 28%, transparent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -18px color-mix(in srgb, var(--primary) 45%, transparent);
  border-color: var(--secondary);
}
.post-card:hover::before {
  width: 100%;
}

.post-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(180deg, var(--secondary), transparent);
  transition: width 700ms ease;
}

.post-card h2 {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: var(--font1);
}

.post-card p {
  color: #777;
  font-size: 0.95rem;
}

.post-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--primary);
}
.post-card > hr {
  color: var(--primary);
  margin: 10px auto;
  opacity: 0.75;
  width: 80%;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-footer > p {
  font-family: var(--font1);
}

.read-link:hover {
  filter: drop-shadow(0 0 10px var(--primary-variant));
}
.read-link > span {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8em;
}
.read-link:hover > span {
  transform: translateX(5px);
}

/*<=============================== CTA ===============================>*/
.cta-posts {
  margin-top: 80px;
  padding: 50px 30px;
  background: linear-gradient(135deg, var(--primary-variant), var(--primary));
  border-radius: 20px;
  text-align: center;
  color: white;
}

.cta-posts h2 {
  font-size: 1.8rem;
}

.cta-posts p {
  max-width: 60ch;
  margin: 12px auto;
  color: var(--light-font-color);
}

.cta-posts a {
  margin-top: 16px;
  display: inline-block;
  background: var(--secondary);
  color: #000;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: bold;
}
.cta-posts a:hover {
  box-shadow: inset 5px 5px 5px #fff7;
}
.cta-posts a:active {
  box-shadow: inset -5px -5px 5px #0007;
}
