/* /assets/css/site.css bible-activities*/

/* ===== General base ===== */
:root { font-family: system-ui, Arial, sans-serif; line-height: 1.4; }
* { box-sizing: border-box; }

body { margin: 0; }
.wrap { max-width: 980px; margin: 0 auto; padding: 16px; }

.site-header, .site-footer { border-bottom: 1px solid #eee; }
.site-footer { border-top: 1px solid #eee; border-bottom: none; margin-top: 24px; }

.brand { font-weight: 700; text-decoration: none; color: inherit; }
.nav a { margin-left: 12px; text-decoration: none; color: inherit; opacity: .85; }

.hero { padding: 18px 22px; }
.kicker { text-transform: uppercase; font-size: 12px; opacity: .7; letter-spacing: .05em; }
.subtitle { font-size: 18px; max-width: 60ch; }

.pricing-grid, .option-cards {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===== Header panel layout ===== */
.top-header {
  padding: 18px 0 8px 0;
}

.header-photo,
.site-branding,
.contact-block {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.header-photo img {
  width: 90px;
  height: 115px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  display: block;
  margin-bottom: 12px;      
}
.header-photo {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centers image horizontally */
  justify-content: center;
  text-align: center;       /* centers the text */
}

.header-photo p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
  color: #EDE3E3;
  letter-spacing: 0.3px;
}

.signature-line {
  margin: 4px 0 0 0;
 /* font-family: Georgia, "Times New Roman", serif;*/
  font-size: 1rem;
  line-height: 1.3;
  color: #FFD54A;
  letter-spacing: 0.6px;
  font-style: italic;
  opacity: 0.95;
}

.signature-line::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 6px auto 6px;
  background: rgba(255,255,255,0.35);
}

.site-title {
  margin: 0 0 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: #f49206;
  letter-spacing: 0.4px;
}

.site-tagline {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #EDE3E3;
}

.contact-block {
  color: #EDE3E3;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-block p {
  margin: 4px 0;
}

.contact-block a {
  color: #F49206;
  text-decoration: none;
  font-weight: 700;
}

.contact-block a:hover {
  color: #FFD54A;
  text-decoration: underline;
}

.top-divider {
  border: 0;
  background: rgba(244,146,6,0.6);
  height: 2px;
  margin: 8px 22px 4px 22px;
}

.arrow-wrap {
  position: relative;
}

/* LEFT arrow (points to left panel) */
.left-arrow::before {
  content: "➜";
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  font-size: 32px;
  color: #FFD54A;
  opacity: 0.85;
}

/* RIGHT arrow (points to right panel) */
.right-arrow::after {
  content: "➜";
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #FFD54A;
  opacity: 0.85;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.left-arrow::before,
.right-arrow::after {
  animation: arrowPulse 2s infinite;
}

/* Mobile header */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr;
  }

  .site-title {
    font-size: 2.1rem;
  }
}

/* ===== Responsive header ===== */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    text-align: center;
  }
}

  .header-photo,
  .site-branding,
  .contact-block {
    flex: none;
    width: 100%;
  }
	

  .site-title {
    font-size: 2.1rem;
  }

  .site-tagline {
    font-size: 1rem;
  }
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.2px;
}

