/* 2027 pages (shared with kalenderpdf.se) – uses the variables from styles-v7.css */
.hero-preview { height: auto; aspect-ratio: 1.3; border-radius: 1.55rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-preview.portrait { aspect-ratio: 0.95; }
.hero-preview.portrait img { height: 92%; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; }
.card-actions .button { min-height: 2.8rem; padding: 0.6rem 1rem; font-size: 0.92rem; }
.template-copy { display: flex; flex-direction: column; }
.template-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.year-links { border-block: 1px solid var(--line); background: #fff; }
.year-links .container { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; align-items: center; padding: 0.9rem 0; }
.year-links span { margin-right: 0.3rem; color: var(--muted); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.year-links a { padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; font-weight: 700; text-decoration: none; }
.year-links a:hover { border-color: var(--teal); background: var(--teal-soft); }
.year-links a[aria-current="page"] { border-color: var(--teal); background: var(--teal); color: #fff; }
.year-section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.year-section.alt { background: #fff; border-block: 1px solid var(--soft-line); }
.year-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.month-card { min-width: 0; padding: 1rem 1rem 0.8rem; border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; }
.month-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.month-card table { width: 100%; border-collapse: collapse; font-size: 0.86rem; font-variant-numeric: tabular-nums; text-align: center; }
.month-card th { padding: 0.2rem 0; color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.month-card td { padding: 0.18rem 0; }
.month-card .wk { color: var(--teal); font-size: 0.7rem; font-weight: 700; }
.month-card td.sun { color: var(--coral-dark); }
.month-card td.red { color: var(--coral-dark); font-weight: 800; background: radial-gradient(circle, var(--coral-soft) 0 0.85rem, transparent 0.9rem); }
.year-note { max-width: 52rem; margin: 1.6rem 0 0; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 1.1rem; background: #fff; }
.date-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.date-table th, .date-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--soft-line); text-align: left; }
.date-table thead th { background: var(--teal-soft); color: var(--teal-dark); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.date-table tbody th { font-weight: 750; }
.date-table tbody tr:last-child > * { border-bottom: 0; }
.week-table td:last-child { color: var(--coral-dark); font-weight: 700; }
.narrow-text { max-width: 52rem; }
.plain-list { padding-left: 1.2rem; color: #4d554f; font-size: 1.05rem; }
.plain-list li { margin-bottom: 0.5rem; }
.year-promo .button + .button { margin-left: 0.6rem; }
.year-promo .bundle-copy > p a { color: #fff; }
.year-callout { margin: 1.4rem 0 0; color: #59615c; font-weight: 600; }
.year-callout a { color: var(--coral-dark); font-weight: 800; }
@media (max-width: 68rem) { .year-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 54rem) { .year-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .template-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 42rem) {
  .year-grid { grid-template-columns: 1fr; }
  .date-table th, .date-table td { padding: 0.55rem 0.6rem; font-size: 0.9rem; }
  .year-promo .button + .button { margin: 0.6rem 0 0; }
}
@media print { .year-links { display: none; } }
