/* ================================
   FRONT PAGE LAYOUT
================================ */

#primary.site-main {
  padding: 70px 20px 100px;
}

/* ================================
   SHARED SECTION STYLE
================================ */

.hero-banner,
.recent-post-section {
  max-width: 960px;
  margin: 0 auto 70px;
  padding: clamp(32px, 6vw, 60px);

  position: relative;
  overflow: hidden;

  border-radius: 30px;

  background-color: rgba(0, 0, 0, 0.8);

  border: 1px solid rgba(77, 184, 255, 0.35);

  color: #ffffff;

  animation: funnelGlow 3.5s infinite ease-in-out;
}

@keyframes funnelGlow {
  0%,
  100% {
    box-shadow:
      0 0 8px rgba(77, 184, 255, 0.12),
      0 0 18px rgba(77, 184, 255, 0.08),
      0 0 35px rgba(77, 184, 255, 0.04);
  }

  50% {
    box-shadow:
      0 0 20px rgba(77, 184, 255, 0.45),
      0 0 45px rgba(77, 184, 255, 0.28),
      0 0 80px rgba(77, 184, 255, 0.14);
  }
}

.hero-banner::before,
.recent-post-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  border: 1px solid rgba(77, 184, 255, 0.45);

  box-shadow:
    0 0 14px rgba(77, 184, 255, 0.35),
    0 0 34px rgba(77, 184, 255, 0.16),
    inset 0 0 24px rgba(77, 184, 255, 0.06);
}

.hero-banner::after,
.recent-post-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.045),
    transparent 150px
  );
}

.hero-banner *,
.recent-post-section * {
  color: #ffffff;
}

.hero-banner a,
.recent-post-section a {
  text-decoration: none;
}

/* ================================
   HERO SECTION
================================ */

.hero-banner {
  display: block;
}

.front-page_header {
  position: relative;

  display: inline-block;

  margin: 0 0 45px;
  padding-bottom: 18px;

  font-family: "Acme", sans-serif;
  font-size: clamp(3rem, 8vw, 5.4rem);

  line-height: 0.95;

  color: #ffffff;

  text-shadow:
    0 0 15px rgba(77, 184, 255, 0.25),
    0 0 35px rgba(77, 184, 255, 0.12);
}

/* Glow line */

.front-page_header {
  position: relative;

  display: inline-block;

  margin: 0 0 45px;
  padding-bottom: 18px;

  font-family: "Acme", sans-serif;
  font-size: clamp(3rem, 8vw, 5.4rem);

  line-height: 0.95;

  color: #ffffff;

  text-shadow:
    0 0 15px rgba(77, 184, 255, 0.25),
    0 0 35px rgba(77, 184, 255, 0.12);
}

/* Desktop - line starts at text edge */

.front-page_header::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 70%;
  height: 4px;

  border-radius: 999px;

  background: linear-gradient(90deg, #4db8ff, #ffffff, transparent);

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.8),
    0 0 25px rgba(77, 184, 255, 0.4);
}

.hero-banner h2 {
  position: relative;

  display: inline-block;

  margin: 70px 0 35px;
  padding-bottom: 18px;

  font-family: "Acme", sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);

  color: #ffffff;
}

.hero-banner h2::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 140px;
  height: 4px;

  border-radius: 999px;

  background: linear-gradient(90deg, #4db8ff, #ffffff, transparent);

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.8),
    0 0 28px rgba(77, 184, 255, 0.35);
}
/* Mobile */

@media (max-width: 900px) {
  .front-page_header {
    display: block;
    text-align: center;
  }

  .front-page_header::after {
    left: 50%;

    width: 70%;

    transform: translateX(-50%);

    background: linear-gradient(
      90deg,
      transparent,
      #4db8ff,
      #ffffff,
      #4db8ff,
      transparent
    );
  }
}

