/* BLOG TITLE */

.blog-title {
  position: relative;
  width: 100%;
  display: block;

  margin: 0 0 40px;
  padding: 22px 32px;

  text-align: center;

  font-family: "Acme", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: 1px;

  color: #ffffff;
  text-transform: uppercase;

  background: linear-gradient(
    180deg,
    rgba(14, 18, 28, 0.88),
    rgba(8, 10, 16, 0.9)
  );

  backdrop-filter: blur(14px);

  border-top: 1px solid rgba(77, 184, 255, 0.55);
  border-bottom: 1px solid rgba(77, 184, 255, 0.55);

  box-shadow:
    0 0 14px rgba(77, 184, 255, 0.16),
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  text-shadow: 0 0 12px rgba(77, 184, 255, 0.22);
}

.blog-title::before,
.blog-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);

  width: 75%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 184, 255, 1),
    #ffffff,
    rgba(77, 184, 255, 1),
    transparent
  );

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.75),
    0 0 26px rgba(77, 184, 255, 0.35);
}

.blog-title::before {
  top: -1px;
}

.blog-title::after {
  bottom: -1px;
}

/* BLOG LAYOUT */

.blog-layout {
  display: flex;
  gap: 40px;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: flex-start;
}

/* MAIN CONTENT */

.blog-main {
  flex: 1;
  min-width: 0;
  max-width: 900px;
  margin: 0 auto;
}

/* ARTICLE BOX */

.blog-main article {
  position: relative;
  overflow: hidden;

  background: rgba(8, 12, 20, 0.82);

  border: 1px solid rgba(77, 184, 255, 0.28);
  border-radius: 22px;

  padding: 35px;
  margin-bottom: 40px;

  backdrop-filter: blur(16px);

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.18),
    0 0 30px rgba(77, 184, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

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

.blog-main article::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;
  pointer-events: none;

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

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(77, 184, 255, 0.05);
}

.blog-main article::after {
  content: "";
  position: absolute;

  top: 18px;
  right: 18px;

  width: 42px;
  height: 42px;

  border-top: 2px solid rgba(77, 184, 255, 0.85);
  border-right: 2px solid rgba(77, 184, 255, 0.85);

  opacity: 0.85;
  pointer-events: none;

  filter: drop-shadow(0 0 8px rgba(77, 184, 255, 0.45));
}

.blog-main article:hover {
  transform: translateY(-4px);

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

  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.25),
    0 0 45px rgba(77, 184, 255, 0.15),
    0 25px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* ENTRY HEADER */

.entry-header {
  margin: 0 0 20px;
}

/* POST TITLE */

.entry-title {
  margin: 0 0 15px !important;
  padding-top: 0 !important;

  text-align: center;

  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-family: "Acme", sans-serif;
  line-height: 1.1;
}

.entry-title a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.entry-title a:hover {
  color: #4db8ff;
  text-shadow: 0 0 12px rgba(77, 184, 255, 0.35);
}

/* POST META */

.entry-meta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;

  margin-bottom: 24px;

  font-size: 0.95rem;
}

.entry-meta span {
  padding: 8px 14px;

  border-radius: 999px;

  background: rgba(8, 12, 20, 0.82);

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

  backdrop-filter: blur(12px);

  box-shadow:
    0 0 10px rgba(77, 184, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.entry-meta a {
  color: #4db8ff;
  text-decoration: none;
}

.entry-meta a:hover {
  color: #ffffff;
}

/* FEATURED IMAGE */

.post-thumbnail {
  height: 300px;
  overflow: hidden;

  margin-bottom: 24px;

  border-radius: 18px;

  background: rgba(8, 12, 20, 0.8);

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

  backdrop-filter: blur(16px);

  box-shadow:
    0 0 15px rgba(77, 184, 255, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.35);
}

.post-thumbnail img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;

  transition: transform 0.4s ease;
}

.post-thumbnail:hover img {
  transform: scale(1.04);
}

/* EXCERPT */

.entry-excerpt {
  margin-bottom: 40px;

  line-height: 1.85;
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);

  color: rgba(255, 255, 255, 0.88);
}

/* READ MORE BUTTON */

.read-more-button {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;

  padding: 14px 24px;

  border-radius: 999px;

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

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

  color: #ffffff;

  font-family: "Acme", sans-serif;
  font-size: 1rem;

  text-transform: uppercase;
  letter-spacing: 1px;

  text-decoration: none;

  box-shadow:
    0 0 12px rgba(77, 184, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition: all 0.3s ease;
}

.read-more-button:hover {
  color: #ffffff;

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

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

  transform: translateY(-3px);

  box-shadow:
    0 0 18px rgba(77, 184, 255, 0.25),
    0 0 34px rgba(77, 184, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* SIDEBAR */

.blog-sidebar {
  width: 320px;

  position: sticky;
  top: 140px;
}

/* SIDEBAR BOX */

.sidebar-box {
  position: relative;
  overflow: hidden;

  background: rgba(8, 12, 20, 0.82);

  border: 1px solid rgba(77, 184, 255, 0.25);
  border-radius: 22px;

  padding: 30px;

  backdrop-filter: blur(16px);

  box-shadow:
    0 0 15px rgba(77, 184, 255, 0.15),
    0 0 35px rgba(77, 184, 255, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-box::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;
  pointer-events: none;

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

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 18px rgba(77, 184, 255, 0.05);
}

.sidebar-box::after {
  content: "";
  position: absolute;

  top: 18px;
  right: 18px;

  width: 38px;
  height: 38px;

  border-top: 2px solid rgba(77, 184, 255, 0.8);
  border-right: 2px solid rgba(77, 184, 255, 0.8);

  opacity: 0.8;
  pointer-events: none;

  filter: drop-shadow(0 0 8px rgba(77, 184, 255, 0.45));
}

.sidebar-box h3 {
  margin-top: 0;
  margin-bottom: 20px;

  color: #4db8ff;

  font-family: "Acme", sans-serif;
  font-size: 1.5rem;
}

/* CATEGORY LIST */

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 12px;
}

.category-list li a {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #f0f0f0;

  text-decoration: none;

  transition: all 0.3s ease;
}

.category-list li a::before {
  content: "⌬";

  color: #4db8ff;

  font-size: 1rem;
  line-height: 1;

  text-shadow: 0 0 8px rgba(77, 184, 255, 0.45);
}

.category-list li a:hover {
  color: #4db8ff;
  padding-left: 5px;
}

/* MOBILE */

@media (max-width: 900px) {
  .blog-layout {
    flex-direction: column;
  }

  .blog-sidebar {
    width: 100%;

    position: relative;
    top: 0;
  }

  .entry-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .entry-meta {
    gap: 10px;
  }

  .post-thumbnail {
    height: 220px;
  }

  .blog-main article {
    padding: 25px;
  }
}
