/* Medium-style CSS for Football Sports Talk */

/* Reset and base styles to override Bootstrap conflicts */
* {
  box-sizing: border-box;
}

body {
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  line-height: 1.6 !important;
  color: #242424 !important;
  background-color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Override Bootstrap container styles */
.medium-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff !important;
}

/* Header styles */
.medium-header {
  background: #fff !important;
  border-bottom: 1px solid #e6e6e6 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.header-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Logo styling - supports both text and image logos */
.logo-section {
  display: flex !important;
  align-items: center !important;
}

.logo-section .site-logo {
  max-height: 100px !important;
  width: auto !important;
  margin-right: 16px !important;
  margin-top: -15px !important;
  margin-bottom: -15px !important;
  transition: opacity 0.2s ease !important;
  /* Default to color logo */
  content: url('/images/logos/football-sports-talk-logo.png');
}

.logo-section .site-logo:hover {
  opacity: 0.8 !important;
}

.logo-section .site-title {
  margin: 0 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
}

.logo-section .site-title a {
  color: #000 !important;
  text-decoration: none !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  display: flex !important;
  align-items: center !important;
}

.logo-section .site-title a:hover {
  color: #000 !important;
  text-decoration: none !important;
}

/* Logo text styling */
.site-title-text {
  margin-left: 8px !important;
}

/* Hide text when logo image is present */
.logo-section .site-logo[src]:not([src=""]) + .site-title-text {
  display: none !important;
}

/* Fallback for when logo image fails to load */
.logo-section .site-logo[style*="display: none"] + .site-title-text,
.logo-section .site-title-text {
  display: inline !important;
}

/* Dark mode logo support - use B&W logo for dark themes */
@media (prefers-color-scheme: dark) {
  .logo-section .site-logo {
    content: url('/images/logos/football-sports-talk-logo-bw.png') !important;
  }
}

/* Light mode - ensure color logo is used (default) */
@media (prefers-color-scheme: light) {
  .logo-section .site-logo {
    content: url('/images/logos/football-sports-talk-logo.png') !important;
  }
}

/* No preference - default to color logo */
@media (prefers-color-scheme: no-preference) {
  .logo-section .site-logo {
    content: url('/images/logos/football-sports-talk-logo.png') !important;
  }
}

/* Mobile logo adjustments */
@media (max-width: 768px) {
  .logo-section .site-logo {
    max-height: 60px !important;
  }
  
  .logo-section .site-title {
    font-size: 24px !important;
  }
  
  .site-title-text {
    margin-left: 8px !important;
  }
}

@media (max-width: 480px) {
  .logo-section .site-logo {
    max-height: 50px !important;
  }
  
  .logo-section .site-title {
    font-size: 20px !important;
  }
  
  .site-title-text {
    margin-left: 6px !important;
  }
}

/* Print styles - use text logo for better printing */
@media print {
  .logo-section .site-logo {
    display: none !important;
  }
  
  .logo-section .site-title-text {
    display: inline !important;
  }
}

/* Navigation styles - override Bootstrap */
.main-navigation {
  flex: 1 !important;
  margin: 0 40px !important;
}

.nav-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 32px !important;
  align-items: center !important;
}

