:root {
  --mucvu-navy: #082b43;
  --mucvu-gold: #e4b51e;
  --mucvu-ink: #172b3a;
  --mucvu-muted: #586773;
  --mucvu-paper: #f5f4f0;
}

html, body { width: 100%; min-height: 100%; margin: 0; background: var(--mucvu-paper) !important; color: var(--mucvu-ink); font-family: "Segoe UI", Arial, sans-serif; }
body { padding-bottom: 0; }
#site-header { position: sticky; top: 0; z-index: 1000; width: 100%; }
#master-header { display: flex; position: relative; z-index: 2; width: 100%; height: 170px; margin: 0; padding: 0 max(32px, calc((100% - 1440px) / 2)); box-sizing: border-box; align-items: center; background: var(--mucvu-navy); }
#master-header p { display: none; }
.master-brand { display: flex; align-items: center; gap: 12px; color: #fff; font: 800 28px/1.1 "Segoe UI", Arial, sans-serif; letter-spacing: .015em; text-decoration: none; white-space: nowrap; }
.master-brand:hover, .master-brand:focus { color: #fff; text-decoration: none; }

#topnav-wrapper { position: relative; z-index: 3; width: 100%; height: 170px; margin-top: -170px; border: 0; background: transparent !important; }
.topnav { position: relative; display: flex; width: 100%; max-width: 1600px; height: 170px; margin: 0 auto; padding: 0 28px 16px 470px; box-sizing: border-box; align-items: flex-end; justify-content: flex-end; gap: 4px; background: transparent; }
.topnav a, .topnav-dropdown .dropbtn { color: #fff; font: 700 17px/1.2 "Segoe UI", Arial, sans-serif; letter-spacing: .025em; }
.topnav a { padding: 12px 10px; }
.topnav-dropdown { position: relative; float: none; overflow: visible; }
.topnav-dropdown.active { border-radius: 0; background: transparent !important; }
.topnav-dropdown .dropbtn { padding: 12px 10px; border: 0; border-radius: 7px; background: transparent; }
.topnav-dropdown .dropbtn a { color: inherit; font: inherit; letter-spacing: inherit; }
.topnav > a.active, .topnav-dropdown.active > .dropbtn { border-radius: 7px; border-bottom: 3px solid #e4b51e; background: transparent !important; color: #f4cf58 !important; box-shadow: none !important; }
.topnav-dropdown.active > .dropbtn a { background: transparent !important; color: #f4cf58 !important; }
.topnav > a:not(.site-brand):not(.icon), .topnav-dropdown .dropbtn { border-radius: 7px; transition: background-color .18s ease, color .18s ease; }
.topnav > a:not(.site-brand):not(.icon):not(.active):hover { border-radius: 7px; background: #29465c !important; color: #f4cf58 !important; box-shadow: none; text-decoration: none; }
.topnav-dropdown:not(.active):hover, .topnav-dropdown:not(.active):focus-within { border-radius: 7px; background: #29465c !important; }
.topnav-dropdown:not(.active) .dropbtn:hover, .topnav-dropdown:not(.active):focus-within .dropbtn { border-radius: 7px; background: transparent !important; color: #f4cf58 !important; box-shadow: none; }
.topnav > a.active:hover, .topnav-dropdown.active > .dropbtn:hover, .topnav-dropdown.active:focus-within > .dropbtn { border-radius: 7px; border-bottom: 3px solid #e4b51e; background: transparent !important; color: #f4cf58 !important; box-shadow: none !important; }
.topnav-dropdown .dropbtn:hover a, .topnav-dropdown:focus-within .dropbtn a { background: transparent !important; color: #f4cf58 !important; }
.topnav .site-brand { display: none; }
.topnav .icon { display: none; }
.dropdown-content { z-index: 1000; min-width: 220px; border-top: 3px solid #c89a4b; background: #fff !important; box-shadow: 0 12px 28px rgba(24,43,58,.18); }
.topnav .dropdown-content a, #topnav-wrapper .dropdown-content a { display: block; padding: 12px 16px; background: #fff !important; color: #143b56 !important; font-size: 14px; line-height: 1.35; text-align: left; text-decoration: none; white-space: nowrap; }
.topnav .dropdown-content a:hover, #topnav-wrapper .dropdown-content a:hover { background: #f3f0e9 !important; color: #143b56 !important; }
.nav-quick-actions { position: absolute; top: 28px; right: 28px; display: flex; }
.nav-quick-actions a { display: inline-flex; margin-left: 12px; padding: 10px 18px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; background: rgba(255,255,255,.06); color: #fff; font: 700 14px "Segoe UI", Arial, sans-serif; text-decoration: none; transition: .18s ease; }
.nav-quick-actions .quick-admin { border-color: var(--mucvu-gold); background: var(--mucvu-gold); color: var(--mucvu-navy); }
.nav-quick-actions a.quick-facebook { width: 38px; height: 38px; margin-left: 10px; padding: 0; border: 0; border-radius: 9px; background: #1877f2; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.quick-facebook svg { display: block; width: 13px; height: 22px; }
.nav-quick-actions a:hover, .nav-quick-actions a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.24); text-decoration: none; }
#main-wrapper, div#main { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; }
#sub-header { position: relative; display: flex !important; width: 100vw !important; height: clamp(250px, 31vw, 360px) !important; margin: 0 0 0 calc(50% - 50vw) !important; padding: 0 !important; align-items: flex-end; overflow: hidden; box-sizing: border-box; background: #36454f url("/images/headline/headline-mucvu.jpg") center 47% / cover no-repeat !important; }
#sub-header::before { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(4,25,39,.68), rgba(4,25,39,.18) 78%), linear-gradient(0deg, rgba(4,25,39,.38), transparent 65%); }
.sub-header-text { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 46px; color: #fff; font-family: "Segoe UI", Arial, sans-serif; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.sub-header-eyebrow { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .17em; }
.sub-header-text strong { display: block; font-size: clamp(42px, 6vw, 76px); font-weight: 850; line-height: 1; letter-spacing: .035em; }
.mucvu-content { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, .9fr); gap: 30px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 48px 0 70px; box-sizing: border-box; }
.mucvu-content section#left, .mucvu-content section#right { float: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box; }
.panel-group { margin: 0; }
.panel.panel-info { margin-bottom: 24px; overflow: hidden; border: 1px solid #e1e6e8; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(8,43,67,.07); }
.panel-info > .panel-heading { padding: 18px 22px; border: 0; border-bottom: 1px solid rgba(255,255,255,.15); background: var(--mucvu-navy); color: #fff; font: 700 19px/1.3 "Segoe UI", Arial, sans-serif; }
.panel-info > .panel-body { padding: 22px 24px; border: 0; background: #fff; color: var(--mucvu-muted); }
.panel-body p.normal { margin: 0 0 16px; color: var(--mucvu-muted); font: 15px/1.65 "Segoe UI", Arial, sans-serif; }
.panel-body p.normal:last-child { margin-bottom: 0; }
.panel-body .glyphicon { margin-right: 7px; color: #c89a4b; }
.panel-body .bold { color: var(--mucvu-ink); font-weight: 700; }
.panel-body.list-group { padding: 0; }
.list-group-item { padding: 18px 22px; border-color: #e7eaec; color: var(--mucvu-muted); }
.list-group-item h5 { margin: 0 0 7px; color: var(--mucvu-navy); font-size: 16px; }
.list-group-item p { margin: 0; line-height: 1.6; }
#right-sub-section { padding: 21px 22px; margin: 0 0 18px; border: 1px solid #e1e6e8; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px rgba(8,43,67,.06); }
#right-sub-section h4 { margin: 0 0 15px; padding-bottom: 12px; border-bottom: 1px solid #e8e9e6; color: var(--mucvu-navy); font: 700 18px/1.35 "Segoe UI", Arial, sans-serif; }
#right-sub-section h4 a { color: inherit; }
#right-sub-section ul { padding-left: 19px; margin: 0; color: var(--mucvu-muted); font: 14px/1.75 "Segoe UI", Arial, sans-serif; }
#right-sub-section li { padding: 2px 0; }
#right-sub-section li a { color: #24516b; text-decoration: none; }
#right-sub-section li a:hover { color: #a47825; text-decoration: underline; }
#right-sub-section p { max-width: 100% !important; }
.style-one { margin: 0; border: 0; }
footer { margin: 0; padding: 30px 20px; background: var(--mucvu-navy); color: rgba(255,255,255,.82); text-align: center; font: 14px "Segoe UI", Arial, sans-serif; }
footer p { margin: 0; }

@media (max-width: 1200px) {
  #master-header { height: 170px; padding: 0 22px; align-items: flex-start; }
  .master-brand { position: absolute; top: 10px; left: 22px; gap: 10px; font-size: 21px; }
  
  #topnav-wrapper { height: 170px; margin-top: -170px; }
  .topnav { height: 170px; max-width: none; padding: 78px 12px 9px; flex-wrap: wrap; align-content: flex-end; align-items: flex-end; justify-content: center; gap: 0 2px; }
  .topnav > a:not(.site-brand):not(.icon), .topnav-dropdown .dropbtn { padding: 8px 9px; font-size: 15px; }
  .topnav-dropdown .dropbtn a { font: inherit; }
  .nav-quick-actions { display: none; }
}
@media (max-width: 760px) {
  #master-header { height: 98px; padding: 0 14px; align-items: center; }
  .master-brand { top: 12px; left: 14px; gap: 9px; font-size: 15px; }
  
  #topnav-wrapper { height: 98px; margin-top: -98px; overflow: visible; }
  #topnav-wrapper .topnav { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 98px; padding: 0; background: transparent; }
  #topnav-wrapper .topnav > a:not(.site-brand):not(.icon), #topnav-wrapper .topnav > .topnav-dropdown { display: none; }
  #topnav-wrapper .topnav > a.icon { display: block; position: absolute; top: 27px; right: 14px; z-index: 5; padding: 8px; color: #fff; font-size: 0; }
  #topnav-wrapper .topnav > a.icon::after { content: "☰"; font-size: 27px; }
  #topnav-wrapper .topnav.responsive { height: auto; min-height: 98px; padding: 98px 0 8px; background: linear-gradient(to bottom, transparent 0, transparent 98px, var(--mucvu-navy) 98px); box-shadow: 0 12px 20px rgba(0,0,0,.25); }
  #topnav-wrapper .topnav.responsive > a:not(.site-brand):not(.icon), #topnav-wrapper .topnav.responsive > .topnav-dropdown { display: block; width: 100%; }
  #topnav-wrapper .topnav.responsive > a:not(.site-brand):not(.icon) { padding: 13px 24px; text-align: left; box-sizing: border-box; }
  #topnav-wrapper .topnav.responsive .topnav-dropdown > .dropbtn { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
  #topnav-wrapper .topnav.responsive .topnav-dropdown > .dropbtn a { display: block; width: 100%; padding: 13px 24px; box-sizing: border-box; text-align: left; }
  #topnav-wrapper .topnav.responsive .dropdown-content { display: none !important; }
  #topnav-wrapper .topnav.responsive > a.icon { position: absolute; top: 27px; right: 14px; }
  #sub-header { height: 250px !important; background-position: 52% center !important; }
  .sub-header-text { width: calc(100% - 36px); padding-bottom: 30px; }
  .sub-header-eyebrow { max-width: 280px; font-size: 10px; line-height: 1.5; }
  .mucvu-content { grid-template-columns: 1fr; gap: 0; width: calc(100% - 32px); padding: 30px 0 48px; }
  .panel-info > .panel-body { padding: 18px; }
  #right-sub-section { padding: 18px; }
}
.master-brand .brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.master-brand .brand-title { color: inherit; font: 800 28px/1.05 "Segoe UI", Arial, sans-serif; letter-spacing: .015em; }
.master-brand .brand-subtitle { color: rgba(255,255,255,.9); font: 500 13px/1.1 "Segoe UI", Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 1200px) {
  .master-brand .brand-copy { gap: 4px; }
  .master-brand .brand-title { font-size: 21px; }
  .master-brand .brand-subtitle { font-size: 10px; letter-spacing: .13em; }
}
@media (max-width: 760px) {
  .master-brand .brand-copy { gap: 3px; }
  .master-brand .brand-title { font-size: 15px; }
  .master-brand .brand-subtitle { font-size: 8px; letter-spacing: .09em; }
}

/* Keep the parish logo at the same dimensions on every modern site page. */

#site-header > #master-header { height: 170px !important; min-height: 170px !important; }
#site-header > #topnav-wrapper { height: 170px !important; margin-top: -170px !important; }
@media (max-width: 1200px) {
  #site-header > #master-header { height: 170px !important; min-height: 170px !important; }
  #site-header > #topnav-wrapper { height: 170px !important; margin-top: -170px !important; }
  
}
@media (max-width: 760px) {
  #site-header > #master-header { height: 98px !important; min-height: 98px !important; }
  #site-header > #topnav-wrapper { height: 98px !important; margin-top: -98px !important; }
  
}

/* Pastoral pages: reduce the shared banner by one third. */
body.mucvu-page.site-header-overlay #sub-header {
  height: clamp(303.333px, 28vw, 455px) !important;
}
body.mucvu-page #sub-header::before {
  background: linear-gradient(90deg, rgba(4,25,39,.38), rgba(4,25,39,.05) 78%), linear-gradient(0deg, rgba(4,25,39,.28), transparent 55%);
}
body.mucvu-page #site-header::before {
  background: linear-gradient(180deg, rgba(4,25,39,.5), rgba(4,25,39,.28) 65%, rgba(4,25,39,0));
}
@media (max-width: 760px) {
  body.mucvu-page.site-header-overlay #sub-header {
    height: clamp(245px, 37.9167svh, 350px) !important;
  }
}

/* A softer serif title for the pastoral landing page banner. */
body.mucvu-page .sub-header-text strong.mucvu-banner-title {
  font-family: Cambria, Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .015em;
}
