/* Current monthly PDF timetable. Works with the existing EBTA green and yellow theme. */
.ebta-monthly-download { padding: 22px 0 44px; }
.ebta-monthly-download .monthly-download-card {
  position:relative; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);
  gap:clamp(20px,4vw,52px); align-items:center; overflow:hidden;
  background:linear-gradient(115deg,#fff 0%,#f6fbf5 70%,#ecf6ee 100%);
  border:1px solid rgba(46,125,50,.18); border-radius:23px;
  padding:clamp(22px,4vw,44px); box-shadow:0 14px 38px rgba(21,70,34,.08);
}
.ebta-monthly-download .monthly-download-card:before { content:""; position:absolute; top:0; left:0; height:5px; width:100%; background:linear-gradient(90deg,#2e7d32 0%,#2e7d32 75%,#ffeb3b 75%,#ffeb3b); }
.ebta-monthly-download .monthly-eyebrow { display:inline-flex; align-items:center; gap:.55rem; font-size:.79rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#2e7d32; }
.ebta-monthly-download .monthly-eyebrow:before { content:""; width:9px; height:9px; border-radius:50%; background:#ffcb15; box-shadow:0 0 0 4px rgba(255,235,59,.2); }
.ebta-monthly-download h2 { margin:10px 0 12px; text-align:left; font-size:clamp(1.55rem,2vw + 1rem,2.35rem); line-height:1.19; letter-spacing:-.02em; color:#2e7d32; }
.ebta-monthly-download h2:after { display:none; }
.ebta-monthly-download p { margin:0; max-width:620px; color:#435047; line-height:1.75; }
.ebta-monthly-download .monthly-points { display:flex; flex-wrap:wrap; gap:10px 22px; margin:18px 0 24px; color:#245c33; font-size:.91rem; }
.ebta-monthly-download .monthly-points span { display:inline-flex; gap:8px; align-items:center; }
.ebta-monthly-download .monthly-points i { color:#2e7d32; }
.ebta-monthly-download .monthly-actions { display:flex; gap:11px; flex-wrap:wrap; align-items:center; }
.ebta-monthly-download .monthly-actions .btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:47px; padding:.73rem 1.2rem; text-align:center; }
.ebta-monthly-download .monthly-actions .btn i { font-size:.98em; }
.ebta-monthly-download .pdf-sheet { position:relative; width:100%; max-width:258px; margin:0 auto; aspect-ratio: 3 / 3.8; border:1px solid #d4e1d3; border-radius:10px; padding:24px 18px 18px; background:#fff; box-shadow: 14px 14px 0 rgba(46,125,50,.09),0 18px 32px rgba(0,0,0,.09); transform:rotate(2deg); transition: transform .5s ease, box-shadow .5s ease; }
.ebta-monthly-download .monthly-download-card:hover .pdf-sheet { transform:rotate(0deg) translateY(-4px); box-shadow:14px 16px 0 rgba(46,125,50,.10),0 22px 36px rgba(0,0,0,.10); }
.ebta-monthly-download .pdf-sheet::before { content:""; height:6px; position:absolute; top:0; left:0; right:0; background:linear-gradient(90deg,#2e7d32 0%,#2e7d32 83%,#ffeb3b 83%); border-radius:9px 9px 0 0; }
.ebta-monthly-download .pdf-sheet-head { display:flex; align-items:center; gap:10px; border-bottom:1px solid #d8e6d6; padding-bottom:12px; }
.ebta-monthly-download .pdf-sheet-head img { width:43px; height:43px; object-fit:contain; }
.ebta-monthly-download .pdf-sheet-head strong { display:block; font-size:.68rem; line-height:1.4; letter-spacing:.015em; color:#1c622e; }
.ebta-monthly-download .pdf-sheet-label { font-size:.69rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#45744c; margin-top:23px; }
.ebta-monthly-download .pdf-sheet-title { color:#14632d; font-weight:800; font-size:1.7rem; line-height:1.05; margin:8px 0 9px; }
.ebta-monthly-download .pdf-sheet-year { font-size:1.04rem; color:#19682d; font-weight:700; }
.ebta-monthly-download .pdf-sheet-lines { display:grid; gap:9px; margin-top:22px; }
.ebta-monthly-download .pdf-sheet-lines i { height:9px; background:#edf5ec; border-radius:4px; display:block; }
.ebta-monthly-download .pdf-sheet-lines i:nth-child(2) { width:88%; }
.ebta-monthly-download .pdf-sheet-lines i:nth-child(3) { width:70%; }
.ebta-monthly-download .pdf-sheet-tag { position:absolute; bottom:16px; left:18px; right:18px; display:flex; justify-content:space-between; align-items:center; font-weight:700; color:#225f32; font-size:.63rem; border-top:1px solid #dcebd8; padding-top:12px; }
.ebta-monthly-download .pdf-sheet-tag b { color:#173f24; background:#ffef8c; padding:3px 7px; border-radius:5px; }
/* Smaller homepage version: maintain the original page sections around it. */
.ebta-monthly-download.ebta-monthly-home { padding: 0 0 66px; }
.ebta-monthly-home .monthly-download-card { grid-template-columns:minmax(0,1fr) auto; padding:24px 30px; gap:24px; }
.ebta-monthly-home h2 { font-size:clamp(1.4rem,1.4vw + 1rem,1.9rem); margin:7px 0; }
.ebta-monthly-home .monthly-home-actions { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.ebta-monthly-home .monthly-home-actions .btn { display:inline-flex; gap:8px; align-items:center; justify-content:center; text-align:center; white-space:nowrap; }
@media (max-width:750px){
  .ebta-monthly-download .monthly-download-card { grid-template-columns:1fr; gap:30px; }
  .ebta-monthly-download .pdf-sheet { max-width:230px; }
  .ebta-monthly-home .monthly-download-card { grid-template-columns:1fr; padding:24px; }
  .ebta-monthly-home .monthly-home-actions { justify-content:flex-start; }
  .ebta-monthly-download .monthly-actions .btn { flex:1 1 165px; }
}
@media(max-width:420px){
  .ebta-monthly-download { padding: 12px 0 32px; }
  .ebta-monthly-download .monthly-download-card { padding:22px 18px; }
  .ebta-monthly-home .monthly-home-actions .btn { white-space:normal; }
}
@media(prefers-reduced-motion:reduce){
  .ebta-monthly-download .pdf-sheet { transition:none; transform:none; }
  .ebta-monthly-download .monthly-download-card:hover .pdf-sheet { transform:none; }
}
