﻿/* Blog Styles */

.btn-large {

  display: inline-block;

  padding: 1rem 2.5rem;

  font-size: 1.25rem;

  font-weight: 700;

  border-radius: 999px;

  background: var(--gradient-button);

  color: #fff !important;

  text-align: center;

  box-shadow: var(--shadow-md);

  border: none;

  margin: 1.5rem auto 0 auto;

  transition: transform var(--transition-fast), box-shadow var(--transition-fast);

}

.btn-large:hover {

  transform: translateY(-2px);

  box-shadow: var(--shadow-lg);

  opacity: 0.95;

}

/* Blog and Article Layout Styles */

.blog-page main > .page-header + .section-divider.section-divider--hard{
  margin-top: 0;
  height: 1.9px;
  min-height: 1.9px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(179, 136, 255, 0.76), rgba(255, 255, 255, 0));
  box-shadow: 0 0 12px rgba(179, 136, 255, 0.24);
}

.blog-individuals-page main > .page-header + .section-divider.section-divider--hard,
.blog-organizations-page main > .page-header + .section-divider.section-divider--hard{
  margin-top: 0;
  height: 1.9px;
  min-height: 1.9px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(179, 136, 255, 0.76), rgba(255, 255, 255, 0));
  box-shadow: 0 0 12px rgba(179, 136, 255, 0.24);
}

.blog-page .section-title.section-title-no-after::after{
  display: none;
}

.blog-content {

  padding: 2rem 0;

}

.content-wrapper {

  display: flex;

  gap: 2rem;

  flex-wrap: wrap;

  align-items: flex-start;

}

.main-content {

  flex: 2 1 350px;

  min-width: 0;

}

.article-sidebar {

  flex: 1 1 280px;

  min-width: 260px;

}

/* For article pages */

.article-layout {

  padding: 2rem 0;

}

.article-main {

  max-width: 800px;

  margin: 0 auto;

  width: 100%;

} 

/* Blog Landing Hub */

.blog-hub {
  padding: 2rem 0;
}

.blog-hub-intro {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.track-card {
  --route-accent: #c14dff;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-fast);
  cursor: pointer;
}

.track-card:nth-child(2) {
  --route-accent: #4da3ff;
}

.track-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--route-accent), transparent 80%);
  opacity: 0.95;
  pointer-events: none;
}

.track-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 36%, rgba(255, 255, 255, 0.09) 50%, transparent 64%);
  transform: translateX(-130%);
  transition: transform 0.65s ease;
  pointer-events: none;
}

.track-card:hover {
  transform: translateY(-4px);
  border-color: var(--route-accent);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), 0 0 0 1px var(--route-accent);
}

.track-card:hover::after {
  transform: translateX(130%);
}

.track-badge {
  position: absolute;
  top: 1rem;
  right: -3.15rem;
  width: 12rem;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.46rem 0.7rem 0.62rem;
  box-sizing: border-box;
  border-radius: 3px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.05;
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.08)), var(--route-accent);
  border: 1px solid rgba(255, 255, 255, 0.62);
  transform: rotate(33deg);
  transform-origin: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  overflow: hidden;
  isolation: isolate;
  z-index: 2;
  pointer-events: none;
}

.track-badge::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -24%;
  width: 56%;
  height: 225%;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.46) 46%, rgba(255, 255, 255, 0) 76%);
  transform: rotate(8deg);
  opacity: 0.9;
}

.track-badge::after {
  content: "";
  position: absolute;
  left: -35%;
  right: -35%;
  bottom: 1px;
  height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 34%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.28) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  opacity: 0.8;
  pointer-events: none;
  animation: routeTagLineRun 3.6s ease-in-out infinite;
}

.track-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--space-md);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px var(--route-accent), var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.track-icon i {
  font-size: 30px;
  color: var(--route-accent);
  transition: transform var(--transition-fast);
}

.track-card:hover .track-icon {
  transform: scale(1.06);
  box-shadow: 0 0 0 2px var(--route-accent), var(--shadow-md);
}

.track-card:hover .track-icon i {
  transform: scale(1.05);
}

.track-card h3 {
  color: var(--color-text-primary);
  font-size: 1.82rem;
  line-height: 1.25;
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.track-card p {
  margin: 0 0 0.9rem;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.track-topics {
  list-style: none;
  margin: 0.5rem 0 var(--space-lg) 0;
  padding: 0;
  text-align: left;
  color: var(--color-text-secondary);
}

.track-topics li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  word-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
}

.track-topics li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -0.12em;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
  color: var(--route-accent);
  opacity: 0.95;
}

.track-actions {
  margin-top: auto;
}

.track-actions .btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 1rem 1.2rem;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md, 10px);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
  animation: routeCardBtnPulseSoft 1.9s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow, filter;
}

.track-card:hover .track-actions .btn {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--shadow-lg, 0 10px 24px rgba(0, 0, 0, 0.25));
  filter: brightness(1.04);
}

