/* Proxima Report Ghost Theme - Main Stylesheet */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #8B5CF6;
  --primary-dark: #7C3AED;
  --secondary: #A855F7;
  --accent: #C084FC;
  --background: #0D0D17;
  --surface: #14141E;
  --text-primary: #F9FAFB;
  --text-secondary: #A0A0A0;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 0.5rem;
  
  /* Theme Colors */
  --purple-400: #A78BFA;
  --purple-500: #8B5CF6;
  --purple-600: #7C3AED;
  --purple-700: #6D28D9;
  --violet-600: #9333EA;
  --violet-700: #7E22CE;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(to bottom right, #0A0A0F, #14141E, #1A1A2E);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

body.dark {
  background: linear-gradient(to bottom right, #0A0A0F, #14141E, #1A1A2E);
  color: var(--text-primary);
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
  color: var(--purple-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--purple-500);
}

/* Layout */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
  padding: 2rem 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Particle Background */
.particle-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.15;
}

.site-main {
  position: relative;
  z-index: 1;
}

/* Featured Story Section */
.featured-section {
  margin-bottom: 4rem;
}

@media (max-width: 640px) {
  .featured-section {
    margin-bottom: 1rem;
  }

  .featured-section + .ad-placement {
    margin-top: 0.5rem;
  }

  .featured-section + .ad-placement + .category-section,
  .featured-section + .category-section {
    margin-top: 0.5rem;
  }

  .category-section {
    margin-top: 0;
  }
}

.featured-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.featured-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--purple-400);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.featured-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0;
  background: linear-gradient(to right, white, rgba(196, 181, 253, 1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .featured-section-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .featured-section-title {
    font-size: 1.875rem;
  }
}

.featured-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.5), transparent);
}

/* Featured Post */
.featured-post {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.7s;
  background-color: #0D0D17;
}

.featured-post:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.featured-post-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.featured-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0D0D17 0%, rgba(13, 13, 23, 0.7) 50%, transparent 100%);
  transition: all 0.7s;
}

.featured-post:hover .featured-post-overlay {
  background: linear-gradient(to top, rgba(13, 13, 23, 0.9) 0%, rgba(13, 13, 23, 0.8) 50%, transparent 100%);
}

.featured-post::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0) 0%, rgba(139, 92, 246, 0) 50%, rgba(139, 92, 246, 0.1) 100%);
  transition: all 0.7s;
  z-index: 1;
}

.featured-post:hover::before {
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 50%, rgba(139, 92, 246, 0.15) 100%);
}

.featured-post-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .featured-post-content {
    padding: 3rem 3rem;
  }
}

@media (min-width: 1024px) {
  .featured-post-content {
    padding: 4rem 4rem;
  }
}

@media (min-width: 768px) {
  .featured-post {
    height: 60vh;
    min-height: 500px;
  }
  
  .featured-post-content {
    padding: 3rem;
  }
}

.featured-post-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(to right, rgba(139, 92, 246, 0.6), rgba(139, 92, 246, 0.7));
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  box-shadow: 0 10px 15px rgba(139, 92, 246, 0.3);
  transition: all 0.3s;
  border: none;
}

.featured-post-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.5);
}

.featured-post-tag a {
  color: white;
  text-decoration: none;
}

.featured-post-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .featured-post-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .featured-post-title {
    font-size: 2.25rem;
  }
}

.featured-post-title a {
  color: white;
  text-decoration: none;
  transition: all 0.5s;
  background: linear-gradient(to right, white, rgba(196, 181, 253, 1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.featured-post:hover .featured-post-title a {
  transform: translateX(0.5rem);
  color: rgba(196, 181, 253, 1);
}

.featured-post-excerpt {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.featured-author-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(139, 92, 246, 0.5);
  transition: all 0.3s;
}

.featured-post:hover .featured-author-image {
  border-color: rgba(139, 92, 246, 0.4);
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

.featured-author-name {
  font-weight: 500;
  color: white;
  transition: color 0.3s;
}

.featured-post:hover .featured-author-name {
  color: rgba(196, 181, 253, 1);
}

.featured-post-meta time::before,
.featured-post-meta .reading-time::before {
  content: '•';
  margin: 0 0.5rem;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--purple-400);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-500), transparent);
}

/* Category Section */
.category-section {
  margin-bottom: 4rem;
}

@media (max-width: 640px) {
  .category-section {
    margin-top: 0;
  }

  .category-section .section-header {
    margin-bottom: 1.5rem;
  }
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.category-card {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.6);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(196, 181, 253, 1);
  cursor: pointer;
}

@media (min-width: 768px) {
  .category-card {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
  }
}

.category-card:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(139, 92, 246, 0.3);
}

.category-card.active {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.6), rgba(139, 92, 246, 0.7));
  border-color: rgba(139, 92, 246, 0.8);
  box-shadow: 0 10px 15px rgba(139, 92, 246, 0.3);
  color: white;
}


/* Latest Articles Section */
.latest-articles-section {
  margin-bottom: 4rem;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Google Ad Placements */
.ad-placement {
  margin: 3rem 0;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-hero {
  min-height: 250px;
}

.ad-grid {
  min-height: 200px;
}

@media (max-width: 640px) {
  .ad-placement {
    display: none;
  }

  .ad-hero,
  .ad-grid {
    min-height: 0;
  }
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.gallery-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.gallery-item-image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
  max-height: 260px;
  background: rgba(17, 24, 39, 0.5);
  flex-shrink: 0;
}

.gallery-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s;
}

.gallery-item-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.gallery-item-additional-images {
  margin-top: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-item-additional-images::-webkit-scrollbar {
  height: 6px;
}

.gallery-item-additional-images::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 9999px;
}

.gallery-item-additional-images::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 9999px;
}

.gallery-item-additional-thumb {
  position: relative;
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
  padding: 0;
  cursor: pointer;
  flex: 0 0 90px;
  height: 70px;
}

.gallery-item-additional-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item-additional-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
}

.gallery-item-additional-thumb:hover img {
  transform: scale(1.05);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: min(900px, 90vw);
  max-height: min(80vh, 90vh);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.7);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.gallery-lightbox-close:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  color: white;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-title {
  font-size: 1rem;
  color: rgba(226, 232, 240, 1);
}

.gallery-lightbox-link {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: rgba(196, 181, 253, 1);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.gallery-lightbox-link:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.8);
  color: white;
}

/* Newsletter Section */
.newsletter-section {
  margin: 4rem 0;
  display: flex;
  justify-content: center;
}

.newsletter-section-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.newsletter-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.newsletter-section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.newsletter-section-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-direction: column;
}

@media (min-width: 640px) {
  .newsletter-section-form {
    flex-direction: row;
  }
}

.newsletter-section-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
}

.newsletter-section-input::placeholder {
  color: var(--text-secondary);
}

.newsletter-section-input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.newsletter-section-submit {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
  white-space: nowrap;
}

.newsletter-section-submit:hover {
  transform: scale(1.05);
}

.newsletter-section-disclaimer {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 10000;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  flex: 1;
  min-width: 250px;
}

.cookie-consent-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.cookie-consent-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.cookie-consent-note {
  margin-top: 0.5rem;
}

.cookie-consent-note a {
  color: var(--purple-400);
  text-decoration: underline;
}

.post-newsletter-signup {
  margin: 4rem 0;
}

.post-newsletter-signup .newsletter-section {
  margin: 0;
}