.nav-links li {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.nav-links a {
  color: #6b6b6b !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
  transition: color 0.2s ease !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.nav-links a:hover {
  color: #242424 !important;
  text-decoration: none !important;
  background-color: #f9f9f9 !important;
}

.nav-links a:focus {
  color: #242424 !important;
  text-decoration: none !important;
  outline: none !important;
}

/* User actions */
.user-actions {
  display: flex !important;
  gap: 16px !important;
  align-items: center !important;
}

.user-link, .logout-btn, .sign-in-btn, .get-started-btn {
  color: #6b6b6b !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  background: none !important;
  cursor: pointer !important;
}

.get-started-btn {
  background-color: #1a8917 !important;
  color: #fff !important;
  border-color: #1a8917 !important;
}

.get-started-btn:hover {
  background-color: #156f13 !important;
  color: #fff !important;
  text-decoration: none !important;
}

.sign-in-btn:hover, .user-link:hover, .logout-btn:hover {
  color: #242424 !important;
  text-decoration: none !important;
}

/* Main content area */
.medium-main {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
}

.content-wrapper {
  display: grid !important;
  grid-template-columns: 1fr 300px !important;
  gap: 64px !important;
  align-items: start !important;
}

/* Article styles */
.main-article {
  max-width: 740px !important;
}

.article-header {
  margin-bottom: 32px !important;
}

.article-title {
  font-size: 42px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #242424 !important;
  margin: 0 0 16px 0 !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.article-content {
  font-size: 20px !important;
  line-height: 1.6 !important;
  color: #242424 !important;
  font-family: charter, Georgia, Cambria, "Times New Roman", Times, serif !important;
}

.article-content h1 {
  display: none !important; /* Hide duplicate h1 */
}

.article-content h3 {
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 32px 0 16px 0 !important;
  color: #242424 !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.article-content p {
  margin: 0 0 16px 0 !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
}

/* Hero section */
.hero-section {
  margin-bottom: 48px !important;
  padding: 32px 0 !important;
  border-bottom: 1px solid #f2f2f2 !important;
}

.hero-section .lead {
  font-size: 24px !important;
  line-height: 1.4 !important;
  color: #fff !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* Features section */
.features {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 32px !important;
  margin-bottom: 48px !important;
}

.feature {
  padding: 24px !important;
  border: 1px solid #f2f2f2 !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.feature h3 {
  margin: 0 0 16px 0 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #242424 !important;
}

.feature p {
  margin: 0 0 20px 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #6b6b6b !important;
}

.feature .btn {
  display: inline-block !important;
  padding: 8px 16px !important;
  background-color: #1a8917 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: background-color 0.2s ease !important;
}

.feature .btn:hover {
  background-color: #156f13 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Community section */
.community {
  text-align: center !important;
  padding: 48px 32px !important;
  background: #f9f9f9 !important;
  border-radius: 8px !important;
  margin-top: 48px !important;
}

.community h3 {
  margin: 0 0 16px 0 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #242424 !important;
}

.community p {
  margin: 0 0 24px 0 !important;
  font-size: 18px !important;
  color: #6b6b6b !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.community .btn-primary {
  display: inline-block !important;
  padding: 12px 24px !important;
  background-color: #1a8917 !important;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: background-color 0.2s ease !important;
}

.community .btn-primary:hover {
  background-color: #156f13 !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* Engagement section */
.engagement-section {
  margin: 48px 0 !important;
  padding: 24px 0 !important;
  border-top: 1px solid #f2f2f2 !important;
  border-bottom: 1px solid #f2f2f2 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.engagement-actions, .sharing-actions {
  display: flex !important;
  gap: 24px !important;
  align-items: center !important;
}

.clap-btn, .comment-btn, .bookmark-btn, .share-btn {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: none !important;
  border: none !important;
  color: #6b6b6b !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.clap-btn:hover, .comment-btn:hover, .bookmark-btn:hover, .share-btn:hover {
  background-color: #f2f2f2 !important;
  color: #242424 !important;
}

.clap-count {
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Sidebar styles */
.medium-sidebar {
  padding: 32px 0 !important;
}

.recommended-section, .trending-section, .who-to-follow {
  margin-bottom: 48px !important;
  padding: 24px !important;
  background: #f9f9f9 !important;
  border-radius: 8px !important;
}

.recommended-section h3, .trending-section h3, .who-to-follow h3 {
  margin: 0 0 20px 0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #242424 !important;
  font-family: sohne, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

.topic-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.topic-tag {
  display: inline-block !important;
  padding: 6px 12px !important;
  background-color: #f2f2f2 !important;
  color: #6b6b6b !important;
  text-decoration: none !important;
  border-radius: 16px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  transition: background-color 0.2s ease !important;
}

.topic-tag:hover {
  background-color: #e6e6e6 !important;
  color: #242424 !important;
  text-decoration: none !important;
}

.trending-items {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.trending-item h4 {
  margin: 0 0 4px 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.trending-item h4 a {
  color: #242424 !important;
  text-decoration: none !important;
}

.trending-item h4 a:hover {
  color: #1a8917 !important;
}

.trending-meta {
  margin: 0 !important;
  font-size: 12px !important;
  color: #6b6b6b !important;
}

.follow-suggestions {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.follow-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.follow-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background-color: #1a8917 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

.follow-info {
  flex: 1 !important;
}

.follow-info h4 {
  margin: 0 0 2px 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #242424 !important;
}

.follow-info p {
  margin: 0 !important;
  font-size: 12px !important;
  color: #6b6b6b !important;
}

.follow-btn {
  padding: 6px 16px !important;
  background: none !important;
  border: 1px solid #1a8917 !important;
  color: #1a8917 !important;
  border-radius: 16px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.follow-btn:hover {
  background-color: #1a8917 !important;
  color: #fff !important;
}

/* Footer styles */
.medium-footer {
  background: #f9f9f9 !important;
  padding: 48px 0 !important;
  margin-top: 64px !important;
  border-top: 1px solid #e6e6e6 !important;
}

.footer-content {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  text-align: center !important;
}

.footer-links {
  display: flex !important;
  justify-content: center !important;
  gap: 32px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}

.footer-links a {
  color: #6b6b6b !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: color 0.2s ease !important;
}

.footer-links a:hover {
  color: #242424 !important;
  text-decoration: none !important;
}

.footer-text p {
  margin: 0 !important;
  font-size: 14px !important;
  color: #6b6b6b !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .main-navigation {
    margin: 0 !important;
  }
  
  .nav-links {
    gap: 16px !important;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .article-title {
    font-size: 32px !important;
  }
  
  .article-content {
    font-size: 18px !important;
  }
  
  .hero-section .lead {
    font-size: 20px !important;
  }
  
  .features {
    grid-template-columns: 1fr !important;
  }
  
  .footer-links {
    gap: 16px !important;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #242424;
  background-color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header Styles */
.medium-header {
  border-bottom: 1px solid #e6e6e6;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 57px;
}

.site-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a8917;
}

.site-title a {
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: #6B6B6B;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #242424;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.search-btn, .write-btn {
  color: #6B6B6B;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.search-btn:hover, .write-btn:hover {
  color: #242424;
  text-decoration: none;
}

.sign-in-btn {
  background-color: #1a8917;
  color: white;
  padding: 8px 16px;
  border-radius: 99em;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.sign-in-btn:hover {
  background-color: #156e13;
  text-decoration: none;
}

/* Main Content */
.medium-main {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 24px;
}

.content-container {
  display: grid;
  grid-template-columns: 1fr 368px;
  gap: 64px;
  margin-top: 56px;
}

/* Article Styles */
.main-article {
  max-width: 680px;
}

.article-header {
  margin-bottom: 32px;
}

.article-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #242424;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 500;
  color: #242424;
  font-size: 16px;
}

.publish-info {
  color: #6B6B6B;
  font-size: 14px;
}

.reading-time {
  margin-left: 4px;
}

.article-actions {
  display: flex;
  gap: 12px;
}

.action-btn {
  background: none;
  border: 1px solid #e6e6e6;
  border-radius: 99em;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.follow-btn {
  background-color: #1a8917;
  color: white;
  border-color: #1a8917;
}

.action-btn:hover {
  background-color: #f8f8f8;
}

.follow-btn:hover {
  background-color: #156e13;
}

/* Article Content */
.article-content {
  font-size: 21px;
  line-height: 1.58;
  color: #242424;
  margin-bottom: 48px;
}

.article-content h1 {
  font-size: 34px;
  font-weight: 700;
  margin: 2em 0 1em 0;
  line-height: 1.2;
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 1.8em 0 0.8em 0;
  line-height: 1.2;
}

.article-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 1.6em 0 0.6em 0;
  line-height: 1.2;
}

.article-content p {
  margin-bottom: 1.4em;
}

.article-content blockquote {
  border-left: 3px solid #1a8917;
  padding-left: 24px;
  margin: 1.6em 0;
  font-style: italic;
  color: #6B6B6B;
}

.article-content ul, .article-content ol {
  margin: 1.4em 0;
  padding-left: 1.5em;
}

.article-content li {
  margin-bottom: 0.5em;
}

.article-content a {
  color: #1a8917;
  text-decoration: underline;
}

.article-content img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  border-radius: 4px;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, #1a8917 0%, #22c55e 100%);
  color: white !important;
  text-align: center;
  padding: 64px 32px;
  margin: -32px 0 48px 0;
  border-radius: 8px;
}

.hero-section * {
  color: white !important;
}

.hero-section p, .hero-section .lead {
  color: white !important;
}

/* Override Bootstrap lead class specifically in hero section */
.hero-section .lead, .hero-section p.lead {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
  font-size: 24px;
  font-weight: 400;
  color: #fff !important;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.feature {
  background: #f8f9fa;
  padding: 32px;
  border-radius: 8px;
  border-left: 4px solid #1a8917;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature h3 {
  color: #242424;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 700;
}

.feature p {
  color: #6B6B6B;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #1a8917;
  color: white;
  text-decoration: none;
  border-radius: 99em;
  font-weight: 500;
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background: #156e13;
  text-decoration: none;
}

.btn-primary {
  background: #dc2626;
}

.btn-primary:hover {
  background: #b91c1c;
}

/* Community Section */
.community {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 64px 32px;
  border-radius: 8px;
  margin: 48px 0;
}

.community h3 {
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.community p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Article Footer */
.article-footer {
  border-top: 1px solid #e6e6e6;
  padding-top: 24px;
  margin-top: 48px;
}

.engagement-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.engagement-left {
  display: flex;
  gap: 16px;
}

.engagement-right {
  display: flex;
  gap: 16px;
}

.engagement-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6B6B6B;
  font-size: 14px;
  transition: color 0.2s ease;
}

.engagement-btn:hover {
  color: #242424;
}

.clap-icon, .comment-icon {
  font-size: 18px;
}

.tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tag {
  background: #f3f4f6;
  color: #6B6B6B;
  padding: 8px 16px;
  border-radius: 99em;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tag:hover {
  background: #e5e7eb;
  text-decoration: none;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.recommended-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #242424;
  margin-bottom: 24px;
}

.recommended-articles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recommended-article {
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}

.recommended-article:last-child {
  border-bottom: none;
}

.recommended-article h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.recommended-article h4 a {
  color: #242424;
  text-decoration: none;
}

.recommended-article h4 a:hover {
  text-decoration: underline;
}

.article-excerpt {
  color: #6B6B6B;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.article-meta-small {
  font-size: 12px;
  color: #6B6B6B;
}

.article-meta-small .author {
  font-weight: 500;
}

/* Footer */
.medium-footer {
  border-top: 1px solid #e6e6e6;
  margin-top: 96px;
  padding: 48px 0;
  background-color: #fafafa;
}

.footer-container {
  max-width: 1192px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #6B6B6B;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #242424;
  text-decoration: none;
}

.footer-copy {
  color: #6B6B6B;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .sidebar {
    position: static;
  }
  
  .header-center {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 16px;
  }
  
  .medium-main {
    padding: 0 16px;
  }
  
  .article-title {
    font-size: 32px;
  }
  
  .article-content {
    font-size: 18px;
  }
  
  .hero-section {
    padding: 48px 24px;
  }
  
  .hero-section .lead {
    font-size: 20px;
    color: #fff !important;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature {
    padding: 24px;
  }
  
  .community {
    padding: 48px 24px;
  }
  
  .community h3 {
    font-size: 28px;
  }
  
  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .header-actions {
    gap: 16px;
  }
  
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .engagement-bar {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .engagement-right {
    align-self: flex-end;
  }
}

/* Fix for alert/message boxes to ensure text readability */
.alert, .alert-success, .alert-info, .alert-warning, .alert-danger,
.message, .success, .error, .warning, .info,
div[style*="background-color: green"], div[style*="background: green"],
.bg-success, .bg-primary, .bg-info, .bg-warning, .bg-danger {
  color: #fff !important;
}

/* Specific overrides for any green background elements */
div[style*="background-color: #"], div[style*="background: #"] {
  color: #fff !important;
}

/* System messages styling */
.system-message, .banshee-message, .notification {
  color: #fff !important;
  padding: 12px 16px !important;
  border-radius: 4px !important;
  margin: 16px 0 !important;
}

/* Success message styling */
.success-message, .alert-success {
  background-color: #28a745 !important;
  color: #fff !important;
  border: 1px solid #1e7e34 !important;
}

/* Any green colored backgrounds should have white text */
[style*="background"]:not([style*="background: white"]):not([style*="background-color: white"]) {
  color: #fff !important;
}

/* Bootstrap alert overrides */
.alert {
  color: #fff !important;
}

.alert-success {
  background-color: #28a745 !important;
  border-color: #1e7e34 !important;
  color: #fff !important;
}

.alert-info {
  background-color: #17a2b8 !important;
  border-color: #117a8b !important;
  color: #fff !important;
}

.alert-warning {
  background-color: #ffc107 !important;
  border-color: #d39e00 !important;
  color: #212529 !important;
}

.alert-danger {
  background-color: #dc3545 !important;
  border-color: #bd2130 !important;
  color: #fff !important;
}

/* Common green elements that need white text */
.bg-success, .bg-green, .success, .green-box,
div[class*="success"], div[class*="green"] {
  color: #fff !important;
}

/* Generic dark background text fix */
div[style*="background-color: #2"], 
div[style*="background-color: #3"], 
div[style*="background-color: #4"], 
div[style*="background-color: #5"], 
div[style*="background-color: #6"], 
div[style*="background-color: #7"], 
div[style*="background-color: #8"], 
div[style*="background-color: #9"] {
  color: #fff !important;
}
