/* WikiHow-Style Design for FluxCore */

/* CSS Variables - WikiHow Color Scheme */
:root {
  --wikihow-orange: #FF9900;
  --wikihow-red: #E6291B;
  --wikihow-dark: #394141;
  --wikihow-light-gray: #F8F9FA;
  --wikihow-border: #E5E5E5;
  --wikihow-green: #89C4A4;
  
  /* Typography */
  --font-brand: 'Caprasimo', Georgia, serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: 'Segoe UI', Tahoma, Arial, sans-serif;
}


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

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: #4a4a4a;
  background: #fff;
  font-size: 15px;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* WikiHow-style Header */
.header {
  background: #fff;
  border-bottom: 1px solid var(--wikihow-border);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo .site-title {
  font-size: 36px;
  font-family: var(--font-brand);
  font-weight: normal;
  color: var(--wikihow-red);
  text-decoration: none;
  line-height: 1.2;
}

.logo .site-tagline {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* WikiHow-style Main Content */
.main-content {
  padding: 30px 0 60px;
}

.content-wrapper {
  background: #fff;
  padding: 0;
  border: none;
  box-shadow: none;
}

.content-wrapper h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-bottom: 20px;
  margin-top: 0;
  line-height: 1.2;
}

.content-wrapper h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-top: 45px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--wikihow-orange);
  padding-bottom: 12px;
}

.content-wrapper h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-top: 35px;
  margin-bottom: 15px;
}

.content-wrapper p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 18px;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-left: 30px;
  margin-bottom: 20px;
  margin-top: 15px;
}

.content-wrapper li {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 12px;
}

/* WikiHow-style FAQ Section with numbered blocks */
.faq-section {
  background: var(--wikihow-light-gray);
  border: 1px solid var(--wikihow-border);
  padding: 25px;
  margin: 40px 0;
  border-radius: 0;
}

/* WikiHow-style numbered FAQ blocks for H3 questions - ONLY for FAQ section */
.faq-wrapper {
  counter-reset: faq-counter;
}

/* Apply WikiHow style ONLY to H3 inside faq-wrapper */
.faq-wrapper h3 {
  position: relative;
  counter-increment: faq-counter;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-top: 30px !important;
  margin-bottom: 15px;
  padding: 20px 20px 20px 80px;
  background: #fff;
  border: 2px solid var(--wikihow-orange);
  border-left: 8px solid var(--wikihow-orange);
  min-height: 70px;
  display: flex;
  align-items: center;
}

.faq-wrapper h3::before {
  content: counter(faq-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  font-weight: bold;
  color: var(--wikihow-orange);
  font-family: var(--font-brand);
  line-height: 1;
}

/* WikiHow-style Home Page */
.home-page .hero {
  text-align: center;
  background: linear-gradient(135deg, #FF9900 0%, #E6291B 100%);
  color: white;
  padding: 60px 40px;
  margin-bottom: 40px;
  border-radius: 0;
}

.home-page .hero h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  color: white;
}

.home-page .hero-subtitle {
  font-size: 20px;
  opacity: 0.95;
  font-weight: normal;
}

.intro-content h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--wikihow-dark);
  text-align: left;
  margin-top: 0;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--wikihow-orange);
  padding-bottom: 10px;
  background: none;
  -webkit-text-fill-color: var(--wikihow-dark);
}

.intro-content p {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

/* WikiHow-style State Cards */
.states {
  margin-top: 40px;
}

.states h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--wikihow-dark);
  margin-bottom: 25px;
  border-bottom: 2px solid var(--wikihow-orange);
  padding-bottom: 10px;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.state-card {
  background: #fff;
  border: 1px solid var(--wikihow-border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.state-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.state-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.state-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.state-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  color: var(--wikihow-dark);
  border: none;
  margin: 0;
}

.state-card p {
  padding: 0 15px 15px;
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  .home-page .hero h1 {
    font-size: 32px;
  }
  
  .content-wrapper h1 {
    font-size: 28px;
  }
  
  .content-wrapper h2 {
    font-size: 24px;
  }
  
  .states-grid {
    grid-template-columns: 1fr;
  }
}

/* Remove old decorative styles */
.content-wrapper::before {
  display: none;
}

body::before {
  display: none;
}

/* WikiHow-style pages (clubs, states) */
.club-page h1,
.state-page h1 {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.club-page .state-header,
.state-page .state-header {
  margin-bottom: 30px;
}

.club-page .page-description,
.state-page .page-description {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
  font-style: italic;
}

.club-page .featured-image img,
.state-page .featured-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 25px;
  border: 1px solid var(--wikihow-border);
}

.club-page .state-meta,
.state-page .state-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  padding: 15px;
  background: var(--wikihow-light-gray);
  border-radius: 0;
}

.club-page .state-meta span,
.state-page .state-meta span {
  font-size: 14px;
  color: #4a4a4a;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--wikihow-border);
  border-radius: 0;
}

.club-page .content,
.state-page .content {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
}

.club-page .content h2,
.state-page .content h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-top: 45px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--wikihow-orange);
  padding-bottom: 12px;
}