.newsletter-header {
  text-align: center;
  margin-bottom: 3rem;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.newsletter-header-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-header-icon svg {
  width: 2rem;
  height: 2rem;
  color: rgba(196, 181, 253, 1);
}

.newsletter-header-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  color: white;
}

.newsletter-header-description {
  max-width: 640px;
  margin: 0;
  color: rgba(226, 232, 240, 0.8);
  font-size: 1.1rem;
}

.newsletter-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.newsletter-option-card {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.65);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}

.newsletter-option-card h2 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}

.newsletter-option-card p {
  margin: 0;
  color: rgba(203, 213, 225, 0.9);
}

.newsletter-note {
  text-align: center;
  color: rgba(148, 163, 184, 1);
  font-size: 0.95rem;
}

.newsletter-note a {
  color: var(--purple-400);
  text-decoration: underline;
}

.newsletter-option-card .newsletter-section-form {
  display: grid;
  gap: 1rem;
}

.newsletter-option-details {
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 1);
}

.newsletter-option-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.newsletter-empty {
  text-align: center;
  color: rgba(148, 163, 184, 1);
  font-size: 1rem;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .newsletter-header-title {
    font-size: 1.75rem;
  }

  .newsletter-header-description {
    font-size: 1rem;
  }

  .newsletter-option-card {
    padding: 1.5rem;
  }
}
.cookie-consent-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-accept,
.cookie-decline {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cookie-accept {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
}

.cookie-accept:hover {
  transform: scale(1.05);
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Header Styles */
.site-header {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.site-header .container {
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .site-header .container {
    padding: 0 2rem;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-image {
  height: auto;
  width: auto;
  max-height: 32px;
  max-width: 220px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .site-logo-image {
    max-height: 26px;
    max-width: 190px;
  }
}

.site-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    gap: 2rem;
  }
}

@media (max-width: 767px) {
  .main-nav {
    display: none;
  }
  
  .header-left {
    gap: 1rem;
  }
  
  .site-logo-image {
    max-height: 24px;
    max-width: 170px;
  }
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0;
  padding: 0;
  display: inline-block;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--purple-400);
}

/* Hide duplicate Store links from navigation helper */
.main-nav a[href*="store.proximareport.com"]:not(.store-button) {
  display: none;
}


.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.search-toggle:hover {
  color: var(--purple-400);
}

.search-icon,
.menu-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.header-desktop {
  display: none;
}

.header-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.5rem 0 0.75rem;
}

.mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.mobile-logo-image {
  max-height: 32px;
  width: auto;
}

.mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-hamburger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.mobile-hamburger .hamburger-bar {
  width: 1.1rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-hamburger .hamburger-bar + .hamburger-bar {
  margin-top: 0.25rem;
}

.mobile-hamburger:hover {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(139, 92, 246, 0.18);
}

.mobile-hamburger.active {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.25);
}

.mobile-hamburger.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-hamburger.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-hamburger.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-member-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: 1px solid rgba(139, 92, 246, 0.25);
  transition: all 0.3s ease;
  gap: 0.4rem;
}

.mobile-member-link:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.4);
}

.mobile-auth-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mobile-member-cta {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  border-color: transparent;
  color: #fff;
}

.mobile-member-avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.mobile-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mobile-member-tier-icon {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-scroll {
  display: none;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-nav-scroll::-webkit-scrollbar {
  display: none;
}

.header-mobile.open .mobile-nav-scroll {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-nav-pill:hover {
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.35);
}

.mobile-store-pill {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 10px rgba(139, 92, 246, 0.25);
}

.mobile-store-pill:hover {
  background: linear-gradient(135deg, var(--purple-700), var(--violet-800));
  box-shadow: 0 8px 14px rgba(139, 92, 246, 0.35);
}

body.menu-open {
  overflow: hidden;
}

/* Adblock banner */
.adblock-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, calc(100% - 2rem));
  background: linear-gradient(135deg, #b91c1c, #7f1d1d);
  border: 1px solid rgba(248, 113, 113, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  z-index: 5000;
  color: #fee2e2;
  box-shadow: 0 25px 60px rgba(248, 113, 113, 0.25);
  backdrop-filter: blur(12px);
}

.adblock-banner[hidden] {
  display: none !important;
}

.adblock-banner-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.adblock-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.adblock-banner-title {
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.adblock-banner-close {
  background: none;
  border: none;
  color: #fee2e2;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.adblock-banner-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.adblock-banner-message {
  margin: 0;
  line-height: 1.6;
}

.adblock-banner-action {
  align-self: flex-start;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.adblock-banner-action:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .adblock-banner {
    bottom: 1rem;
    padding: 1.25rem;
  }

  .adblock-banner-title {
    font-size: 1rem;
  }
}

/* Jobs Page */
.jobs-page {
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.jobs-hero-kicker {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(139, 92, 246, 0.15);
  color: rgba(216, 180, 254, 1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.jobs-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.jobs-hero-subtitle {
  max-width: 720px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 1.125rem;
}

.jobs-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.jobs-benefit-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 1.25rem;
  padding: 1.75rem;
  color: rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(12px);
}

.jobs-benefit-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  color: #fff;
}

.jobs-form-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -20px rgba(30, 64, 175, 0.35);
}

.jobs-form-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
}

.jobs-form-copy {
  color: rgba(226, 232, 240, 0.8);
  margin-bottom: 1.5rem;
}

.jobs-form-embed iframe {
  width: 100%;
  min-height: 640px;
  border: none;
  border-radius: 1rem;
  background: #fff;
}

@media (max-width: 768px) {
  .jobs-form-embed iframe {
    min-height: 520px;
  }
}

/* Pricing Page */
.pricing-page {
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.pricing-hero-kicker {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.18);
  color: rgba(191, 219, 254, 1);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
}

.pricing-hero-subtitle {
  color: rgba(226, 232, 240, 0.85);
  font-size: 1.125rem;
  max-width: 720px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 1.75rem;
  padding: 2rem;
  color: rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(12px);
}

.pricing-card--highlight {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 30px 50px -25px rgba(139, 92, 246, 0.55);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-card-tier {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(191, 219, 254, 1);
}

.pricing-card-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.pricing-card-cycle {
  color: rgba(226, 232, 240, 0.65);
}

.pricing-card-summary {
  margin: 0;
  font-size: 1rem;
  color: rgba(226, 232, 240, 0.8);
}

.pricing-card-features {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.pricing-card-features li {
  position: relative;
  color: rgba(226, 232, 240, 0.85);
}

.pricing-card-note {
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.65);
  margin: 0;
}

.pricing-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.pricing-card-button:hover:not([disabled]) {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -22px rgba(139, 92, 246, 0.6);
}

.pricing-card-button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
  background: rgba(148, 163, 184, 0.25);
  color: rgba(226, 232, 240, 0.7);
}

.pricing-faq {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pricing-faq h2 {
  font-size: 1.75rem;
  color: #fff;
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.pricing-faq-item {
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  padding: 1.5rem;
  color: rgba(226, 232, 240, 0.85);
}

.pricing-empty {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  padding: 2rem;
  color: rgba(226, 232, 240, 0.8);
}

.pricing-faq-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: #fff;
}

.pricing-faq-item a {
  color: rgba(191, 219, 254, 1);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .header-desktop {
    display: flex;
  }

  .header-mobile {
    display: none;
  }
}

/* Mobile navigation visibility */
.header-mobile .mobile-nav-scroll {
  display: none;
}

.header-mobile.open .mobile-nav-scroll {
  display: flex;
}

body.menu-open {
  overflow: hidden;
}

.store-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(139, 92, 246, 0.25);
}

.store-button:hover {
  background: linear-gradient(135deg, var(--purple-700), var(--violet-800));
  transform: translateY(-1px);
  box-shadow: 0 6px 8px rgba(139, 92, 246, 0.3);
}

.store-icon {
  width: 1rem;
  height: 1rem;
}

.store-external-icon {
  width: 0.75rem;
  height: 0.75rem;
}

.services-arrow {
  width: 0.75rem;
  height: 0.75rem;
  margin-left: 0.25rem;
}

/* Search Popup */
.search-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  backdrop-filter: blur(4px);
}

.search-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-popup-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.search-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-submit {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
}

.search-submit:hover {
  transform: scale(1.02);
}

/* Post Cards */
.post-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.7s;
  position: relative;
  backdrop-filter: blur(12px);
}

