/* ── TravelSoftball.com ── Blog Styles ── */

/* ── Blog Hero ── */
.blog-hero {
  text-align: center;
  padding: 4.5rem 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text) 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.blog-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ── Blog Category Filter ── */
.blog-filters {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.blog-filters a {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-filters a:hover { border-color: var(--gold); color: var(--gold-light); text-decoration: none; }
.blog-filters a.active { background: var(--gold); color: #0d0f18; border-color: var(--gold); }

/* ── Blog Grid + Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.2s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 8px; right: 8px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 5px, transparent 5px, transparent 9px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.blog-card:hover::before { opacity: 0.5; }
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.08);
}
.blog-card-cover {
  height: 140px;
  background: linear-gradient(135deg, #1a2040 0%, #2a3560 60%, #c88a1a 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.blog-card-cover::after {
  content: '◆';
  position: absolute;
  bottom: -30px; right: -10px;
  font-size: 7rem;
  color: var(--gold);
  opacity: 0.08;
  transform: rotate(45deg);
  font-family: sans-serif;
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.blog-card h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}
.blog-card h2 a { color: var(--text); text-decoration: none; }
.blog-card h2 a:hover { color: var(--gold-light); }
.blog-card .excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.blog-card .read-more {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.blog-card .read-more:hover { color: var(--gold); }

/* ── Category Badges ── */
.cat-badge {
  font-size: 0.62rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-light);
}
.cat-recruiting { background: rgba(59, 130, 246, 0.12); color: var(--blue-light); }
.cat-parents { background: rgba(34, 197, 94, 0.12); color: var(--green); }
.cat-development { background: rgba(245, 158, 11, 0.14); color: var(--orange); }
.cat-tryouts { background: rgba(220, 38, 38, 0.1); color: var(--red); }

/* ── Article Page ── */
.article-hero {
  background: linear-gradient(135deg, #1a2040 0%, #2a3560 60%, #c88a1a 140%);
  padding: 3.5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '◆';
  position: absolute;
  top: -40px; right: 4%;
  font-size: 11rem;
  color: var(--gold);
  opacity: 0.06;
  transform: rotate(45deg);
  font-family: sans-serif;
}
.article-hero::after {
  content: '◆';
  position: absolute;
  bottom: -50px; left: 2%;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.05;
  transform: rotate(45deg);
  font-family: sans-serif;
}
.article-hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.article-hero .article-emoji { font-size: 3.5rem; display: block; margin-bottom: 1rem; }
.article-hero h1 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.article-meta .dot { opacity: 0.4; }

/* ── Breadcrumbs ── */
.breadcrumbs {
  max-width: 780px;
  margin: 1.5rem auto 0;
  padding: 0 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 0.4rem; opacity: 0.5; }

/* ── Article Body ── */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}
.article-body p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #2d2d44;
  margin-bottom: 1.4rem;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 3px solid;
  border-image: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 8px, transparent 8px, transparent 14px) 3;
}
.article-body h2:first-of-type { margin-top: 1.5rem; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 1.8rem 0 0.6rem;
  color: var(--gold-light);
}
.article-body ul, .article-body ol {
  margin: 0 0 1.4rem 1.4rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #2d2d44;
}
.article-body li { margin-bottom: 0.5rem; }
.article-body li strong { color: var(--text); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--bg-card);
  padding: 1.1rem 1.4rem;
  margin: 1.8rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
}
.article-body a { color: var(--gold-light); text-decoration: underline; }
.article-body a:hover { color: var(--gold); }

/* ── Article CTA Box ── */
.article-cta {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1a2040 160%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0;
  position: relative;
  overflow: hidden;
}
.article-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 10px; right: 10px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0px, var(--gold) 6px, transparent 6px, transparent 10px);
  opacity: 0.4;
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.article-cta p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; }

/* ── Related Articles ── */
.related-articles { max-width: 1100px; margin: 0 auto; padding: 0 2rem 4rem; }
.related-articles h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 2rem;
}
.related-articles h2 .highlight { color: var(--gold); }

/* ── Article responsive ── */
@media (max-width: 768px) {
  .blog-hero { padding: 3rem 1.25rem 2rem; }
  .blog-hero h1 { font-size: 2.1rem; }
  .article-hero h1 { font-size: 1.7rem; }
  .article-body { padding: 2rem 1.25rem; }
  .breadcrumbs { padding: 0 1.25rem; }
  .article-body h2 { font-size: 1.35rem; }
}
