.eort-page{--navy:#102f55;--navy2:#173f6d;--gold:#b8862d;--cream:#fbf8f2;--line:#e7ded0;--text:#243247;color:var(--text);font-family:Georgia,"Times New Roman",serif}.eort-hero{border-radius:18px 18px 0 0;overflow:visible !important;background:linear-gradient(100deg,rgba(8,31,56,.96),rgba(20,54,89,.9)),radial-gradient(circle at 18% 50%,#9b6a23 0 2%,transparent 20%);color:#fff;padding:44px 24px;text-align:center}.eort-hero-inner{max-width:900px;margin:auto}.eort-kicker{font:600 12px/1.3 system-ui,sans-serif;letter-spacing:.16em;color:#e3bd72}.eort-hero h1{margin:7px 0 5px;font-size:clamp(36px,5vw,58px);font-weight:600;color:#fff}.eort-hero p{margin:0;font:400 17px/1.5 system-ui,sans-serif;color:#eef3f8}.eort-shell{max-width:1080px;margin:-1px auto 32px;padding:34px 42px 28px;background:#fff;border:1px solid var(--line);border-radius:0 0 18px 18px;box-shadow:0 12px 35px rgba(24,40,60,.08)}.eort-date-heading{text-align:center;color:var(--navy);font-size:clamp(24px,3.3vw,38px);font-weight:700}.eort-gold-rule{width:56px;height:2px;background:var(--gold);margin:14px auto 28px}.eort-feasts,.eort-card,.eort-hymn{display:flex;gap:18px}.eort-feasts{max-width:850px;margin:0 auto 28px;align-items:flex-start}.eort-page h2{margin:0 0 10px;color:var(--navy);font-size:25px}.eort-page p{line-height:1.65}.eort-feast-list p{margin:4px 0;font-size:18px}.eort-icon{flex:0 0 42px;font-size:34px;line-height:1;color:#2d6eb2}.eort-icon-gold{color:var(--gold)}.eort-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.eort-card{padding:24px;border-radius:13px}.eort-card h2{font-size:22px}.eort-card p{margin:4px 0;font-family:system-ui,sans-serif}.eort-card-warm{background:linear-gradient(135deg,#fffaf0,#f5ead6)}.eort-card-blue{background:linear-gradient(135deg,#f4f9fd,#e7f1fa)}.eort-reading+.eort-reading{border-top:1px solid rgba(16,47,85,.12);padding-top:8px;margin-top:8px}.eort-media-grid{align-items:start}.eort-video{position:relative;overflow:visible !important;aspect-ratio:16/9;border-radius:13px;background:#111;box-shadow:0 7px 20px rgba(0,0,0,.12)}.eort-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.eort-hymn{padding:16px 10px}.eort-hymn p{margin:0;white-space:normal}.eort-empty{padding:24px;border-radius:12px;background:#f5f7fa;text-align:center;font-family:system-ui,sans-serif}.eort-nav{display:grid;grid-template-columns:1fr minmax(180px,260px) 1fr;gap:18px;align-items:center;margin-top:30px;padding-top:22px;border-top:1px solid var(--line)}.eort-nav-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border:1px solid #cdd8e5;border-radius:24px;text-decoration:none!important;color:var(--navy)!important;font:600 15px/1 system-ui,sans-serif;background:#fff}.eort-nav-next{background:linear-gradient(135deg,#c79a43,#ad7620);color:#fff!important;border-color:transparent}.eort-date-form input{width:100%;height:48px;border:1px solid #cdd8e5;border-radius:10px;padding:0 14px;color:var(--navy);background:#fff;font:500 15px system-ui,sans-serif}.eort-nav-btn:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(16,47,85,.1)}
@media(max-width:760px){.eort-page{margin:0 -8px}.eort-hero{border-radius:12px 12px 0 0;padding:28px 18px}.eort-hero h1{font-size:34px}.eort-hero p{font-size:14px}.eort-shell{padding:24px 16px 20px;border-radius:0 0 12px 12px}.eort-date-heading{font-size:23px}.eort-feasts{gap:12px}.eort-page h2{font-size:21px}.eort-feast-list p{font-size:16px}.eort-grid{grid-template-columns:1fr}.eort-card{padding:18px}.eort-media-grid{display:flex;flex-direction:column}.eort-video,.eort-hymn{width:100%}.eort-hymn{padding:10px 2px}.eort-nav{grid-template-columns:52px 1fr 52px;gap:9px}.eort-nav-btn{border-radius:14px;font-size:22px}.eort-nav-btn span{display:none}.eort-date-form input{height:48px}.eort-icon{flex-basis:34px;font-size:28px}}

/* 1.7.1 — Fixed-height content panels with internal scrolling */
.eort-feasts,
.eort-card,
.eort-hymn{
  box-sizing:border-box;
  height:230px;
  overflow-y:visible !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(16,47,85,.35) transparent;
}
.eort-feasts{padding:18px 14px;max-width:850px;border:1px solid var(--line);border-radius:13px;background:#fff}
.eort-card>div:last-child,.eort-hymn>div:last-child,.eort-feasts>div:last-child{min-width:0;flex:1}
.eort-feasts::-webkit-scrollbar,.eort-card::-webkit-scrollbar,.eort-hymn::-webkit-scrollbar{width:7px}
.eort-feasts::-webkit-scrollbar-track,.eort-card::-webkit-scrollbar-track,.eort-hymn::-webkit-scrollbar-track{background:transparent}
.eort-feasts::-webkit-scrollbar-thumb,.eort-card::-webkit-scrollbar-thumb,.eort-hymn::-webkit-scrollbar-thumb{background:rgba(16,47,85,.28);border-radius:10px}
.eort-video{height:230px;aspect-ratio:auto}
@media(max-width:760px){
  .eort-feasts,.eort-card,.eort-hymn{height:200px}
  .eort-video{height:auto;aspect-ratio:16/9}
}

/* 1.7.2 — Stable grid: YouTube/readings swapped; empty panels remain visible */
.eort-video-empty{background:#f7f8fa;border:1px solid var(--line);box-shadow:none}
@media(max-width:760px){
  .eort-video{height:200px;aspect-ratio:auto}
}

.eort-source{margin:24px 0 0;text-align:center;color:#6d7784;font:400 12px/1.5 system-ui,sans-serif}.eort-source a{color:var(--navy);text-decoration:none;border-bottom:1px solid rgba(16,47,85,.25)}.eort-source a:hover{border-bottom-color:var(--navy)}


/* 1.8.4 — Fasting removed from frontend; balanced media layout */
.eort-hymn-full{margin:18px 0;padding:24px;border:1px solid var(--line);border-radius:13px;background:#fff}
@media(max-width:760px){.eort-hymn-full{margin:18px 0;padding:18px}}

/* 1.8.5 — Hymn/readings positions swapped */
.eort-readings-full{margin:18px 0;padding:24px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,#f4f9fd,#e7f1fa)}
@media(max-width:760px){.eort-readings-full{margin:18px 0;padding:18px}}


/* 1.8.6 — Full-width frontend */
.eort-page{
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  box-sizing:border-box;
}
.eort-shell{
  width:100%;
  max-width:none;
  margin:0;
  box-sizing:border-box;
  border-left:0;
  border-right:0;
  border-radius:0;
}
.eort-feasts{max-width:none;width:100%;}
@media(max-width:760px){
  .eort-page{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}
  .eort-shell{padding-left:16px;padding-right:16px;}
}


/* v1.8.8 — Full content: no internal scrollbars or fixed-height content boxes */
.eort-wrap,
.eort-wrap *,
.com-eortologio,
.com-eortologio * {
    scrollbar-width: auto;
}

.eort-wrap .eort-card,
.eort-wrap .eort-card-body,
.eort-wrap .eort-section,
.eort-wrap .eort-content,
.eort-wrap .eort-text,
.eort-wrap .readings,
.eort-wrap .hymn,
.eort-wrap [class*="card"],
.eort-wrap [class*="body"],
.eort-wrap [class*="content"],
.com-eortologio .card,
.com-eortologio .card-body,
.com-eortologio [class*="section"],
.com-eortologio [class*="content"] {
    height: auto !important;
    min-height: 0 !important;
    max-height:none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
}

/* Remove custom scrollbar behavior if present */
.eort-wrap .eort-card::-webkit-scrollbar,
.eort-wrap .eort-card-body::-webkit-scrollbar,
.eort-wrap [class*="content"]::-webkit-scrollbar,
.com-eortologio .card::-webkit-scrollbar,
.com-eortologio .card-body::-webkit-scrollbar {
    display: none !important;
}

/* v1.8.9 definitive full-height fix */
.eort-card,
.eort-card-body,
.eort-section,
.eort-content,
.eort-text,
.eort-readings,
.eort-hymn,
.eort-feasts,
.eort-video,
.today-card,
.today-card-body,
.day-card,
.day-card-body {
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  overflow:visible !important;
  overflow-x:visible !important;
  overflow-y:visible !important;
}

.echo,
.eort-card,
.eort-card-blue,
.eort-date-form,
.eort-date-heading,
.eort-empty,
.eort-feast-list,
.eort-feasts,
.eort-gold-rule,
.eort-grid,
.eort-hymn,
.eort-icon,
.eort-icon-gold,
.eort-media-grid,
.eort-nav,
.eort-nav-btn,
.eort-nav-next,
.eort-page,
.eort-reading,
.eort-readings-full,
.eort-shell,
.eort-source {
  max-height:none !important;
  height:auto !important;
  overflow:visible !important;
  overflow-y:visible !important;
}


/* v1.8.10 — YouTube wrapper exception.
   Content cards remain auto-height/no-scroll, but video needs its own aspect-ratio box. */
.eort-video {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
}
.eort-video iframe {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}
