/* Interest pages: Classes, Workshops & lectures and Events cards (28 Oct 2026).
   inc/overhaul/27-interest-cards.php. The approved mockups' CSS (comps-ia-v2, style
   #ia-mockup-v2, parts 2 and 4), on top of the /events/ card (.rhx-ev-card, 30-events.css)
   and the next-times section frame (.rh-next-times, 50-disciplines.css). Restyles nothing
   else on the page. */

/* The button: the site's own rust button with an arrow. */
.rh-ia-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:52px;
  padding:13px 24px;background:var(--rust);color:#fff;border:1.5px solid var(--rust);border-radius:0;
  font-family:var(--b);font-size:17px;font-weight:600;line-height:1.2;letter-spacing:0;text-transform:none;
  text-decoration:none;cursor:pointer;
  transition:background-color .15s ease,border-color .15s ease,transform .08s ease}
.rh-ia-btn .rh-ia-arrow{display:inline-block;transition:transform .15s ease}
.rh-ia-btn:hover,.rh-ia-btn:focus-visible{background:#96411F;border-color:#96411F;color:#fff;text-decoration:none}
.rh-ia-btn:hover .rh-ia-arrow{transform:translateX(4px)}
.rh-ia-btn:active{background:#7A3418;border-color:#7A3418;transform:translateY(2px)}
.rh-ia-btn:focus-visible{outline:3px solid var(--river);outline-offset:3px}

/* The sections and the grid. */
.rh-ia-section + .rh-ia-section{border-top:1px solid var(--rule)}
.rh-ia-section .rh-next-times__note{font-size:18px;line-height:1.45;max-width:62ch}
.rh-ia-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:26px 0 0;
  padding:0;list-style:none;align-items:stretch}
.rh-ia-grid > li{margin:0;padding:0;list-style:none}
@media(max-width:760px){.rh-ia-grid{grid-template-columns:minmax(0,1fr);gap:20px}}
.rh-ia-section .rh-next-times__foot{margin-top:30px}

/* The card: the /events/ card, which here is an article holding its own links. */
article.rh-ia-card.rhx-ev-card{height:100%}
article.rh-ia-card.rhx-ev-card:hover{transform:none;border-color:rgba(95,122,99,.24)}
.rh-ia-card .rhx-ev-card__media{display:block}
.rh-ia-card .rhx-ev-card__body{gap:8px;padding:22px 24px 26px}
.rh-ia-card .rhx-ev-card__postponed{align-self:flex-start}
.rh-ia-format{font-size:.82rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--clay-tx)}
.rh-ia-card .rhx-ev-card__title{font-size:1.45rem;margin:0}
.rh-ia-when{font-size:1.02rem;font-weight:700;color:var(--pine);line-height:1.4}
.rh-ia-card .rhx-ev-card__sum{font-size:1.02rem;line-height:1.55;max-width:none}
.rh-ia-card .rhx-ev-card__meta{font-size:.98rem}
.rh-ia-places{font-size:.98rem;font-weight:600;color:var(--tx-2)}
.rh-ia-places--few{color:var(--rust-tx)}

/* Date pills (class cards): straight to that date's booking page. */
.rh-ia-dates{display:block;margin-top:8px}
.rh-ia-dates__label{display:block;font-size:.95rem;font-weight:600;color:var(--tx-2)}
.rh-ia-dates__row{display:block;margin-top:12px;font-size:.95rem;font-weight:700;color:var(--pine)}
.rh-ia-pills{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:10px;margin:8px 0 0;padding:0;list-style:none}
.rh-ia-pills li{margin:0 !important;padding:0;list-style:none;flex:0 0 auto;width:auto} /* a phone rule elsewhere centers bare li */
.rh-ia-pill{display:inline-flex;align-items:center;min-height:46px;padding:8px 15px;
  border:1.5px solid var(--river);background:transparent;color:var(--river);font-size:16px;font-weight:600;
  line-height:1.2;text-decoration:none;white-space:nowrap;transition:background-color .15s ease,color .15s ease}
a.rh-ia-pill:hover,a.rh-ia-pill:focus-visible{background:var(--river);color:var(--paper);text-decoration:none}
a.rh-ia-pill:active{transform:translateY(2px)}
a.rh-ia-pill:focus-visible{outline:3px solid var(--river);outline-offset:3px}
.rh-ia-pill--off{border-color:var(--rule);color:var(--tx-2);cursor:default}

.rh-ia-act{margin-top:auto;padding-top:20px}
@media(max-width:640px){.rh-ia-act .rh-ia-btn{display:flex;width:100%}}
