/* ============================================================
   URN workshop pages (workshops.php + includes/workshop-template.php)
   Builds on urn-home.css (.uh tokens, buttons, sections); only the
   workshop-specific pieces live here. Mobile-first.
   ============================================================ */

.wsp .wsp-hero h1 { max-width: 820px; }
.wsp .uh-eyebrow i { margin-right: 4px; }

.wsp-facts {
    list-style: none; padding: 0; margin: 0 auto 22px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px;
    max-width: 760px;
}
.wsp-facts li {
    font-size: 14px; font-weight: 600; color: var(--uh-ink);
    background: #fff; border: 1px solid var(--uh-line); border-radius: 999px; padding: 7px 14px;
}
.wsp-facts i { color: var(--uh-blue); margin-right: 6px; }
.wsp-date { font-size: 16px; color: var(--uh-ink); margin: 0 0 18px; }
.wsp-date strong { font-weight: 700; }

.wsp-two { display: grid; grid-template-columns: 1fr; gap: 8px 48px; }
.wsp-sub { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--uh-ink-soft); margin: 8px 0 0; font-family: var(--uh-body); }
@media (min-width: 820px) { .wsp-two { grid-template-columns: 1fr 1fr; } }

/* Agenda */
.wsp-agenda { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 40px; }
.wsp-agenda li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--uh-line); }
.wsp-n {
    flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--uh-ink); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--uh-display); font-weight: 700; font-size: 16px;
}
.wsp-agenda h3 { font-size: 18px; font-weight: 700; margin: 4px 0 4px; color: var(--uh-ink); font-family: var(--uh-body); }
.wsp-agenda p { font-size: 16px; line-height: 1.55; color: var(--uh-ink-soft); margin: 0; }
.wsp-bring { margin: 24px 0 0; font-size: 16px; line-height: 1.55; color: var(--uh-ink-soft); padding: 16px 18px; border-radius: var(--uh-radius-sm); background: var(--uh-alt); }
.wsp-bring strong { color: var(--uh-ink); }
@media (min-width: 900px) { .wsp-agenda { grid-template-columns: 1fr 1fr; } }

/* Trainers */
.wsp-trainers { display: grid; grid-template-columns: 1fr; gap: 16px; }
.wsp-trainer { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--uh-line); border-radius: var(--uh-radius-sm); padding: 20px; }
.wsp-trainer img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: 0 0 auto; background: #eef0ea; }
.wsp-trainer h3 { font-family: var(--uh-display); font-size: 21px; font-weight: 700; margin: 0 0 2px; color: var(--uh-ink); }
.wsp-role { font-size: 14px; font-weight: 600; color: var(--uh-blue); margin: 0 0 8px; }
.wsp-trainer ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.55; color: var(--uh-ink-soft); }
@media (min-width: 900px) { .wsp-trainers { grid-template-columns: 1fr 1fr; } }

/* Price / booking box */
.wsp-price {
    display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center;
    border: 2px solid var(--uh-blue); border-radius: var(--uh-radius); padding: 28px 24px; background: #fff;
}
.wsp-price .uh-h2 small { font-size: 16px; font-weight: 600; color: var(--uh-ink-soft); letter-spacing: 0; }
.wsp-price-cta { display: flex; flex-direction: column; align-items: stretch; gap: 10px; text-align: center; }
.wsp-price-cta .wsp-date { margin: 0; font-weight: 600; }
.wsp-fine { font-size: 13.5px; color: var(--uh-ink-soft); margin: 0; }
@media (min-width: 820px) { .wsp-price { grid-template-columns: 1.4fr 1fr; padding: 36px 40px; } }

/* FAQ */
.wsp-faq details { border-top: 1px solid var(--uh-line); }
.wsp-faq details:last-child { border-bottom: 1px solid var(--uh-line); }
.wsp-faq summary {
    list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
    font-size: 18px; font-weight: 600; color: var(--uh-ink); min-height: 44px;
}
.wsp-faq summary::-webkit-details-marker { display: none; }
.wsp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--uh-blue); }
.wsp-faq details[open] summary::after { content: "–"; }
.wsp-faq summary:focus-visible { outline: 3px solid var(--uh-orange); outline-offset: 2px; }
.wsp-faq p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--uh-ink-soft); max-width: 760px; }
.wsp-faq + .wsp-fine { margin-top: 16px; }

