/* தமிழ் காலண்டர் {year} hub (/calendar/2026, /calendar/2027; PO's vetri-titles-descriptions-v3). Tiles, notes,
   sections and recommendations come from the muhurtham / பண்டிகை pages' sheet (events/mugurtha-naatkal.css, .smn);
   this file adds the year pills and the 12 month cards, scoped under .yrh. Colours from the same sheet's tokens. */

/* 2026 · 2027: the app's pills (white, light border; the page's own year filled orange) */
.yrh .ypick{display:flex; gap:8px}
.yrh .ypick a{font:600 13.5px/1.5 var(--ff-num); padding:7px 16px; border-radius:var(--pill); border:1px solid var(--line); background:#fff; color:var(--head)}
.yrh .ypick a:hover{border-color:var(--orange)}
.yrh .ypick a[aria-current="page"]{background:var(--orange-lt); border-color:var(--orange-lt); color:#fff}

/* the three key dates side by side from tablets up */
.yrh .h4 .up .kd{display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:2px 12px; color:inherit; padding:9px 11px; border-radius:10px; background:#fff; border:1px solid #F3E2CF; min-width:0}
@media (min-width:600px){
  .yrh .h4 .up{grid-template-columns:repeat(3,minmax(0,1fr))}
  .yrh .h4 .up .kd{flex-direction:column; align-items:flex-start}
}
/* phones: the total and Tamil-year tiles as plain blocks (the muhurtham page's one-line strips do not fit this text) */
@media (max-width:759px){
  .tmc90.yrh.smn .h4.h3 .t3,.tmc90.yrh.smn .h4.h3 .t4{display:block; padding:14px 15px}
  .tmc90.yrh.smn .h4.h3 .t3 small,.tmc90.yrh.smn .h4.h3 .t4 small{margin:0 0 8px}
  .tmc90.yrh.smn .h4.h3 .t3 > span{margin-top:6px}
  .tmc90.yrh.smn .h4.h3 .t4 b{max-width:none; text-align:left; font-size:17px}
}
.yrh .h4 .t4 > span{color:#7A4E42}
.yrh .note{margin:4px 0 6px}

/* the 12 month cards */
.yrh .ygrid{display:grid; grid-template-columns:minmax(0,1fr); gap:10px}
@media (min-width:600px){.yrh .ygrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:960px){.yrh .ygrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1180px){.yrh .ygrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.yrh .mc{display:flex; flex-direction:column; gap:6px; min-width:0; border:1px solid var(--line); border-radius:var(--radius-m); background:#fff; padding:12px 14px; color:var(--body); transition:border-color .15s, box-shadow .15s}
.yrh .mc:hover{border-color:var(--orange-lt); box-shadow:var(--shadow)}
.yrh .mc:focus-visible{outline:2px solid var(--orange-lt); outline-offset:2px}
.yrh .mc .mh{display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 10px; padding-bottom:6px; border-bottom:1px solid var(--rule)}
.yrh .mc h3{font-size:15.5px; color:#000}
.yrh .mc .tm{font-size:13.5px; font-weight:600; color:var(--green-ink)}
.yrh .mc .st{font-size:12.5px; color:var(--muted); line-height:1.5}
.yrh .mc .fl{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px}
.yrh .mc .fl li{display:flex; gap:10px; align-items:baseline; font-size:13.5px; line-height:1.6; min-width:0}
.yrh .mc .fd{flex:0 0 22px; font:700 13.5px var(--ff-num); color:var(--rose-ink); text-align:right}
.yrh .mc .fn{min-width:0; overflow-wrap:anywhere; color:var(--head)}
.yrh .mc .more,.yrh .mc .none{font-size:12.5px; color:var(--muted)}
.yrh .mc .cnts{display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:auto; padding-top:6px; border-top:1px solid var(--rule); font-size:12.5px; color:var(--grey)}
.yrh .mc .cnts b{font-family:var(--ff-num); color:var(--head)}
.yrh .mc .go{font-size:13px; font-weight:600; color:var(--orange-ink)}
.yrh .mc .go::after{content:" ›"; font-size:15px}