.post-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
  border-color: rgba(139, 92, 246, 0.5);
  backdrop-filter: blur(16px);
}

.post-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.7s;
  pointer-events: none;
}

.post-card:hover::before {
  border-color: rgba(139, 92, 246, 0.3);
}

.post-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(139, 92, 246, 0) 0%, rgba(139, 92, 246, 0) 50%, rgba(139, 92, 246, 0.08) 100%);
  transition: all 0.7s;
  pointer-events: none;
  border-radius: 1.5rem;
}

.post-card:hover::after {
  background: linear-gradient(to right, rgba(139, 92, 246, 0.08) 0%, rgba(139, 92, 246, 0.04) 50%, rgba(139, 92, 246, 0.25) 100%);
}

.post-card-image {
  position: relative;
  width: 100%;
  height: 12rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .post-card-image {
    height: 14rem;
  }
}

.post-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(139, 92, 246, 0.3) 100%);
  transition: all 0.7s;
  z-index: 1;
}

.post-card:hover .post-card-image::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(139, 92, 246, 0.4) 100%);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}

.post-card:hover .post-card-image img {
  transform: scale(1.1);
}

.post-card-content {
  padding: 1.5rem;
}

.post-card .adsbygoogle,
.post-card ins.adsbygoogle {
  display: none !important;
}

.post-card-tags {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: rgba(139, 92, 246, 0.95);
  color: white;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px rgba(139, 92, 246, 0.3);
  transition: all 0.3s;
}

.post-card-tags:hover {
  background: rgba(139, 92, 246, 0.95);
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.5);
}

.post-card-tags a {
  color: white;
  text-decoration: none;
}

.post-card-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .post-card-title {
    font-size: 1.25rem;
  }
}

.post-card-title a {
  color: white;
  text-decoration: none;
  transition: all 0.5s;
  display: block;
}

.post-card:hover .post-card-title a {
  color: rgba(196, 181, 253, 1);
  transform: translateX(0.25rem);
}

.post-card-excerpt {
  color: rgba(209, 213, 219, 1);
  margin-bottom: 1rem;
  line-height: 1.625;
  transition: color 0.5s;
}

.post-card:hover .post-card-excerpt {
  color: rgba(229, 231, 235, 1);
}

.post-card-excerpt p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.post-card-meta-date {
  color: var(--text-secondary);
}

.post-card-meta .reading-time {
  color: var(--text-secondary);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.post-card-author-image {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.post-card-author-name {
  color: var(--text-primary);
  font-weight: 500;
}

.post-card-meta > *:not(:first-child)::before {
  content: '•';
  margin: 0 0.5rem;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Article Wrapper */
.article-wrapper {
  position: relative;
  z-index: 1;
}

/* Article Breadcrumbs */
.article-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-top: 3rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .article-breadcrumbs {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding-top: 1.5rem;
    font-size: 0.75rem;
  }

  .breadcrumb-separator {
    width: 0.75rem;
    height: 0.75rem;
  }
}

.breadcrumb-home {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.breadcrumb-home:hover {
  color: rgba(196, 181, 253, 1);
}

.breadcrumb-home-icon {
  width: 1rem;
  height: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.breadcrumb-separator {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-link:hover {
  color: rgba(196, 181, 253, 1);
}

.breadcrumb-current {
  color: white;
  font-weight: 500;
}

.article-breadcrumbs .breadcrumb-link:last-of-type {
  color: white;
  font-weight: 500;
}

/* Post Page */
.post-header {
  margin-bottom: 3rem;
  max-width: 100%;
  padding-top: 1rem;
}

.post-header-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-header-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(139, 92, 246, 0.2);
  color: rgba(196, 181, 253, 1);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-header-tag:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  color: white;
  transform: translateY(-1px);
}

.post-header .post-title {
  max-width: 100%;
  margin-top: 0;
}

/* Post Meta Container */
.post-meta-container {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(139, 92, 246, 0.05));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
}

.post-meta-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .post-meta-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.post-meta-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-meta-author-image {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(139, 92, 246, 0.5);
}

.post-meta-author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.post-meta-author-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-meta-author-name {
  font-size: 1rem;
  font-weight: 600;
  color: white;
}

.post-meta-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .post-meta-details {
    flex-direction: row;
    gap: 2rem;
  }
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
}

.post-meta-item:hover {
  color: rgba(196, 181, 253, 1);
}

 .post-meta-icon {
   width: 1.75rem;
   height: 1.75rem;
   color: rgba(139, 92, 246, 1);
   padding: 0.45rem;
   background: rgba(139, 92, 246, 0.2);
   border-radius: 0.75rem;
 }
 
 .post-meta-item:hover .post-meta-icon {
   background: rgba(139, 92, 246, 0.3);
 }
 
 .post-meta-item > div {
   display: flex;
   flex-direction: column;
   gap: 0.3rem;
 }

.post-meta-item time,
.post-meta-item .reading-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.post-meta-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Post Layout */
.post-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .post-layout {
    grid-template-columns: 1fr 300px;
    gap: 3rem;
  }
}

.post-content-wrapper {
  max-width: 100%;
}

.post-content {
  max-width: 100%;
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(229, 231, 235, 1);
}

.post-infeed-ad {
  margin: 2.5rem 0;
  display: flex;
  justify-content: center;
}

.post-infeed-ad ins {
  max-width: 100%;
}

.post-infeed-ad--top {
  margin-bottom: 2rem;
}

.post-infeed-ad--bottom {
  margin-top: 2rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.post-content h2 {
  font-size: 1.875rem;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
}

.post-content a {
  color: rgba(196, 181, 253, 1);
  text-decoration: underline;
  transition: color 0.3s;
}

.post-content a:hover {
  color: rgba(167, 139, 250, 1);
}

.post-content figure {
  margin: 2rem 0;
}

.post-content figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(156, 163, 175, 1);
  text-align: center;
  font-style: italic;
}

.post-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid rgba(167, 139, 250, 0.8);
  background: rgba(139, 92, 246, 0.08);
  border-radius: 1rem;
  color: rgba(229, 231, 235, 0.95);
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px -20px rgba(139, 92, 246, 0.45);
}

.post-content blockquote p:last-child {
  margin-bottom: 0;
}

.post-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(191, 219, 254, 0.85);
}

.post-content .embed-caption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 1);
  text-align: left;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2rem;
  }
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.post-meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-image {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 500;
  color: var(--text-primary);
}

.post-meta time {
  color: var(--text-secondary);
}

.reading-time {
  color: var(--text-secondary);
}

.post-meta > *:not(:first-child)::before {
  content: '•';
  margin: 0 0.75rem;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Post Tags Section */
.post-tags-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tags-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.post-tags-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(139, 92, 246, 1);
  padding: 0.5rem;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 0.5rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.post-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.6);
  color: white;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
}