.hub-featured {
  margin-top: 1rem;
}

.browse-topics {
  margin-top: 1.1rem;
}

.browse-topics .section-title {
  font-size: clamp(2.2rem, 3.2vw, 2.95rem);
}

.browse-topics .blog-hub-intro p {
  font-size: clamp(1.08rem, 1.55vw, 1.2rem);
  line-height: 1.55;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.browse-topics .topic-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
}

.browse-topics .topic-chip::after {
  content: "";
  margin-left: 0;
  opacity: 0;
  transition: opacity 0.18s ease, margin-left 0.18s ease;
}

.browse-topics .topic-chip:hover::after {
  content: "\2192";
  margin-left: 8px;
  opacity: 0.9;
}

.browse-topics .topic-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(193, 77, 255, 0.35);
}

.hub-featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hub-view-all {
  white-space: nowrap;
}

.blog-individuals-intro {
  max-width: 860px;
  margin: 0 auto 2.25rem;
}

.blog-individuals-page .articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.blog-individuals-page .articles-grid > .session-details {
  border: 2px solid rgba(226, 198, 255, 0.84);
  box-shadow: 0 0 0 1px rgba(226, 198, 255, 0.42), inset 0 0 0 1px rgba(244, 236, 255, 0.2), 0 0 12px rgba(226, 198, 255, 0.28), 0 8px 18px rgba(0, 0, 0, 0.18);
  background: rgba(32, 16, 50, 0.42);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-individuals-page .articles-grid > .session-details:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 218, 255, 0.88);
  box-shadow: 0 0 0 1px rgba(236, 218, 255, 0.76), 0 0 15px rgba(220, 196, 252, 0.34), 0 0 28px rgba(220, 196, 252, 0.2), 0 8px 18px rgba(0, 0, 0, 0.2);
}

.blog-individuals-page .articles-grid > .session-details p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@keyframes blogReadArticleBeatSoft {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(170, 95, 245, 0.12), 0 6px 14px rgba(0, 0, 0, 0.14);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.024);
    box-shadow: 0 0 12px rgba(186, 118, 255, 0.2), 0 8px 17px rgba(0, 0, 0, 0.18);
    filter: brightness(1.045);
  }
}

.blog-individuals-page .articles-grid > .session-details > .btn.btn-primary {
  animation: blogReadArticleBeatSoft 1.95s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow, filter;
}

.blog-individuals-page .articles-grid > .session-details:hover > .btn.btn-primary {
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .blog-individuals-page .articles-grid > .session-details > .btn.btn-primary {
    animation: none;
  }
}

.org-intro {
  max-width: 860px;
  margin: 0 auto 2rem;
}

.org-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.org-placeholder-card {
  background: rgba(32, 16, 50, 0.42);
  border: 2px solid rgba(226, 198, 255, 0.84);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 0 0 1px rgba(226, 198, 255, 0.42), inset 0 0 0 1px rgba(244, 236, 255, 0.2), 0 0 12px rgba(226, 198, 255, 0.28), 0 8px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.org-placeholder-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 218, 255, 0.96);
  box-shadow: 0 0 0 2px rgba(236, 218, 255, 0.92), 0 0 28px rgba(220, 196, 252, 0.6), 0 0 52px rgba(220, 196, 252, 0.32), 0 8px 18px rgba(0, 0, 0, 0.2);
}

.org-placeholder-card.card-clickable {
  cursor: pointer;
}

.org-placeholder-card.card-clickable:focus-visible {
  outline: 2px solid rgba(236, 218, 255, 0.98);
  outline-offset: 3px;
}

.org-placeholder-card h3 {
  margin: 0.6rem 0 0.75rem;
  color: var(--color-text-primary);
}

.org-placeholder-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.status-pill {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(138, 43, 226, 0.18);
  color: #edd9ff;
  border: 1px solid rgba(201, 159, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn.btn-disabled,
.btn-disabled {
  pointer-events: none;
  opacity: 0.65;
  cursor: not-allowed;
}

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

  .blog-individuals-page .articles-grid {
    grid-template-columns: 1fr;
  }

  .org-placeholder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .track-badge {
    top: 0.85rem;
    right: -2.65rem;
    width: 10.8rem;
    font-size: 0.68rem;
    padding: 0.34rem 0.62rem 0.5rem;
    transform: rotate(30deg);
  }

  .track-card h3 {
    font-size: 1.58rem;
    margin: 0 0 0.9rem;
  }

  .track-card p {
    font-size: 1.03rem;
    line-height: 1.58;
  }

  .track-topics li {
    font-size: 0.97rem;
  }
}

@media (max-width: 320px) {
  .blog-organizations-page .blog-content .container {
    padding-left: 0.56rem;
    padding-right: 0.56rem;
  }

  .blog-organizations-page .org-placeholder-grid {
    gap: 0.9rem;
  }

  .blog-organizations-page .org-placeholder-card {
    padding: 1.05rem 0.98rem;
  }
}
