/* ==========================================================
   inner-pages.css
   Self-contained shared stylesheet for all non-index pages.
   Rebuilt from the site's legacy look so subpages can use a
   single CSS file without depending on style.css/layout.css/mobile.css.
   ========================================================== */

/* ----------------- reset / base ----------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  font-size: 100%;
  line-height: 1em;
  background: url(images/bg.gif);
}

html, input, textarea {
  font-family: Arial, Helvetica, sans-serif;
  color: #b0a18b;
}

img {
  border: 0;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

img.logo {
  width: 234px;
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #766a64;
  text-decoration: underline;
  outline: none;
}

a:hover { text-decoration: none; }

.container::after,
.indent::after,
.indent-main::after,
.header-row::after,
.content-row::after {
  content: "";
  display: block;
  clear: both;
}

:root {
  --desktop-width: 1001px;
  --side-gap: 33px;
  --col-gap: 11px;
  --nav-col: 234px;
  --hero-col: 690px;
  --nav-row-height: 42px;
  --logo-height: 182px;
  --welcome-strip-height: 54px;
  --nav-count: 7;
  --header-stack-height: calc(var(--logo-height) + (var(--nav-count) * var(--nav-row-height)));
}


/* ----------------- wrapper ----------------- */
.main {
  width: 100%;
  max-width: var(--desktop-width);
  margin: 0 auto;
  text-align: left;
  background: url(images/bg1.gif);
  overflow: hidden;
}

div.container { width: 100%; }

/* ----------------- header ----------------- */
#header {
  font-size: 0.75em;
  color: #867250;
  padding-bottom: 10px;
}

#header .indent {
  padding: 38px 0 0 var(--side-gap);
}

#header .header-row {
  display: flex;
  align-items: stretch;
  gap: var(--col-gap);
  width: calc(100% - var(--side-gap));
}

#header .col-1,
#header .col-2 {
  float: none !important;
}

#header .col-1 {
  flex: 0 0 var(--nav-col);
  width: var(--nav-col);
}

#header .col-2 {
  flex: 0 0 var(--hero-col);
  width: var(--hero-col);
}

.nav-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.nav-menu {
  width: 234px;
}

.nav-item {
  display: block;
  width: 100%;
  min-height: var(--nav-row-height);
  line-height: var(--nav-row-height);
  padding: 0 14px 0 15px;
  background: #556b0a url(images/m1.gif) no-repeat left top;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.nav-item:hover,
.nav-item:focus {
  text-decoration: none;
  filter: brightness(1.05);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  min-height: var(--header-stack-height);
  height: var(--header-stack-height);
}

.hero-image-wrap {
  position: relative;
  width: 100%;
  min-height: calc(var(--header-stack-height) - var(--welcome-strip-height));
  height: calc(var(--header-stack-height) - var(--welcome-strip-height));
  flex: 0 0 calc(var(--header-stack-height) - var(--welcome-strip-height));
  overflow: hidden;
  background: #222;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.txt-1,
.hero-caption {
  width: 100%;
  min-height: var(--welcome-strip-height);
  height: var(--welcome-strip-height);
  background: #efe8db;
  color: #7a6a5b;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-size: 0.92em;
  line-height: 1.2em;
}

.welcome-label {
  flex: 0 0 auto;
  color: #6b4a2e;
  font-size: 1.9em;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.welcome-label::after {
  content: " |";
  color: #6b4a2e;
  font-weight: bold;
}

.welcome-message {
  flex: 1 1 auto;
}

/* ----------------- content ----------------- */
#content {
  font-size: 0.75em;
  width: 100%;
  text-align: left;
}

#content .indent-main {
  padding: 0 var(--side-gap) 13px var(--side-gap);
}

.bg-1 {
  background: #31373c url(images/bg-1.gif) repeat-x top;
  color: #dedad4;
  width: 100%;
}

.bg-2 {
  background: #3d3732 url(images/bg-2.gif) repeat-x top;
  color: #978f8a;
  width: 100%;
}

.bg-3 {
  background: url(images/bg-3.gif);
  color: #766a64;
  width: 100%;
}

#content .title {
  background: url(images/tail2.gif) repeat-x bottom;
  margin-bottom: 16px;
}

#content h1,
#content h2 {
  color: #d3c3ab;
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1.44em;
  padding-bottom: 18px;
}

#content h2 strong,
#content h1 strong {
  color: #dedad4;
  font-size: 1.66em;
  font-weight: normal;
  line-height: 1em;
}

#content h3 {
  color: #dedad4;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 0 14px;
}

#content h5 {
  color: #dadada;
  font-size: 1.33em;
  margin-bottom: 13px;
}

#content p {
  line-height: 1.45em;
  margin: 0 0 12px;
}

#content .h2-1 {
  background: url(images/icon1.jpg) no-repeat top left;
  padding-left: 85px;
}

#content .h2-2 {
  background: url(images/icon2.jpg) no-repeat top left;
  padding-left: 102px;
}

#content .indent-col {
  padding: 37px 30px 30px 20px;
  text-align: right;
}

#content .indent-col1 {
  padding: 21px 20px 22px 29px;
}

#content .indent-col3 {
  padding: 25px 20px 0 29px;
}

#content .indent1 { padding: 0 0 0 5px; }
#content .indent2 { padding: 0 0 0 12px; }
#content .indent3 { padding: 45px 0 0 0; }

.content-copy {
  font-size: 1.08em;
}