#hero-banner_my-image {
  display: block;

  width: min(35vw, 260px);
  aspect-ratio: 1 / 1;

  object-fit: cover;
  object-position: center;

  border-radius: 50%;

  margin: 0 0 35px;

  border: 3px solid rgba(77, 184, 255, 0.45);

  box-shadow:
    0 0 28px rgba(77, 184, 255, 0.28),
    0 18px 40px rgba(0, 0, 0, 0.45);
}
.hero-banner p {
  max-width: 720px;
  margin: 0 0 20px;

  font-size: 1.1rem;
  line-height: 1.9;
}

.hero-contact-btn {
  margin-top: 30px;
}

/* ================================
   BUTTONS
================================ */

.glass-btn,
.recent-post-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 13px 26px;

  border-radius: 999px;

  border: 1px solid rgba(77, 184, 255, 0.45);

  background: rgba(77, 184, 255, 0.12);

  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  font-weight: 700;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.glass-btn:hover,
.recent-post-btn:hover {
  transform: translateY(-2px);
  background: rgba(77, 184, 255, 0.2);

  box-shadow:
    0 0 26px rgba(77, 184, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ================================
   RECENT POST SECTION
================================ */

.recent-post-section {
  margin-bottom: 0;
}

.recent-post-inner {
  position: relative;
  z-index: 1;
}

.recent-post-heading {
  text-align: center;
  margin-bottom: 44px;
}

.recent-post-heading span {
  display: inline-block;

  margin-bottom: 12px;

  color: #4db8ff;

  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.recent-post-heading h2 {
  margin: 0;

  font-family: "Acme", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.recent-post-card {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 32px;
  align-items: center;

  padding: 28px;

  border-radius: 24px;

  background: rgba(77, 184, 255, 0.04);

  border: 1px solid rgba(77, 184, 255, 0.22);
  border-left: 5px solid #4db8ff;

  backdrop-filter: blur(12px);

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.12),
    0 0 24px rgba(77, 184, 255, 0.06),
    0 18px 45px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.recent-post-card:hover {
  transform: translateY(-3px);

  border-color: rgba(77, 184, 255, 0.35);

  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.18),
    0 0 36px rgba(77, 184, 255, 0.1),
    0 25px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.recent-post-image {
  display: block;
  overflow: hidden;
  border-radius: 18px;
}

.recent-post-image img,
.recent-post-placeholder {
  display: block;

  width: 100%;
  height: 300px;

  object-fit: cover;
  border-radius: 18px;

  background: #0e121b;
}

.recent-post-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px dashed rgba(77, 184, 255, 0.3);
}

.recent-post-content {
  min-width: 0;
}

.recent-post-date {
  display: block;

  margin-bottom: 12px;

  color: #4db8ff;

  font-weight: 800;
  letter-spacing: 0.4px;
}

.recent-post-title {
  margin: 0 0 18px;

  font-family: "Acme", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.recent-post-title a {
  transition: color 0.25s ease;
}

.recent-post-title a:hover {
  color: #4db8ff;
}

.recent-post-excerpt {
  margin: 0 0 28px;

  font-size: 1.08rem;
  line-height: 1.8;
}

.no-recent-posts {
  text-align: center;
  font-size: 1.1rem;
}

/* Keep accents blue */

.recent-post-heading span,
.recent-post-date,
.hero-banner li::marker,
.hero-banner li a:hover,
.recent-post-title a:hover {
  color: #4db8ff;
}

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

@media (max-width: 900px) {
  #primary.site-main {
    padding: 45px 16px 80px;
  }

  .hero-banner,
  .recent-post-section {
    padding: 36px 24px;
    margin-bottom: 45px;
  }

  .front-page_header {
    text-align: center;
  }

  .hero-contact-btn {
    display: flex;
    width: fit-content;
    margin: 30px auto 0;
  }

  .recent-post-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .recent-post-image img,
  .recent-post-placeholder {
    height: 240px;
  }
}
