/* Lecture mobile du journal — namespace .jrm-*, indépendant de journal.css
   (qui reste réservé au rendu A5/print et ne doit pas être modifié). */

.jrm-journal {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px 14px 40px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1a1a1a;
}

/* Manchette (recomposition mobile de .jr-masthead) */
.jrm-masthead {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px 10px;
  margin-bottom: 14px;
  border-bottom: 4px solid #111;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.jrm-masthead-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jrm-masthead-logo img {
  max-height: 52px;
  max-width: 56px;
  object-fit: contain;
}

.jrm-masthead-clubname {
  font-family: "Anton", "Arial Narrow", sans-serif;
  font-size: 14px;
  max-width: 60px;
  display: inline-block;
}

.jrm-masthead-title {
  text-align: center;
  flex: 1;
  min-width: 0;
}

.jrm-masthead-overline {
  display: inline-block;
  background: #111;
  color: #fff;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 3px;
}

.jrm-masthead-title h1 {
  font-family: "PlayfairDisplay", Georgia, serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(28px, 9vw, 40px);
  line-height: 1;
  margin: 3px 0;
  color: #1f4ea1;
  letter-spacing: -1px;
}

.jrm-masthead-tagline {
  display: inline-block;
  background: #111;
  color: #fff;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 10px;
  padding: 1px 6px;
}

.jrm-masthead-brand {
  text-align: center;
  flex-shrink: 0;
}

.jrm-masthead-brand img {
  max-height: 40px;
  max-width: 48px;
}

.jrm-masthead-url {
  font-size: 8px;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  margin-top: 2px;
}

.jrm-masthead-date {
  font-family: Georgia, serif;
  font-size: 13px;
  border: 1px solid #111;
  width: fit-content;
  margin: 8px auto 0;
  padding: 1px 8px;
}

.jrm-section {
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.jrm-section-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-bottom: 2px solid #1b5e20;
  padding-bottom: 6px;
  margin-bottom: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.jrm-section-num {
  font-size: 12px;
  font-weight: 700;
  color: #1b5e20;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.jrm-section-label {
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
}

.jrm-headline {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.jrm-subhead {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  margin: 14px 0 8px;
}

.jrm-photo {
  margin: 0 0 12px;
}

.jrm-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.jrm-photo figcaption {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.jrm-body p {
  margin: 0 0 10px;
}

.jrm-lineup {
  font-size: 14px;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 10px 12px;
}

.jrm-quote {
  margin: 12px 0;
  padding: 10px 14px;
  border-left: 4px solid #1b5e20;
  font-style: italic;
  background: #f7faf7;
}

.jrm-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin: 10px 0;
  flex-wrap: wrap;
  text-align: center;
}

.jrm-score-nums {
  font-size: 24px;
  color: #1b5e20;
  white-space: nowrap;
}

.jrm-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  margin: 12px 0;
}

.jrm-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  padding-bottom: 6px;
  color: #1b5e20;
}

.jrm-table th,
.jrm-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

.jrm-table-score {
  white-space: nowrap;
  font-weight: 700;
  text-align: center;
}

.jrm-ad {
  margin: 14px 0 4px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.jrm-ad img {
  display: block;
  width: 100%;
  height: auto;
}

.jrm-ad a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.jrm-ad-text {
  padding: 14px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.jrm-ad-name {
  font-weight: 800;
  font-size: 16px;
}

.jrm-ad-body {
  font-size: 14px;
  color: #555;
  margin-top: 4px;
}

.jrm-ad-tag {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  background: rgba(255, 255, 255, 0.85);
  padding: 1px 5px;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
}

.jrm-agenda-day {
  margin-bottom: 12px;
}

.jrm-agenda-label {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 14px;
  color: #1b5e20;
  margin-bottom: 4px;
}

.jrm-agenda-matches {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.jrm-agenda-matches li {
  padding: 5px 0;
  border-bottom: 1px dashed #e0e0e0;
}

.jrm-agenda-time {
  font-weight: 700;
}

.jrm-agenda-club {
  font-weight: 800;
  color: #1b5e20;
}

.jrm-annonce {
  margin-bottom: 14px;
}

.jrm-annonce-cat {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #b71c1c;
}

.jrm-annonce-title {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 2px 0 4px;
}
