/* Thursday class details page + classes page Thursday card. Uses site tokens from style.css. */
.tcd-wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.tcd-hero { background: var(--navy); color: var(--white); text-align: center; padding: 64px 0 56px; border-bottom: 6px solid var(--yellow); }
.tcd-hero h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.12; margin-bottom: 14px; }
.tcd-hero .tcd-sub { font-size: clamp(18px, 2.6vw, 22px); font-weight: 700; color: var(--yellow); margin-bottom: 6px; }
.tcd-hero .tcd-facts { font-size: 17px; opacity: .92; margin-bottom: 28px; }

.tcd-btn { display: inline-block; padding: 16px 44px; border-radius: 50px; background: var(--yellow); color: var(--navy); font-size: 19px; font-weight: 700; text-align: center; border: 2px solid var(--yellow); transition: background-color .25s, color .25s, border-color .25s, transform .25s; }
.tcd-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.tcd-btn:focus-visible, .tcd-faq summary:focus-visible, .tcd-link:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.tcd-hero .tcd-btn:focus-visible { outline-color: var(--white); }
.tcd-btn[aria-disabled="true"] { opacity: .65; cursor: wait; }

.tcd-status { margin-top: 14px; min-height: 0; font-weight: 600; }
.tcd-status:empty { display: none; }
.tcd-hero .tcd-status { color: var(--white); }
.tcd-noscript { margin-top: 14px; }

.tcd-main { padding: 48px 0 24px; }
.tcd-section { padding: 28px 0; border-bottom: 1px solid rgba(26, 26, 46, .12); }
.tcd-section:last-child { border-bottom: 0; }
.tcd-section h2 { font-size: clamp(25px, 4vw, 32px); line-height: 1.2; margin-bottom: 16px; }
.tcd-section h2::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 10px; border-radius: 4px; background: var(--yellow); }
.tcd-section p { font-size: 18px; line-height: 1.75; margin-bottom: 16px; }
.tcd-section p:last-child { margin-bottom: 0; }
.tcd-section ul { margin: 0 0 16px; padding: 0; list-style: none; }
.tcd-section li { position: relative; padding: 8px 0 8px 28px; font-size: 18px; line-height: 1.6; }
.tcd-section li::before { content: ""; position: absolute; left: 4px; top: 1.1em; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px var(--navy); }
.tcd-section li strong { font-weight: 800; }
.tcd-lede { background: var(--white); border-left: 6px solid var(--yellow); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); margin: 8px 0 0; }
.tcd-lede p { margin: 0; }
.tcd-emph { font-weight: 700; }
.tcd-big { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(30px, 5vw, 40px) !important; font-weight: 700; margin-top: 8px; }

.tcd-table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 18px; }
.tcd-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.tcd-table caption { position: absolute; left: -9999px; }
.tcd-table th { background: var(--navy); color: var(--white); text-align: left; padding: 14px 18px; font-weight: 700; }
.tcd-table td { padding: 13px 18px; border-bottom: 1px solid var(--gray); }
.tcd-table tr:last-child td { border-bottom: 0; }
.tcd-table td:first-child, .tcd-table th:first-child { width: 72px; text-align: center; }
.tcd-table .tcd-off td { background: var(--gray); color: #555; font-style: italic; }
.tcd-table .tcd-show td { background: #fff8dc; font-weight: 700; }

.tcd-faq { background: var(--white); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.07); margin-bottom: 12px; border-left: 5px solid var(--yellow); }
.tcd-faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; font-weight: 700; font-size: 18px; position: relative; border-radius: 12px; transition: background-color .25s; }
.tcd-faq summary::-webkit-details-marker { display: none; }
.tcd-faq summary:hover { background: #fff8dc; }
.tcd-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 28px; line-height: 1; color: var(--orange); }
.tcd-faq[open] summary::after { content: "\2212"; }
.tcd-faq .tcd-answer { padding: 0 20px 20px; }
.tcd-section .tcd-faq p { font-size: 17px; margin: 0; }

.tcd-closing { background: var(--navy); color: var(--white); text-align: center; padding: 56px 0; border-top: 6px solid var(--yellow); }
.tcd-closing p { font-size: 18px; margin-bottom: 24px; }
.tcd-closing .tcd-status { color: var(--white); }

/* Classes page Thursday card */
.thursday-class-card .thursday-short p { font-size: 17px; line-height: 1.7; margin: 0 0 12px; }
.thursday-class-card .thursday-short .thursday-line { font-weight: 700; }
.thursday-class-card .thursday-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.thursday-class-card .thursday-actions .btn { width: auto; margin-top: 0; }
.thursday-class-card .tcd-link { font-weight: 800; border-bottom: 2px solid var(--yellow); transition: color .25s, border-color .25s; }
.thursday-class-card .tcd-link:hover { color: var(--orange); border-color: var(--orange); }

@media (max-width: 768px) {
  .tcd-btn, .thursday-class-card .thursday-actions .btn { display: block; width: 100%; padding-left: 16px; padding-right: 16px; }
  .thursday-class-card .thursday-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .tcd-hero { padding: 44px 0 40px; }
  .tcd-table th, .tcd-table td { padding: 11px 10px; font-size: 15px; }
  .tcd-table td:first-child, .tcd-table th:first-child { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .tcd-btn, .tcd-faq summary, .thursday-class-card .tcd-link { transition: none; }
  .thursday-class-card:hover { transform: none; }
}