.post-tag:hover {
  background: rgba(139, 92, 246, 0.8);
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(139, 92, 246, 0.3);
}

/* Post Sidebar */
.post-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.post-toc-mobile {
  margin: 2rem 0;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(139, 92, 246, 0.05));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}

@media (min-width: 1024px) {
  .post-toc-mobile {
    display: none;
  }
}

.post-toc-mobile {
  margin: 2rem 0;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(139, 92, 246, 0.05));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}

.post-toc-mobile .post-toc-nav {
  max-height: none;
}

@media (min-width: 1024px) {
  .post-toc-mobile {
    display: none;
  }
}

.post-toc,
.post-sponsored {
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.05), rgba(139, 92, 246, 0.05));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.5s;
}

.post-toc:hover,
.post-sponsored:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.post-toc-title,
.post-sponsored-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.post-toc-icon,
.post-sponsored-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(139, 92, 246, 1);
  padding: 0.5rem;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 0.5rem;
}

.post-toc-nav {
  max-height: 400px;
  overflow-y: auto;
}

.post-toc-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-toc-nav li {
  margin: 0.5rem 0;
}

.post-toc-nav a,
.post-toc-nav .toc-link {
  display: block;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s;
  font-size: 0.875rem;
}

.post-toc-nav a:hover,
.post-toc-nav a.active,
.post-toc-nav .toc-link:hover,
.post-toc-nav .toc-link.active {
  background: rgba(139, 92, 246, 0.2);
  color: rgba(196, 181, 253, 1);
  padding-left: 0.75rem;
}

.post-toc-placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-style: italic;
  margin: 0;
}

.post-sponsored-content {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
}

.post-sponsored-content ins {
  display: block;
  width: 100%;
  min-height: 200px;
}

/* Related Posts */
.related-posts-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .related-posts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-post-card {
  background: rgba(17, 24, 39, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.related-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
}

.related-post-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-post-card:hover .related-post-image img {
  transform: scale(1.1);
}

.related-post-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.related-post-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(139, 92, 246, 0.2);
  color: rgba(196, 181, 253, 1);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  width: fit-content;
}

.related-post-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.related-post-title a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.related-post-title a:hover {
  color: rgba(196, 181, 253, 1);
}

.related-post-excerpt {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 3;
}

/* Gallery Page Styles */
.gallery-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-page-title {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(to right, rgba(196, 181, 253, 1), rgba(244, 114, 182, 1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .gallery-page-title {
    font-size: 3rem;
  }
}

.gallery-page-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 48rem;
  margin: 0 auto;
}

.gallery-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .gallery-controls {
    flex-direction: row;
    align-items: center;
  }
}

.gallery-search-wrapper {
  position: relative;
  flex: 1;
}

.gallery-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.gallery-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
}

.gallery-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.gallery-search-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.gallery-view-buttons {
  display: flex;
  gap: 0.5rem;
}

.gallery-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-view-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-view-btn.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
  color: rgba(196, 181, 253, 1);
}

.gallery-view-icon {
  width: 1rem;
  height: 1rem;
}

.gallery-results-info {
  margin-bottom: 2rem;
}

.gallery-results-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.gallery-content {
  margin-bottom: 2rem;
}

.gallery-grid-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid-view {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid-view {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-list-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.gallery-item:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.gallery-item-image-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
  max-height: 260px;
  background: rgba(17, 24, 39, 0.5);
  flex-shrink: 0;
}

.gallery-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s;
}

.gallery-item-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.gallery-item-additional-images {
  margin-top: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.gallery-item-additional-images::-webkit-scrollbar {
  height: 6px;
}

.gallery-item-additional-images::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 9999px;
}

.gallery-item-additional-images::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 9999px;
}

.gallery-item-additional-thumb {
  position: relative;
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
  padding: 0;
  cursor: pointer;
  flex: 0 0 90px;
  height: 70px;
}

.gallery-item-additional-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item-additional-thumb:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.6);
}

.gallery-item-additional-thumb:hover img {
  transform: scale(1.05);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.gallery-lightbox-content {
  position: relative;
  z-index: 1;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: min(900px, 90vw);
  max-height: min(80vh, 90vh);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.7);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.gallery-lightbox-close:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
  color: white;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-title {
  font-size: 1rem;
  color: rgba(226, 232, 240, 1);
}

.gallery-lightbox-link {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  color: rgba(196, 181, 253, 1);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.gallery-lightbox-link:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.8);
  color: white;
}

.gallery-no-results {
  text-align: center;
  padding: 4rem 1rem;
}

.gallery-no-results-icon {
  width: 4rem;
  height: 4rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 auto 1.5rem;
}

.gallery-no-results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.gallery-no-results-text {
  color: rgba(255, 255, 255, 0.6);
}

/* Tag/Topics Page Styles */
.tag-page-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.tag-page-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-page-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(139, 92, 246, 1);
}

.tag-page-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .tag-page-title {
    font-size: 2.25rem;
  }
}

.tag-page-title-highlight {
  color: rgba(196, 181, 253, 1);
}

.tag-page-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin: 0;
}

.tag-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .tag-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tag-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tag-no-posts {
  text-align: center;
  padding: 4rem 1rem;
}

.tag-no-posts-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.tag-no-posts-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.tag-back-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: transform 0.2s;
}

.tag-back-button:hover {
  transform: scale(1.05);
}

/* Topics Page Styles */
.topics-page-header {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.topics-page-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topics-page-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(139, 92, 246, 1);
}

.topics-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .topics-page-title {
    font-size: 2.5rem;
  }
}

.topics-page-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
  margin: 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.topic-card {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s;
}

.topic-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.topic-card-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.2), rgba(59, 130, 246, 0.2));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: rgba(196, 181, 253, 1);
}

.topic-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.topic-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
  transition: color 0.3s;
}

.topic-card:hover .topic-card-title {
  color: rgba(196, 181, 253, 1);
}

.topic-card-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.topic-card-count {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
}

.topics-no-results {
  text-align: center;
  padding: 4rem 1rem;
}

.topics-no-results-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.topics-no-results-text {
  color: rgba(255, 255, 255, 0.6);
}

.post-feature-image {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 1rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .post-feature-image {
    max-height: 450px;
  }
}

.post-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.post-content a {
  color: var(--purple-400);
  text-decoration: underline;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.post-tags .tag {
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple-400);
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Tag & Author Pages */
.tag-header,
.author-header {
  padding: 3rem 0;
  margin-bottom: 3rem;
  text-align: center;
}

.tag-title,
.author-name {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tag-description,
.author-bio {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
  text-align: left;
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: 2rem;
  padding-top: 2rem;
  background: linear-gradient(135deg, #0a0a14 0%, #1a0a2e 50%, #0a0a14 100%);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-footer {
    margin-top: 4rem;
    padding-top: 4rem;
  }
}

.footer-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 50%, rgba(139, 92, 246, 0.1) 100%);
  pointer-events: none;
}

.footer-background::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(3rem);
}