.content-copy blockquote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 4px solid #7d735d;
  background: rgba(255, 255, 255, 0.04);
  color: #d8d0c8;
  line-height: 1.55em;
}

.content-copy blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  color: #bfb2a3;
}

/* ----------------- shared lists / links ----------------- */
.ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ul li {
  background: url(images/marker1.gif) center right no-repeat;
  margin: 0;
  padding-right: 18px;
}

.ul li a {
  display: block;
  color: #dedad4;
  text-decoration: none;
  font-weight: bold;
  line-height: 2em;
  font-family: "Arial Narrow", Helvetica, sans-serif;
  font-size: 1.5em;
  text-transform: uppercase;
}

.ul li a:hover { text-decoration: underline; }

.link {
  color: #cdcbab;
  background: url(images/marker.gif) no-repeat 0 5px;
  padding-left: 11px;
  text-decoration: none;
  font-weight: bold;
}

.link:hover { text-decoration: underline; }

.link-1 {
  display: inline-block;
  background: url(images/link_bg.gif) left top repeat-x;
  color: #282320;
  text-decoration: none;
}

.link-1 em {
  display: block;
  background: url(images/link_left.gif) no-repeat left top;
}

.link-1 b {
  display: block;
  background: url(images/link_right.gif) no-repeat right top;
  padding: 2px 13px 3px 20px;
  font-style: normal;
}

.link-1:hover {
  text-decoration: none;
  color: #fff;
}

/* ----------------- service schedule table ----------------- */
.schedule-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 22px;
}

.DateTable,
.schedule-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  border-spacing: 0;
}

.schedule-table thead th,
.DateTable thead th {
  color: #dedad4;
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.schedule-table tbody td,
.DateTable tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
  line-height: 1.35em;
}

.schedule-table tbody tr:last-child td,
.DateTable tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table tbody td:first-child,
.DateTable tbody td:first-child {
  color: #dedad4;
  font-size: 1.08em;
}

.schedule-table tbody td:not(:first-child),
.DateTable tbody td:not(:first-child) {
  text-align: center;
}

.auto-style6,
.auto-style7,
.auto-style8 {
  font-size: 1em;
}

.auto-style6,
.auto-style7 { text-align: center; }
.auto-style8 { text-align: left; }

.scripture-highlight {
  margin-top: 10px;
  color: #e3dbd1;
  font-size: 1.12em;
  line-height: 1.65em;
}

.scripture-highlight strong {
  color: #f1ebe3;
}

/* ----------------- footer ----------------- */
#footer {
  min-height: 61px;
  color: #746963;
  font-size: 0.75em;
  background: url(images/bot.gif) repeat-x top;
  position: relative;
}

#footer .bg-bot {
  background: url(images/tail.gif) repeat-x top;
  margin: 0 33px;
}

#footer .indent-footer {
  padding: 19px 8px 16px 11px;
  line-height: 1.4em;
}

#footer span {
  color: #978a79;
  float: right;
}

#footer .icon {
  margin: 22px 0 0 764px;
  position: absolute;
}

/* ----------------- tablet ----------------- */
@media screen and (max-width: 1024px) {
  .main {
    width: 100%;
    max-width: 1001px;
  }

  #header .indent,
  #content .indent-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  #header .header-row {
    width: 100%;
  }

  #header .col-2 {
    flex: 1 1 auto;
    width: auto;
  }

  .hero-image-wrap {
    height: 300px;
  }
}

/* ----------------- mobile ----------------- */
@media screen and (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  .main {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: visible;
  }

  #header {
    padding-bottom: 0;
  }

  #header .indent {
    padding: 12px 10px 0;
  }

  #header .header-row {
    display: block;
    width: 100%;
  }

  #header .col-1,
  #header .col-2 {
    display: block;
    width: 100% !important;
    margin: 0 auto;
  }

  .nav-panel {
    max-width: 234px;
    margin: 0 auto 10px;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-item {
    min-height: 42px;
    line-height: 1.2em;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .hero-image-wrap {
    width: 100%;
    height: auto;
    aspect-ratio: 651 / 329;
  }

  .txt-1,
  .hero-caption {
    min-height: 0;
    align-items: flex-start;
  }

  #content .indent-main {
    padding: 0 10px 13px;
  }

  #content,
  #footer,
  .container,
  .bg-1,
  .bg-2,
  .bg-3 {
    width: 100% !important;
    max-width: 100% !important;
  }

  #content .indent-col,
  #content .indent-col1,
  #content .indent-col3 {
    padding: 18px 12px;
    text-align: left;
  }

  #content h1,
  #content h2 {
    font-size: 1.3em;
  }

  #content h2 strong,
  #content h1 strong {
    font-size: 1.45em;
  }

  .schedule-wrap {
    margin: 14px 0 18px;
  }

  #footer {
    height: auto;
  }

  #footer .icon {
    display: none;
  }

  #footer .bg-bot {
    margin: 0 10px;
  }

  #footer .indent-footer {
    padding: 16px 8px 14px 11px;
  }

  #footer span {
    float: none;
    display: block;
    margin-top: 6px;
  }
}

@media screen and (max-width: 768px) {
  .hero-panel {
    min-height: 0;
    height: auto;
  }

  .hero-image-wrap {
    min-height: 0;
    height: auto;
    flex: none;
  }

  .hero-image-wrap::before {
    content: "";
    display: block;
    padding-top: 50.538%;
  }

  .hero-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .txt-1,
  .hero-caption {
    min-height: 0;
    height: auto;
    align-items: flex-start;
    flex-wrap: wrap;
  }
}