/* "More workshops" — hub card design, 4-up on wide screens */
.wsp-more-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 24px; }
.wsp-more-head .uh-h2 { margin: 0; }
@media (min-width: 1100px) { .wsh-grid.wsp-more { grid-template-columns: repeat(4, 1fr); } }

/* Hub grid */
.wsh-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.wsh-card {
    display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px;
    border: 1px solid var(--uh-line); border-radius: var(--uh-radius-sm); background: #fff;
    text-decoration: none; color: var(--uh-ink-soft); overflow: hidden;
    transition: border-color .2s, transform .3s var(--uh-ease), box-shadow .3s var(--uh-ease);
}
.wsh-card:hover { border-color: var(--uh-ink); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8, 61, 68, .08); color: var(--uh-ink-soft); }
.wsh-card:focus-visible { outline: 3px solid var(--uh-orange); outline-offset: 3px; }
.wsh-thumb {
    display: block; margin: -24px -22px 10px; aspect-ratio: 16 / 9; overflow: hidden;
    background: #eef3f2; border-bottom: 1px solid var(--uh-line);
}
.wsh-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--uh-ease); }
.wsh-card:hover .wsh-thumb img { transform: scale(1.03); }
.wsh-icon {
    width: 44px; height: 44px; border-radius: 12px; background: #e8f2f9; color: var(--uh-blue);
    display: inline-flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 4px;
}
.wsh-card strong { font-family: var(--uh-display); font-size: 22px; line-height: 1.2; color: var(--uh-ink); }
.wsh-desc { font-size: 15.5px; line-height: 1.5; }
.wsh-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--uh-line); }
.wsh-fee { font-family: var(--uh-display); font-size: 20px; font-weight: 700; color: var(--uh-ink); }
.wsh-when { font-size: 13.5px; font-weight: 600; color: var(--uh-ink-soft); text-align: right; }
.wsh-when.is-open { color: var(--uh-wa); }
.wsh-card .uh-link { font-size: 16px; }
@media (min-width: 700px) { .wsh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .wsh-grid { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: reduce) { .wsh-card, .wsh-thumb img { transition: none; } .wsh-card:hover, .wsh-card:hover .wsh-thumb img { transform: none; } }

/* Payment modal (assets/js/service-payment.js) */
.urn-pay-backdrop {
    position: fixed; inset: 0; z-index: 100000; background: rgba(8, 30, 40, .72);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    font-family: 'Inter', system-ui, sans-serif;
}
.urn-pay-box { background: #fff; width: 100%; max-width: 440px; border-radius: 16px; padding: 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, .3); }
.urn-pay-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b4560f; margin: 0 0 4px; }
.urn-pay-title { font-family: 'Funnel Display', 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: #083d44; margin: 0 0 8px; }
.urn-pay-note { font-size: 14px; color: #4a6a70; margin: 0 0 14px; line-height: 1.5; }
.urn-pay-label { display: block; font-size: 14px; font-weight: 600; color: #083d44; margin: 10px 0 5px; }
.urn-pay-input { width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border: 1.5px solid #d6dbd6; border-radius: 10px; color: #083d44; }
.urn-pay-input:focus { outline: none; border-color: #00629F; box-shadow: 0 0 0 3px rgba(0, 98, 159, .15); }
.urn-pay-error { color: #b91c1c; font-size: 14px; margin: 10px 0 0; }
.urn-pay-actions { display: flex; gap: 10px; margin-top: 18px; }
.urn-pay-cancel, .urn-pay-submit { font: inherit; font-weight: 700; font-size: 15px; border-radius: 999px; padding: 12px 18px; cursor: pointer; min-height: 46px; }
.urn-pay-cancel { background: #fff; color: #083d44; border: 1.5px solid #d6dbd6; }
.urn-pay-submit { flex: 1; background: #00629F; color: #fff; border: 0; }
.urn-pay-submit:disabled { opacity: .7; cursor: progress; }