.footer-background::after {
  content: '';
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 10rem;
  height: 10rem;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(3rem);
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-main {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-main {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 3fr 1.5fr;
    gap: 3rem;
  }
}

/* Footer Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-wrapper {
  position: relative;
}

.footer-logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--purple-500), var(--violet-700));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(139, 92, 246, 0.25);
  overflow: hidden;
}

.footer-logo-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.footer-brand-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.footer-brand-tagline {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 24rem;
  display: none;
}

@media (min-width: 768px) {
  .footer-brand-tagline {
    display: block;
    font-size: 0.9375rem;
  }
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-contact-icon {
  width: 1rem;
  height: 1rem;
  color: var(--purple-400);
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
  padding-top: 0.5rem;
}

.footer-social .social-link {
  width: 2.5rem;
  height: 2.5rem;
}

/* Footer Navigation */
.footer-nav {
  display: flex;
  flex-direction: column;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.footer-nav-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-nav-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-list li {
  margin: 0;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
}

.footer-link:hover {
  color: var(--purple-400);
  transform: translateX(2px);
}

/* Footer Newsletter */
.footer-newsletter {
  display: flex;
  flex-direction: column;
}

.footer-newsletter-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-newsletter-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.footer-newsletter-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.9375rem;
  width: 100%;
}

.newsletter-input::placeholder {
  color: var(--text-secondary);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.newsletter-submit {
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.newsletter-submit:hover {
  transform: scale(1.02);
}

.footer-newsletter-disclaimer {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(147, 51, 234, 0.3);
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .footer-bottom {
    padding: 2rem 0;
  }
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-bottom-content {
    flex-direction: row;
  }
}

.footer-bottom-left,
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-bottom-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-link:hover {
  color: var(--purple-400);
}

.footer-rss-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-rss-icon {
  width: 0.75rem;
  height: 0.75rem;
}


.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.social-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--purple-400);
  color: var(--purple-400);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.pagination a {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
}

.pagination a:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--purple-500);
}

.pagination .page-number {
  color: var(--text-secondary);
}

/* Related Posts */
.related-posts {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-posts h2 {
  margin-bottom: 2rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.related-post-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s;
}

.related-post-card:hover {
  transform: translateY(-4px);
}

.related-post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-post-card h3 {
  padding: 1rem;
  font-size: 1.125rem;
}

.related-post-card h3 a {
  color: var(--text-primary);
}

/* Error Page */
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--purple-500);
  margin-bottom: 1rem;
}

.error-message {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.error-link {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  border-radius: var(--radius);
  font-weight: 500;
  transition: transform 0.2s;
}

.error-link:hover {
  transform: scale(1.05);
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

/* Ghost Card Width Classes (Required) */
.kg-width-wide {
  position: relative;
  width: 85%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kg-image.kg-width-wide,
.kg-embed-card.kg-width-wide,
.kg-gallery-card.kg-width-wide {
  position: relative;
  width: 85%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.kg-image.kg-width-full,
.kg-embed-card.kg-width-full,
.kg-gallery-card.kg-width-full {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.kg-width-wide img,
.kg-width-full img,
.kg-image.kg-width-wide img,
.kg-image.kg-width-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ghost Card Styles */
.kg-card {
  margin: 2rem 0;
}

.kg-image-card {
  margin: 2rem 0;
}

.kg-image-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.kg-embed-card {
  margin: 2rem 0;
}

.kg-embed-card iframe {
  width: 100%;
  border-radius: var(--radius);
}

.kg-gallery-card {
  margin: 2rem 0;
}

.kg-gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.kg-gallery-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.kg-bookmark-card {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.kg-bookmark-container {
  display: flex;
  flex-direction: column;
}

.kg-bookmark-content {
  padding: 1.5rem;
}

.kg-bookmark-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.kg-bookmark-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.kg-bookmark-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.kg-code-card {
  margin: 2rem 0;
}

.kg-code-card pre {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.kg-callout-card {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 4px solid var(--purple-500);
  background: rgba(139, 92, 246, 0.1);
  border-radius: var(--radius);
}

.kg-toggle-card {
  margin: 2rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.kg-toggle-heading {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  font-weight: 600;
}

.kg-toggle-content {
  padding: 1.5rem;
  display: none;
}

.kg-toggle-card.open .kg-toggle-content {
  display: block;
}

/* Header Navigation Styles */
.site-header nav a.active {
  color: var(--purple-400);
  position: relative;
}

.site-header nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--purple-400);
}

.search-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.search-popup-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.search-close {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

.search-results {
  margin-top: 1.5rem;
}

/* Services Menu Styles */
.services-dropdown {
  position: relative;
}

.services-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.25rem 0;
}

.services-toggle:hover {
  color: var(--purple-400);
}

.services-arrow {
  width: 0.75rem;
  height: 0.75rem;
  margin-left: 0.25rem;
  transition: transform 0.3s;
}

.services-dropdown.open .services-arrow {
  transform: rotate(180deg);
}

.services-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 100;
}

.services-dropdown.open .services-menu,
.services-dropdown:hover .services-menu,
.services-dropdown:focus-within .services-menu {
  display: block;
}

.service-item {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  transition: all 0.2s;
}

.service-item:hover {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple-400);
}

/* Post Author Styles */
.post-author,
.author-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  margin-top: 2rem;
}

.author-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
}

.author-card p {
  margin: 0 0 0.5rem 0;
  color: var(--text-secondary);
}

.author-location {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.author-website {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--purple-400);
  font-size: 0.875rem;
  text-decoration: none;
}

.author-website:hover {
  text-decoration: underline;
}

.post-comments {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

/* Page Styles */
.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-feature-image {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.page-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-excerpt {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.8;
}

.page-date {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.page-access {
  margin-top: 1rem;
}

.access-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(139, 92, 246, 0.2);
  color: var(--purple-400);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.page-authors {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.page-comments {
  max-width: 800px;
  margin: 3rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.page-code-injection {
  margin-top: 2rem;
}

/* No Posts */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-posts p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .header-left {
    gap: 1rem;
  }
  
  .post-title,
  .featured-post-title,
  .page-title {
    font-size: 2rem;
  }
  
  .post-content,
  .page-content {
    font-size: 1rem;
  }
  
  .related-posts-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .author-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .author-info {
    text-align: center;
  }
  
  .featured-post-image {
    height: 300px;
  }
  
  .kg-width-wide {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  
  .kg-width-full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Search Page Styles */
.search-header {
  margin-bottom: 3rem;
  text-align: center;
}

.search-page-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.search-page-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  transition: all 0.3s;
}

.search-page-input-wrapper:focus-within {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-page-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.search-page-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  outline: none;
}

.search-page-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-page-submit {
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
  white-space: nowrap;
}

.search-page-submit:hover {
  transform: scale(1.05);
}

.search-results-container {
  margin-top: 2rem;
}

.search-initial-state,
.search-loading {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.search-prompt {
  font-size: 1.125rem;
  margin: 0;
}

.search-results-info {
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.search-results-info strong {
  color: white;
}

.search-info {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.no-search-results {
  text-align: center;
  padding: 4rem 1rem;
}

.no-results-icon {
  width: 4rem;
  height: 4rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 auto 1.5rem;
}

.no-search-results h2 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.no-search-results p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.back-to-home {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: transform 0.2s;
}

.back-to-home:hover {
  transform: scale(1.05);
}

/* Error Page Styles */
.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 4rem 1rem;
}

.error-content {
  text-align: center;
  max-width: 600px;
}

.error-code-wrapper {
  margin-bottom: 2rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .error-code {
    font-size: 6rem;
  }
}

.error-message {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .error-message {
    font-size: 1.5rem;
  }
}

.error-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .error-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.error-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.error-link-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.error-link-primary {
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: white;
}

.error-link-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.error-link-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.error-link-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.gallery-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(148, 163, 184, 1);
}

.gallery-no-results {
  text-align: center;
  padding: 4rem 1rem;
}

/* Membership banners */
.member-benefits-banner {
  margin: 1.5rem 0;
}

.member-benefits-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.75);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  flex-wrap: wrap;
}

.member-benefits-icon {
  font-size: 1.75rem;
}

.member-benefits-text {
  flex: 1;
  min-width: 220px;
}

.member-benefits-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
  margin-bottom: 0.25rem;
}

.member-benefits-description {
  color: rgba(148, 163, 184, 1);
  margin: 0;
  font-size: 0.95rem;
}

.member-benefits-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(59, 130, 246, 0.25));
  color: rgba(196, 181, 253, 1);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.member-benefits-action:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.9);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.4));
  color: white;
}

