/* Specialty-show calendar look, scoped so the house mast keeps its own colors.
   WordPress embeds depend on these classes. */

.specialty {
  --ink: #141617;
  --paper: #ffffff;
  --line: #d7dce3;
  --soft: #f2f3f5;
  --green: #681e12;
  --accent: #681e12;
  color: var(--ink);
  font: 15px/1.45 Raleway, "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}
.specialty a { color: var(--accent); text-decoration: underline; }
.specialty h2 { font-size: 20px; margin: 0; }

.specialty .views {
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: baseline; margin: 0 0 4px;
}
.specialty .views a { text-decoration: none; font-weight: 600; }
.specialty .views a.on { color: var(--ink); border-bottom: 2px solid var(--green); }

.specialty .embed-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  font-size: 13px; padding: 0 0 6px;
}
.specialty .embed-bar a { text-decoration: none; font-weight: 600; }
.specialty .embed-bar a.on { color: var(--ink); border-bottom: 2px solid var(--green); }
.specialty .embed-bar .legend { color: #55606e; font-size: 12px; margin-left: auto; }

.specialty .legend {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  color: #55606e; font-size: 13px; margin-top: 16px;
  border: 0; padding: 0;
}
.specialty .chip {
  display: inline-block; width: 11px; height: 11px; border-radius: 2px;
  margin-right: 4px; padding: 0; background: transparent; vertical-align: baseline;
}

.specialty form.filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  background: var(--soft); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; margin: 12px 0;
}
.specialty form.filters select,
.specialty form.filters input[type=text] {
  font: inherit; padding: 4px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.specialty form.filters label { font-size: 13px; color: #444; }
.specialty form.filters button {
  font: inherit; padding: 4px 12px; border-radius: 6px;
  border: 1px solid var(--green); background: var(--green); color: #fff;
}

.specialty .month-band {
  background: var(--green); color: #fff; text-align: center; font-weight: 800;
  letter-spacing: .06em; padding: 5px 8px; border-radius: 4px; margin-top: 18px;
}
.specialty table.events { width: 100%; border-collapse: collapse; margin-top: 6px; }
.specialty table.events th {
  text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
  color: #55606e; padding: 4px 8px;
}
.specialty table.events td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specialty tr.ev td:first-child { white-space: nowrap; font-weight: 600; }
.specialty tr.ev { border-left: 6px solid transparent; }
.specialty tr.ev .title { font-weight: 600; }
.specialty tr.ev .meta { font-size: 12.5px; color: #55606e; }
.specialty tr.canceled .title,
.specialty tr.canceled td:first-child { text-decoration: line-through; }
.specialty .badge {
  display: inline-block; font-size: 11px; font-weight: 700; border-radius: 4px;
  padding: 1px 6px; color: #fff; vertical-align: middle; text-decoration: none;
}
.specialty .badge.cancel { background: #a02020; }
.specialty .badge.postponed { background: #b07a10; }
.specialty .badge.hidden { background: #55606e; }
.specialty .empty, .specialty .hint { color: #55606e; font-size: 14px; }

.specialty .cal-nav { display: flex; align-items: center; gap: 12px; margin: 12px 0 6px; }
.specialty .cal-nav h2 { margin: 0; font-size: 20px; }
.specialty .cal-nav a { text-decoration: none; font-weight: 700; }
.specialty table.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.specialty table.cal th { background: var(--soft); border: 1px solid var(--line); font-size: 12px; padding: 4px; }
.specialty table.cal td {
  border: 1px solid var(--line); vertical-align: top; height: 84px; padding: 2px 3px; font-size: 12px;
}
.specialty table.cal td.other { background: #fafbfc; color: #aab2bd; }
.specialty table.cal td.today { outline: 2px solid var(--accent); outline-offset: -2px; }
.specialty .daynum { font-weight: 700; font-size: 11px; }
.specialty .cal-ev {
  display: block; color: #fff; border-radius: 3px; padding: 1px 4px; margin: 2px 0;
  font-size: 11px; line-height: 1.25; text-decoration: none; overflow: hidden;
}
.specialty .cal-ev.canceled { text-decoration: line-through; opacity: .55; }

.specialty .detail-card {
  max-width: 620px; border: 1px solid var(--line); border-radius: 8px; padding: 16px 22px;
}
.specialty .detail-card h2 { margin: 4px 0 2px; }
.specialty .detail-card .meta { color: #55606e; margin: 0 0 8px; }
.specialty table.detail th {
  text-align: left; padding: 5px 14px 5px 0; vertical-align: top;
  white-space: nowrap; font-size: 13px; color: #55606e;
}
.specialty table.detail td { padding: 5px 0; }
.specialty .notes { white-space: pre-wrap; }

.specialty .print-title { text-align: center; font-size: 20px; margin: 0 0 14px; }
.specialty table.print-sheet { width: 100%; border-collapse: collapse; }
.specialty table.print-sheet th {
  text-align: left; font-size: 11px; text-transform: uppercase;
  padding: 3px 6px; border-bottom: 2px solid #681e12;
}
.specialty table.print-sheet td { padding: 4px 6px; border-bottom: 1px solid #ccc; }
.specialty table.print-sheet tr.band td {
  background: #681e12; color: #fff; text-align: center; font-weight: 800; letter-spacing: .08em;
}
.specialty table.print-sheet tr.ev td:first-child { white-space: nowrap; font-weight: 600; }
.specialty table.print-sheet tr.canceled { text-decoration: line-through; color: #888; }
.specialty .print-key {
  margin-top: 16px; font-size: 10.5px; color: #333; column-count: 2; column-gap: 28px;
}
.specialty .print-key-head {
  font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: .06em;
  column-span: all; margin-bottom: 4px;
}
.specialty .print-key-row { break-inside: avoid; margin-bottom: 4px; }

.specialty details.type-key { margin: 0 0 14px; font-size: 13px; }
.specialty details.type-key summary { cursor: pointer; color: #681e12; font-weight: 600; width: fit-content; }
.specialty details.type-key summary:hover { text-decoration: underline; }
.specialty details.type-key dl {
  margin: 8px 0 0; padding: 10px 14px; background: #fff; border: 1px solid #e2e4e7;
  border-radius: 6px; columns: 2; column-gap: 28px;
}
.specialty details.type-key dt { font-weight: 700; break-inside: avoid; }
.specialty details.type-key dd { margin: 1px 0 8px 17px; color: #444a52; break-inside: avoid; }
.specialty details.type-key dt .chip { width: 11px; height: 11px; margin-right: 6px; }

body:has(.specialty[data-embed="1"]) { background: #fff; }
body:has(.specialty[data-embed="1"]) main .wrap { padding-block: 8px 16px; }

@media (max-width: 640px) {
  .specialty table.events .hide-sm { display: none; }
  .specialty table.cal td { height: 56px; }
  .specialty details.type-key dl { columns: 1; }
  .specialty .print-key { column-count: 1; }
}
@media print {
  .mast, footer, .specialty .views, .specialty .embed-bar, .specialty form.filters,
  .specialty .legend, .specialty .type-key { display: none !important; }
}
