/* ========================================================
   SHIWORA — Journal Section Styles (100% Responsive, Zero-Px Blueprint)
   Strictly adheres to using scalable relative units (rem, em, %, vh, vw, clamp).
   ======================================================== */

.blog-page {
  background: 
    radial-gradient(circle at 0% 0%, rgba(94, 200, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(30, 107, 138, 0.08) 0%, transparent 50%),
    #0d1b2e;
  color: var(--white);
  overflow-x: hidden;
}

/* ── BREATHING GLOW ANIMATIONS ───────────────────────────── */
@keyframes floatGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  50% { transform: scale(1.15) translate(2%, -2%); opacity: 1; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.7; }
}

@keyframes floatGlowReverse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  50% { transform: scale(1.1) translate(-2%, 2%); opacity: 0.9; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.6; }
}

/* ── TIER 1: JOURNAL HERO ────────────────────────────────── */
.journal-hero {
  position: relative;
  padding: clamp(8rem, 20vh, 12rem) 0 clamp(4rem, 10vh, 6rem) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 10%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(94, 200, 229, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: floatGlow 15s ease-in-out infinite alternate;
}

.hero-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(94, 200, 229, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite;
}

.hero-centered-content {
  position: relative;
  z-index: 2;
  max-width: 55rem;
  margin: 0 auto;
  text-align: center;
}

.hero-centered-content h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.hero-centered-content .accent-word {
  color: var(--gold);
  font-style: italic;
  position: relative;
  display: inline-block;
}

.hero-centered-content .hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46rem;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ── TIER 2: FEATURED ARTICLE PANEL ───────────────────────── */
.featured-article-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
  position: relative;
  z-index: 5;
}

.featured-article-section::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(30, 107, 138, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: floatGlowReverse 16s ease-in-out infinite alternate;
}

.featured-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 42, 69, 0.45) 0%, rgba(13, 27, 46, 0.25) 100%);
  backdrop-filter: blur(2rem) saturate(180%);
  -webkit-backdrop-filter: blur(2rem) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

/* Gradient Neon Border Hover Effect */
.featured-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold), rgba(94, 200, 229, 0.1), var(--gold-mid)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), background 0.6s var(--ease);
  z-index: 3;
}

.featured-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 
    0 40px 90px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(94, 200, 229, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.featured-card:hover::after {
  background: linear-gradient(135deg, var(--gold), var(--gold-mid)) border-box;
  opacity: 1;
}

.featured-card .card-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top right, rgba(94, 200, 229, 0.1), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.featured-card:hover .card-glow {
  transform: scale(1.1);
  opacity: 0.15;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
  z-index: 2;
  position: relative;
}

@media (max-width: 991px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

.featured-img-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}

@media (min-width: 992px) {
  .featured-img-frame {
    aspect-ratio: auto;
  }
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.featured-card:hover .featured-img {
  transform: scale(1.05);
}

.category-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(13, 27, 46, 0.85);
  border: 1px solid rgba(94, 200, 229, 0.3);
  color: var(--gold);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
}

.featured-content {
  padding: clamp(1.25rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.meta-divider {
  color: var(--gold);
}

.featured-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  color: var(--white);
  transition: color 0.3s;
}

.featured-content h2 a:hover {
  color: var(--gold);
}

.post-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.25rem;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease), color 0.3s;
}

.read-more-link .arrow-icon {
  width: 1.125rem;
  height: 1.125rem;
  stroke: var(--gold);
  transition: transform 0.3s var(--ease), stroke 0.3s var(--ease);
}

.read-more-link:hover {
  color: var(--white);
  gap: 1.125rem;
}

.read-more-link:hover .arrow-icon {
  stroke: var(--white);
  transform: translateX(0.1875rem);
}

/* ── TIER 3: GRID ARTICLES ───────────────────────────────── */
.articles-grid-section {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(5rem, 10vw, 10rem) 0;
  position: relative;
}

.articles-grid-section::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(30, 107, 138, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .grid-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.article-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 42, 69, 0.4) 0%, rgba(13, 27, 46, 0.2) 100%);
  backdrop-filter: blur(1.5rem) saturate(180%);
  -webkit-backdrop-filter: blur(1.5rem) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
  display: flex;
}

/* Gradient Neon Border Hover Effect */
.article-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold), rgba(94, 200, 229, 0.1), var(--gold-mid)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), background 0.6s var(--ease);
  z-index: 3;
}

.article-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 
    0 35px 80px rgba(0, 0, 0, 0.5),
    0 0 35px rgba(94, 200, 229, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.12);
}

.article-card:hover::after {
  background: linear-gradient(135deg, var(--gold), var(--gold-mid)) border-box;
  opacity: 1;
}

.article-card .card-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at bottom left, rgba(94, 200, 229, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.article-card:hover .card-glow {
  transform: scale(1.1);
  opacity: 0.12;
}

.card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 2;
  position: relative;
}

.card-img-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.article-card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
  color: var(--white);
  transition: color 0.3s;
}

.card-body h3 a:hover {
  color: var(--gold);
}

.card-excerpt {
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

/* ── TIER 4: PREMIUM NEWSLETTER CAPTURE ──────────────────── */
.newsletter-section {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(6rem, 12vw, 12rem) 0;
  position: relative;
}

.newsletter-glass-card {
  position: relative;
  background: linear-gradient(135deg, rgba(22, 42, 69, 0.5) 0%, rgba(13, 27, 46, 0.3) 100%);
  backdrop-filter: blur(2.5rem) saturate(180%);
  -webkit-backdrop-filter: blur(2.5rem) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2.5rem;
  padding: clamp(1.5rem, 6vw, 4.5rem);
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

/* Gradient Neon Border Hover Effect */
.newsletter-glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold), rgba(94, 200, 229, 0.1), var(--gold-mid)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), background 0.6s var(--ease);
  z-index: 3;
}

.newsletter-glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 55px 130px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(94, 200, 229, 0.15),
    inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.newsletter-glass-card:hover::after {
  background: linear-gradient(135deg, var(--gold), var(--gold-mid)) border-box;
  opacity: 1;
}

.newsletter-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(94, 200, 229, 0.08) 0%, rgba(30, 107, 138, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.newsletter-inner {
  position: relative;
  z-index: 2;
  max-width: 45rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.newsletter-inner p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.newsletter-form {
  width: 100%;
}

.form-group-newsletter {
  display: flex;
  gap: 1rem;
  max-width: 38rem;
  margin: 0 auto;
}

@media (max-width: 576px) {
  .form-group-newsletter {
    flex-direction: column;
    gap: 0.75rem;
  }
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(13, 27, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 1.125rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  transition: all 0.3s;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(13, 27, 46, 0.85);
  box-shadow: 0 0 1.5rem rgba(94, 200, 229, 0.22);
}

.btn-newsletter-submit {
  flex-shrink: 0;
  padding: 1.125rem 2.25rem !important;
  font-size: 0.85rem !important;
  box-shadow: 0 0.5rem 1.25rem rgba(94, 200, 229, 0.25) !important;
}

.newsletter-message {
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-weight: 500;
  min-height: 1.25rem;
  transition: opacity 0.3s;
}