.member-benefits-action.secondary {
  border-color: rgba(148, 163, 184, 0.4);
  background: transparent;
  color: rgba(148, 163, 184, 1);
}

.member-benefits-action.secondary:hover {
  border-color: rgba(139, 92, 246, 0.6);
  color: rgba(196, 181, 253, 1);
}

.member-benefits-pro-max .member-benefits-content {
  border-color: rgba(248, 113, 113, 0.35);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));
}

.member-benefits-plus .member-benefits-content {
  border-color: rgba(56, 189, 248, 0.35);
}

.member-benefits-basic .member-benefits-content {
  border-color: rgba(147, 197, 253, 0.25);
}

.member-benefits-free .member-benefits-content,
.member-benefits-guest .member-benefits-content {
  border-color: rgba(148, 163, 184, 0.2);
}

/* Header member pill */
.member-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.7);
  color: rgba(226, 232, 240, 1);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 1rem;
}

.member-pill-avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  flex-shrink: 0;
}

.member-pill-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-pill-icon {
  font-size: 1.1rem;
}

.member-pill-plan {
  font-weight: 600;
}

.member-pill-manage {
  color: rgba(196, 181, 253, 1);
  text-decoration: none;
  font-size: 0.8rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.member-pill-manage:hover {
  border-color: currentColor;
}

.member-pill-cta {
  border-color: rgba(139, 92, 246, 0.6);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(59, 130, 246, 0.35));
  color: rgba(226, 232, 240, 1);
  text-decoration: none;
}

.member-pill-cta:hover {
  border-color: rgba(139, 92, 246, 0.85);
}

.guest-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guest-pill-text {
  font-weight: 600;
}

.guest-pill-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.guest-pill-link {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.85);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.guest-pill-link:hover {
  color: #fff;
  border-color: rgba(226, 232, 240, 0.7);
}

.guest-pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--purple-600), var(--violet-700));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-pill-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.35);
}

/* Comment priority note */
.comment-priority-note {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: rgba(30, 41, 59, 0.75);
  color: rgba(196, 181, 253, 1);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tier-proxima-pro-max .comment-priority-note {
  border-color: rgba(248, 113, 113, 0.6);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.85), rgba(88, 28, 135, 0.6));
  color: rgba(255, 255, 255, 0.95);
}

.tier-proxima-pro-max .gh-comment-form {
  border: 1px solid rgba(248, 113, 113, 0.45);
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.tier-proxima-pro-max .gh-comment-button {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.85), rgba(192, 38, 211, 0.75));
  border: none;
}

.tier-proxima-pro-max .gh-comment-button:hover {
  background: linear-gradient(135deg, rgba(248, 113, 113, 1), rgba(192, 38, 211, 0.9));
}

@media (max-width: 768px) {
  .member-pill {
    display: none;
  }
}

.mobile-member-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.85);
}

.mobile-member-plan {
  font-weight: 600;
}

.mobile-member-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: rgba(196, 181, 253, 1);
  text-decoration: none;
}

.mobile-member-action:hover {
  border-color: rgba(139, 92, 246, 0.8);
}

/* About page */
.about-page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.about-hero {
  display: grid;
  gap: 2rem;
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .about-hero {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
}

.about-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 1);
  display: block;
  margin-bottom: 0.75rem;
}

.about-hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.about-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(203, 213, 225, 1);
  max-width: 42rem;
}

.about-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.about-stat {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.about-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(248, 250, 252, 1);
}

.about-stat-label {
  color: rgba(148, 163, 184, 1);
  font-size: 0.85rem;
}

.about-section-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-section-icon {
  font-size: 1.8rem;
}

.about-section-title {
  margin-bottom: 0.35rem;
}

.about-section-subtitle {
  color: rgba(148, 163, 184, 1);
  margin: 0;
}

.about-mission-grid,
.about-contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-mission-grid,
  .about-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-mission-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-values-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.about-values-list li {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.about-team-grid-founders {
  margin-bottom: 3.5rem;
}

.about-team-grid-crew {
  margin-top: 1rem;
}

.about-team-card-founder {
  position: relative;
  border: 1px solid rgba(196, 181, 253, 0.4);
}

@media (min-width: 768px) {
  .about-team-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

.about-team-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.about-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-team-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-team-role {
  color: rgba(96, 165, 250, 1);
  font-size: 0.85rem;
}

.about-team-bio {
  color: rgba(203, 213, 225, 1);
  margin: 0;
  font-size: 0.95rem;
}

.about-team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 1);
}

.about-team-link {
  color: rgba(196, 181, 253, 1);
}

.about-team-empty {
  color: rgba(148, 163, 184, 1);
}

/* Policy pages */
.policy-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.policy-hero {
  padding: 3rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.policy-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 1);
}

.policy-title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
}

.policy-subtitle {
  color: rgba(203, 213, 225, 1);
  max-width: 52rem;
}

.policy-effective {
  color: rgba(148, 163, 184, 1);
  font-size: 0.9rem;
}

.policy-section {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.policy-section ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.policy-section a {
  color: rgba(196, 181, 253, 1);
}

/* Footer */
.footer-main {
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ProxiHub page */
.proxihub-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.proxihub-header-block {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .proxihub-header-block {
    grid-template-columns: 1.8fr 1fr;
    align-items: center;
  }
}

.proxihub-header-title {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.proxihub-header-description {
  font-size: 1.05rem;
  color: rgba(203, 213, 225, 1);
  max-width: 44rem;
}

.proxihub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  margin-bottom: 1.25rem;
}

.proxihub-pill span {
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.proxihub-access-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.proxihub-access-banner a {
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.5);
  color: rgba(196, 181, 253, 1);
  text-decoration: none;
  transition: transform 0.3s;
}

.proxihub-access-banner a:hover {
  transform: translateY(-2px);
}

.proxihub-section {
  display: grid;
  gap: 1.5rem;
}

.proxihub-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.proxihub-section-icon {
  font-size: 1.6rem;
}

.proxihub-tools-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .proxihub-tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.proxihub-tool-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proxihub-tool-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.proxihub-tool-actions a {
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.5);
  text-decoration: none;
  color: rgba(196, 181, 253, 1);
  font-size: 0.85rem;
}

/* Mission Control */
.mission-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mission-hero {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(129, 140, 248, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1.5rem;
  padding: 2.75rem;
  display: grid;
  gap: 1.5rem;
}

.mission-hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(96, 165, 250, 1);
}

.mission-hero-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.mission-hero-subtitle {
  color: rgba(203, 213, 225, 1);
  max-width: 45rem;
}

.mission-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.mission-cta-primary,
.mission-cta-secondary {
  padding: 0.65rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 500;
}

.mission-cta-primary {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(99, 102, 241, 0.4));
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: white;
}

.mission-cta-secondary {
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: rgba(203, 213, 225, 1);
}

.mission-section {
  display: grid;
  gap: 1.5rem;
}

.mission-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mission-section-icon {
  font-size: 1.6rem;
}

