/* -----------------------
   Base & Utility Styles
   ----------------------- */
body.dark {
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: #09f;
}
a:hover {
  text-decoration: underline;
}

/* -----------------------
   Header & Nav
   ----------------------- */
.site-header {
  background-color: #000;
  padding: 1rem;
  text-align: center;
}
.logo {
  max-width: 200px;
  display: block;
  margin: 0 auto;
}
.main-nav {
  background-color: #111;
  padding: 0.75rem;
  text-align: center;
}
.main-nav a {
  color: #fff;
  margin: 0 1rem;
  font-weight: 500;
}
.main-nav a.active {
  color: #09f;
  font-weight: bold;
}

/* -----------------------
   Container & Sections
   ----------------------- */
.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.section-title {
  font-size: 1.75rem;
  color: #09f;
  margin-bottom: 0.5rem;
}
.text-lead {
  color: #ddd;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.flex-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
}
.flex-col-150 {
  flex: 0 0 150px;
  margin-right: 1rem;
}

/* -----------------------
   About Me
   ----------------------- */
.profile-pic {
  width: 150px;
  border-radius: 50%;
  border: 3px solid #444;
}
.bio-text {
  flex: 1;
  color: #eee;
  line-height: 1.6;
}

/* -----------------------
   Services List
   ----------------------- */
.services-list {
  list-style: disc inside;
  line-height: 1.6;
  color: #eee;
  margin-bottom: 3rem;
}

/* -----------------------
   Quick Links
   ----------------------- */
.articles-list {
  list-style: none;
  padding: 0;
  line-height: 1.8;
  color: #eee;
  margin-bottom: 3rem;
}

/* -----------------------
   Testimonials
   ----------------------- */
.testimonials {
  margin-bottom: 3rem;
  color: #eee;
}
.testimonial-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.testimonial-avatar {
  flex: 0 0 80px;
  margin-right: 1rem;
}
.testimonial-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #444;
}
.testimonial-text {
  flex: 1;
  border-left: 4px solid #444;
  padding-left: 1rem;
  color: #ccc;
}

/* -----------------------
   Lite YouTube Embed
   ----------------------- */
.yt-lite {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  background: #000;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.yt-lite img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-lite .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  background: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8v...') no-repeat center center;
  background-size: 68px 48px;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}
.yt-lite:hover .play-button {
  opacity: 1;
}

/* -----------------------
   Tables (Exercises & Drills)
   ----------------------- */
.search-input {
  width: 100%;
  padding: 8px;
  margin-bottom: 1rem;
  background: #111;
  color: #fff;
  border: 1px solid #333;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #111;
}
.data-table th,
.data-table td {
  padding: 8px;
  border-bottom: 1px solid #333;
  color: #fff;
}
.data-table th {
  cursor: pointer;
}
.data-table th:hover {
  background: #222;
}

/* -----------------------
   Footer
   ----------------------- */
.site-footer {
  background: #000;
  color: #666;
  text-align: center;
  padding: 2rem 0;
}
/* ─────────────────────────────────────────────────────────────────── */
/* DARK THEME & ARTICLE-FEED STYLES (for /members/ pages)             */
/* ─────────────────────────────────────────────────────────────────── */
body.dark {
  background: #000;
  color: #fff;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.site-header {
  text-align: center;
  padding: 1rem 0;
  background: transparent;
}

.logo {
  max-width: 200px;
  display: block;
  margin: 0 auto;
}

.main-nav {
  background-color: #111;
  padding: 0.75rem;
  text-align: center;
}

.main-nav a {
  color: #fff;
  margin: 0 1rem;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  color: #09f;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.section-title {
  font-size: 2rem;
  color: #09f;
  margin-bottom: 0.5rem;
}

.text-lead {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.back-link {
  color: #09f;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

#feed-container {
  margin-top: 1rem;
}

.feed-error {
  background: #400;
  padding: 0.5rem;
  border-radius: 4px;
  margin: 1rem 0;
}

.feed-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #333;
}

.feed-item h2 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.feed-item .meta {
  font-size: 0.85rem;
  color: #999;
}

.feed-item p {
  margin: 0.5rem 0 0;
}

.site-footer {
  text-align: center;
  padding: 2rem 0;
  color: #666;
  background: transparent;
}
/* ─────────────────────────────────────────────────────────────────── */
