/*
Theme Name: FlorbalCoach
Theme URI: https://florbalcoach.cz
Author: Miroslav Kuřitka
Author URI: https://florbalcoach.cz
Description: Profesionální web florbalového trenéra Miroslava Kuřitky. Energetický sportovní design s fosforovou zelenou.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: florbalcoach
*/

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --mid: #1c1c1c;
  --surface: #222222;
  --border: #2e2e2e;
  --white: #f5f5f0;
  --muted: #888;
  --orange: #AAFF00;
  --orange-light: #CCFF33;
  --orange-dark: #88CC00;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-ball { width: 40px; height: 40px; }
.logo-ball svg { width: 40px; height: 40px; }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-wordmark .top { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 18px; letter-spacing: 0.08em; color: var(--white); }
.logo-wordmark .sub { font-size: 10px; letter-spacing: 0.15em; color: var(--orange); font-weight: 600; text-transform: uppercase; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-link { color: #999; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; padding: 8px 14px; border-radius: 6px; cursor: pointer; border: none; background: transparent; text-transform: uppercase; transition: color .15s, background .15s; text-decoration: none; display: block; }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-link.active, .current-menu-item > .nav-link { color: var(--white); }
.nav-cta { background: var(--orange); color: #0a0a0a; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 20px; border-radius: 6px; cursor: pointer; border: none; transition: background .15s; text-decoration: none; display: inline-block; }
.nav-cta:hover { background: var(--orange-light); color: #0a0a0a; }

/* ─── HAMBURGER ─── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(10,10,10,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 1.5rem 2rem; z-index: 999; flex-direction: column; gap: 4px; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; width: 100%; }
.mobile-menu .nav-cta { margin-top: 1rem; width: 100%; text-align: center; padding: 13px; font-size: 14px; }

/* ─── HERO ─── */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 64px; background: var(--black); position: relative; overflow: hidden; }
.hero-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(120px, 20vw, 260px); color: rgba(255,255,255,0.025); white-space: nowrap; letter-spacing: -0.02em; pointer-events: none; user-select: none; }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 4rem 2.5rem; display: grid; grid-template-columns: 1fr 400px; gap: 5rem; align-items: center; width: 100%; }
.hero-motto { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2rem; border-left: 3px solid var(--orange); padding-left: 1rem; }
.hero-text p { color: #aaa; font-size: 15px; line-height: 1.75; max-width: 460px; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 12px; }
.hero-stats { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; gap: 3rem; }
.stat-n { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-l { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; margin-top: 4px; }
.hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(52px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 .line-accent { color: var(--orange); display: block; }
.hero-card { background: var(--mid); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; position: relative; }
.hero-card-photo { width: 100%; aspect-ratio: 3/4; background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 80px; position: relative; overflow: hidden; }
.hero-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%; background: linear-gradient(transparent, var(--mid)); }
.hero-card-badge { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; z-index: 2; }
.hero-card-badge .name { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 22px; letter-spacing: 0.05em; text-transform: uppercase; }
.hero-card-badge .role { font-size: 12px; color: var(--orange-light); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; margin-top: 3px; }
.hero-card-tag { position: absolute; top: 1rem; right: 1rem; background: var(--orange); color: #0a0a0a; font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; z-index: 3; }

/* ─── BUTTONS ─── */
.btn-primary { background: var(--orange); color: #0a0a0a; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 28px; border-radius: 6px; border: none; cursor: pointer; transition: background .15s, transform .1s; text-decoration: none; display: inline-block; }
.btn-primary:hover { background: var(--orange-light); transform: translateY(-1px); color: #0a0a0a; }
.btn-outline { background: transparent; color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 28px; border-radius: 6px; border: 1px solid var(--border); cursor: pointer; transition: border-color .15s, background .15s; text-decoration: none; display: inline-block; }
.btn-outline:hover { border-color: #555; background: rgba(255,255,255,.04); color: var(--white); }

/* ─── SECTIONS ─── */
.section-inner { padding: 5rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.section-full { padding: 5rem 2.5rem; background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-full > .inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5rem; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(36px, 5vw, 56px); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 3rem; }

/* ─── O TRENÉROVI ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-bio { grid-column: 1 / -1; background: var(--mid); border: 1px solid var(--border); border-radius: 10px; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.about-bio-text p { font-size: 15px; color: #bbb; line-height: 1.75; }
.about-bio-text p + p { margin-top: 1rem; }
.career-list { list-style: none; }
.career-list li { display: flex; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.career-list li:last-child { border-bottom: none; }
.career-year { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; color: var(--orange); white-space: nowrap; min-width: 90px; padding-top: 1px; }
.career-desc { color: #bbb; }
.about-card { background: var(--mid); border: 1px solid var(--border); border-radius: 10px; padding: 1.75rem; }
.about-card h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); margin-bottom: 0.5rem; }
.about-card p, .about-card li { font-size: 14px; color: #999; line-height: 1.6; }
.phil-banner { background: var(--orange); border-radius: 10px; padding: 2.5rem; margin-bottom: 3rem; position: relative; overflow: hidden; }
.phil-banner blockquote { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: clamp(20px, 3vw, 28px); line-height: 1.3; color: #0a0a0a; letter-spacing: 0.01em; max-width: 600px; }

/* ─── REFERENCE ─── */
.ref-intro { background: var(--mid); border: 1px solid var(--border); border-radius: 10px; padding: 2.5rem; text-align: center; margin-bottom: 2.5rem; }
.ref-intro .quote-text { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(20px, 3vw, 28px); font-weight: 700; line-height: 1.35; color: var(--white); margin-bottom: 0.75rem; }
.ref-intro .quote-author { font-size: 13px; color: var(--orange-light); letter-spacing: 0.1em; font-weight: 600; text-transform: uppercase; }
.ref-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.ref-card { background: var(--mid); border: 1px solid var(--border); border-left: 3px solid var(--orange); border-radius: 10px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.ref-card.featured { grid-column: 1 / -1; background: var(--surface); border-left: 4px solid var(--orange); }
.ref-stars { color: var(--orange); font-size: 14px; letter-spacing: 2px; }
.ref-text { font-size: 14px; color: #bbb; line-height: 1.65; font-style: italic; flex: 1; }
.ref-author { display: flex; align-items: center; gap: 10px; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.ref-av { width: 38px; height: 38px; border-radius: 50%; background: rgba(170,255,0,0.1); border: 1px solid rgba(170,255,0,0.3); display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 13px; color: var(--orange-light); flex-shrink: 0; }
.ref-name { font-size: 13px; font-weight: 600; color: var(--white); }
.ref-role { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ─── ČLÁNKY ─── */
.articles-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.article-card { background: var(--mid); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s; display: flex; flex-direction: column; text-decoration: none; }
.article-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.article-card.featured { grid-row: span 2; }
.article-thumb { background: var(--surface); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.article-card.featured .article-thumb { height: 260px; }
.article-card:not(.featured) .article-thumb { height: 130px; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.article-thumb-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 60%); z-index: 1; }
.article-thumb-title { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.15; color: #fff; z-index: 2; }
.article-card.featured .article-thumb-title { font-size: 24px; }
.article-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.article-tag { display: inline-block; background: rgba(170,255,0,0.1); color: var(--orange-light); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; align-self: flex-start; }
.article-body p, .article-excerpt { font-size: 13px; color: #888; line-height: 1.5; flex: 1; }
.article-meta { font-size: 11px; color: var(--muted); padding-top: 0.75rem; border-top: 1px solid var(--border); }

/* ─── ARCHIV ČLÁNKŮ ─── */
.blog-header { padding: 5rem 2.5rem 2rem; max-width: 1100px; margin: 0 auto; }
.blog-grid { max-width: 1100px; margin: 0 auto; padding: 0 2.5rem 5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.articles-preview-section { padding: 5rem 2.5rem; max-width: 1100px; margin: 0 auto; }
.articles-preview-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }

/* ─── SINGLE ČLÁNEK ─── */
.single-article-wrap { max-width: 720px; margin: 0 auto; padding: 6rem 2.5rem 5rem; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; text-decoration: none; margin-bottom: 2rem; letter-spacing: 0.04em; transition: color .15s; }
.back-link:hover { color: var(--white); }
.single-article-wrap h1.entry-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(32px, 5vw, 52px); text-transform: uppercase; line-height: 1.05; margin-bottom: 1rem; color: var(--white); }
.article-date { font-size: 13px; color: var(--muted); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.entry-content p { font-size: 16px; color: #bbb; line-height: 1.8; margin-bottom: 1.25rem; }
.entry-content h2, .entry-content h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin: 2rem 0 0.75rem; }
.entry-content blockquote { border-left: 3px solid var(--orange); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--mid); border-radius: 0 8px 8px 0; font-style: italic; font-size: 16px; color: #ccc; line-height: 1.65; }
.entry-content img { max-width: 100%; border-radius: 8px; margin: 1.5rem 0; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; color: #bbb; font-size: 16px; line-height: 1.8; }
.featured-image-wrap { margin-bottom: 2.5rem; border-radius: 10px; overflow: hidden; max-height: 400px; }
.featured-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ─── FOOTER ─── */
.site-footer { background: var(--dark); border-top: 1px solid var(--border); padding: 3rem 2.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-copy strong { color: var(--white); }
.footer-socials { display: flex; gap: 16px; }
.social-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: background .15s, border-color .15s; color: var(--muted); text-decoration: none; }
.social-btn:hover { background: var(--mid); border-color: var(--orange); color: var(--orange-light); }

/* ─── WP ALIGNMENTS ─── */
.wp-block-image { margin: 1.5rem 0; }
.aligncenter { text-align: center; }

/* ─── RESPONZIVITA ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem; }
  .hero-card { max-width: 340px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-bio { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .ref-card.featured { grid-column: 1 / -1; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .article-card.featured { grid-column: 1 / -1; grid-row: auto; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { padding: 2.5rem 1.25rem; gap: 2rem; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-btns { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; padding: 14px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .section-full { padding: 3.5rem 1.25rem; }
  .articles-preview-section, .blog-header { padding-left: 1.25rem; padding-right: 1.25rem; }
  .blog-grid { grid-template-columns: 1fr; padding-left: 1.25rem; padding-right: 1.25rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .ref-card.featured { grid-column: auto; }
  .about-bio { padding: 1.25rem; }
  .single-article-wrap { padding: 5rem 1.25rem 3rem; }
  .footer-inner { padding: 0; }
  .site-footer { padding: 2.5rem 1.25rem; }
}

@media (max-width: 380px) {
  .logo-wordmark .sub { display: none; }
  .stat-n { font-size: 28px; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ═══════════════════════════════════════════
   ČLENSKÁ SEKCE — styly
   ═══════════════════════════════════════════ */

/* Hero nadpis členské sekce */
.member-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: #0a0a0a;
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Preview grid (ikony obsahu pro nepřihlášené) */
.member-preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.mpg-item {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 0.75rem;
  text-align: center;
}
.mpg-icon { font-size: 28px; margin-bottom: 0.5rem; }
.mpg-text { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #bbb; }

/* Auth formuláře */
.auth-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.auth-box {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}
.auth-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.75rem;
}
.auth-box-icon { font-size: 28px; }
.auth-box-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.auth-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.auth-required { color: var(--orange); }
.auth-field input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  transition: border-color .15s;
  width: 100%;
}
.auth-field input:focus { outline: none; border-color: var(--orange); }
.auth-field input::placeholder { color: #555; }
.auth-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #777;
}
.auth-remember a { color: var(--orange-light); text-decoration: none; font-size: 12px; }
.auth-remember label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.auth-gdpr { font-size: 12px; color: #666; line-height: 1.5; }
.auth-gdpr a { color: var(--orange-light); }
.auth-gdpr label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.auth-gdpr input { margin-top: 3px; flex-shrink: 0; }
.auth-btn {
  background: var(--orange);
  color: #0a0a0a;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .15s;
  margin-top: 0.5rem;
}
.auth-btn:hover { background: var(--orange-light); }
.auth-btn-register { background: var(--orange); }
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 1.25rem;
}
.auth-switch a { color: var(--orange-light); text-decoration: none; font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }
.auth-error {
  background: rgba(255, 60, 60, 0.1);
  border: 1px solid rgba(255, 60, 60, 0.3);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 13px;
  color: #ff8080;
  margin-bottom: 1rem;
}

/* Uvítací bar přihlášeného uživatele */
.member-welcome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(170,255,0,0.06);
  border: 1px solid rgba(170,255,0,0.2);
  border-radius: 10px;
  padding: 1.1rem 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.mwb-left { display: flex; align-items: center; gap: 12px; }
.mwb-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(170,255,0,0.15);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: var(--orange);
  flex-shrink: 0;
}
.mwb-name { font-size: 15px; font-weight: 600; color: var(--white); }
.mwb-tag { font-size: 11px; color: var(--orange-light); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.btn-logout {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Barlow', sans-serif;
  transition: border-color .15s, color .15s;
  text-decoration: none;
}
.btn-logout:hover { border-color: #555; color: var(--white); }

/* Grid kategorií obsahu */
.member-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.member-cat-card {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color .2s, transform .2s;
  position: relative;
}
.member-cat-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}
.mcc-icon { font-size: 32px; margin-bottom: 0.25rem; }
.mcc-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}
.mcc-desc { font-size: 13px; color: #888; line-height: 1.5; flex: 1; }
.mcc-arrow {
  font-size: 18px;
  color: var(--orange);
  margin-top: 0.5rem;
  align-self: flex-end;
  transition: transform .15s;
}
.member-cat-card:hover .mcc-arrow { transform: translateX(4px); }

/* Breadcrumb v obsahu pro členy */
.member-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2rem;
}
.member-breadcrumb a { color: var(--orange-light); text-decoration: none; }
.member-breadcrumb a:hover { text-decoration: underline; }

/* Obsah stránky pro členy */
.member-page-hero { margin-bottom: 2.5rem; }
.member-page-content { line-height: 1.8; }
.member-page-content p { font-size: 15px; color: #bbb; margin-bottom: 1.25rem; }
.member-page-content h2, .member-page-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--white);
  margin: 2rem 0 0.75rem;
  letter-spacing: 0.04em;
}
/* Video embed wrapper */
.member-page-content .wp-block-embed,
.member-page-content iframe {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.member-page-content figure { margin: 1.5rem 0; }

/* Responzivita členské sekce */
@media (max-width: 900px) {
  .member-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .member-cats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .member-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .member-cats-grid { grid-template-columns: 1fr; }
  .auth-box { padding: 1.75rem 1.25rem; }
  .auth-field-row { grid-template-columns: 1fr; }
  .member-welcome-bar { flex-direction: column; align-items: flex-start; }
}
