/* ===========================
   📱 MOBILE-ONLY VERSION
   For Meilleurs Dividendes 2025
   =========================== */

/* Main Container */
.main-container {
  width: 100%;
  margin: 10px auto;
  padding: 0 10px;
}

/* Article Container */
.dividend-article {
  background: #fff;
  border-radius: 6px;
  box-shadow: none;
  padding: 20px 15px;
  margin-bottom: 20px;
}

/* Article Header */
.article-header {
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #007bff;
}

.article-header h1 {
  color: #2c3e50;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-meta {
  color: #6c757d;
  font-style: italic;
  font-size: 0.95rem;
}

/* Intro */
.article-intro {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 25px;
}

.article-intro strong {
  color: #007bff;
}

/* Key Stats */
.key-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 10px;
}

.stat-box {
  width: 100%;
  text-align: center;
  padding: 15px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.stat-label {
  display: block;
  color: #6c757d;
  font-size: 0.85rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-value {
  display: block;
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Dividend Ranking */
.dividend-ranking h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.dividend-ranking h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #007bff;
}

/* Tables simplified for mobile scroll */
.dividend-table-container {
  overflow-x: auto;
  margin: 15px 0;
}

.dividend-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.dividend-table thead {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  font-size: 0.85rem;
}

.dividend-table th,
.dividend-table td {
  padding: 10px 5px;
  font-size: 0.85rem;
  text-align: left;
}

.company-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.company-logo-small {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.rank-cell {
  font-weight: 700;
  color: #007bff;
}

.yield-cell {
  color: #28a745;
  font-weight: 600;
}

.perf-positive {
  color: #28a745;
  font-weight: 600;
}

.perf-negative {
  color: #dc3545;
  font-weight: 600;
}

.perf-neutral {
  color: #6c757d;
}

/* Analysis Section */
.analysis-section {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 2px solid #e9ecef;
}

.analysis-section h2 {
  color: #2c3e50;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 20px;
}

.company-analysis {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  border-radius: 5px;
}

.company-analysis h3 {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.company-analysis p {
  line-height: 1.7;
  color: #495057;
  font-size: 0.95rem;
}

/* Investment Guide */
.investment-guide {
  margin-top: 30px;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
}

.investment-guide h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 15px;
}

.guide-content h3 {
  font-size: 1.1rem;
}

.guide-content ul {
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Tax Info + Risks */
.tax-info,
.risk-warning {
  padding: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.risk-warning h3 {
  font-size: 1.1rem;
}

/* Conclusion */
.conclusion h2 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 10px;
}

.conclusion p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* CTA */
.cta-section .cta-box {
  background: #f0f4ff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  padding: 10px 0;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
}

/* Footer */
.footer-container {
  padding: 15px;
  background: #f9f9f9;
}

.footer-section .row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer h1 {
  font-size: 1.1rem !important;
}

.footer h4 {
  font-size: 1rem;
}

.contact-email {
  word-break: break-all;
}

/* Header */
.topheader {
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

.menu_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand h1 {
  font-size: 1.3rem;
}

.brand .tagline {
  font-size: 0.9rem;
  color: #555;
}

.header_appstore_div {
  width: 100%;
  margin-top: 10px;
}

.Search_div {
  width: 100%;
  padding: 0 10px;
}

#searchme {
  width: 100%;
  font-size: 1rem;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
