/* 4.8.148 — restored classic homepage, with the later OrthodoxCuraçao polish. */
body.home.ocu48148-legacy-home{
  --ocu148-blue:#071c2e;
  --ocu148-blue2:#0b2942;
  --ocu148-blue3:#123653;
  --ocu148-gold:#d9aa2b;
  --ocu148-cream:#f2eadb;
  --ocu148-muted:#c7d2db;
  --ocu148-border:rgba(217,170,43,.55);
  background:var(--ocu148-blue)!important;
}
body.home.ocu48148-legacy-home .ocsai-restored-home,
body.home.ocu48148-legacy-home .ocsai-home-sections{background:var(--ocu148-blue)!important}

/* Keep the old page rhythm, but give every principal section the same canvas. */
body.home.ocu48148-legacy-home :is(
  .ocsai-framed-block,
  .ocsai-services-calendar,
  .ocu431-coming,
  .ocu431-media-section,
  .ocu431-articles,
  .ocu48130-home-call
){
  width:min(1180px,calc(100% - 40px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Classic editable homepage blocks: one coherent navy/gold visual language. */
body.home.ocu48148-legacy-home .ocsai-framed-block{
  border:1px solid var(--ocu148-border)!important;
  border-radius:20px!important;
  background:var(--ocu148-blue2)!important;
  color:var(--ocu148-cream)!important;
  overflow:hidden!important;
  box-shadow:0 16px 38px rgba(0,0,0,.12)!important;
}
body.home.ocu48148-legacy-home .ocsai-framed-block :is(h1,h2,h3,h4,strong,a){color:var(--ocu148-cream)!important;-webkit-text-fill-color:var(--ocu148-cream)!important}
body.home.ocu48148-legacy-home .ocsai-framed-block p{color:var(--ocu148-muted)!important;-webkit-text-fill-color:var(--ocu148-muted)!important}
body.home.ocu48148-legacy-home .ocsai-home-block-image{overflow:hidden!important;background:var(--ocu148-blue3)!important}
body.home.ocu48148-legacy-home .ocsai-home-block-image img{width:100%!important;height:100%!important;object-fit:cover!important}

/* Lower classic homepage blocks stay symmetrical. */
body.home.ocu48148-legacy-home .ocu431-coming,
body.home.ocu48148-legacy-home .ocu431-media-section,
body.home.ocu48148-legacy-home .ocu431-articles{
  border:1px solid var(--ocu148-border)!important;
  border-radius:20px!important;
  background:var(--ocu148-blue2)!important;
  color:var(--ocu148-cream)!important;
  box-shadow:0 16px 38px rgba(0,0,0,.10)!important;
}
body.home.ocu48148-legacy-home .ocu431-coming{align-items:stretch!important;grid-auto-rows:1fr!important}
body.home.ocu48148-legacy-home .ocu431-coming article{
  height:100%!important;
  min-height:210px!important;
  border:1px solid var(--ocu148-border)!important;
  background:var(--ocu148-blue3)!important;
  color:var(--ocu148-cream)!important;
}
body.home.ocu48148-legacy-home .ocu431-coming :is(h2,h3,strong){color:var(--ocu148-cream)!important;-webkit-text-fill-color:var(--ocu148-cream)!important}
body.home.ocu48148-legacy-home .ocu431-coming p{color:var(--ocu148-muted)!important;-webkit-text-fill-color:var(--ocu148-muted)!important}

body.home.ocu48148-legacy-home .ocu431-section-head :is(h2,h3){color:var(--ocu148-cream)!important;-webkit-text-fill-color:var(--ocu148-cream)!important}
body.home.ocu48148-legacy-home .ocu431-section-head p{color:var(--ocu148-muted)!important;-webkit-text-fill-color:var(--ocu148-muted)!important}
body.home.ocu48148-legacy-home .ocu431-eyebrow{color:var(--ocu148-gold)!important;-webkit-text-fill-color:var(--ocu148-gold)!important}

body.home.ocu48148-legacy-home .ocu431-article-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  grid-auto-rows:1fr!important;
}
body.home.ocu48148-legacy-home .ocu431-article-grid article{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:390px!important;
  overflow:hidden!important;
  border:1px solid var(--ocu148-border)!important;
  border-radius:15px!important;
  background:var(--ocu148-blue3)!important;
  color:var(--ocu148-cream)!important;
}
body.home.ocu48148-legacy-home .ocu431-article-img{display:block!important;height:190px!important;min-height:190px!important;overflow:hidden!important}
body.home.ocu48148-legacy-home .ocu431-article-img img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
body.home.ocu48148-legacy-home .ocu431-article-grid article h3{padding:18px 18px 0!important;margin:0!important}
body.home.ocu48148-legacy-home .ocu431-article-grid article p{padding:10px 18px 0!important;margin:0!important;color:var(--ocu148-muted)!important;-webkit-text-fill-color:var(--ocu148-muted)!important}
body.home.ocu48148-legacy-home .ocu431-article-grid .ocu431-arrow{margin:auto 18px 18px!important;color:var(--ocu148-gold)!important;-webkit-text-fill-color:var(--ocu148-gold)!important}

body.home.ocu48148-legacy-home .ocu431-media-slider,
body.home.ocu48148-legacy-home .ocu431-media-home-action{border:1px solid var(--ocu148-border)!important;background:var(--ocu148-blue3)!important}
body.home.ocu48148-legacy-home .ocu431-media-home-action p{color:var(--ocu148-muted)!important;-webkit-text-fill-color:var(--ocu148-muted)!important}
body.home.ocu48148-legacy-home .ocu431-media-submit-link,
body.home.ocu48148-legacy-home .ocu431-section-head--row>a{
  border-color:var(--ocu148-gold)!important;
  color:var(--ocu148-gold)!important;
  -webkit-text-fill-color:var(--ocu148-gold)!important;
}

/* Keep services and Macarius call visually tied to the same restored homepage. */
body.home.ocu48148-legacy-home .ocsai-services-calendar{
  border:1px solid var(--ocu148-border)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 16px 38px rgba(0,0,0,.10)!important;
}
body.home.ocu48148-legacy-home .ocu48130-home-call__card{
  border-color:var(--ocu148-gold)!important;
  border-radius:20px!important;
  box-shadow:0 16px 38px rgba(0,0,0,.12)!important;
}

/* Subtle motion only where it improves affordance. */
@media (prefers-reduced-motion:no-preference){
  body.home.ocu48148-legacy-home .ocu431-article-grid article,
  body.home.ocu48148-legacy-home .ocu431-media-item{transition:transform .18s ease,background .18s ease!important}
  body.home.ocu48148-legacy-home .ocu431-article-grid article:hover{transform:translateY(-2px)!important;background:#173d5c!important}
}

@media(max-width:900px){
  body.home.ocu48148-legacy-home .ocu431-article-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:680px){
  body.home.ocu48148-legacy-home :is(.ocsai-framed-block,.ocsai-services-calendar,.ocu431-coming,.ocu431-media-section,.ocu431-articles,.ocu48130-home-call){width:calc(100% - 24px)!important}
  body.home.ocu48148-legacy-home .ocu431-article-grid{grid-template-columns:1fr!important}
  body.home.ocu48148-legacy-home .ocu431-article-grid article{min-height:0!important}
}
