/* ============================================================
   FONT SIZE SYSTEM (CRITICAL FOR A+ BUTTON)
   ============================================================ */


   /* Base desktop size */
html {
  font-size: 16px;
}

/* Mobile default: much larger */
@media (max-width: 600px) {
  html {
    font-size: 24px; /* or even 22px if you want a big jump */
  }
}
/* Normal Mode */
html {
  font-size: 22px;   /* 1rem = 22px */
}

/* XL Mode */
html.xl-mode {
  font-size: 26px   !important;  /* 1rem = 26px */
}

/* XXL Mode */
html.xxl-mode {
  font-size: 30px !important;   /* 1rem = 30px */
}

/* ============================================================
   GLOBAL BASE STYLES
   ============================================================ */

body {
  margin: 0;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.6;
  background: #fafafa;
  color: #000;
}

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

/* ============================================================
   HEADER / MASTHEAD
   ============================================================ */

.clcc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 2px solid #000;
}

.clcc-badge {
  background: #000;
  color: #fff;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.clcc-masthead h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.clcc-motto {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  color: #444;
}

/* A+ Button */
.font-button {
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
}

/* Edition Bar */
.clcc-edition-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid #000;
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.clcc-nav {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #000;
}

.clcc-nav a {
  text-decoration: none;
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
}

.clcc-nav a:hover {
  text-decoration: underline;
}

/* ============================================================
   HEADINGS & TEXT
   ============================================================ */

.section-title {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #444;
}

.article-body {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* ============================================================
   TABLES
   ============================================================ */

.table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #000;
  padding: 0.6rem 0.8rem;
  text-align: left;
}

.responsive-table th {
  background: #eee;
  font-weight: 700;
}

/* ============================================================
   ARTICLE GRID / CARDS
   ============================================================ */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-card {
  background: #fff;
  border: 1px solid #ccc;
  padding: 1rem;
}

.article-card h2 {
  font-size: 1.3rem;
  margin-top: 0;
}

/* ============================================================
   LISTS
   ============================================================ */

.clcc-list {
  list-style: disc;
  padding-left: 1.5rem;
  font-size: 1rem;
}

.clcc-list li {
  margin-bottom: 0.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.clcc-footer {
  margin-top: 3rem;
  padding: 1rem 0;
  border-top: 2px solid #000;
  text-align: center;
  font-size: 0.9rem;
  color: #333;
}