:root {
  --ink: #2c333c;
  --muted: #5c6773;
  --faint: #8a94a0;
  --line: #e4e9f0;
  --card: #fff;
  --field: #f4f8fb;
  --sky: #00b0ef;
  --deep: #0058cc;
  --brand: #3a66d6;
  --top: #e6f3ff;
  --shadow: 0 10px 28px rgba(24, 48, 84, 0.06);
  --max: 1152px;
  --sans: "Inter", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.5 var(--sans);
  text-rendering: optimizeLegibility;
}
svg[aria-hidden="true"] { pointer-events: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, .card h3, .today h3, .row strong { text-wrap: balance; }
.today > a { display: block; color: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--deep);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--top);
  color: #4b5563;
  font-size: 14px;
  font-weight: 400;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
}
.topbar-lead {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.topbar-bar {
  width: 1px;
  height: 14px;
  background: #9ca3af;
}
.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
}
.lang svg { width: 16px; height: 16px; }
.lang select {
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 4.2 6 8l3.8-3.8' fill='none' stroke='%234b5563' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center / 10px no-repeat;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  padding: 2px 22px 2px 6px;
  color: #4b5563;
  font-size: 13px;
  cursor: pointer;
}
.lang select:hover,
.lang select:focus { border-color: #6b7280; outline: none; }
.topbar-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  min-height: 28px;
  padding: 0 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.topbar-subscribe:hover { filter: brightness(1.05); color: #fff; }

.brand-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 22px 0 18px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  grid-column: 2;
}
.brand-subscribe {
  grid-column: 3;
  justify-self: end;
  margin-top: 0;
  min-height: 52px;
  padding: 0 28px;
  font-size: 17px;
  white-space: nowrap;
}
.brand img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.brand span {
  display: inline-block;
  background: linear-gradient(90deg, #4980c9, #3464b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.3;
  padding: 0.08em 0 0.14em;
  overflow: visible;
}

header { display: contents; }
.nav-row {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e8eef4;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 46px);
}
.nav a {
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover { background: #f5f8ff; color: #4873b1; }
.menu-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}
.nav a[aria-current="page"] {
  color: #0058cc;
  background: #e8f1ff;
  font-weight: 600;
}
.nav a[aria-current="page"]:hover {
  color: #0058cc;
  background: #e8f1ff;
}
.menu { display: none; }

.icon-btn {
  position: absolute;
  right: 0;
  top: 50%;
  translate: 0 -50%;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3c4654;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: #f2f6fb; color: var(--deep); }

.search {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, 86vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 30;
}
.search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  outline: none;
}
.search input:focus { border-color: #9ec4ef; }
.search ul { list-style: none; margin: 8px 0 0; padding: 0; }
.search li a,
.search .empty {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}
.search li a:hover { background: #f3f7fc; color: var(--deep); }
.search .empty { color: var(--muted); }

.field {
  position: relative;
  background: var(--field);
}
.field::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 50vh;
  background-image: radial-gradient(circle, #00b0ef 2px, transparent 2px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000, transparent);
  mask-image: linear-gradient(#000, transparent);
}
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}
.stage.home {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.home-main { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.stage.home .rail { display: flex; flex-direction: column; gap: 16px; }

.col-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 2px 12px;
}
.col-head h2,
.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #607084;
}
.col-head a { color: var(--deep); font-size: 14px; font-weight: 600; }
.col-head a:hover { text-decoration: underline; }

.feature,
.card,
.panel,
.sheet {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.feature { display: block; overflow: hidden; color: inherit; }
.feature.shot {
  display: flex;
  flex-direction: column;
  height: 400px;
  min-height: 400px;
  padding: 16px;
  border-radius: 6px;
  border-color: #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.feature.shot img { border-radius: 6px; aspect-ratio: 16 / 9; }
.feature.shot .kicker { margin: 14px 0 0; text-transform: none; letter-spacing: 0; }
.feature.shot h2 { margin-top: 4px; }
.feature.shot h2 {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  color: #646464;
  text-transform: none;
}
.feature img,
.card img,
.course-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7eef5;
}
.feature-copy { padding: 22px 24px 26px; }
.feature h1,
.sheet h1 {
  margin-top: 8px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #343b44;
}
.deck { margin-top: 10px; color: var(--muted); max-width: 62ch; }
.feature .go {
  display: inline-block;
  margin-top: 16px;
  color: var(--deep);
  font-weight: 600;
  font-size: 15px;
}
.feature:hover h1 { color: var(--deep); }
.feature:hover .go { text-decoration: underline; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.rosary-board .cards { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border-radius: 6px; }
.card div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #646464;
}
.card:hover h3 {
  background: linear-gradient(90deg, #4980c9, #3464b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.meta { color: var(--faint); font-size: 13px; margin-top: auto; }

.pill {
  align-self: flex-start;
  background: #f1f4f8;
  color: #66717d;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.curriculum { margin-top: 22px; }
.curriculum > h2 { margin-top: 4px; }
.brand img { margin-right: 0; }
.rows { display: flex; flex-direction: column; }
.row {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: inherit;
}
.row:first-child { border-top: 0; }
.row span { color: var(--faint); font-size: 13px; }
.row strong { font-weight: 600; letter-spacing: -0.015em; }
.row em { font-style: normal; color: var(--muted); font-size: 13px; }
.row:hover strong { color: var(--deep); }

.rosary { display: flex; flex-direction: column; gap: 14px; }
.panel { padding: 14px; }
.today img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
}
.today h3 {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #3a414b;
}
.today p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.mystery {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mystery i {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--dot, var(--deep));
  display: block;
}
.glorious { --dot: #1d4e89; color: #1d4e89; }
.sorrowful { --dot: #7a3148; color: #7a3148; }
.joyful { --dot: #1a7a4c; color: #1a7a4c; }
.luminous { --dot: #8a6412; color: #8a6412; }
.remembrance { --dot: #3a66d6; color: #3a66d6; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 40px;
  border-radius: 8px;
  border: 0;
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn.wide { width: 100%; }

.episodes { list-style: none; margin: 4px 0 0; padding: 0; }
.episodes a {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #eef2f6;
}
.episodes li:first-child a { border-top: 0; }
.episodes img {
  width: 74px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #e7eef5;
}
.episodes strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.episodes em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.episodes a:hover strong { color: var(--deep); }
.more-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 600;
}
.more-link:hover { text-decoration: underline; }

.news {
  background: #fff;
  border-color: #e5e7eb;
  border-radius: 8px;
  padding: 24px 24px 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.news:hover {
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}
.news-title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.news-title .mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
  background: linear-gradient(135deg, #00b0ef, #0058cc);
}
.news-title .mark svg { width: 16px; height: 16px; }
.news-title h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: #646464; }
.news-title p {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
}
.news-title p svg { width: 12px; height: 12px; }
.news-lead {
  margin: 0 0 24px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  color: #646464;
  font-size: 14px;
  line-height: 1.625;
}
.clips { margin-top: 0; }
.clips a {
  grid-template-columns: 96px 1fr;
  gap: 12px;
  border-top: 0;
  border-bottom: 1px solid #e5e7eb;
  margin: 0 -8px;
  padding: 8px 8px 12px;
  border-radius: 8px;
}
.clips li:last-child a { border-bottom: 0; padding-bottom: 8px; }
.clips img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  background: #fff;
}
[aria-labelledby="todays-rosary"] .clips img {
  box-sizing: content-box;
  width: calc(100% - 2px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}
.clips a[href*="youtube.com"] { position: relative; }
.clips a[href*="youtube.com"]::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 42px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background: rgba(17, 24, 39, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7.5v9l8-4.5z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.clips a[href*="youtube.com"]:hover::after { background-color: rgba(0, 88, 204, 0.9); }
.clips a:hover { background: #f9fafb; }
.clips strong { font-size: 14px; font-weight: 400; line-height: 1.25; color: #646464; }

.course-pick,
.switcher {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 400px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.course-pick h2 {
  flex: none;
  margin: 0 0 16px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  color: #111827;
}
.course-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.course-scroll a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #f3f4f6;
  border-radius: 6px;
  background: rgba(249, 250, 251, 0.5);
  color: #111827;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}
.course-scroll img {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  flex: none;
  background: #f3f4f6;
}
.course-scroll a:hover { background: #eff6ff; }
.switcher .chevron-list {
  flex: 1;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.switcher .today-list { gap: 6px; }
.switcher .today-list a { padding: 6px 12px; }
.switcher .today-list,
#tab-faith:checked ~ .faith-list {
  display: flex;
}
.tabs {
  display: flex;
  flex: none;
  gap: 0;
  margin-bottom: 16px;
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
  border-radius: 0;
}
.tabs label {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: #111827;
  background: #e9ecef;
  cursor: pointer;
}
#tab-today:checked ~ .tabs label[for="tab-today"],
#tab-faith:checked ~ .tabs label[for="tab-faith"] {
  background: linear-gradient(135deg, #00b0ef, #0058cc);
  color: #fff;
}
.faith-list { display: none; }
#tab-faith:checked ~ .today-list { display: none; }
.chevron-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 8px 12px;
  background: rgba(249, 250, 251, 0.5);
  border: 1px solid #f3f4f6;
  border-radius: 6px;
  color: #111827;
  font-size: 14px;
  font-weight: 500;
}
.chevron-list a::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 99px;
  flex: none;
  background: #dbeafe url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 7l5 5-5 5' fill='none' stroke='%232563eb' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.chevron-list a:hover { background: #eff6ff; border-color: #f3f4f6; color: #111827; }

.band {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #646464;
}
.band::before,
.band::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mini {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: inherit;
}
.mini { padding: 12px; border-radius: 8px; }
.mini img { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; }
.mini h3 {
  padding: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #646464;
}
.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.strip a {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 112px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  color: inherit;
}
.strip img {
  width: 128px;
  height: 80px;
  object-fit: cover;
  border-radius: 2px;
  flex: none;
  background: #f3f4f6;
}
.strip h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  color: #646464;
}
.strip a:hover h3 { color: #4b5563; }
.mini:hover h3 { color: var(--deep); }
.more { display: flex; justify-content: center; margin: 16px 0 6px; }
.news .more { justify-content: flex-end; margin: 8px 0 0; }
.news .more a {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: #0058cc;
}
.news .more a:hover { color: #3464b2; }
.sheet { display: flex; flex-direction: column; gap: 16px; }
.more a {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 2px;
  padding: 6px 32px;
  font-weight: 500;
  font-size: 16px;
  color: #0058cc;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.more a:hover { border-color: #93c5fd; }
.university { position: relative; width: auto; margin: 0; }
.news.leo { padding: 16px; }
.news.leo h3 { font-size: 16px; font-weight: 700; color: #1f2937; }
.cards.four { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.foot { grid-template-columns: 1fr 1fr 1.15fr 0.9fr; align-items: start; }
.foot .mark img {
  width: 120px;
  height: auto;
  margin-bottom: 8px;
}
.stay .subscribe { flex-direction: column; }
.stay .btn { width: 100%; }
.stay .subscribe-btn {
  width: 100%;
  margin-top: 4px;
  min-height: 56px;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.sheet { padding: 22px 24px 8px; overflow: hidden; }
.sheet .course-hero { margin: -22px -24px 18px; width: calc(100% + 48px); border-radius: 0; }
.sheet .deck { font-size: 17px; }
.sheet h2 {
  margin: 22px 0 4px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #607084;
}
.lessons { margin: 8px 0 18px; }
.lessons details { border-top: 1px solid var(--line); }
.lessons summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 14px 0;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.lessons summary::-webkit-details-marker { display: none; }
.lessons { counter-reset: lesson; }
.lessons summary::before {
  counter-increment: lesson;
  content: counter(lesson);
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: #eef5fc;
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}
.lessons details p {
  margin: 0 0 16px 38px;
  color: var(--muted);
  max-width: 64ch;
}
.lessons details[open] summary { color: var(--deep); }

.chooser-list { margin: 8px 0 18px; }
.note-line { margin: 12px 0 18px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog { position: relative; }
.filter {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  pointer-events: none;
}
.filters label {
  border: 1px solid #d5deea;
  background: #fff;
  color: #3c4654;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
#f-all:checked ~ .filters label[for="f-all"],
#f-foundations:checked ~ .filters label[for="f-foundations"],
#f-history:checked ~ .filters label[for="f-history"],
#f-prayer:checked ~ .filters label[for="f-prayer"],
#f-year:checked ~ .filters label[for="f-year"],
#f-all:focus-visible ~ .filters label[for="f-all"],
#f-foundations:focus-visible ~ .filters label[for="f-foundations"],
#f-history:focus-visible ~ .filters label[for="f-history"],
#f-prayer:focus-visible ~ .filters label[for="f-prayer"],
#f-year:focus-visible ~ .filters label[for="f-year"] {
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: #fff;
  border-color: transparent;
}
#f-foundations:checked ~ .cards .card:not([data-track="foundations"]),
#f-history:checked ~ .cards .card:not([data-track="history"]),
#f-prayer:checked ~ .cards .card:not([data-track="prayer"]),
#f-year:checked ~ .cards .card:not([data-track="year"]) { display: none; }

.prose p { margin-top: 14px; color: #3e4854; max-width: 66ch; }
.prose p:first-of-type { margin-top: 12px; }
.sheet .copy { color: #646464; font-size: 16px; line-height: 1.8; }
.sheet .copy p { margin: 0 0 24px; max-width: none; }
.sheet .copy a { color: #2563eb; }
.sheet .copy a:hover { text-decoration: underline; }
.sheet .updated { margin: 8px 0 0; color: #6b7280; font-size: 14px; }
.about-hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 8px 0 24px;
}
.about-face {
  float: right;
  width: 180px;
  height: auto;
  margin: 8px 4px 24px 32px;
  border-radius: 8px;
}
.about-diagram { width: 100%; height: auto; border-radius: 8px; margin: 0 0 24px; }
.copy iframe {
  display: block;
  width: 100%;
  max-width: none;
  height: 180px;
  border: 0;
  border-radius: 8px;
  margin: 0 0 24px;
}
.steps { list-style: none; margin: 8px 0 20px; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.steps b {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: #eef5fc;
  color: var(--deep);
  font-size: 13px;
}
.steps strong { display: block; }
.steps span { color: var(--muted); }

.site-footer {
  background: linear-gradient(180deg, #fff 0%, #f6f9fc 28%);
  border-top: 1px solid #e8eef4;
  padding: 42px 0 28px;
}
.foot {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr 0.9fr;
  gap: 32px;
}
.site-footer h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #646464;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #3e4854; font-size: 14.5px; }
.site-footer a:hover { color: var(--deep); }
.site-footer p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.subscribe { display: flex; gap: 8px; }
.subscribe input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dbe3ec;
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
}
.subscribe .btn { margin-top: 0; padding: 0 16px; }
.form-note { min-height: 1.2em; margin-top: 8px; font-size: 13px; color: var(--deep); }
.legal {
  width: min(var(--max), calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 16px;
  border-top: 1px solid #e5ebf1;
  color: var(--faint);
  font-size: 13px;
}

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav { gap: 6px; }
  .nav a { padding: 8px 9px; font-size: 13px; }
  .stage, .stage.home { grid-template-columns: 1fr; }
  .hero-row, .strip { grid-template-columns: 1fr; }
  .switcher, .feature.shot { height: auto; min-height: 0; }
  .cards.four, .pair, .cards, .rosary-board .cards, .news-cards { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .rosary { position: static; }
  .foot .stay { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap, .stage, .legal, .university { width: min(100% - 28px, var(--max)); }
  .topbar .wrap { justify-content: space-between; }
  .topbar-lead {
    flex-wrap: wrap;
    justify-content: center;
    white-space: normal;
    gap: 8px;
    font-size: 12px;
    padding: 6px 0;
  }
  .lang select { font-size: 12px; }
  .brand { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .brand span { font-size: clamp(20px, 5.4vw, 28px); letter-spacing: -0.02em; text-align: center; }
  .brand img { width: 56px; height: 56px; margin-right: 0; }
  .brand-row { padding: 14px 0 10px; }
  .nav-row { top: 0; }
  .nav-inner { min-height: 52px; }
  .tabs label { padding: 8px 4px; font-size: 12px; }
  .news-title { align-items: flex-start; }
  .news-title p { flex-wrap: wrap; }
  .menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 50%;
    translate: 0 -50%;
    width: 44px;
    border: 0;
    background: transparent;
    color: #3c4654;
    cursor: pointer;
    min-height: 44px;
    padding: 0;
    font-size: 0;
  }
  .menu::before {
    content: "";
    width: 14px;
    height: 1.5px;
    background: currentColor;
    box-shadow: 0 -4.5px 0 currentColor, 0 4.5px 0 currentColor;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 41;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(16, 24, 40, 0.08);
    padding: 6px 8px 12px;
  }
  .menu-check:checked ~ #nav { display: flex; }
  .nav a { padding: 12px 8px; font-size: 14px; }
  .icon-btn { right: 0; }
  .cards, .cards.four, .pair, .foot, .row, .strip, .rosary-board .cards, .news-cards { grid-template-columns: 1fr; }
  .row em { grid-column: 1; }
  .feature.shot { height: auto; min-height: 0; padding: 12px; }
  .feature.shot h2, .feature h1, .sheet h1, .find.sheet > h1, .rosary-list > h1 { font-size: 22px; }
  .about-face { float: none; display: block; width: min(220px, 100%); margin: 0 auto 16px; }
  .mini img { height: 180px; }
  .strip a { height: auto; min-height: 96px; }
  .news { padding: 16px 14px 10px; }
  .clips a { grid-template-columns: 88px 1fr; margin: 0; }
  .subscribe { flex-direction: column; }
  .sheet .course-hero { margin-left: -18px; margin-right: -18px; width: calc(100% + 36px); }
  .sheet { padding: 18px 18px 4px; }
  .home-main { gap: 24px; }
  .find form { flex-direction: column; }
  .find form button { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { filter: none; }
}

.course { display: none; }
.course:target { display: block; }

.find {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 48px;
}
.find.sheet {
  width: min(var(--max), calc(100% - 48px));
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 0 48px;
  overflow: visible;
}
.find h1 {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #646464;
}
.find.sheet > h1 {
  margin: 8px 0 0;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #646464;
  scroll-margin-top: 88px;
}
.find.sheet > h1:not(:first-child) { margin-top: 28px; }
.find.sheet > .deck {
  margin: -8px 0 0;
  max-width: none;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  color: inherit;
}
.news-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 84px;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: rgba(17, 24, 39, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7.5v9l8-4.5z'/%3E%3C/svg%3E") center / 18px 18px no-repeat;
}
.news-card:hover::after { background-color: rgba(0, 88, 204, 0.9); }
.news-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: #f3f4f6;
}
.news-card span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}
.news-card time { color: #6b7280; font-size: 12px; }
.news-card strong {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #646464;
}
.news-card:hover {
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08);
}
.news-card:hover strong { color: #0058cc; }
.more-check {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.news-cards .news-card:nth-child(n + 13) { display: none; }
.more-check:checked + .news-cards .news-card { display: flex; }
.more-check:checked + .news-cards + .load-more { display: none; }
.load-more {
  align-self: center;
  margin-top: 4px;
  padding: 8px 22px;
  border: 1px solid #d7dee7;
  border-radius: 6px;
  background: #fff;
  color: #0058cc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.load-more:hover { border-color: #93c5fd; color: #3464b2; }
@media (max-width: 1100px) {
  .news-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .news-cards .news-card:nth-child(n + 10) { display: none; }
}
@media (max-width: 980px) {
  .news-cards { grid-template-columns: 1fr 1fr; }
  .news-cards .news-card:nth-child(n + 7) { display: none; }
}
@media (max-width: 720px) {
  .find.sheet > h1 { font-size: 22px; }
  .news-cards { grid-template-columns: 1fr; }
  .news-cards .news-card:nth-child(n + 4) { display: none; }
}
.find form {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.find form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  outline: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.find form input:focus { border-color: #9ec4ef; }
.find form button {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.find form button:hover { filter: brightness(1.05); }
.find > p { margin-bottom: 14px; color: #6b7280; font-size: 13px; }
a.hit {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 18px;
  align-items: start;
  align-content: start;
  min-height: 148px;
  margin-bottom: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--muted);
}
a.hit img {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 220px;
  height: 124px;
  object-fit: cover;
  border-radius: 6px;
  background: #e7eef5;
}
a.hit strong {
  grid-column: 2;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #646464;
}
a.hit span { grid-column: 2; margin-top: 4px; font-size: 14px; }
a.hit:hover strong {
  background: linear-gradient(90deg, #4980c9, #3464b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; }
.pager a, .pager span {
  min-width: 36px;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  color: #475569;
  font-size: 14px;
}
.pager a[aria-current="page"] {
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: #fff;
}
.pager .off { color: #9ca3af; }

@media (max-width: 720px) {
  a.hit { grid-template-columns: 1fr; min-height: 0; }
  a.hit img { position: static; width: 100%; height: 180px; margin-bottom: 14px; }
  a.hit strong, a.hit span { grid-column: auto; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.story { padding-top: 72px; }
.field:has(.story) {
  background: linear-gradient(180deg, var(--field) 0, #fff 96px);
}
.field:has(.find.sheet) {
  background: linear-gradient(180deg, #fff 0%, #f4f8fb 240px);
}
.field:has(.find.sheet)::before { height: 56px; }
.field:has(.story)::before { height: 48px; }
.story .rail { display: flex; flex-direction: column; gap: 16px; }
.story .post { display: block; scroll-margin-top: 72px; }
.post h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #646464;
}
.post .when { margin-top: 16px; color: #6b7280; font-size: 14px; }
.share { display: flex; align-items: center; gap: 16px; margin: 24px 0 24px; }
.share a {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 2px;
  display: grid;
  place-items: center;
  background: #f3f4f6;
}
.share a:hover { background: #e5e7eb; }
.share svg { display: none; }
.share a::before {
  content: "";
  width: 18px;
  height: 18px;
  background: linear-gradient(90deg, #00b0ef, #0058cc);
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.share a:nth-child(1) { --mark: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1 2 21.2 20'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); }
.share a:nth-child(1)::before { width: 15px; height: 15px; }
.share a:nth-child(2) { --mark: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='7.6 5.6 9.8 16.8'%3E%3Cpath d='M14 9h3V6h-3c-2.2 0-4 1.8-4 4v2H8v3h2v7h3v-7h2.6l.4-3H13v-2c0-.6.4-1 1-1z'/%3E%3C/svg%3E"); }
.share a:nth-child(3) { --mark: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20fill-rule%3D%27evenodd%27%20d%3D%27M17.472%2014.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94%201.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198%200-.52.074-.792.372-.272.297-1.04%201.016-1.04%202.479%200%201.462%201.065%202.875%201.213%203.074.149.198%202.096%203.2%205.077%204.487.709.306%201.262.489%201.694.625.712.227%201.36.195%201.871.118.571-.085%201.758-.719%202.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421%207.403h-.004a9.87%209.87%200%2001-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86%209.86%200%2001-1.51-5.26c.001-5.45%204.436-9.884%209.888-9.884%202.64%200%205.122%201.03%206.988%202.898a9.825%209.825%200%20012.893%206.994c-.003%205.45-4.435%209.884-9.885%209.884m8.413-18.297A11.815%2011.815%200%200012.05%200C5.495%200%20.16%205.335.157%2011.892c0%202.096.547%204.142%201.588%205.945L.057%2024l6.305-1.654a11.882%2011.882%200%20005.683%201.448h.005c6.554%200%2011.89-5.335%2011.893-11.893a11.821%2011.821%200%2000-3.48-8.413z%27%2F%3E%3C%2Fsvg%3E"); }
.share a:nth-child(4) { --mark: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3.6 3.6 16.8 16.8'%3E%3Cpath d='M6.5 9H4V20h2.5V9zM5.2 4a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2zM20 20h-2.5v-5.6c0-1.5-.5-2.5-1.8-2.5-1 0-1.5.7-1.8 1.3-.1.2-.1.6-.1.9V20H11V9h2.4v1.5c.4-.7 1.3-1.8 3.2-1.8 2.3 0 4 1.5 4 4.8V20z'/%3E%3C/svg%3E"); }
.post > img {
  display: block;
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e7eef5;
}
.post > img { margin-bottom: 32px; }
.post .copy { color: #646464; font-size: 16px; line-height: 1.8; }
.post .copy p { margin: 0 0 24px; }
.post .copy a { color: #2563eb; }
.post .copy a:hover { text-decoration: underline; }
.discover { margin-top: 28px; }
.discover h2 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #646464;
}
.discover-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.discover a {
  display: block;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  color: inherit;
}
.discover a:hover { box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08); }
.discover img {
  width: 100%;
  height: 144px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 4px;
  background: #e7eef5;
}
.discover strong {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: #646464;
}
.discover a:hover strong { color: var(--deep); }
.ask {
  position: fixed;
  z-index: 40;
  bottom: 16px;
  left: calc((100vw - min(1152px, 100vw - 32px)) / 2);
  width: calc((min(1152px, 100vw - 32px) - 18px) * 2 / 3);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 8px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}
body:has(.ask) .site-footer { padding-bottom: 124px; }
.ask input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #374151;
  font-size: 16px;
  padding: 6px 0 2px;
}
.ask input::placeholder { color: #9ca3af; }
.ask div { display: flex; justify-content: flex-end; gap: 4px; }
.ask button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4b5563;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.ask button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ask button[type="button"]:hover { background: #e5e7eb; }
.ask button[type="submit"] {
  background: linear-gradient(135deg, #00b0ef, #0058cc);
  color: #fff;
}
.ask button[type="submit"]:hover { filter: brightness(1.05); }

@media (max-width: 980px) {
  .ask {
    left: calc((100vw - min(1152px, 100vw - 32px)) / 2);
    width: min(1152px, 100vw - 32px);
  }
}
@media (max-width: 720px) {
  .story { padding-top: 28px; }
  .post h1, .discover h2 { font-size: 22px; }
  .discover-row { grid-template-columns: 1fr; }
  .ask { left: 14px; width: calc(100vw - 28px); }
}

.field:has(.course-sheet) { background: #fff; }
.field:has(.course-sheet)::before { display: none; }
.course-sheet {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}
.course { scroll-margin-top: 80px; }
.course-sheet:not(:has(.course:target)) .course:first-of-type { display: block; }
.course h1 {
  margin: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #646464;
}
.course-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid #e5e7eb;
}
.course-tabs label {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 400;
  color: #646464;
  cursor: pointer;
}
.course input[id$="-about"]:checked ~ .course-tabs label[for$="-about"],
.course input[id$="-syllabus"]:checked ~ .course-tabs label[for$="-syllabus"] {
  color: #0058cc;
  box-shadow: inset 0 -2px 0 #0058cc;
}
.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}
.course h2 {
  margin: 28px 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #646464;
}
.about p,
.about li {
  color: #646464;
  font-size: 16px;
  line-height: 1.8;
}
.about p { margin: 0 0 24px; }
.about strong { color: #646464; font-weight: 600; }
.about ul { margin: 4px 0 24px; padding-left: 22px; }
.about li { margin: 12px 0; }
.about li em { font-style: italic; font-weight: 600; color: #646464; }
.course .syllabus { display: none; }
.course input[id$="-syllabus"]:checked ~ .course-layout .about { display: none; }
.course input[id$="-syllabus"]:checked ~ .course-layout .syllabus { display: block; }
.units {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.units details + details { border-top: 1px solid #e5e7eb; }
.units summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
  color: #646464;
  font-size: 15px;
  line-height: 1.4;
}
.units summary::-webkit-details-marker { display: none; }
.units summary::after {
  content: "+";
  flex: none;
  color: #646464;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.units details[open] summary::after { content: "−"; }
.unit { padding: 0 18px 16px; }
.unit > p {
  margin: 0 0 12px;
  color: #646464;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.unit-card {
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 10px;
}
.unit-card > p {
  margin: 0 0 10px;
  color: #646464;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.unit-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #646464;
  font-size: 14px;
}
.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #646464;
}
.kind {
  margin-left: auto;
  padding: 2px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #646464;
  font-size: 12px;
  line-height: 1.6;
}
.course-side { margin-top: 28px; }
.course-side img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #e7eef5;
}
a.enroll {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #00b0ef, #0058cc);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}
a.enroll:hover { filter: brightness(1.05); }
.facts {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}
.facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid #e5e7eb;
  color: #646464;
  font-size: 16px;
}
.facts li:first-child { border-top: 0; }
.facts li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: #6b7280;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.facts .free { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v10M15 9.2c-.5-1.2-1.6-1.9-3-1.9s-2.8.8-2.8 2 1.2 1.7 3 2.1 3.2 1 3.2 2.3-1.4 2.3-3.2 2.3-2.8-.8-3.2-2.1'/%3E%3C/svg%3E"); }
.facts .lang { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.facts .cert { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E"); }

@media (max-width: 980px) {
  .course-layout { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .course h1, .course h2 { font-size: 22px; }
  .course-tabs label,
  .about p,
  .about li,
  .units summary,
  .unit > p,
  .unit-card > p,
  .unit-row,
  .kind,
  .facts li,
  .post .copy,
  .post .when,
  .discover strong {
    font-size: 16px;
  }
  .units summary::after { font-size: 18px; }
}

.rosary-list { min-width: 0; }
.rosary-list > h1 {
  margin: 8px 0 20px;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #646464;
}
.rosary-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  margin: 0 0 28px;
  padding: 16px 16px 16px 22px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  color: inherit;
  text-decoration: none;
}
.rosary-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}
.rosary-feature h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  color: #646464;
}
.rosary-feature p {
  margin: 12px 0 0;
  color: #646464;
  font-size: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rosary-feature:hover h2 { color: #0058cc; }
.rosary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 32px;
}
.rosary-grid a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.rosary-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f3f4f6;
}
.rosary-grid strong {
  padding: 14px 16px 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #646464;
}
.rosary-grid a:hover { box-shadow: 0 8px 18px rgba(16, 24, 40, 0.08); }
.rosary-grid a:hover strong { color: #0058cc; }
.rosary-list .pager { margin: 8px 0 12px; }
@media (max-width: 980px) {
  .rosary-feature { grid-template-columns: 1fr; padding: 16px; }
  .rosary-grid { grid-template-columns: 1fr; }
}

.give-page h1 {
  margin: 0 0 8px;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #646464;
}
.give-lead {
  margin: 0 0 20px;
  max-width: 42ch;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.45;
}
.give {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}
.give-card {
  position: relative;
  width: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}
.give-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 2px 0 22px;
}
.give-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.give-brand span {
  background: linear-gradient(90deg, #4980c9, #3464b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.give-set {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.give-set legend {
  margin-bottom: 16px;
  padding: 0;
  color: #646464;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.give input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.give-freq {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 8px;
  background: #e8f1ff;
}
.give-freq label,
.give-amounts label,
.give-other {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}
.give-freq label {
  flex: 1;
  border-radius: 6px;
  color: #0058cc;
}
.give-freq label:hover { background: #d6e6ff; }
.give-freq input:checked + label,
.give-freq input:checked + label:hover {
  background: linear-gradient(135deg, var(--sky), var(--deep));
  color: #fff;
}
.give-freq input:focus-visible + label,
.give-amounts input:focus-visible + label,
#amt-other:focus-visible + .give-other {
  outline: 2px solid var(--deep);
  outline-offset: 2px;
}
.give-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 10px;
}
.give-amounts label,
.give-other {
  border: 1px solid #4980c9;
  border-radius: 8px;
  background: #fff;
  color: #4980c9;
}
.give-amounts label:hover,
.give-other:hover {
  background: #e8f1ff;
}
.give-amounts input:checked + label,
.give-amounts input:checked + label:hover,
#amt-other:checked + .give-other,
#amt-other:checked + .give-other:hover {
  border-color: #9ec4ef;
  background: #d6e8ff;
  color: #0058cc;
}
.give-other {
  width: 100%;
  margin-bottom: 12px;
}
.give-custom {
  display: none;
  align-items: center;
  gap: 0;
  margin-bottom: 4px;
  position: relative;
}
#amt-other:checked ~ .give-custom { display: flex; }
.give-custom span {
  position: absolute;
  left: 14px;
  color: #6b7280;
  font-weight: 600;
  pointer-events: none;
}
.give-custom input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px 10px 28px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  outline: none;
}
.give-custom input:focus { border-color: #9ec4ef; }
.give .btn { margin-top: 4px; min-height: 48px; font-size: 15px; }
.give .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}
.give-note:empty { display: none; }
.give-note {
  margin-top: 12px;
  color: #0058cc;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.give-note[data-kind="error"] { color: #9f1239; }
@media (max-width: 720px) {
  .give-page h1 { font-size: 22px; }
  .give-lead { font-size: 14px; margin-bottom: 16px; }
  .give-card { padding: 16px 14px; }
  .give-amounts { grid-template-columns: 1fr 1fr; }
}

.gate {
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 0 40px;
}
.gate h1 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #646464;
}
.gate-lead {
  margin: 12px 0 24px;
  color: #646464;
  font-size: 16px;
  line-height: 1.6;
}
.gate-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.gate label {
  display: block;
  margin-bottom: 6px;
  color: #646464;
  font-size: 14px;
  font-weight: 600;
}
.gate label + input { margin-bottom: 16px; }
.gate input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
}
.gate input:focus { border-color: #9ec4ef; outline: none; }
.gate .btn {
  width: 100%;
  margin-top: 8px;
  min-height: 56px;
  font-size: 18px;
}
@media (max-width: 720px) {
  .gate h1 { font-size: 22px; }
  .gate-card { padding: 20px 16px; }
}