.mission-launch-grid,
.mission-fleet-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .mission-launch-grid,
  .mission-fleet-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

.mission-launch-card,
.mission-fleet-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mission-launch-date {
  color: rgba(147, 197, 253, 1);
  font-weight: 600;
}

.mission-meta {
  margin: 0;
  padding-left: 1rem;
  color: rgba(203, 213, 225, 1);
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.mission-upgrade-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  color: rgba(203, 213, 225, 1);
}

.proxihub-access-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.proxihub-access-status {
    font-weight: 600;
    color: rgba(226, 232, 240, 1);
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.35);
    padding: 0.55rem 1.1rem;
    border-radius: 9999px;
}

.proxihub-access-banner a {
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: rgba(196, 181, 253, 1);
    text-decoration: none;
    transition: transform 0.3s;
}

.proxihub-access-banner a:hover {
    transform: translateY(-2px);
}

.proxihub-tool-actions a {
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 9999px;
    color: rgba(191, 219, 254, 1);
    text-decoration: none;
    transition: transform 0.3s;
}

.proxihub-access-note {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: rgba(191, 219, 254, 1);
    font-size: 0.85rem;
}

.mission-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mission-cta-note {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(59, 130, 246, 0.15);
    color: rgba(226, 232, 240, 1);
    font-weight: 500;
}

body.theme-accent-violet {
  --primary: #8B5CF6;
  --primary-dark: #7C3AED;
  --accent: #C084FC;
  --purple-400: #A78BFA;
  --purple-500: #8B5CF6;
  --purple-600: #7C3AED;
  --purple-700: #6D28D9;
  --violet-600: #9333EA;
  --violet-700: #7E22CE;
}

body.theme-accent-teal {
  --primary: #14B8A6;
  --primary-dark: #0F766E;
  --accent: #2DD4BF;
  --purple-400: #2DD4BF;
  --purple-500: #14B8A6;
  --purple-600: #0D9488;
  --purple-700: #0F766E;
  --violet-600: #0EA5E9;
  --violet-700: #0369A1;
}

body.theme-accent-amber {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --accent: #FBBF24;
  --purple-400: #FBBF24;
  --purple-500: #F59E0B;
  --purple-600: #D97706;
  --purple-700: #B45309;
  --violet-600: #FB7185;
  --violet-700: #F43F5E;
}

body.reader-mode-standard .post-content-wrapper,
body.reader-mode-standard .post-layout {
  max-width: none;
}

body.reader-mode-focus .post-content-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

body.reader-mode-focus .post-layout {
  max-width: 1100px;
  margin: 0 auto;
}

body.comment-theme-default .post-comments {
  background: rgba(15, 23, 42, 0.7);
}

body.comment-theme-aurora .post-comments {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(59, 130, 246, 0.25);
}

body.comment-theme-nebula .post-comments {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(236, 72, 153, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.post-meta-label {
   font-size: 0.75rem;
   color: rgba(255, 255, 255, 0.6);
 }
 


.post-layout {
   display: grid;
   grid-template-columns: 1fr;
   gap: 2rem;
   max-width: 100%;
 }

.post-card-actions {
   margin-top: 1rem;
   display: flex;
   justify-content: flex-start;
 }

/* Member Profile -------------------------------------------------------- */
.member-profile-page {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 6rem 0 8rem;
}

.member-profile-hero {
  display: grid;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 1.75rem;
  padding: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 992px) {
  .member-profile-hero {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
  }
}

.member-profile-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 1);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.member-profile-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.member-profile-subtitle {
  color: rgba(203, 213, 225, 1);
  font-size: 1.05rem;
  max-width: 40rem;
}

.member-profile-summary {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.5rem;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.member-profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 9999px;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.member-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-profile-meta {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.member-profile-meta div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
}

.member-profile-meta dt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 1);
}

.member-profile-meta dd {
  margin: 0;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.member-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.member-profile-action {
  padding: 0.6rem 1.3rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: rgba(226, 232, 240, 1);
  font-weight: 500;
  text-decoration: none;
}

.member-profile-action:hover {
  border-color: rgba(139, 92, 246, 0.7);
}

.member-profile-section {
  display: grid;
  gap: 1.75rem;
}

.member-profile-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.member-profile-section-icon {
  font-size: 1.8rem;
}

.member-profile-section-title {
  font-size: 1.8rem;
  margin: 0;
}

.member-profile-section-subtitle {
  margin: 0;
  color: rgba(186, 197, 216, 1);
}

.member-saved-actions {
  display: flex;
  justify-content: flex-end;
}

.member-saved-clear {
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: transparent;
  color: rgba(248, 113, 113, 1);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
 }
 
 .member-saved-clear:hover {
   border-color: rgba(239, 68, 68, 0.7);
   color: rgba(254, 202, 202, 1);
 }

.member-saved-clear:disabled,
.member-saved-clear.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: rgba(239, 68, 68, 0.25);
  color: rgba(248, 113, 113, 0.6);
}
 
 .member-saved-list {
  display: grid;
  gap: 1.5rem;
}

.member-saved-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.25rem;
  padding: 1.25rem;
}

@media (max-width: 640px) {
  .member-saved-card {
    grid-template-columns: 1fr;
  }
}

.member-saved-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.member-saved-body {
  display: grid;
  gap: 0.75rem;
}

.member-saved-title {
  margin: 0;
  font-size: 1.2rem;
}

.member-saved-title a {
  color: rgba(226, 232, 240, 1);
}

.member-saved-title a:hover {
  color: rgba(196, 181, 253, 1);
}

.member-saved-meta {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 1);
}

.member-saved-card-actions {
  display: flex;
  gap: 0.75rem;
}

.member-saved-remove {
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  background: transparent;
  color: rgba(196, 181, 253, 1);
  cursor: pointer;
}

.member-saved-remove:hover {
  border-color: rgba(139, 92, 246, 0.7);
}

.member-theme-form {
  display: grid;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.5rem;
  padding: 1.75rem;
}

.member-theme-form fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.member-theme-form legend {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
  margin-bottom: 0.25rem;
}

.member-theme-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(203, 213, 225, 1);
}

.member-theme-actions {
  display: flex;
  justify-content: flex-end;
}

#member-theme-reset {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: rgba(226, 232, 240, 1);
  cursor: pointer;
}

#member-theme-reset:hover {
  border-color: rgba(148, 163, 184, 0.6);
}

.member-empty-state {
  display: grid;
  gap: 0.35rem;
  text-align: center;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.45);
  color: rgba(203, 213, 225, 1);
}

.member-community-feed {
  display: grid;
  gap: 1.25rem;
}

.member-comment-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: grid;
  gap: 1rem;
}

.member-comment-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.member-comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  object-fit: cover;
}

.member-comment-meta-info {
  display: grid;
  gap: 0.2rem;
}

.member-comment-time {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 1);
}

.member-comment-body {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 1);
  line-height: 1.6;
}

.member-comment-footer a {
  color: rgba(196, 181, 253, 1);
}

.member-comment-footer a:hover {
  color: rgba(139, 92, 246, 1);
}

.member-profile-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.member-shortcut {
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: rgba(226, 232, 240, 1);
  text-decoration: none;
  font-weight: 500;
}

.member-shortcut:hover {
  border-color: rgba(139, 92, 246, 0.7);
}

.member-profile-guest {
  text-align: center;
  padding: 6rem 1rem;
  display: grid;
  gap: 1.5rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.75rem;
}

