/* 21 Days of Prayer and Fasting — same family as School Prayer */
:root {
  --days-navy: #122559;
  --days-gold: #edae26;
  --days-paper: #f7f6f2;
  --days-ink: #1a1f36;
  --days-muted: #5c6578;
  --days-line: rgba(18, 37, 89, 0.12);
  --days-font: "Inter", "Open Sans", system-ui, sans-serif;
}

body.days-active #content-wrap.container,
body.days-active #content-wrap {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.days-active #primary,
body.days-active #content,
body.days-active .single-page-article,
body.days-active .entry,
body.days-active .content-area {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.days {
  font-family: var(--days-font);
  color: var(--days-ink);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(237, 174, 38, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(237, 174, 38, 0.1), transparent 45%),
    #fff;
  padding: 18px 0 36px;
  overflow-x: clip;
}

.days *,
.days *::before,
.days *::after {
  box-sizing: border-box;
}

.days-page {
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}

.days-hero {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.days-mark {
  order: -1;
  margin: 0;
}

.days-mark img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.days-kicker {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
}

.days-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #edae26;
  flex-shrink: 0;
}

.days h1 {
  margin: 0 0 10px;
  font-size: 32px !important;
  font-weight: 800;
  line-height: 1.05 !important;
  letter-spacing: -0.03em;
  color: var(--days-navy) !important;
}

.days h1 span {
  color: #c49212;
}

.days-lead {
  margin: 0 0 12px;
  color: var(--days-muted);
  font-size: 16px;
  line-height: 1.5;
}

.days-verse {
  margin: 0 0 16px;
  color: var(--days-navy);
  font-size: 16px;
  font-style: italic;
  line-height: 1.45;
}

.days-verse span {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.days-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.days-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background-image: none;
  font-family: inherit;
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.2 !important;
  letter-spacing: 0;
  text-decoration: none !important;
  text-transform: none;
  cursor: pointer;
  appearance: none;
}

.days-btn-gold,
.days-btn-gold:hover {
  background: var(--days-gold);
  color: var(--days-navy) !important;
  border-color: transparent;
  box-shadow: 0 8px 0 #c49212, 0 14px 28px rgba(196, 146, 18, 0.28);
}

.days-btn-ghost,
.days-btn-ghost:hover {
  background: #fff;
  color: var(--days-navy) !important;
  border-color: rgba(18, 37, 89, 0.2);
  box-shadow: none;
}

.days-nights {
  padding-bottom: 22px;
}

.days-nights h2 {
  margin: 0 0 8px;
  color: var(--days-navy) !important;
  font-size: 26px !important;
  font-weight: 800;
  line-height: 1.15 !important;
}

.days-board {
  background: linear-gradient(180deg, rgba(237, 174, 38, 0.18), var(--days-paper));
  border: 1px solid rgba(237, 174, 38, 0.35);
  border-radius: 22px;
  padding: 18px 10px 14px;
}

.days-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 4px;
}

.days-grid[hidden],
.days-pin[hidden] {
  display: none !important;
}

.elementor-kit-10 .days button.days-tile,
.days-tile {
  width: 104px;
  margin: 0;
  padding: 6px 2px 8px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--days-navy);
  font: inherit;
  line-height: 1.15;
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}

.days-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 6px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.days-logo img {
  display: block;
  width: 58px !important;
  height: 58px !important;
  max-width: 58px !important;
  max-height: 58px !important;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
}

.days-logo.days-plain {
  background: radial-gradient(circle at 35% 30%, #3a6fd0, #122559 62%, #0c1838);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.days-when {
  display: block;
  color: var(--days-navy) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.days-tile.is-selected .days-logo {
  box-shadow: 0 0 0 3px #edae26;
}

.days-pin {
  width: min(420px, 100%);
  margin: 4px auto 8px;
  padding: 12px 12px 16px;
  background: #fff;
  color: var(--days-ink);
  border-radius: 18px;
  scroll-margin-top: 110px;
}

.days-back {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--days-navy);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.days-pin h2 {
  margin: 0 0 6px;
  color: var(--days-navy) !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
}

.days-pin .days-pin-when {
  margin: 0 0 8px;
  color: var(--days-navy);
  font-size: 14px;
  font-weight: 700;
}

.days-pin .days-pin-address {
  margin: 0 0 14px;
  color: var(--days-muted);
  font-size: 15px;
}

.days-pin .days-actions {
  margin-top: 4px;
}

.days-note {
  margin: 12px 0 0;
  color: var(--days-muted);
  font-size: 14px;
}

.days-ask {
  margin-top: 22px;
  background: var(--days-navy);
  color: #fff;
  border-radius: 24px;
  padding: 18px 16px 20px;
  box-shadow: 0 18px 40px rgba(18, 37, 89, 0.2);
}

.days-ask .days-kicker {
  color: var(--days-gold);
}

.days-ask h2 {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
}

.days-ask p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.days-ask a {
  color: #fff;
  font-weight: 700;
}

.days.is-open .days-hero,
.days.is-open .days-nights > .days-kicker,
.days.is-open .days-nights > h2,
.days.is-open .days-nights > .days-lead,
.days.is-open .days-ask {
  display: none;
}

@media (min-width: 860px) {
  .days {
    padding: 28px 0 48px;
  }

  .days-hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .days-mark {
    order: 0;
  }

  .days h1 {
    font-size: 42px !important;
    max-width: 16ch;
  }

  .days-copy .days-lead,
  .days-verse {
    max-width: 46ch;
  }

  .days-logo {
    width: 88px;
    height: 88px;
  }

  .days-logo img {
    width: 68px !important;
    height: 68px !important;
    max-width: 68px !important;
    max-height: 68px !important;
  }

  .elementor-kit-10 .days button.days-tile,
  .days-tile {
    width: 118px;
  }

  .days-when {
    font-size: 13px;
  }

  .days-pin {
    scroll-margin-top: 170px;
  }
}

@media (max-width: 420px) {
  .elementor-kit-10 .days button.days-tile,
  .days-tile {
    width: 84px;
  }

  .days-logo {
    width: 64px;
    height: 64px;
  }

  .days-logo img {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
  }

  .days-when {
    font-size: 11px;
  }
}