.club-page .content h3,
.state-page .content h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin-top: 35px;
  margin-bottom: 15px;
}

.club-page .content p,
.state-page .content p {
  font-size: 15px;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 18px;
}

/* TOC Styles */
.toc-container {
  background: var(--wikihow-light-gray);
  border: 1px solid var(--wikihow-border);
  margin-bottom: 30px;
  border-radius: 0;
}

.toc-header {
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid var(--wikihow-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toc-header h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--wikihow-dark);
  margin: 0;
  border: none;
}

.toc-content {
  padding: 20px;
  background: #fff;
}

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

.toc-content .toc-list li {
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--wikihow-orange);
  padding-left: 15px;
}

.toc-content .toc-list a {
  color: var(--wikihow-dark);
  text-decoration: none;
  font-size: 14px;
}

.toc-content .toc-list a:hover {
  color: var(--wikihow-red);
  text-decoration: underline;
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--wikihow-light-gray);
  padding: 12px 0;
  border-bottom: 1px solid var(--wikihow-border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  font-size: 14px;
}

.breadcrumb-list li {
  margin: 0;
}

.breadcrumb-separator {
  color: #999;
  padding: 0 4px;
  font-weight: normal;
}

.breadcrumb-list li a {
  color: #666;
  text-decoration: none;
}

.breadcrumb-list li a:hover {
  color: var(--wikihow-red);
  text-decoration: underline;
}

.breadcrumb-list li.current {
  color: var(--wikihow-dark);
  font-weight: bold;
}

/* Footer */
.footer {
  background: var(--wikihow-dark);
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 15px;
  border: none;
}

.footer-section p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 12px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: #999;
}

/* Links */
.content-wrapper a,
.club-page a,
.state-page a {
  color: var(--wikihow-red);
  text-decoration: none;
}

.content-wrapper a:hover,
.club-page a:hover,
.state-page a:hover {
  text-decoration: underline;
}

/* Strong tags */
.content-wrapper strong,
.club-page strong,
.state-page strong {
  color: var(--wikihow-dark);
  font-weight: bold;
}

/* Images in content */
.content-wrapper img,
.club-page img,
.state-page img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--wikihow-border);
  margin: 20px 0;
}

/* Blockquotes */
.content-wrapper blockquote,
.club-page blockquote,
.state-page blockquote {
  border-left: 4px solid var(--wikihow-orange);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

/* Code */
.content-wrapper code,
.club-page code,
.state-page code {
  background: var(--wikihow-light-gray);
  padding: 2px 6px;
  border-radius: 0;
  font-size: 14px;
  color: var(--wikihow-red);
}

.content-wrapper pre,
.club-page pre,
.state-page pre {
  background: var(--wikihow-light-gray);
  padding: 15px;
  border: 1px solid var(--wikihow-border);
  border-radius: 0;
  overflow-x: auto;
  margin: 20px 0;
}

.content-wrapper pre code,
.club-page pre code,
.state-page pre code {
  background: none;
  padding: 0;
  color: #333;
}

/* Cities and clubs grids */
.cities-grid,
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.city-card,
.club-card {
  background: #fff;
  border: 1px solid var(--wikihow-border);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.city-card:hover,
.club-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.city-card a,
.club-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.city-card img,
.club-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border: none;
  margin: 0;
}

.city-card h3,
.club-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  color: var(--wikihow-dark);
  border: none;
  margin: 0;
}

.city-card .club-info,
.club-card .club-info {
  padding: 0 15px 15px;
}

.city-card p,
.club-card p {
  font-size: 14px;
  color: #666;
  margin: 0 0 8px 0;
}

.club-description {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.club-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.rating {
  color: var(--wikihow-green);
  font-weight: bold;
}

/* Rating display */
.rating-display {
  background: var(--wikihow-light-gray);
  padding: 20px;
  margin: 30px 0;
  text-align: center;
  border: 1px solid var(--wikihow-border);
}

.rating-stars {
  font-size: 24px;
  margin-bottom: 10px;
}

.rating-text {
  font-size: 18px;
  font-weight: bold;
  color: var(--wikihow-dark);
  margin: 0;
}

/* Author info */
.author-info {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--wikihow-orange);
}

.author-card {
  background: var(--wikihow-light-gray);
  padding: 25px;
  border: 1px solid var(--wikihow-border);
}

.author-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--wikihow-dark);
  margin-bottom: 15px;
  border: none;
}

.author-card p {
  margin-bottom: 10px;
  font-size: 14px;
}

.author-card a {
  color: var(--wikihow-red);
  font-weight: bold;
}

/* Section styles */
.top-cities,
.direct-clubs {
  margin-top: 50px;
}

.top-cities h2,
.direct-clubs h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--wikihow-dark);
  margin-bottom: 25px;
  border-bottom: 3px solid var(--wikihow-orange);
  padding-bottom: 12px;
}

/* Scroll to top button */
#scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: var(--wikihow-red);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
}

#scroll-to-top:hover {
  background: var(--wikihow-orange);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#scroll-to-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  #scroll-to-top {
    bottom: 90px;
    left: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}
