@charset "utf-8";
/* =====================================================================
   Beaumont Union – site styles
   Loaded after style.css. Keeps the original colour scheme
   (brand #884932, charcoal menu #393939) with larger, easier-to-read text.
   ===================================================================== */

:root {
  --brand: #884932;
  --brand-dark: #6a3726;
  --brand-tint: #f6efec;
  --ink: #222;
  --muted: #555;
  --menu: #393939;
  --page: #efefef;
  --card: #fff;
  --line: #ddd;
}

/* ---------- Brand colour helpers (formerly color.css) ---------- */
.colr, .txthover:hover { color: var(--brand) !important; }
.backcolr, .backcolrhover:hover, .backcolrdark { background-color: var(--brand) !important; }
.bordercolr, .bordercolrover:hover { border-color: var(--brand) !important; }

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  min-width: 1040px;
}
p { font-size: inherit; line-height: 1.65; margin: 0 0 1em; }
a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--brand-dark); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { font-family: Georgia, "Times New Roman", serif; color: var(--ink); line-height: 1.3; font-weight: 700; }
h1 { font-size: 34px; }
h2 { font-size: 27px; }
h3 { font-size: 22px; }
h4 { font-size: 20px; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }
hr { width: 100%; float: none; border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; z-index: 2000; }
.skip-link:focus { left: 10px; }

.inner { width: 1000px; margin: 0 auto; }

/* ---------- Header ---------- */
#header {
  padding-bottom: 20px; margin-bottom: 28px;
  background: #dbdbdb url(../images/gray-bg22.gif) repeat-x bottom;
  border-bottom: 1px solid #a6a6a6;
}
#header .inner::after { content: ""; display: table; clear: both; }
.top-head { height: auto; min-height: 80px; display: flex; align-items: center; justify-content: space-between; float: none; }
.logo { float: none; padding: 10px 0 8px 7px; }
.last-update { margin: 0; font-size: 17px; color: var(--muted); }
.last-update strong { color: var(--ink); }