.member-profile-guest h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.member-profile-guest-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.member-profile-avatar {
   width: 88px;
   height: 88px;
   border-radius: 9999px;
   overflow: hidden;
   background: rgba(30, 41, 59, 0.9);
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 2rem;
   font-weight: 600;
   color: rgba(226, 232, 240, 1);
 }
 
 .member-profile-avatar img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }

.member-profile-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topics-page-description {
   color: rgba(255, 255, 255, 0.7);
   font-size: 1.125rem;
   margin: 0;
 }

.topics-section {
  display: grid;
  gap: 2rem;
}

.topics-status {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  color: rgba(203, 213, 225, 1);
  font-size: 0.95rem;
  text-align: center;
}

.topics-status[data-error] {
  border-color: rgba(239, 68, 68, 0.4);
  color: rgba(248, 113, 113, 1);
}
 
 .topics-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: 1.5rem;
 }

.proxihub-tools-grid {
   display: grid;
   gap: 1.5rem;
 }

.proxihub-tool-form {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.proxihub-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.proxihub-field {
  flex: 1 1 180px;
  display: grid;
  gap: 0.35rem;
  color: rgba(203, 213, 225, 1);
  font-size: 0.95rem;
}

.proxihub-select,
.proxihub-input,
.proxihub-input-number {
  width: 100%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.75rem;
  padding: 0.65rem 0.85rem;
  color: rgba(226, 232, 240, 1);
  font-size: 0.95rem;
}

.proxihub-tool-button {
  align-self: flex-start;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.5), rgba(59, 130, 246, 0.45));
  border: 1px solid rgba(139, 92, 246, 0.6);
  border-radius: 9999px;
  padding: 0.6rem 1.4rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.proxihub-tool-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.25);
}

.proxihub-tool-output {
  min-height: 64px;
  max-height: 220px;
  flex: 0 0 auto;
  overflow-y: auto;
  padding-right: 0.4rem;
}

.proxihub-tool-hint {
  margin: 0;
  color: rgba(148, 163, 184, 1);
  font-size: 0.9rem;
}

.proxihub-word-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.proxihub-word-list li {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: rgba(226, 232, 240, 1);
  font-weight: 500;
}

.proxihub-planet-list {
  display: grid;
  gap: 0.85rem;
}

.proxihub-planet-card {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(96, 165, 250, 0.25);
  background: rgba(37, 99, 235, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: rgba(226, 232, 240, 1);
}

.proxihub-planet-card h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.proxihub-planet-card span {
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 1);
}

.proxihub-fact-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.proxihub-fact-text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 1);
  line-height: 1.6;
}

.proxihub-fact-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.proxihub-fact-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: rgba(203, 213, 225, 1);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.proxihub-metric-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .proxihub-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}

.proxihub-metric {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: grid;
  gap: 0.35rem;
}

.proxihub-metric-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 1);
}

.proxihub-metric-value {
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.proxihub-metric-unit {
  font-size: 0.75rem;
  margin-left: 0.25rem;
  color: rgba(148, 163, 184, 1);
}

.proxihub-launch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.proxihub-launch-card {
  border-radius: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(37, 99, 235, 0.15);
  padding: 1rem 1.1rem;
  display: grid;
  gap: 0.4rem;
  color: rgba(226, 232, 240, 1);
}

.proxihub-launch-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.proxihub-launch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 1);
}

.proxihub-lesson-plan {
  display: grid;
  gap: 1rem;
}

.proxihub-lesson-section {
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.12);
  color: rgba(226, 232, 240, 1);
}

.proxihub-lesson-section h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(196, 181, 253, 1);
}

.proxihub-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.proxihub-timeline li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.65);
  padding: 0.8rem 1rem;
  color: rgba(226, 232, 240, 1);
  font-size: 0.95rem;
}

.proxihub-timeline li span {
  color: rgba(148, 163, 184, 1);
  font-size: 0.85rem;
}

.site-logo-image {
   max-height: 32px;
   max-width: 220px;
}

@media (min-width: 768px) {
  .site-logo-image {
    max-height: 32px;
    max-width: 220px;
  }
 }
 
 @media (max-width: 767px) {
   .site-logo-image {
     max-height: 26px;
     max-width: 190px;
   }
 }

.mission-cta-note {
   display: inline-flex;
   align-items: center;
   padding: 0.65rem 1.25rem;
   border-radius: 9999px;
   border: 1px solid rgba(148, 163, 184, 0.3);
   background: rgba(59, 130, 246, 0.15);
   color: rgba(226, 232, 240, 1);
   font-weight: 500;
 }

.mission-metric-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .mission-metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.mission-metric {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.25rem;
  padding: 1.15rem 1.35rem;
  display: grid;
  gap: 0.5rem;
}

.mission-metric-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(148, 163, 184, 1);
}

.mission-metric-value {
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
}

.mission-metric-unit {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 1);
}

.mission-metric-trend {
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 1);
}

.mission-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mission-filter-field {
  display: grid;
  gap: 0.35rem;
  color: rgba(203, 213, 225, 1);
  font-size: 0.95rem;
}

.mission-filter-select {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 0.75rem;
  padding: 0.55rem 0.85rem;
  color: rgba(226, 232, 240, 1);
}

.mission-filter-button {
  align-self: flex-end;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  border: 1px solid rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.45), rgba(147, 197, 253, 0.35));
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-filter-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.25);
}

.mission-launch-list {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 1.25rem;
  padding: 1.25rem 1.4rem;
}

.mission-launch-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.mission-launch-cards li {
  border-radius: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.12);
  padding: 1rem 1.25rem;
  display: grid;
  gap: 0.5rem;
  color: rgba(226, 232, 240, 1);
}

.mission-launch-cards h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.mission-launch-provider {
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 1);
}

.mission-launch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 0.85);
}

.mission-fleet-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .mission-fleet-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.mission-fleet-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.75);
  padding: 1rem 1.25rem;
  color: rgba(226, 232, 240, 1);
  display: grid;
  gap: 0.6rem;
}

.mission-fleet-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.mission-fleet-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.mission-fleet-type {
  font-size: 0.8rem;
  color: rgba(191, 219, 254, 1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mission-fleet-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 1);
}

.mission-fleet-card p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(191, 219, 254, 0.85);
}

.mission-event-table-wrapper {
  border-radius: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.75);
}

.mission-event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 1);
}

.mission-event-table th,
.mission-event-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  text-align: left;
}

.mission-event-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 1);
}

.mission-event-table tbody tr:last-child td {
  border-bottom: none;
}

.mission-telemetry-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .mission-telemetry-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.mission-telemetry-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.12);
  padding: 1rem 1.25rem;
  color: rgba(226, 232, 240, 1);
}

.mission-telemetry-card header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.mission-telemetry-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.mission-telemetry-updated {
  font-size: 0.8rem;
  color: rgba(191, 219, 254, 1);
}

.mission-telemetry-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mission-telemetry-card li {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.mission-telemetry-card li span {
  color: rgba(191, 219, 254, 0.85);
}

.mission-telemetry-card li strong {
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.mission-hint {
  margin: 0;
  padding: 0.75rem 0;
  color: rgba(148, 163, 184, 1);
  font-size: 0.9rem;
  text-align: center;
}
.proxihub-locked {
  border-radius: 1.25rem;
  border: 1px dashed rgba(148, 163, 184, 0.4);
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  text-align: center;
  display: grid;
  gap: 0.75rem;
  color: rgba(203, 213, 225, 1);
}

.proxihub-locked-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 1);
}

.proxihub-locked-text {
  margin: 0;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

