body {
  margin: 0;
  background: #f5f5f5;
}

devotion-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 2rem;
  text-align: center;
  margin: 12px 0 24px;
  color: #1c2a44;
  font-weight: 900;
}

.devotion-entry__site-header {
  background: #1c2a44;
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.devotion-entry__home {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.devotion-entry__logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #fff;
  object-fit: cover;
}

.devotion-entry__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  opacity: 0.8;
}

.devotion-entry {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.8;
}

.devotion-entry__wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  background-color: #fdfdfd;
}

.devotion-entry header {
  text-align: center;
  margin-bottom: 36px;
}

.devotion-entry header .series {
  font-size: 0.95rem;
  color: #555;
}

.devotion-entry header .series a {
  color: #1e90ff;
  text-decoration: none;
}

.devotion-entry header .series span {
  margin-left: 4px;
}

.devotion-entry header h1 {
  font-size: 28px;
  margin: 12px 0 0;
}

.devotion-entry .scripture {
  background: #fff4f4;
  border-left: 5px solid #c1121f;
  padding: 16px 18px;
  margin: 28px 0;
  font-weight: bold;
}

.devotion-tabs {
  background: #eef2ff;
  border-radius: 12px;
  padding: 26px;
  margin: 36px 0;
  box-shadow: 0 12px 30px rgba(60, 72, 107, 0.18);
}

.devotion-tabs__title {
  margin: 0 0 18px;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 1.5rem;
  color: #1c2a44;
  text-align: center;
}

.devotion-tabs__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  overflow-x: auto;
}

.devotion-tabs__tab {
  border: none;
  background: rgba(58, 110, 232, 0.12);
  color: #1c2a44;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  font-family: "Work Sans", "Segoe UI", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.devotion-tabs__tab[aria-selected="true"] {
  background: #3a6ee8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(58, 110, 232, 0.3);
}

.devotion-tabs__tab:focus-visible {
  outline: 2px solid #1c2a44;
  outline-offset: 3px;
}

.devotion-tabs__panel {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 22px 24px;
  border: 1px solid rgba(28, 42, 68, 0.12);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

.devotion-tabs__panel[aria-hidden="false"] {
  display: block;
}

.devotion-tabs__panel h3 {
  margin-top: 0;
  font-family: "Playfair Display", "Times New Roman", serif;
  color: #1c2a44;
}

.devotion-tabs__panel p {
  margin-bottom: 18px;
  color: #4b5463;
}

.devotion-tabs__panel a {
  color: #3a6ee8;
  text-decoration: none;
  font-weight: 600;
}

.devotion-tabs__panel a:hover,
.devotion-tabs__panel a:focus-visible {
  text-decoration: underline;
}

.devotion-entry .devotion p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.devotion-entry .prayer {
  background: #f0f8ff;
  padding: 18px;
  border-left: 5px solid #1e90ff;
  font-style: italic;
  margin-top: 32px;
}

.devotion-entry .feature-image {
  text-align: center;
  margin: 25px 0;
}

.devotion-entry .feature-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
}

.devotion-entry .dailyaction {
  background: #ffecb3;
  padding: 18px;
  border-left: 5px solid #daa520;
  font-weight: bold;
  margin: 36px 0;
}

.devotion-entry .dailyaction a {
  color: inherit;
  text-decoration: none;
}

.devotion-entry nav {
  text-align: center;
  margin-top: 40px;
}

.devotion-entry nav a {
  display: inline-block;
  margin: 0 12px;
  text-decoration: none;
  color: #1e90ff;
  font-weight: bold;
}

.devotion-entry nav a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .devotion-entry header h1 {
    font-size: 24px;
  }

  .devotion-entry .feature-image img {
    max-height: 350px;
  }
}

@media (max-width: 480px) {
  .devotion-entry__wrapper {
    padding: 20px 16px 48px;
  }

  .devotion-entry .feature-image img {
    max-height: 300px;
  }

  .devotion-entry nav a {
    margin: 8px;
  }

  .devotion-tabs {
    padding: 22px 18px;
  }

  .devotion-tabs__panel {
    padding: 18px 16px;
  }
}