/* ---------- Main menu (same layout, larger targets) ---------- */
.navigation { float: none; width: 1000px; height: auto; min-height: 54px; background: var(--menu) url(../images/navi-bg.gif) repeat-x top; border-bottom: 5px solid; }
.navigation::after { content: ""; display: table; clear: both; }
.ddsmoothmenu ul li { padding-right: 2px; }
.ddsmoothmenu ul li a { font-size: 18px; height: auto; padding: 15px 16px; line-height: 24px; text-decoration: none; font-family: "Segoe UI", Arial, Helvetica, sans-serif; }
.ddsmoothmenu ul li a:hover,
.ddsmoothmenu ul li.current-menu-item > a,
.ddsmoothmenu ul li a.selected { background-color: var(--brand); }
.ddsmoothmenu ul li ul { border-radius: 0 0 6px 6px; box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.ddsmoothmenu ul li ul li a { width: 230px; height: auto; padding: 10px 14px; font-size: 17px; line-height: 22px; border-radius: 3px; }
.ddsmoothmenu ul li ul li ul { width: 260px !important; }
.ddsmoothmenu a.menu-parent { cursor: default; }

/* ---------- Banners (unchanged sizes) ---------- */
.banner-sec { float: none; margin-top: 20px; border-radius: 4px; overflow: hidden; }
.banner-sec::after { content: ""; display: table; clear: both; }
.welcome .sec-head { font-size: 21px; font-family: Georgia, "Times New Roman", serif; margin: 0; }
.page-banner { margin-top: 20px; padding: 9px; background: #fff; border: 1px solid #e3e3e3; border-radius: 4px; }
.page-banner img { display: block; width: 980px; height: 335px; object-fit: cover; }

/* ---------- Content ---------- */
main { padding-bottom: 40px; }
.page-title { font-size: 36px; margin: 0 0 20px; padding-bottom: 12px; border-bottom: 4px solid var(--brand); color: var(--brand); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  padding: 32px 40px; margin: 0 0 28px;
}
.card::after { content: ""; display: table; clear: both; }
.content h2 { margin: 1.4em 0 .5em; color: var(--brand); }
.content h3 { margin: 1.3em 0 .5em; }
.content h2:first-child, .content h3:first-child, .card h2:first-child { margin-top: 0; }
.content ul { list-style: disc; margin: 0 0 1em 1.4em; }
.content ol { margin: 0 0 1em 1.6em; }
.content li { margin-bottom: .35em; }

/* images */
.img-left, .imgleft, .alignleft { float: left; margin: 6px 26px 18px 0; }
.img-right, .imgright, .alignright { float: right; margin: 6px 0 18px 26px; }
main img { border-radius: 3px; }
main p[style*="center"] img { margin: 6px 8px; }

/* tables */
main table { border-collapse: collapse; margin: 0 auto 1.2em; max-width: 100%; }
main td, main th { padding: 8px 10px; vertical-align: top; }
main table.bordered td, main table.bordered th { border: 1px solid var(--line); }

/* embedded galleries and video */
main iframe { display: block; max-width: 100%; border: 1px solid var(--line); border-radius: 4px; margin: 0 auto 1em; }
#webgallery iframe { width: 100%; height: 700px; }

/* ---------- Home page ---------- */
.home-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.home-grid .card { padding: 28px 32px; }
.home-grid .card h2 { font-size: 25px; color: var(--brand); margin: 0 0 .6em; }
.card.notice { border-left: 6px solid var(--brand); background: var(--brand-tint); }
.motto { text-align: center; font-family: Georgia, serif; font-size: 22px; letter-spacing: .3em; color: var(--brand); margin: 0 0 20px; }
.home-side .video iframe { width: 100%; height: 215px; margin: 0; }
.link-list { margin: 0; }
.link-list li { border-bottom: 1px solid #eee; }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; padding: 9px 4px 9px 22px; position: relative; text-decoration: none; font-size: 18px; }
.link-list a::before { content: "\203A"; position: absolute; left: 4px; top: 6px; font-size: 22px; color: var(--brand); }
.link-list a:hover { background: var(--brand-tint); }

/* ---------- Events ---------- */
.single-event { float: none; display: flex; align-items: center; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.single-event:first-of-type { border-top: 0; }
.single-event .eve-date { float: none; width: 120px; height: auto; margin: 0; padding: 10px; text-align: center; background: var(--brand); border: 0; border-radius: 6px; color: #fff; }
.eve-date h1 { float: none; font-size: 38px; color: #fff; padding: 0; margin: 0; line-height: 1.1; }
.eve-date h5 { float: none; font-size: 16px; color: #fff; padding: 0; line-height: 1.3; font-family: "Segoe UI", Arial, sans-serif; }
.single-event .eve-desc { float: none; width: auto; }
.eve-desc h4 { font-size: 23px; padding: 0; }
.eve-desc h4 a { color: var(--ink); text-decoration: none; }

/* ---------- The Review (news) ---------- */
.breadcrumb { font-size: 17px; margin: 0 0 14px; }
.review { max-width: 1000px; }
.review-masthead { text-align: center; background: var(--card); border: 1px solid var(--line); border-top: 8px solid var(--brand); border-radius: 6px; padding: 30px 20px 26px; margin-bottom: 28px; }
.review-crest { display: block; margin: 0 auto 10px; width: 170px; height: auto; }
.review-masthead .amdg { letter-spacing: .35em; font-family: Georgia, serif; color: var(--brand); font-size: 20px; margin: 0 0 6px; }
.review-masthead h1 { font-size: 42px; margin: 0; color: var(--ink); }
.review-masthead .issue { font-size: 26px; font-family: Georgia, serif; color: var(--brand); margin: 4px 0 0; }
.toc { background: var(--brand-tint); border: 1px solid #e2cfc7; border-radius: 6px; padding: 24px 34px; margin-bottom: 28px; }
.toc h2 { font-size: 25px; margin: 0 0 10px; color: var(--brand); }
.toc ol { list-style: decimal; columns: 2; column-gap: 40px; margin: 0 0 0 1.3em; }
.toc li { break-inside: avoid; padding: 3px 0; }
.review .card > h2 { font-size: 30px; color: var(--brand); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid #ead9d2; }
.review .card h3 { font-size: 23px; margin: 1.5em 0 .5em; }
.review .card h3[style*="center"] { color: var(--brand-dark); }
.review .card p { max-width: 100%; }
.review .group-title { font-size: 20px; letter-spacing: .25em; text-transform: uppercase; text-align: center; color: var(--muted); margin: 36px 0 16px; }
.review .intro { font-size: 20px; border-left: 6px solid var(--brand); }
.review .intro .img-left { max-width: 160px; }
.to-top { clear: both; text-align: right; font-size: 16px; margin: 20px 0 0; }
.to-top a { text-decoration: none; }
.closing { text-align: center; font-family: Georgia, serif; letter-spacing: .3em; font-size: 22px; color: var(--brand); margin: 10px 0 0; }

/* ---------- Footer ---------- */
#footer { background: #2d2d2d url(../images/footer.gif); color: #fff; font-size: 18px; }
#footer a { color: #fff; }
.footer-cols { display: flex; gap: 60px; padding: 32px 0 20px; }
.footer-contact h4 { color: #fff; font-size: 20px; margin-bottom: 8px; }
#footer .copyrights { height: auto; background: rgba(0,0,0,.45); }
#footer .copyrights .inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.copyrights p { float: none; padding: 0; margin: 0; font-size: 16px; }
.copyrights a.top { float: none; margin: 0; height: auto; background-position: 0 4px; font-size: 16px; }

/* ---------- Print ---------- */
@media print {
  #header .navigation, .page-banner, .banner-sec, #footer, .toc, .to-top { display: none; }
  body { background: #fff; font-size: 12pt; }
  .card { border: 0; box-shadow: none; padding: 0; }
}

/* welcome panel beside the slider */
.welc-text img { display: block; width: 230px; height: 230px; margin: 0 auto 12px; border-radius: 3px; }
.welcome .sec-head { font-size: 19px; text-align: center; padding: 10px; border-radius: 3px; }

/* expandable "Previous obituaries" panel */
details.expander { margin: 0 0 28px; border: 1px solid #e3d3cc; border-radius: 4px; background: var(--brand-tint); }
details.expander summary { cursor: pointer; padding: 14px 20px; font-size: 21px; font-weight: bold; color: var(--brand); list-style: none; }
details.expander summary::-webkit-details-marker { display: none; }
details.expander summary::before { content: "\25B8"; display: inline-block; width: 1.2em; transition: transform .15s; }
details.expander[open] summary::before { transform: rotate(90deg); }
details.expander summary .years { font-weight: normal; color: #555; font-size: 18px; }
details.expander .year-list { columns: 3; column-gap: 24px; margin: 0; padding: 4px 20px 14px; background: #fff; border-top: 1px solid #e3d3cc; }
details.expander .year-list li { break-inside: avoid; }
details.expander .year-list, details.expander .year-list li { list-style: none; margin-left: 0; padding-left: 0; }
details.expander .year-list { padding-left: 20px; }
details.expander .year-list a { padding-left: 4px; }
details.expander .year-list a::before { content: none; }

/* Review: category headings and grouped contents */
.review .category { margin: 0 0 12px; }
.review .category-title { font-family: Georgia, "Times New Roman", serif; font-size: 32px; color: #fff; background: var(--brand); margin: 40px 0 18px; padding: 12px 24px; border-radius: 4px; }
.review .card > h3 { font-size: 28px; color: var(--brand); margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid #ead9d2; }
.review .card h4 { font-size: 23px; margin: 1.5em 0 .5em; }
.toc > ol > li > a { font-weight: bold; }
.toc .toc-sub { list-style: none; margin: 2px 0 6px 0; padding: 0; }
.toc .toc-sub li { padding: 1px 0; font-size: 17px; }
.toc .toc-sub a { font-weight: normal; }

/* Review: one continuous article, centred pictures and captions */
.review-body img { float: none; }
.review-body p.figure { text-align: center; margin: 22px 0 8px; }
.review-body p.figure img { display: inline-block; margin: 4px 6px; vertical-align: top; }
.review-body p.caption { text-align: center; font-style: italic; color: #444; margin: 0 auto 22px; max-width: 720px; }
.review-body img.img-left { float: left; }
