
/* =====================================================
   Η ΦΩΝΗ ΤΩΝ ΠΡΟΠΟΝΗΤΩΝ — Component CSS
   Scoped to .com-coachvoices to avoid template conflicts
   ===================================================== */

.com-coachvoices { font-family: inherit; color: inherit; }
.com-coachvoices *, .com-coachvoices *::before, .com-coachvoices *::after { box-sizing: border-box; }

/* PROPONITIS BANNER */
.cv-propo-banner {
  background: linear-gradient(135deg, #1a3c5e 0%, #2563a8 100%);
  border-radius: 10px; padding: 16px 20px; margin: 0 0 24px;
  box-shadow: 0 4px 15px rgba(37,99,168,0.25);
}
.cv-propo-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cv-propo-icon { font-size: 2rem; flex-shrink: 0; }
.cv-propo-text { flex: 1; color: #fff; min-width: 200px; }
.cv-propo-text strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.cv-propo-text span { font-size: 0.9rem; opacity: 0.9; }
.cv-propo-btn {
  background: #f59e0b; color: #1a1a1a; padding: 10px 20px; border-radius: 6px;
  font-weight: 700; text-decoration: none; white-space: nowrap; font-size: 0.9rem;
  transition: background 0.2s;
}
.cv-propo-btn:hover { background: #fbbf24; color: #1a1a1a; text-decoration: none; }

/* BOTTOM CTA */
.cv-propo-cta-bottom {
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  border-radius: 10px; padding: 28px 32px; margin: 32px 0;
  text-align: center;
}
.cv-propo-cta-inner h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.cv-propo-cta-inner p { color: #d1fae5; margin-bottom: 18px; }
.cv-propo-btn-lg {
  display: inline-block; background: #f59e0b; color: #1a1a1a;
  padding: 14px 32px; border-radius: 8px; font-weight: 700;
  font-size: 1rem; text-decoration: none; transition: background 0.2s;
}
.cv-propo-btn-lg:hover { background: #fbbf24; color: #1a1a1a; text-decoration: none; }

/* HERO */
.cv-hero { text-align: center; padding: 32px 16px 24px; }
.cv-main-title { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 800; margin-bottom: 10px; color: #1a3c5e; }
.cv-subtitle { font-size: 1rem; color: #555; margin-bottom: 20px; font-style: italic; }

/* BUTTONS */
.cv-btn-submit {
  display: inline-block; background: #2563a8; color: #fff;
  padding: 12px 24px; border-radius: 8px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; font-size: 1rem;
  transition: background 0.2s;
}
.cv-btn-submit:hover { background: #1a3c5e; color: #fff; text-decoration: none; }
.cv-btn-submit.cv-btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.cv-btn-submit.cv-btn-lg { padding: 14px 32px; font-size: 1.05rem; }
.cv-btn-submit.cv-btn-login { background: #6b7280; }
.cv-btn-cancel { color: #6b7280; text-decoration: none; margin-left: 12px; }
.cv-back-link { color: #2563a8; text-decoration: none; font-size: 0.9rem; }

/* LAYOUT */
.cv-layout { display: flex; gap: 28px; align-items: flex-start; }
.cv-main-col { flex: 1; min-width: 0; }
.cv-sidebar { width: 260px; flex-shrink: 0; }
@media (max-width: 768px) {
  .cv-layout { flex-direction: column; }
  .cv-sidebar { width: 100%; }
  .cv-propo-inner { flex-direction: column; text-align: center; }
}

/* SECTION */
.cv-section { margin-bottom: 32px; }
.cv-section-title { font-size: 1.2rem; font-weight: 700; color: #1a3c5e; border-bottom: 2px solid #e5e7eb; padding-bottom: 8px; margin-bottom: 16px; }

/* SEARCH */
.cv-search-bar { margin-bottom: 16px; display: flex; gap: 8px; }
.cv-search-input { flex: 1; padding: 10px 14px; border: 2px solid #d1d5db; border-radius: 8px; font-size: 0.95rem; transition: border-color 0.2s; }
.cv-search-input:focus { outline: none; border-color: #2563a8; }
.cv-search-btn { background: #2563a8; color: #fff; border: none; padding: 10px 16px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }

/* FILTERS */
.cv-cat-filter, .cv-sort-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cv-cat-pill, .cv-sort-pill {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid #d1d5db; color: #374151; text-decoration: none;
  font-size: 0.85rem; font-weight: 500; transition: all 0.15s;
}
.cv-cat-pill:hover, .cv-sort-pill:hover { border-color: #2563a8; color: #2563a8; text-decoration: none; }
.cv-cat-pill.active, .cv-sort-pill.active { background: #2563a8; border-color: #2563a8; color: #fff; }

/* GRID */
.cv-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 20px; }
@media (max-width: 640px) { .cv-grid { grid-template-columns: 1fr; } }

/* OPINION CARD */
.cv-card {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
  padding: 20px; position: relative; transition: box-shadow 0.2s;
  display: flex; flex-direction: column; gap: 10px;
}
.cv-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.cv-card-cat { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280; font-weight: 600; }
.cv-cat-icon { margin-right: 4px; }
.cv-featured-badge { position: absolute; top: 12px; right: 12px; font-size: 0.75rem; background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.cv-card-title { font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.4; }
.cv-card-title a { color: #1a3c5e; text-decoration: none; }
.cv-card-title a:hover { color: #2563a8; text-decoration: underline; }
.cv-card-excerpt { font-size: 0.9rem; color: #4b5563; line-height: 1.6; margin: 0; flex: 1; }
.cv-card-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: #6b7280; }
.cv-card-meta a { color: #2563a8; text-decoration: none; }
.cv-read-more { display: inline-block; color: #2563a8; font-size: 0.875rem; font-weight: 600; text-decoration: none; margin-top: auto; }
.cv-read-more:hover { text-decoration: underline; }

/* ARTICLE PAGE */
.cv-breadcrumb { font-size: 0.85rem; color: #6b7280; margin-bottom: 20px; }
.cv-breadcrumb a { color: #2563a8; text-decoration: none; }
.cv-breadcrumb a:hover { text-decoration: underline; }
.cv-article { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 32px; margin-bottom: 24px; }
.cv-article-header { margin-bottom: 24px; border-bottom: 1px solid #f3f4f6; padding-bottom: 20px; }
.cv-article-cat { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; font-weight: 600; margin-bottom: 10px; }
.cv-article-title { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; color: #1a3c5e; line-height: 1.3; margin-bottom: 14px; }
.cv-article-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: #6b7280; }
.cv-article-meta a { color: #2563a8; text-decoration: none; }
.cv-article-body { font-size: 1.05rem; line-height: 1.8; color: #1f2937; }
.cv-article-body p { margin-bottom: 1.2em; }
.cv-article-body h2, .cv-article-body h3 { color: #1a3c5e; margin: 1.5em 0 0.7em; }
.cv-article-footer { margin-top: 28px; padding-top: 20px; border-top: 1px solid #f3f4f6; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }

/* REACTIONS & SHARING */
.cv-like-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f9fafb; border: 2px solid #e5e7eb; border-radius: 8px;
  padding: 8px 16px; cursor: pointer; font-size: 0.9rem; transition: all 0.15s;
}
.cv-like-btn:hover { border-color: #ef4444; background: #fef2f2; }
.cv-like-btn.liked { border-color: #ef4444; background: #fef2f2; color: #ef4444; }
.cv-likes-display { font-size: 0.9rem; color: #6b7280; }
.cv-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.875rem; }
.cv-share a, .cv-copy-link {
  padding: 6px 12px; border-radius: 6px; text-decoration: none; font-weight: 600;
  font-size: 0.8rem; border: none; cursor: pointer; transition: opacity 0.15s;
}
.cv-share a:hover, .cv-copy-link:hover { opacity: 0.8; text-decoration: none; }
.cv-share-fb { background: #1877f2; color: #fff; }
.cv-share-wa { background: #25d366; color: #fff; }
.cv-share-li { background: #0a66c2; color: #fff; }
.cv-share-x { background: #000; color: #fff; }
.cv-copy-link { background: #f3f4f6; color: #374151; }

/* RELATED */
.cv-related { margin: 24px 0; }
.cv-related h3 { font-size: 1.1rem; font-weight: 700; color: #1a3c5e; margin-bottom: 14px; }
.cv-related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 14px; }
.cv-related-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; }
.cv-related-card a { color: #1a3c5e; text-decoration: none; font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 6px; }
.cv-related-card a:hover { color: #2563a8; }
.cv-related-author { font-size: 0.78rem; color: #6b7280; }

/* COMMENTS */
.cv-comments { margin: 24px 0; }
.cv-comments h3 { font-size: 1.1rem; font-weight: 700; color: #1a3c5e; margin-bottom: 16px; }
.cv-comments-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.cv-comment { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; }
.cv-comment-meta { font-size: 0.82rem; color: #6b7280; margin-bottom: 6px; }
.cv-comment-meta strong { color: #1f2937; }
.cv-comment-text { font-size: 0.93rem; line-height: 1.6; color: #374151; }
.cv-comment-form { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px; }
.cv-comment-form h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; color: #1a3c5e; }
.cv-comment-textarea { width: 100%; padding: 10px 14px; border: 2px solid #d1d5db; border-radius: 8px; font-size: 0.93rem; resize: vertical; font-family: inherit; transition: border-color 0.2s; }
.cv-comment-textarea:focus { outline: none; border-color: #2563a8; }
.cv-no-comments { color: #6b7280; font-style: italic; }
.cv-login-prompt { color: #6b7280; font-size: 0.9rem; }
.cv-login-prompt a { color: #2563a8; }

/* SIDEBAR */
.cv-sidebar-block { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 10px; padding: 18px; margin-bottom: 20px; }
.cv-sidebar-block h3 { font-size: 0.95rem; font-weight: 700; color: #1a3c5e; margin-bottom: 14px; border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; }
.cv-sidebar-item { margin-bottom: 14px; display: flex; gap: 8px; align-items: flex-start; }
.cv-sidebar-item a { color: #1a3c5e; text-decoration: none; font-size: 0.875rem; font-weight: 600; line-height: 1.4; }
.cv-sidebar-item a:hover { color: #2563a8; }
.cv-sidebar-meta { display: block; font-size: 0.75rem; color: #6b7280; margin-top: 3px; }
.cv-sidebar-submit p { font-size: 0.875rem; color: #4b5563; margin-bottom: 12px; }

/* FORM PAGE */
.cv-form-container { max-width: 780px; margin: 0 auto; padding: 20px; }
.cv-form-header h1 { font-size: 1.8rem; font-weight: 800; color: #1a3c5e; margin-bottom: 10px; }
.cv-form-intro { color: #4b5563; font-size: 1rem; line-height: 1.7; margin-bottom: 20px; }
.cv-form-notice { background: #eff6ff; border-left: 4px solid #2563a8; padding: 14px 18px; border-radius: 6px; margin-bottom: 24px; font-size: 0.9rem; line-height: 1.7; color: #1e40af; }
.cv-form-group { margin-bottom: 22px; }
.cv-label { display: block; font-weight: 600; font-size: 0.93rem; color: #1f2937; margin-bottom: 6px; }
.cv-label .star { color: #ef4444; }
.cv-input, .cv-select, .cv-textarea { width: 100%; padding: 10px 14px; border: 2px solid #d1d5db; border-radius: 8px; font-size: 0.95rem; font-family: inherit; color: #1f2937; transition: border-color 0.2s; }
.cv-input:focus, .cv-select:focus, .cv-textarea:focus { outline: none; border-color: #2563a8; }
.cv-textarea { resize: vertical; line-height: 1.7; }
.cv-form-hint { font-size: 0.8rem; color: #6b7280; margin-top: 5px; }
.cv-optional-section { border: 1px solid #e5e7eb; border-radius: 8px; padding: 4px 14px; margin-bottom: 22px; }
.cv-optional-section summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; color: #2563a8; padding: 10px 0; }
.cv-optional-fields { padding: 12px 0 4px; }
.cv-anonymous-group { background: #fafafa; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; }
.cv-checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: 0.93rem; }
.cv-checkbox-label input[type=checkbox] { width: 18px; height: 18px; cursor: pointer; accent-color: #2563a8; }
.cv-form-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cv-submit-note { font-size: 0.82rem; color: #6b7280; margin-top: 14px; }

/* AUTHOR PROFILE */
.cv-author-profile { max-width: 760px; margin: 0 auto; padding: 20px; }
.cv-author-header { display: flex; gap: 20px; align-items: flex-start; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; margin-bottom: 28px; }
.cv-author-avatar { font-size: 3rem; }
.cv-author-info h1 { font-size: 1.5rem; font-weight: 800; color: #1a3c5e; margin-bottom: 8px; }
.cv-author-info p { font-size: 0.9rem; color: #4b5563; margin: 4px 0; }
.cv-member-since { color: #6b7280 !important; font-size: 0.82rem !important; }
.cv-list { display: flex; flex-direction: column; gap: 12px; }
.cv-list-item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 14px; }
.cv-list-title { display: block; font-weight: 700; color: #1a3c5e; text-decoration: none; margin-bottom: 5px; }
.cv-list-title:hover { color: #2563a8; }
.cv-list-meta { font-size: 0.8rem; color: #6b7280; }

/* ADMIN DASHBOARD */
.cv-admin-dashboard .card { transition: box-shadow 0.15s; }
.cv-admin-dashboard .card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

/* EMPTY STATE */
.cv-empty { text-align: center; padding: 40px 20px; color: #6b7280; }

/* MISC */
.cv-wrapper a { color: inherit; }
.mt-3 { margin-top: 1rem; }