h1 {
  font-size: 2rem;
  line-height: 1.15;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-branding {
  text-align: center;
}

.site-title {
  color: #f49206;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.1;
  margin: 0 0 8px 0;
}

.site-tagline {
  color: #EDE3E3;
  font-size: 1.05rem;
  margin: 0;
  letter-spacing: 0.2px;
}

.price-card, .option-card {
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 14px;
}

.faq details {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 10px 0;
}

.embed { border: 1px dashed #ccc; border-radius: 14px; padding: 18px; }
.license-note { opacity: .8; font-size: 14px; margin-top: 18px; }

/* ===== Publuu responsive embed ===== */
.publuu-vh iframe {
  width: 100%;
  height: 80vh;
  border: 0;
  display: block;
}

@media (max-width: 520px) {
  .publuu-vh iframe {
    height: 70vh;
  }
}

/* ===== Tight library header ===== */
.tight-header { padding-bottom: 6px; }

.header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.page-title {
  margin: 0;
  line-height: 1.15;
}

.tight-header .library-actions { margin: 0; }

.tight-header .quick-tip {
  margin: 6px 0 0 0;
  font-size: 0.95rem;
  color: #555;
}

.inline-icon {
  width: 18px;
  height: 18px;
  vertical-align: text-bottom;
}

/* ===== Shared buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn:active {
  transform: translateY(0);
  opacity: 0.9;
}

.btn-primary {
  background: #f2f2f2;
  color: #111;
}

.btn-secondary {
  background: #f2f2f2;
  color: #111;
  border-color: #e5e5e5;
}

.btn-highlight {
  color: #FFD54A;
  font-size: 1.25rem;
  transition: color 150ms ease;
}

.btn-link {
  background: transparent;
  color: #111;
  border-color: transparent;
  padding: 12px 8px;
}

.btn-large {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1.05rem;
}

.home-btn.secondary:hover .btn-highlight {
  color: #f2f2f2;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

/* ===== Home page links ===== */
a:link { color: #F49206; text-decoration: none; }
a:visited { color: #F49206; text-decoration: none; }
a:hover { color: #A36200; text-decoration: none; }

/* ===== Accent colors ===== */
.accent-cyan { color: #91F921; font-weight: 700; }
.accent-orange { color: #FFD54A; font-weight: 700; }
.accent-gold { color: #f49206; font-weight: 700; }

/* ===== Home page layout ===== */
.layout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 22px 18px 22px;
}
.header-inner,
.home-grid {
  display: grid;
  grid-template-columns: 300px 1.4fr 300px;
  gap: 24px;
  width: min(calc(100% - 44px), 1200px);
  margin: 0 auto;
}

.header-inner {
  align-items: stretch;
}

.home-grid {
  align-items: start;
  padding: 18px 0;
}

.header-inner {
  align-items: stretch;
}

.home-grid {
  align-items: start;
  padding: 18px 0;
}
/* LEFT column */
.sidebar {
  width: 280px;
  flex: 0 0 280px;
  position: sticky;
  top: 12px;
  margin-top: 0;
  padding-top: 0;
}

.sidebar h1 {
  color: #EDE3E3;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 10px 0;
  padding-top: 0;
  text-align: center;
}

/* Sidebar buttons */
.sidebar .btn {
  display: block;
  width: 250px;
  padding: 10px 14px;
  margin: 12px auto;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(180deg, #0E7D71 0%, #0C5C53 100%);
  color: #EDE3E3;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.14);
}

.sidebar .btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.sidebar .btn.active {
  border: 1.5px solid #F49206;
  box-shadow: 0 0 0 2px rgba(244,146,6,0.18), 0 4px 12px rgba(0,0,0,0.16);
}

/* RIGHT column */
.content {
  flex: 1;
  min-width: 0;
  padding: 0;
}

/* ===== Mobile ===== */
@media (max-width: 820px) {
  .layout {
    display: block;
    padding: 8px 16px 16px 16px;
  }

  .sidebar {
    width: auto;
    flex: none;
    position: static;
  }

  .sidebar .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ===== Homepage 3-column layout ===== */

.header-inner,
.home-grid {
  display: grid;
  grid-template-columns: 300px 1.4fr 300px;
  gap: 24px;
  width: min(calc(100% - 44px), 1200px);
  margin: 0 auto;
}

.header-inner {
  align-items: stretch;
}

.home-grid {
  align-items: start;
  padding: 18px 0;
}.header-inner,
.home-grid {
  display: grid;
  grid-template-columns: 300px 1.4fr 300px;
  gap: 24px;
  width: min(calc(100% - 44px), 1200px);
  margin: 0 auto;
}

.header-inner {
  align-items: stretch;
}

.home-grid {
  align-items: start;
  padding: 18px 0;
}

.header-photo,
.site-branding,
.contact-block,
.showcase-panel,
.action-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.header-photo,
.site-branding,
.contact-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-frame {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 350ms ease;
}

.home-btn {
  display: block;
  width: 330px;
  margin: 18px auto;
  padding: 18px 22px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;

  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.3px;
  color: #FFFFFF;

  background: linear-gradient(180deg, #0FAE9A 0%, #0C5C53 100%);
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: 0 5px 14px rgba(0,0,0,0.22);
}

.home-btn:hover {
  color: #FFFFFF;
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0,0,0,0.30);
}

.home-btn.secondary {
  background: transparent;
  color: #F49206;
  border: 2px solid rgba(255,255,255,0.35);
  box-shadow: none;
}

.action-panel {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0,0,0,0.22);
}

/* Mobile layout */
@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ===== Flipbooks landing page ===== */

.flipbook-page {
  width: min(calc(100% - 44px), 1200px);
  margin: 0 auto;
  padding: 18px 0 0px 0;
}

.flipbook-intro {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  margin-bottom: 24px;
}

.flipbook-intro h1 {
  color: #F49206;
  margin-top: 0;
}

.flipbook-intro p {
  max-width: 760px;
  margin: 0 auto;
  color: #EDE3E3;
  font-size: 1.08rem;
}

.flipbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flipbook-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  min-height: 260px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flipbook-card h2 {
  color: #FFD54A;
  margin-top: 0;
}

.flipbook-card p {
  color: #EDE3E3;
  margin-bottom: 18px;
}

.flipbook-card.coming-soon {
  opacity: 0.92;
}

/* Flipbooks page header (single centered panel) */

/* Flipbooks page single centered header */
.flipbook-header-inner {
  width: min(calc(100% - 44px), 1200px);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.flipbook-header-inner .site-branding {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.return-links {
  text-align: center;
  margin-top: 28px;
}

.return-links a {
  color: #FFD54A;
  font-weight: bold;
  text-decoration: none;
}

.return-links a:hover {
  text-decoration: underline;
}

/* Mobile flipbooks page */
@media (max-width: 900px) {
  .flipbook-grid {
    grid-template-columns: 1fr;
  }
}

/* Center a single card in the second flipbook row */
.flipbook-grid.second-row {
  grid-template-columns: minmax(280px, 380px);
  justify-content: center;
  margin-top: 6px;
}

.flipbook-card.center-card {
  min-height: 220px;
}