.btn-theme {
  background-color: #0c82b9;
  color: #fff;
  border: medium none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  height: 50px;
  letter-spacing: 0.6px;
  margin-top: 10px;
  text-transform: uppercase;
  width: auto;
  transition: all 0.4s;
  border-radius: 0;
  position: static;
}

.btn-theme:hover {
  background: #f22282;
  color: #fff;
}

.btn-theme-2 {
  background-color: #f22282;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 14px 32px;
  display: inline-block;
  border-radius: 50px;
}

.btn-theme:hover {
  background: #0c82b9;
  color: #fff;
}

.btn-black {
  background-color: #000000;
  color: #ffffff !important;
}

.btn-white {
  background-color: white;
  padding: 2px 10px;
  border-radius: 3px;
}

.strong {
  font-weight: bold !important;
}

.underlined {
  text-decoration: underline;
}

.sortable {
  padding: 0;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.sortable li {
  border: 1px solid #ddd;
  list-style: none outside none;
  margin: 4px;
  padding: 8px;
}

.sortable .handle {
  cursor: move;
}

.redactor-editor ul,
div.pagecontent ul,
.note-editable ul {
  list-style: none;
  padding-left: 15px;
}

.redactor-editor ul>li,
div.pagecontent ul>li,
.note-editable ul>li {
  padding-bottom: 15px;
  padding-left: 1.3em;
  text-indent: -0.9em;
}

.redactor-editor ul>li:before,
div.pagecontent ul>li:before,
.note-editable ul>li:before {
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  content: "\f00c";
  color: #701c1c;
  margin-left: -12px;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 14px;
  font-size: 14px;
  display: inline-block;
}

ul.list-styled {
  list-style: none;
  padding-left: 2em;
  text-indent: -2em;
  margin-bottom: 15px;
  margin-left: 5px;
  list-style-position: outside;
}

ul.list-styled li {
  padding-bottom: 5px;
}

.list-group-item {
  border: none;
}

ul.list-styled>li:before {
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  content: "\f00c";
  color: #701c1c;
  margin-left: -12px;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 14px;
  font-size: 14px;
  display: inline-block;
}

div.pagecontent img {
  max-width: 100%;
}

.red-bg {
  background-color: #d9534f;
  color: #fafafa;
}

.bg-red {
  background-color: #d9534f;
  color: #fafafa;
}

.text-pink {
  color: #ff3399 !important;
}

.bg-pink {
  background-color: #ff3399 !important;
}

.text-white {
  color: #ffffff !important;
}

.bg-white {
  background-color: #ffffff !important;
}

.text-black {
  color: #282c3d !important;
}

.bg-black {
  background-color: #282c3d !important;
}

.text-green {
  color: #00953a !important;
}

.bg-green {
  background-color: #00953a !important;
}

.text-orange {
  color: #e87722 !important;
}

.bg-orange {
  background-color: #e87722 !important;
}

.text-purple {
  color: #823794 !important;
}

.bg-purple {
  background-color: #823794 !important;
}

.text-blue {
  color: #0c82b9 !important;
}

.bg-blue {
  background-color: #0c82b9 !important;
}

.text-darkblue {
  color: #00008b !important;
}

.bg-darkblue {
  background-color: #00008b !important;
}

.text-red {
  color: #d9534f !important;
}

.bg-red {
  background-color: #d9534f !important;
}

.text-teal {
  color: #009ca6 !important;
}

.bg-teal {
  background-color: #009ca6 !important;
}

.text-gray {
  color: #8a8b8c !important;
}

.bg-gray {
  background-color: #8a8b8c !important;
}

.text-gold {
  color: #b26d00 !important;
}

.bg-gold {
  background-color: #b26d00 !important;
}

.text-yellow {
  color: #ffdd00 !important;
}

.bg-yellow {
  background-color: #ffdd00 !important;
}

.text-maroon {
  color: #8d0b56 !important;
}

.bg-maroon {
  background-color: #8d0b56 !important;
}

.text-theme {
  color: #0c82b9 !important;
}

.opacity50 {
  opacity: 0.5;
  filter: alpha(opacity=50);
  /* For IE8 and earlier */
}

.opacity60 {
  opacity: 0.6;
  filter: alpha(opacity=60);
  /* For IE8 and earlier */
}

.opacity70 {
  opacity: 0.7;
  filter: alpha(opacity=70);
  /* For IE8 and earlier */
}

.row-same-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
}

.row-same-height>[class*="col-"] {
  display: flex;
  flex-direction: column;
}

.gray-transparent-bg-for-text {
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.white-transparent-bg-for-text {
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
}

.vendor-image,
.kv-file-content {
  position: relative;
  overflow: hidden;
  padding-bottom: 66.7%;
  /* here the desired aspect ratio ... Calculate height / width * 100*/
}

.vendor-image img,
.kv-file-content img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.vendor-top-image {
  position: absolute;
  overflow: hidden;
  padding-bottom: 66.7%;
  /* here the desired aspect ratio ... Calculate height / width * 100*/
}

.vendor-top-image img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.news-image {
  position: relative;
  overflow: hidden;
  padding-bottom: 44.9%;
  /* here the desired aspect ratio ... Calculate height / width * 100*/
}

.news-image img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.file-preview-image {
  height: 140px;
}

.img120 {
  height: 120px !important;
  width: auto;
}

.img294 {
  height: 294px;
  width: 100%;
}

.img380 {
  height: 380px;
  width: auto;
}

.img-center {
  margin: 0 auto;
}

.pl-10 {
  padding-left: 10px !important;
}

.pr-10 {
  padding-right: 10px !important;
}

.pl-20 {
  padding-left: 20px !important;
}

.pr-20 {
  padding-right: 20px !important;
}

.ml-10 {
  margin-left: 10px !important;
}

.mr-10 {
  margin-right: 10px !important;
}

.g-recaptcha {
  display: inline-block;
}

.has-error .help-block {
  color: #ff3333;
}

.redactor-editor {
  border: 1px solid #bbb;
}

.redactor-toolbar {
  position: relative;
  top: 0;
  left: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 14px !important;
  line-height: 1 !important;
  background: #fff;
  border: none;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.select2-container--krajee-bs4 .select2-selection {
  border: 1px solid #bbb;
}

.form-group textarea {
  border-color: #999;
  /* font-size: 14px !important; */
}

.krajee-default .file-caption-info,
.krajee-default .file-size-info {
  height: 25px;
}

.file-preview-image {
  height: 140px;
}

.card .card-badge {
  position: absolute;
  top: -10px;
  left: -15px;
  padding: 3px;
  transform: rotate(-15deg);
  border-radius: 4px;
}

.card .card-badge.lowest {
  background: indianred;
  color: white;
}

.card .card-badge.highest {
  background: seagreen;
  color: white;
}

.card .card-badge.median {
  background: darkorange;
  color: white;
}

/* ------------------------------------------ */

.glyphicon {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.glyphicon-pencil::before {
  content: "\f044";
}

.glyphicon-trash::before {
  content: "\f2ed";
}

.glyphicon-eye-open::before {
  content: "\f06e";
}

.fas {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-calendar-alt:before {
  content: "\f073";
}

/* CAROUSEL LIGHTBOX CAROUSEL LIGHTBOX CAROUSEL LIGHTBOX */
.pb-images-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  z-index: 9999;
}

.pb-modal-back {
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000000d9;
}

.pb-cropper-edit-lightbox {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 20px;
}

.pb-image-modal {
  cursor: zoom-in;
  max-height: 60vh;
  min-width: 400px;
  object-fit: cover;
  z-index: 2;
}

.pb-modal-container {
  width: fit-content;
  left: 50%;
  position: relative;
  top: 50%;
  transform: translate(-50%, -50%);
  gap: 20px;
}

.pb-modal-container a {
  cursor: pointer;
  color: white !important;
  height: fit-content;
}

.pb-light-info {
  color: white !important;
}

.pb-light-info h4,
.pb-light-info h3 {
  color: white !important;
  width: 80%;
}

.pb-light-info p {
  color: white !important;
}

.epchs-photo-gallery {
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  border-radius: 8px;
}

.pb-images-lightbox {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 10px 0 15px 0 !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.pb-images-lightbox>.col-12 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}

.pb-images-lightbox>.col-6 {
  flex: 0 0 50% !important;
  width: 50% !important;
  max-width: 50% !important;
}

.pb-images-lightbox>[class*="col-"]:not(.col-12):not(.col-6) {
  flex: 0 0 auto !important;
  width: 220px !important;
  max-width: 220px !important;
}

.pb-images-lightbox img {
  cursor: pointer;
  flex-basis: auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.individual-image-container {
  transition:
    transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  background-color: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
}

.individual-image-container:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.individual-image-container img {
  min-height: 100%;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s ease-in-out;
}

.individual-image-container:hover img {
  transform: scale(1.03);
}

#pb-container-dots {
  gap: 5px;
}

.pb-row-dots {
  width: 10px;
  height: 10px;
  background-color: #c8c8c8;
  border-radius: 10px;
  transition: 0.2s;
  cursor: pointer;
}

.pb-row-dots:hover {
  transition: 0.2s;
  background-color: #6c6c6c;
}

.pb-active-dot {
  background-color: #6c6c6c;
}

.pb-arrow-m {
  display: none;
}

@media only screen and (max-width: 600px) {
  .pb-images-modal {
    width: 100vw;
  }

  .pb-modal-container {
    width: 80%;
  }

  .pb-modal-container-info {
    width: 100%;
  }

  .pb-image-modal {
    width: 100%;
    object-fit: cover;
    min-width: 100%;
    max-height: 350px;
  }

  .pb-arrow-m {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    bottom: 100px;
    width: 100%;
    color: white;
  }

  .pb-arrow-m a {
    color: white;
  }

  .pb-arrow-modal-d {
    display: none;
  }
}

/* CAROUSEL LIGHTBOX CAROUSEL LIGHTBOX CAROUSEL LIGHTBOX */

/* ------------------------------------*/
/* add custom styles here..  */

del {
  background-color: #fa6b84;
}

ins,
ins * {
  background-color: #aabf67 !important;
}

/* * Summernote styles */
.note-editable {
  height: 400px;
  overflow: scroll;
}

div.note-editor.note-frame.panel.panel-default>div.note-editing-area>div.note-editable>ul,
div.note-editor.note-frame.panel.panel-default>div.note-editing-area>div.note-editable>blockquote>ul {
  list-style: none;
}

div.note-editor.note-frame.panel.panel-default>div.note-editing-area>div.note-editable>ul>li,
div.note-editor.note-frame.panel.panel-default>div.note-editing-area>div.note-editable>blockquote>ul>li {
  padding-bottom: 15px;
  padding-left: 1.3em;
  text-indent: -0.9em;
  margin-left: 1.3rem;
}

div.note-editor.note-frame.panel.panel-default>div.note-editing-area>div.note-editable>ul>li:before,
div.note-editor.note-frame.panel.panel-default>div.note-editing-area>div.note-editable>blockquote>ul>li:before {
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  content: "\f00c";
  color: #701c1c;
  margin-left: -12px;
  margin-right: 6px;
  vertical-align: middle;
  line-height: 14px;
  font-size: 14px;
  display: inline-block;
}

.note-editor .dropdown-toggle::after {
  all: unset;
}

.note-editor .note-dropdown-menu {
  box-sizing: content-box;
}

.note-editor .note-modal-footer {
  box-sizing: content-box;
}

.note-dropdown-menu a {
  text-decoration: none;
  color: black;
}

.note-toolbar {
  border-bottom: 1px solid rgb(195, 195, 195);
}

/* * ----------------------------------------------------- */
/* * Datatables custom CSS */
.dataTables_wrapper {
  width: 100%;
  overflow-x: scroll;
}

.dataTables_wrapper .dataTables_paginate ul li {
  background: none;
  border-radius: 4px;
  border: 1px solid black;
  padding: 5px;
  margin: 5px;
  cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate ul li:hover {
  background: #0d6efd;
  border-radius: 4px;
  border: 1px solid white;
  padding: 5px;
  margin: 5px;
}

.dataTables_wrapper .dataTables_paginate ul li:hover a {
  color: white;
}

.dataTables_wrapper .dataTables_paginate ul li.disabled {
  background: none;
  border-radius: 4px;
  border: 1px solid gray;
  padding: 5px;
  margin: 5px;
  cursor: default;
}

.dataTables_wrapper .dataTables_paginate ul li a {
  color: black;
  padding: 10px;
}

.dataTables_wrapper .dataTables_paginate ul li a:hover {
  color: white;
  padding: 10px;
}

.dataTables_wrapper .dataTables_paginate ul li.disabled a {
  color: gray;
  cursor: default;
}

.dataTables_wrapper .dataTables_paginate li.active {
  background: #0d6efd;
  border: 1px solid white;
}

.dataTables_wrapper .dataTables_paginate li.active a {
  color: white;
}

/* Datatable copntrols Custom CSS */
.dataTables_filter input {
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  margin: 5px;
  background-color: #f5f5f5;
  color: #333;
  transition: box-shadow 0.3s ease;
  background-position: 5px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  border: 1px solid #ccc;
}

.dataTables_filter input:hover {
  border: 1px solid #888;
  background-color: #f9f9f9;
}

.dataTables_filter input:focus {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.dataTables_length select {
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 8px 12px;
  margin: 5px;
  background-color: #f5f5f5;
  color: #333;
  transition: box-shadow 0.3s ease;
  background-position: 5px center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  border: 1px solid #ccc;
}

.dataTables_length option {
  background-color: #f5f5f5;
  color: #333;
  padding: 5px 10px;
}

.dataTables_filter {
  float: left !important;
}

.dataTables_length {
  float: right !important;
}

table.dataTable tbody tr {
  background-color: transparent;
}

table {
  width: 100%;
}

table tbody tr {
  border-bottom: 1px solid #616161;
}

.audit {
  width: 60%;
}

.audit .attribute {
  width: 20%;
}

.audit .from {
  width: 40%;
}

.audit .to {
  width: 40%;
}

.pb-form-card {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  height: fit-content;
}

/* * Icons modal on form */
#icon_modal_body {
  overflow-y: scroll;
  height: 70vh;
}

div:has(.icon_selected) {
  grid-area: selected;
}

.current_icon {
  font-size: 2.5rem;
  padding: 0;
  margin: 0 0.5rem;
}

#icon_modal_body>div:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-areas: "selected none none none none none";
}

#icon_modal_body>div:nth-child(2)>div {
  text-align: center;
}

#icon_modal_body>div:nth-child(2)>div>button {
  font-size: 2rem;
  text-align: center;
}

.ribbon-underline {
  text-decoration: none;
}

/* CLIENT PARAMS */
.pb-table-params thead tr th {
  background-color: #212529;
  color: white;
  padding: 8px 10px;
}

.pb-table-params td {
  background-color: #f8f9fa;
}

.pb-table-params tr:first-child th:first-child {
  border-top-left-radius: 15px;
}

.pb-table-params tr:first-child th:last-child {
  border-top-right-radius: 15px;
}

.pb-table-params tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}

.pb-table-params tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

.pb-table-params tbody tr {
  border-bottom: unset;
}

.pb-array-card-param {
  position: absolute;
  background: #f8f9fa;
  width: 470px;
  padding: 20px;
  border-radius: 12px;
  margin-top: -60px;
  margin-left: 13px;
  box-shadow: 2px 10px 20px 15px #00000012;
}

.pb-card-params {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  height: 100%;
}

.pb-card-params label {
  color: #1d1b20;
  margin-bottom: 10px;
}

.pb-card-params .form-check-input {
  width: 60px;
  height: 30px;
}

.pb-close-icon {
  padding: 0;
  border-radius: 10px;
  color: #6750a4;
}

.pb-plus-icon {
  background-color: #ece6f0;
  padding: 10px 13px;
  border-radius: 10px;
  color: #6750a4;
  transition: all 0.2s;
}

.pb-plus-icon:hover {
  transition: all 0.2s;
  background-color: #f7ecff;
}

.pb-add-buttons {
  display: flex;
  gap: 10px;
}

.pb-update-param-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 50px;
  gap: 10px;
  background: rgba(103, 80, 164, 0.08);
  border-color: #ffffff00;
  color: #6750a4;
  transition: all 0.2s;
}

.pb-update-param-button:hover {
  transition: all 0.2s;
  background-color: #f7ecff;
}

.pb-create-param-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 50px;
  gap: 10px;
  background: rgb(40 255 3 / 18%);
  border-color: #ffffff00;
  color: #2e5733d6;
  transition: all 0.2s;
}

.pb-create-param-button:hover {
  transition: all 0.2s;
  background-color: #78ff7e8f;
}

/* CLIENT PARAMS */

.fs-big {
  font-size: 4em;
}

.far {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.fa-clock:before {
  content: "\f017";
}

.fl-gap {
  gap: 15px;
}

.grid {
  display: grid;
  gap: 1em;
  grid-template-rows: min-content minmax(0, 1fr) min-content;
  grid-template-columns: 1fr minmax(0, 3fr);
  grid-template-areas:
    "a h"
    "a c"
    "a f";
  height: calc(50vh - 1em);
  width: calc(95vw - 2em);
  /* not necessary, but just to be explicit */
  margin: 1em;
}

/* dataTables_wrapper  */

/* Admin Log Start */
.pb-table-log thead tr th {
  background-color: #212529;
  color: white;
  padding: 8px 10px;
}

.pb-table-log td {
  background-color: #f8f9fa;
}

.pb-table-log tr:first-child th:first-child {
  border-top-left-radius: 15px;
}

.pb-table-log tr:first-child th:last-child {
  border-top-right-radius: 15px;
}

.pb-table-log tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}

.pb-table-log tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

.pb-table-log .dataTables_wrapper .dataTables_paginate a {
  background: none;
  border-radius: 4px;
  border: 1px solid black;
  padding: 10px;
  margin: 5px;
  cursor: pointer;
  box-sizing: border-box;
}

.pb-table-log .dataTables_wrapper .dataTables_paginate a.current {
  background: #0d6efd;
  border: 1px solid white;
  color: white;
}

.pb-table-log .dataTables_wrapper .dataTables_paginate a {
  color: black;
  padding: 10px;
}

.pb-table-log .dataTables_wrapper .dataTables_paginate a.disabled {
  background: none;
  border-radius: 4px;
  border: 1px solid gray;
  padding: 10px;
  margin: 5px;
  cursor: default;
  color: gray;
}

.pb-table-log .dataTables_wrapper .dataTables_paginate {
  float: right;
  text-align: right;
}

.pb-table-log .dataTables_wrapper {
  width: 100%;
  overflow-x: unset !important;
}

/* admin ribbon styles */
#admin_ribbon_open_button {
  background-color: #628db6;
  position: fixed;
  font-size: 1rem;
  bottom: 3vh;
  width: auto;
  z-index: 997;
}

#admin_ribbon_open_button #open-ribbon {
  margin: 0;
  padding: 0;
  margin-right: 0.8rem;
}

#admin_ribbon {
  background-color: #628db6;
  font-size: 1rem;
  bottom: 3vh;
  left: -200%;
  z-index: 1000;
}

#admin_ribbon div div ul li {
  list-style: none;
  padding: 0 8px;
  margin: 0;
}

#admin_ribbon div div ul .list-group-item {
  margin-bottom: 0.5rem;
}

#admin_ribbon div div ul li a {
  color: black;
  text-decoration: none;
}

#admin_ribbon div div ul li .fa-check {
  color: green;
}

#admin_ribbon div div ul li .fa-exclamation {
  color: red;
}

#admin_ribbon div div ul li button {
  margin: 0;
  padding: 0;
}

#errors-table {
  position: fixed;
  width: 80%;
  margin-left: 10%;
  margin-top: 10vh;
  padding: 1rem;
  z-index: 999;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content-right {
  right: 0 !important;
}

.dropdown-menu {
  inset: auto auto 0px;
  transform: translate(0px, -30px);
}

.dropdown-content li {
  padding: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dropdown-content li:hover {
  background-color: #f4f4f4;
}

.img-newsletter {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-newsletter {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.datepicker-dropdown {
  height: fit-content;
  padding: 20px;
}

div.dataTables_length label,
div.dataTables_filter label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

@media (min-width: 768px) {
  div.dataTables_filter {
    text-align: right !important;
  }
}

@media print {

  div.dataTables_length,
  div.dataTables_filter,
  div.dataTables_info,
  div.dataTables_paginate {
    display: none !important;
  }

  .pagination {
    display: none !important;
  }
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;

  z-index: 99999;

  background: #000000;
  color: #ffffff;

  display: block;
}

.cookie-banner-dismiss {
  display: none;
}

/*
 * Hide banner when user clicks the X.
 * No JavaScript needed.
 */
#cookie-banner-dismiss:checked+.cookie-consent-banner {
  display: none;
}

.cookie-consent-bar {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 46px;

  box-sizing: border-box;

  padding: 12px 54px 12px 14px;

  background: #000000;
  color: #ffffff;

  font-size: 16px;
  line-height: 1.35;
}

.cookie-consent-bar span {
  display: block;
  width: 100%;
}

.cookie-inline-link {
  background: none;
  border: 0;

  padding: 0;
  margin: 0 2px;

  color: #ffffff;

  text-decoration: underline;

  cursor: pointer;

  font: inherit;
}

.cookie-inline-link:hover {
  color: #cccccc;
}

/*
 * Footer button uses Bootstrap primary color
 * instead of the white banner color.
 */
#footer-cookie-preferences {
  color: var(--bs-primary);
}

#footer-cookie-preferences:hover {
  color: var(--bs-primary);

  text-decoration: underline;
}

/* ---------------------------------------------------------
   COOKIE BANNER CLOSE BUTTON
   --------------------------------------------------------- */

.cookie-bar-close {
  position: absolute;

  top: 50%;
  right: 14px;

  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  padding: 0;

  border: 0;

  background: transparent;
  color: #ffffff;

  font-size: 34px;
  font-weight: 300;
  line-height: 1;

  cursor: pointer;

  opacity: 1;
}

.cookie-bar-close:hover {
  color: #cccccc;
}

/* =========================================================
   COOKIE MODAL - NATIVE POPOVER
   ========================================================= */

/*
 * Critical:
 * Keep the popover completely hidden until the browser
 * opens it through popovertarget.
 */
.cookie-modal[popover]:not(:popover-open) {
  display: none !important;
}

/*
 * Visible only while the native popover is open.
 */
.cookie-modal[popover]:popover-open {
  display: block;
}

/*
 * Native popover container.
 */
.cookie-modal[popover] {
  border: 0;

  padding: 0;
  margin: auto;

  width: min(620px, calc(100vw - 40px));
  max-width: none;

  background: transparent;

  overflow: visible;
}

/*
 * Browser-generated modal backdrop.
 */
.cookie-modal::backdrop {
  background: rgba(0, 0, 0, 0.58);
}

/* ---------------------------------------------------------
   MODAL DIALOG
   --------------------------------------------------------- */

.cookie-modal-dialog {
  position: relative;

  width: 100%;

  max-height: calc(100vh - 40px);

  box-sizing: border-box;

  overflow-y: auto;

  padding: 28px;

  background: #ffffff;
  color: #222222;

  border-radius: 14px;

  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.cookie-modal-dialog h3,
.cookie-modal-dialog .cookie-modal-title {
  margin: 0 40px 10px 0;

  color: #111111;

  font-size: 26px;
  font-weight: 700;
}

.cookie-modal-dialog>p {
  margin: 0 0 18px;

  color: #444444;

  font-size: 15px;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   MODAL CLOSE BUTTON
   --------------------------------------------------------- */

.cookie-modal-close {
  position: absolute;

  top: 18px;
  right: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #f2f2f2;
  color: #111111;

  font-size: 28px;
  font-weight: 400;
  line-height: 1;

  cursor: pointer;
}

.cookie-modal-close:hover {
  background: #e5e5e5;
}

.cookie-choice-row {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  margin: 28px 0 14px;

  padding: 20px;

  background: #f7f7f7;

  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.cookie-choice-label-btn {
  padding: 0;

  color: #111111;

  font-size: 15px;
  font-weight: 700;

  white-space: nowrap;
}

.cookie-main-switch {
  position: relative;

  display: inline-block;

  width: 76px;
  height: 38px;

  flex: 0 0 auto;
}

.cookie-main-switch input {
  position: absolute;

  opacity: 0;

  width: 0;
  height: 0;
}

.cookie-main-slider {
  position: absolute;

  inset: 0;

  cursor: pointer;

  background: #bdbdbd;

  border-radius: 999px;

  transition: 0.2s ease;
}

.cookie-main-slider::before {
  content: "";

  position: absolute;

  width: 30px;
  height: 30px;

  left: 4px;
  top: 4px;

  background: #ffffff;

  border-radius: 50%;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

  transition: 0.2s ease;
}

.cookie-main-switch input:checked+.cookie-main-slider {
  background: #18a558;
}

.cookie-main-switch input:checked+.cookie-main-slider::before {
  transform: translateX(38px);
}

.cookie-main-switch input:disabled+.cookie-main-slider {
  opacity: 0.5;

  cursor: not-allowed;
}

.cookie-choice-help {
  margin: 0 0 18px;

  color: #555555;

  font-size: 14px;
  line-height: 1.5;

  text-align: center;
}

.cookie-gpc-notice {
  margin: 15px 0;

  padding: 10px 15px;

  background: #f5f5f5;

  border-radius: 6px;

  color: #555555;

  font-size: 13px;
  line-height: 1.5;

  text-align: center;
}

.cookie-modal-actions {
  display: flex;

  justify-content: flex-end;

  margin-top: 20px;
}

.cookie-btn {
  border: 0;
  border-radius: 999px;

  padding: 10px 22px;

  cursor: pointer;

  font-size: 14px;
  font-weight: 700;
}

.cookie-btn.primary {
  background: #111111;
  color: #ffffff;
}

.cookie-btn.primary:hover {
  background: #333333;
}

.cookie-links {
  margin: 18px 0 0;

  color: #555555;

  font-size: 13px;
  line-height: 1.5;
}

.cookie-links a {
  color: #111111;

  text-decoration: underline;
}

.cookie-links a:hover {
  color: #333333;
}

@media (max-width: 576px) {
  .cookie-consent-bar {
    min-height: 58px;

    padding: 10px 46px 10px 10px;

    font-size: 14px;
  }

  .cookie-modal[popover] {
    width: calc(100vw - 24px);
  }

  .cookie-modal-dialog {
    width: 100%;

    max-height: calc(100vh - 24px);

    padding: 22px;

    border-radius: 14px;
  }

  .cookie-modal-dialog h3,
.cookie-modal-dialog .cookie-modal-title {
    font-size: 22px;
  }

  .cookie-choice-row {
    gap: 10px;

    padding: 16px 10px;
  }

  .cookie-choice-label-btn {
    font-size: 13px;
  }

  .cookie-main-switch {
    width: 66px;
    height: 34px;
  }

  .cookie-main-slider::before {
    width: 26px;
    height: 26px;
  }

  .cookie-main-switch input:checked+.cookie-main-slider::before {
    transform: translateX(32px);
  }

  .cookie-modal-actions {
    justify-content: stretch;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* Contact Us Custom Styles */
.epchs-contact-form-card {
  border-radius: var(--epchs-radius-lg, 16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.epchs-contact-info-card {
  border-radius: var(--epchs-radius-md, 12px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.epchs-contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.epchs-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--epchs-color-primary-soft, #f8f1f1);
  color: var(--epchs-color-primary, #701c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.epchs-contact-card-title {
  font-weight: 700;
  color: var(--epchs-color-text-dark, #111827);
  margin-bottom: 6px;
}

.epchs-contact-card-text {
  color: var(--epchs-color-text-muted, #4b5563);
  font-size: 15px;
  line-height: 1.5;
}

.epchs-contact-phone-link {
  color: var(--epchs-color-primary, #701c1c);
  font-weight: 700;
  text-decoration: none;
}

.epchs-contact-phone-link:hover {
  text-decoration: underline;
}

.epchs-form-control {
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  background-color: #fdfdfd !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 15px !important;
  color: #1f2937 !important;
  transition: all 0.25s ease-in-out !important;
}

.epchs-form-control:focus {
  background-color: #ffffff !important;
  border-color: var(--epchs-color-primary, #701c1c) !important;
  box-shadow: 0 0 0 4px rgba(112, 28, 28, 0.12) !important;
  outline: none !important;
}

.epchs-form-control::placeholder {
  color: #9ca3af !important;
  font-size: 14px;
}

.epchs-site-main {
  display: flex !important;
  flex-direction: column !important;
}

.epchs-contact-footer-band {
  background-color: var(--epchs-color-primary, #701c1c);
  background-image: linear-gradient(135deg, #701c1c 0%, #4a1010 100%);
  border-top: 4px solid var(--epchs-color-accent, #c5a059);
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  margin-top: auto !important;
  margin-bottom: 0 !important;
}

.epchs-contact-footer-logo {
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.epchs-contact-footer-logo:hover {
  transform: scale(1.05);
}

.epchs-site-main:has(.epchs-contact-footer-band) {
  display: flex !important;
  flex-direction: column !important;
}

body:has(.epchs-contact-footer-band) .epchs-site-footer,
.epchs-contact-footer-band~.epchs-site-footer,
.epchs-contact-footer-band+.epchs-site-footer {
  margin-top: 0 !important;
}

.file-input .input-group {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
}

.file-input .input-group .form-control,
.file-input .input-group .file-caption,
.file-input .input-group .file-caption-name {
  height: auto !important;
  min-height: 48px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-right: 1px solid rgba(0, 0, 0, 0.15) !important;
  display: flex !important;
  align-items: center !important;
}

.file-input .input-group .btn-file {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 48px !important;
  padding: 12px 20px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  margin: 0 !important;
}

.file-input .fileinput-remove-button.hide,
.file-input .fileinput-cancel-button.hide,
.file-input .fileinput-upload-button.hide,
.file-input .file-caption-icon.hide,
.file-input .btn.hide,
.file-input .btn[style*="display: none"],
.file-input .btn[style*="display:none"] {
  display: none !important;
}

/* News Cards & Pagination Styles */
.epchs-news-card {
  border-radius: var(--epchs-radius-lg, 16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  background: #ffffff;
}

.epchs-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.epchs-news-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: #f3f4f6;
}

.epchs-news-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.epchs-news-card:hover .epchs-news-card-img-wrapper img {
  transform: scale(1.05);
}

.epchs-pagination .page-link {
  color: var(--epchs-color-primary, #701c1c);
  border-color: rgba(0, 0, 0, 0.1);
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 8px;
  margin: 0 3px;
  transition: all 0.2s ease;
}

.epchs-pagination .page-item.active .page-link {
  background-color: var(--epchs-color-primary, #701c1c);
  border-color: var(--epchs-color-primary, #701c1c);
  color: #ffffff;
}

.epchs-pagination .page-link:hover {
  background-color: rgba(112, 28, 28, 0.08);
  color: var(--epchs-color-primary, #701c1c);
}

.epchs-page-banner-breadcrumb .is-current,
.epchs-page-banner-breadcrumb li.active,
.epchs-page-banner-breadcrumb li.breadcrumb-item.active {
  color: #f2e9cf !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

.epchs-page-banner-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.epchs-article-title {
  max-width: 100% !important;
  margin: 0 0 20px 0 !important;
  text-align: left !important;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem) !important;
  line-height: 1.25 !important;
  color: #111827 !important;
  display: block !important;
  width: 100% !important;
}

.epchs-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: rgba(112, 28, 28, 0.05);
  border: 1px solid rgba(112, 28, 28, 0.12);
  border-radius: 50px;
  color: var(--epchs-color-primary, #701c1c);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  word-break: break-word;
}

.epchs-tag-pill:hover {
  background-color: var(--epchs-color-primary, #701c1c);
  border-color: var(--epchs-color-primary, #701c1c);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.15);
}

.epchs-tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.08);
  color: currentColor;
  border-radius: 50px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.epchs-tag-pill:hover .epchs-tag-count {
  background-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* EPCHS Shop*/
.epchs-shop-card {
  border-radius: var(--epchs-radius-lg, 16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  background: #ffffff;
}

.epchs-shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.09);
}

.epchs-shop-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #f3f4f6;
}

.epchs-shop-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.epchs-shop-card:hover .epchs-shop-card-img-wrapper img {
  transform: scale(1.06);
}

.epchs-shop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--epchs-color-primary, #701c1c);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.epchs-shop-price {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--epchs-color-primary, #701c1c);
  font-size: 1rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.epchs-shop-filter-wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.epchs-shop-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 50px;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.epchs-shop-nav-link:hover {
  color: var(--epchs-color-primary, #701c1c);
  background-color: rgba(112, 28, 28, 0.06);
}

.epchs-shop-nav-link.active {
  background-color: var(--epchs-color-primary, #701c1c);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(112, 28, 28, 0.25);
}

.epchs-shop-out-of-stock-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: #6c757d;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.epchs-shop-card.is-out-of-stock {
  opacity: 0.85;
}

/* Donate Page - Consistent with Membership Design System */
@media (min-width: 992px) {
  .epchs-donate-sticky-col {
    position: sticky;
    top: 90px;
    align-self: flex-start;
  }
}

.epchs-donate-card-panel {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(141, 1, 2, 0.12);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.epchs-donate-visual {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(141, 1, 2, 0.12);
}

.epchs-donate-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.epchs-donate-widget-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.25rem;
  border: 1px solid rgba(141, 1, 2, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Volunteer Page - Consistent with Membership Design System */
.epchs-volunteer-hero-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.78),
      rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(141, 1, 2, 0.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.epchs-volunteer-hero-card img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.epchs-volunteer-content h3 {
  color: var(--epchs-color-primary, #701c1c);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.epchs-volunteer-content ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding-left: 0;
  margin-bottom: 2.5rem;
}

.epchs-volunteer-content ul li {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(141, 1, 2, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.epchs-volunteer-content ul li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(141, 1, 2, 0.08);
}

.epchs-volunteer-content ul li strong {
  display: block;
  font-size: 1.1rem;
  color: var(--epchs-color-primary, #701c1c);
  margin-bottom: 0.4rem;
}

.epchs-volunteer-content {
  width: 100%;
}

#volunteer-roles .epchs-lead,
#volunteer-roles p,
.epchs-volunteer-content .epchs-lead,
.epchs-volunteer-content p {
  line-height: 1.75;
  color: #444444;
  width: 100% !important;
  max-width: 100% !important;
}

.epchs-volunteer-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem;
  border: 1px solid rgba(141, 1, 2, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Sponsorship Opportunities*/
.epchs-sponsorship-section .epchs-section-title {
  color: var(--epchs-color-primary, #701c1c);
}

.epchs-sponsorship-section .epchs-lead {
  line-height: 1.7;
}

.epchs-sponsorship-hero-card {
  background: linear-gradient(145deg,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.45));
  border: 1px solid rgba(141, 1, 2, 0.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.epchs-sponsorship-hero-card img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.epchs-benefits-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e9e0d5;
  border-left: 5px solid var(--epchs-color-primary, #701c1c);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.epchs-benefits-list li {
  font-size: 1.05rem;
  color: #333333;
}

.corporate-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.corporate-member {
  background: #ffffff;
  border-radius: 0.85rem;
  padding: 1.5rem;
  border: 1px solid #e9e0d5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  position: relative;
}

.corporate-member:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(112, 28, 28, 0.1);
  border-color: rgba(112, 28, 28, 0.3);
}

.corporate-member .member-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(112, 28, 28, 0.08);
  color: var(--epchs-color-primary, #701c1c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.corporate-member .member-name {
  display: block;
  font-size: 1.1rem;
  color: var(--epchs-color-primary, #701c1c);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.corporate-member .member-address {
  font-size: 0.925rem;
  color: #555555;
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.corporate-member .member-phone {
  font-size: 0.9rem;
  color: #777777;
}

.corporate-member .member-phone a {
  color: var(--epchs-color-primary, #701c1c);
  text-decoration: none;
  font-weight: 600;
}

#corporate-members {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.epchs-site-footer {
  margin-top: 0 !important;
}

.epchs-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.epchs-site-header.is-scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.epchs-header-top {
  max-height: 80px;
  opacity: 1;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    padding 0.3s ease !important;
}

.epchs-site-header.is-scrolled .epchs-header-top {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  pointer-events: none !important;
}

.epchs-site-header.is-scrolled .epchs-header-main {
  background: transparent !important;
  border-bottom-color: rgba(141, 1, 2, 0.08) !important;
}

.epchs-header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  width: 100%;
  flex-wrap: wrap;
}

.epchs-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.epchs-main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

@media (min-width: 1200px) and (max-width: 1440px) {
  .epchs-main-nav {
    gap: 0.75rem;
  }

  .epchs-nav-wrap {
    gap: 1rem;
  }

  .epchs-main-nav a,
  .epchs-nav-dropdown-toggle {
    font-size: 0.88rem !important;
  }

  .epchs-header-cta .epchs-btn {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.85rem !important;
  }

  .epchs-brand-logo {
    max-height: 45px;
    width: auto;
  }
}

.epchs-nav-submenu {
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 0.5rem 0 !important;
}

.epchs-nav-submenu a {
  padding: 0.6rem 1.25rem !important;
  font-size: 0.92rem !important;
  display: block;
  color: #333 !important;
  transition: all 0.2s ease !important;
}

.epchs-nav-submenu a:hover {
  background-color: #fcf9f4 !important;
  color: #8b263e !important;
  padding-left: 1.5rem !important;
}

@media (max-width: 1199.98px) {
  .epchs-header-top-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
  }

  .epchs-header-top-links {
    margin-left: auto;
  }

  .epchs-nav-wrap {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    padding: 1.25rem 0;
    gap: 1.25rem !important;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .epchs-main-nav {
    flex-direction: column;
    align-items: stretch !important;
    width: 100%;
    gap: 0.5rem !important;
  }

  .epchs-main-nav a,
  .epchs-nav-dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.65rem 0.75rem !important;
    border-radius: 6px;
    font-size: 1rem !important;
    text-align: left !important;
  }

  .epchs-main-nav a:hover,
  .epchs-nav-dropdown-toggle:hover {
    background-color: rgba(141, 1, 2, 0.05);
  }

  .epchs-nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
  }

  .epchs-dropdown-arrow {
    width: 6px !important;
    height: 6px !important;
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    transform: rotate(45deg) !important;
    padding: 0 !important;
    margin: 0 4px 0 auto !important;
    display: inline-block !important;
    cursor: pointer;
    transition: transform 0.25s ease !important;
  }

  .epchs-nav-submenu {
    display: none !important;
    position: static !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding-left: 1rem !important;
    margin-top: 0 !important;
  }

  .epchs-nav-dropdown.is-open>.epchs-nav-submenu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .epchs-nav-dropdown.is-open .epchs-dropdown-arrow {
    transform: rotate(225deg) !important;
  }

  .epchs-nav-submenu a {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.93rem !important;
  }

  .epchs-header-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }

  .epchs-header-cta .epchs-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .epchs-header-alert {
    display: none !important;
  }

  .epchs-header-top-inner {
    justify-content: center !important;
  }

  .epchs-header-top-links {
    margin: 0 auto !important;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Leadership & Board Section */
.epchs-leadership-container {
  padding-bottom: 4rem;
}

.epchs-leadership-group {
  margin-bottom: 3.5rem;
}

.epchs-leadership-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--epchs-line);
}

.epchs-leadership-group-title {
  font-family: var(--epchs-font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--epchs-red);
  margin: 0;
}

.epchs-leadership-group-count {
  background-color: var(--epchs-soft);
  color: var(--epchs-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--epchs-line);
}

.epchs-leadership-card {
  background: var(--epchs-card);
  border: 1px solid var(--epchs-line);
  border-radius: 18px;
  padding: 1.4rem 1.35rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(44, 42, 38, 0.04);
  transition: all 0.25s ease;
}

.epchs-leadership-card:hover {
  transform: translateY(-4px);
  border-color: var(--epchs-gold);
  box-shadow: 0 16px 36px rgba(44, 42, 38, 0.08);
}

.epchs-leadership-card-top {
  margin-bottom: 1rem;
}

.epchs-leadership-role-badge {
  display: inline-block;
  background-color: rgba(201, 161, 91, 0.14);
  color: #7a591f;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.epchs-leadership-name {
  font-family: var(--epchs-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--epchs-ink);
  margin-bottom: 0.4rem;
}

.epchs-leadership-name a {
  color: var(--epchs-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.epchs-leadership-name a:hover {
  color: var(--epchs-red);
}

.epchs-leadership-bio {
  color: var(--epchs-muted);
  font-size: 0.94rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.epchs-leadership-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.epchs-leadership-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--epchs-muted);
  margin-top: 0.4rem;
}

.epchs-leadership-contact li i {
  color: var(--epchs-gold);
}

.epchs-committee-card {
  background: var(--epchs-card);
  border: 1px solid var(--epchs-line);
  border-radius: 14px;
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 0.2s ease;
  height: 100%;
  box-shadow: 0 6px 20px rgba(44, 42, 38, 0.03);
}

.epchs-committee-card:hover {
  background: #ffffff;
  border-color: var(--epchs-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 42, 38, 0.06);
}

.epchs-committee-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(201, 161, 91, 0.14);
  color: #7a591f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.epchs-committee-name {
  font-family: var(--epchs-font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--epchs-ink);
  margin: 0;
}

.cookie-inline-link {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font: inherit !important;
  color: inherit !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  transition: color 0.2s ease !important;
}

.cookie-inline-link:hover {
  color: var(--epchs-red) !important;
}

/* Obituaries Section*/
.epchs-obituaries-panel {
  box-shadow: 0 10px 30px rgba(44, 42, 38, 0.04);
}

.epchs-az-pill {
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--epchs-ink);
  background: var(--epchs-bg);
  border: 1px solid var(--epchs-line);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.epchs-az-pill:hover,
.epchs-az-pill.active {
  background: var(--epchs-red) !important;
  color: #ffffff !important;
  border-color: var(--epchs-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(141, 1, 2, 0.25);
}

.epchs-obituary-card {
  background: var(--epchs-card);
  border: 1px solid var(--epchs-line);
  border-radius: 18px;
  padding: 1.4rem 1.35rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(44, 42, 38, 0.04);
  transition: all 0.25s ease;
}

.epchs-obituary-card:hover {
  transform: translateY(-4px);
  border-color: var(--epchs-gold);
  box-shadow: 0 16px 36px rgba(44, 42, 38, 0.08);
}

.epchs-obituary-letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(201, 161, 91, 0.14);
  color: #7a591f;
  font-size: 0.85rem;
  font-weight: 800;
}

.epchs-obituary-name,
h2.epchs-obituary-name {
  font-family: var(--epchs-font-heading);
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--epchs-ink) !important;
  margin-bottom: 0.35rem;
  line-height: 1.3 !important;
}

.epchs-obituary-name a {
  color: var(--epchs-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.epchs-obituary-name a:hover {
  color: var(--epchs-red);
}

.epchs-obituary-dates {
  font-size: 0.85rem;
  color: var(--epchs-muted);
}

.epchs-obituary-snippet {
  color: var(--epchs-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.epchs-obituary-link {
  color: var(--epchs-red);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.epchs-obituary-link:hover {
  color: var(--epchs-red-dark);
  text-decoration: underline;
}

.epchs-obituaries-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(251, 247, 235, 0.75);
  backdrop-filter: blur(3px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
}

.epchs-btn-load-more {
  background: var(--epchs-red) !important;
  color: #ffffff !important;
  border: 1px solid var(--epchs-red) !important;
  padding: 0.75rem 2.25rem !important;
  border-radius: 50px !important;
  font-family: var(--epchs-font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.03em !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(112, 28, 28, 0.18) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.epchs-btn-load-more:hover {
  background: var(--epchs-red-dark, #561515) !important;
  color: #ffffff !important;
  border-color: var(--epchs-red-dark, #561515) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(112, 28, 28, 0.28) !important;
}

.epchs-btn-reset-filters {
  background: transparent !important;
  color: var(--epchs-red) !important;
  border: 1px solid var(--epchs-red) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  border-radius: 50px !important;
  padding: 0.35rem 1rem !important;
  transition: all 0.2s ease !important;
}

.epchs-btn-reset-filters:hover {
  background: var(--epchs-red) !important;
  color: #ffffff !important;
}

.epchs-obituary-card.unpublished-card,
.epchs-membership-benefit.unpublished-card,
.epchs-card.unpublished-card {
  border: 2px dashed #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.05) !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.12) !important;
}

.epchs-member-login-section {
  background: var(--epchs-bg) !important;
  padding-top: 3rem !important;
  padding-bottom: 4rem !important;
}

.epchs-member-login-banner {
  background: linear-gradient(180deg, #7a1f1f 0%, #4d1414 100%) !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
}

.epchs-member-login-banner h2,
.epchs-member-login-banner h3,
.epchs-member-login-banner p,
.epchs-member-login-banner span,
.epchs-member-login-banner div {
  color: #ffffff !important;
}

.epchs-member-login-banner .btn-outline-light {
  border: 1.5px solid #ffffff !important;
  color: #ffffff !important;
  transition: all 0.25s ease !important;
}

.epchs-member-login-banner .btn-outline-light:hover {
  background-color: #ffffff !important;
  color: #4d1414 !important;
  transform: translateY(-2px);
}

.epchs-existing-member-panel {
  background: linear-gradient(135deg, #f8f3ea 0%, #efe5d5 100%) !important;
  border: 1px solid #e6d8c3 !important;
  border-radius: 1.25rem !important;
  padding: 2.5rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

.epchs-existing-member-panel h2 {
  font-family: "Fraunces", Georgia, serif !important;
  color: #2b1810 !important;
  font-weight: 700 !important;
}

.epchs-existing-member-panel .epchs-eyebrow {
  color: #8b0000 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
}

.epchs-member-login-card {
  border-radius: 1.25rem !important;
}

.epchs-member-avatar {
  display: inline-block;
  position: relative;
}

.epchs-member-details-list .border-bottom:last-child {
  border-bottom: none !important;
}

.epchs-resource-link {
  background: #faf6f0 !important;
  border: 1px solid rgba(112, 28, 28, 0.12) !important;
  border-radius: 0.65rem !important;
  padding: 0.85rem 1.15rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-decoration: none !important;
  color: #701c1c !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  transition: all 0.25s ease !important;
}

.epchs-resource-link i {
  transition: transform 0.25s ease !important;
  color: #701c1c !important;
}

.epchs-resource-link:hover {
  background: #701c1c !important;
  color: #ffffff !important;
  border-color: #701c1c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.18) !important;
}

.epchs-resource-link:hover span,
.epchs-resource-link:hover i {
  color: #ffffff !important;
}

.epchs-resource-link:hover i {
  transform: translateX(3px) !important;
}

.epchs-profile-section .form-control:focus,
.epchs-profile-section .form-select:focus {
  border-color: #701c1c !important;
  box-shadow: 0 0 0 0.25rem rgba(112, 28, 28, 0.15) !important;
}

.epchs-decade-pill {
  min-width: 70px;
  height: 36px;
  padding: 0 1rem;
  border-radius: 50px !important;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--epchs-ink, #2b231b) !important;
  background: #ffffff !important;
  border: 1px solid #e6d8c3 !important;
  transition: all 0.22s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.epchs-decade-pill:hover {
  background: #faf6f0 !important;
  border-color: #701c1c !important;
  color: #701c1c !important;
}

.epchs-decade-pill.active {
  background: #701c1c !important;
  color: #ffffff !important;
  border-color: #701c1c !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(112, 28, 28, 0.28) !important;
}

.epchs-pagination .page-item .page-link {
  color: #2b231b !important;
  background: #ffffff !important;
  border: 1px solid #e6d8c3 !important;
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  border-radius: 8px !important;
  margin: 0 3px !important;
  transition: all 0.2s ease !important;
}

.epchs-pagination .page-item.active .page-link {
  background: #701c1c !important;
  color: #ffffff !important;
  border-color: #701c1c !important;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.25) !important;
}

.epchs-pagination .page-item .page-link:hover {
  background: #faf6f0 !important;
  border-color: #701c1c !important;
  color: #701c1c !important;
}

.epchs-password-card {
  background: #ffffff !important;
  border: 1px solid #e2d7c7 !important;
  border-radius: 16px !important;
  padding: 1.5rem 1.35rem 1.25rem !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 4px 16px rgba(44, 42, 38, 0.05) !important;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  position: relative !important;
}

.epchs-password-card:hover {
  transform: translateY(-4px) !important;
  border-color: #701c1c !important;
  box-shadow: 0 12px 28px rgba(112, 28, 28, 0.12) !important;
}

.epchs-password-year-badge {
  background: rgba(112, 28, 28, 0.07) !important;
  color: #701c1c !important;
  border: 1px solid rgba(112, 28, 28, 0.2) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.02em !important;
  padding: 0.35rem 0.75rem !important;
  border-radius: 50px !important;
}

.epchs-password-title,
h2.epchs-password-title {
  font-family: "Fraunces", Georgia, serif !important;
  color: #000000 !important;
  font-size: 1.18rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

.epchs-password-action-btn {
  background: transparent !important;
  border: 1.5px solid #701c1c !important;
  color: #701c1c !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 0.55rem 1.25rem !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  text-align: center !important;
  width: 100% !important;
  text-decoration: none !important;
}

.epchs-password-card:hover .epchs-password-action-btn,
.epchs-password-action-btn:hover {
  background: #701c1c !important;
  border-color: #701c1c !important;
  color: #ffffff !important;
}

.epchs-sidebar-volume-item {
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.65rem !important;
}

.epchs-sidebar-volume-item a {
  color: #2b231b !important;
  transition: color 0.2s ease !important;
}

.epchs-sidebar-volume-item a i {
  color: #701c1c !important;
  transition: transform 0.2s ease !important;
}

.epchs-sidebar-volume-item:hover {
  background: #faf6f0 !important;
  transform: translateX(4px) !important;
}

.epchs-sidebar-volume-item:hover a {
  color: #701c1c !important;
}

.epchs-sidebar-volume-item:hover a i {
  transform: scale(1.15) !important;
}

.epchs-issue-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.epchs-issue-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.epchs-btn-support-us {
  background-color: #701c1c !important;
  border-color: #701c1c !important;
  color: #ffffff !important;
  transition: all 0.25s ease-in-out !important;
}

.epchs-btn-support-us:hover {
  background-color: #8f2424 !important;
  border-color: #8f2424 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.3) !important;
  transform: translateY(-1px) !important;
}

.epchs-btn-all-passwords {
  background-color: #ffffff !important;
  border: 1.5px solid #64748b !important;
  color: #475569 !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 0.45rem 1.1rem !important;
  transition: all 0.25s ease-in-out !important;
  display: inline-block !important;
}

.epchs-btn-all-passwords:hover {
  background-color: #ffffff !important;
  border-color: #1e293b !important;
  color: #1e293b !important;
  box-shadow: 0 3px 10px rgba(30, 41, 59, 0.12) !important;
  transform: translateY(-1px) !important;
}

@media (min-width: 992px) {
  .epchs-nav-submenu {
    margin-top: 0 !important;
  }

  .epchs-nav-submenu::before {
    content: "" !important;
    position: absolute !important;
    top: -16px !important;
    left: 0 !important;
    right: 0 !important;
    height: 16px !important;
    background: transparent !important;
  }
}

/* Clipping Pages */
.epchs-clipping-title {
  color: #111827 !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

.epchs-clipping-icon {
  color: #701c1c !important;
  font-size: 1.05rem !important;
  margin-right: 0.5rem !important;
  opacity: 0.9 !important;
}

.epchs-clippings-filter-box .form-control {
  border-color: rgba(112, 28, 28, 0.25) !important;
  background-color: #ffffff !important;
  transition: all 0.25s ease-in-out !important;
}

.epchs-clippings-filter-box .form-control:focus {
  border-color: #701c1c !important;
  box-shadow: 0 0 0 0.25rem rgba(112, 28, 28, 0.15) !important;
}

.epchs-letter-pill {
  background-color: #faf6f0 !important;
  color: #701c1c !important;
  border: 1px solid rgba(112, 28, 28, 0.25) !important;
  transition: all 0.2s ease-in-out !important;
  font-size: 0.82rem !important;
  text-decoration: none !important;
}

.epchs-letter-pill:hover,
.epchs-letter-pill:focus,
.epchs-letter-pill.active {
  background-color: #701c1c !important;
  color: #ffffff !important;
  border-color: #701c1c !important;
  box-shadow: 0 2px 6px rgba(112, 28, 28, 0.25) !important;
}

.epchs-pill-single {
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
}

.epchs-pill-wide {
  padding: 5px 14px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 36px !important;
}

.epchs-clipping-card-item {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}

.epchs-clipping-card-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.08) !important;
}

.epchs-page-title,
.epchs-section-title,
.epchs-sidebar-title,
.epchs-heading-black,
.epchs-members-area-section .epchs-section-title,
.epchs-existing-member-panel h1,
.epchs-membership-benefit h2,
.epchs-passwords-controls .epchs-section-title,
.epchs-volume-detail-section .epchs-section-title,
.epchs-volume-issues-section h3,
.epchs-issue-card h4,
.epchs-sidebar-card h3,
.epchs-article-sidebar h3 {
  font-family: "Fraunces", Georgia, serif !important;
  color: #000000 !important;
}

.epchs-heading-maroon {
  font-family: "Fraunces", Georgia, serif !important;
  color: #701c1c !important;
}

.epchs-toggle-sidebar-items-btn {
  color: #701c1c !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: none !important;
}

.epchs-toggle-sidebar-items-btn:hover,
.epchs-toggle-sidebar-items-btn:focus {
  color: #561515 !important;
  text-decoration: underline !important;
  box-shadow: none !important;
}

html,
body {
  overflow-x: clip !important;
}

.epchs-clippings-detail-section,
.epchs-volume-detail-section,
.epchs-section,
.container-xl,
.row {
  overflow: visible !important;
}

@media (min-width: 992px) {

  aside.col-lg-4,
  aside.col-lg-3,
  .epchs-sticky-sidebar-col,
  .epchs-article-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    will-change: auto !important;
  }

  .epchs-sidebar-card {
    overflow: visible !important;
    height: auto !important;
  }
}

.epchs-active-membership-banner {
  background: #f7f3ec;
  border: 1px solid #e2d9c8;
  border-left: 5px solid #343a40;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.epchs-active-membership-banner h5 {
  color: #2b2523;
  font-family: var(--epchs-font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.15rem;
}

.epchs-active-membership-banner p {
  color: #59524c;
}

.epchs-pricing-card.is-current-plan {
  border: 2px solid #343a40 !important;
}

.epchs-pricing-card.is-current-plan:hover {
  border-color: #212529 !important;
  box-shadow: 0 12px 30px rgba(52, 58, 64, 0.15) !important;
}

.epchs-pricing-card.is-featured .epchs-card-body,
.epchs-pricing-card.is-current-plan .epchs-card-body {
  padding-top: 58px !important;
}

.epchs-current-plan-badge {
  background: #343a40 !important;
  color: #ffffff !important;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.epchs-btn-success {
  background-color: #156d39 !important;
  border-color: #156d39 !important;
  color: #ffffff !important;
  font-weight: 600;
}

.epchs-btn-success:hover,
.epchs-btn-success:focus {
  background-color: #0f522a !important;
  border-color: #0f522a !important;
  color: #ffffff !important;
}

.epchs-btn-current,
.epchs-btn-current:disabled {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #495057 !important;
  font-weight: 600 !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
  box-shadow: none !important;
}

.epchs-card-clickable {
  position: relative !important;
  cursor: pointer;
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    border-color 0.3s ease !important;
  overflow: hidden;
}

.epchs-card-clickable:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.epchs-card-clickable .epchs-news-feature-image img {
  transition: transform 0.4s ease-in-out !important;
}

.epchs-card-clickable:hover .epchs-news-feature-image img {
  transform: scale(1.05) !important;
}

.epchs-card-clickable h3,
.epchs-card-clickable h4 {
  transition: color 0.25s ease !important;
}

.epchs-card-clickable:hover h3,
.epchs-card-clickable:hover h4 {
  color: #701c1c !important;
}

.epchs-card-clickable .epchs-text-link {
  transition:
    transform 0.25s ease,
    color 0.25s ease !important;
  display: inline-block;
}

.epchs-card-clickable:hover .epchs-text-link {
  transform: translateX(4px) !important;
  color: #701c1c !important;
}

.epchs-card-clickable {
  display: flex !important;
  flex-direction: column !important;
}

.epchs-card-clickable .epchs-card-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex-grow: 1 !important;
}

.epchs-collection-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3 !important;
  height: 270px !important;
  background-color: #f3f4f6;
}

.epchs-collection-card-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.35s ease !important;
}

.epchs-collection-card:hover .epchs-collection-card-img-wrapper img {
  transform: scale(1.05) !important;
}

h1,
.epchs-page-title,
h1.epchs-section-title,
.epchs-about-intro-title {
  font-size: clamp(2.1rem, 3.8vw, 2.8rem) !important;
  line-height: 1.15 !important;
  max-width: 100% !important;
}

h2,
.epchs-section-title,
h2.epchs-section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.2rem) !important;
  line-height: 1.2 !important;
}

.epchs-visit-info-card h3,
.epchs-visit-info-card h3 a,
.epchs-visit-info-card h4,
.epchs-visit-info-card h4 a {
  color: var(--epchs-ink, #212529) !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out;
}

.epchs-visit-info-card h3 a:hover,
.epchs-visit-info-card h4 a:hover {
  color: var(--epchs-color-primary, #701c1c) !important;
  text-decoration: none !important;
}

.epchs-about-intro-lead {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.75;
}

.epchs-lead {
  font-size: 1rem;
  color: var(--epchs-muted);
  max-width: 860px;
}

.epchs-event-card-title,
.epchs-event-card-title a,
.epchs-event-marketing-card .epchs-event-card-title,
.epchs-event-marketing-card .epchs-event-card-title a {
  color: #000000 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.epchs-event-card-clickable:hover .epchs-event-card-title,
.epchs-event-card-clickable:hover .epchs-event-card-title a,
.epchs-event-marketing-card:hover .epchs-event-card-title,
.epchs-event-marketing-card:hover .epchs-event-card-title a {
  color: #701c1c !important;
}

.epchs-inductee-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-color: #e8e3d9 !important;
}

.epchs-inductee-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.epchs-inductee-link {
  color: #8b263e;
  font-weight: 600;
  transition:
    color 0.15s ease,
    text-decoration 0.15s ease;
  text-decoration: none;
}

.epchs-inductee-link:hover {
  color: #5a1828 !important;
  text-decoration: underline !important;
}

h2.epchs-card-title,
.epchs-news-card h2.epchs-card-title {
  font-size: 1.25rem !important;
  line-height: 1.4 !important;
}

.epchs-sidebar-title,
h2.epchs-sidebar-title,
.epchs-sidebar-card h2,
.epchs-article-sidebar h2 {
  font-size: 1.45rem !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
}

.epchs-article-intro {
  max-width: 820px;
  margin: 0 auto;
  color: var(--epchs-muted);
  font-size: clamp(1.08rem, 1.8vw, 1rem);
  line-height: 1.7;
}

/* Mobile Responsiveness*/
img,
svg,
video,
iframe,
embed,
object {
  max-width: 100% !important;
}

.pagecontent table,
.main_content table,
.second_level_content table {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

@media (max-width: 575.98px) {

  .container,
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .epchs-hero-title,
  .epchs-page-title,
  h1,
  h2,
  h3 {
    word-break: break-word;
  }

  .btn {
    max-width: 100%;
    white-space: normal !important;
  }
}

.epchs-archive-tile h3 a {
  color: inherit !important;
  text-decoration: none !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.epchs-archive-tile:hover h3 a {
  color: var(--epchs-primary, #701c1c) !important;
}

/* HALL OF HONOR MODULE STYLES */
.epchs-intro-lead {
  max-width: none !important;
  width: 100%;
}

.epchs-main-header-border {
  border-bottom: 2px solid #d4ceb8 !important;
}

.epchs-font-heading {
  font-family: var(--epchs-font-heading, Georgia, serif);
}

.epchs-year-header-border {
  border-bottom: 2px solid #c5a059 !important;
}

.epchs-year-badge {
  background-color: #8b263e;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.epchs-z-admin {
  z-index: 5;
  position: relative;
}

.epchs-z-link {
  z-index: 2;
  position: relative;
}

.epchs-inductee-card {
  border-color: #e8e3d9 !important;
  transition:
    transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.epchs-inductee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(139, 38, 62, 0.12) !important;
}

.epchs-inductee-img-wrap {
  display: inline-block;
  position: relative;
  z-index: 2;
}

.epchs-inductee-img-wrap img {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease !important;
}

.epchs-inductee-img-wrap:hover img {
  transform: scale(1.06);
  box-shadow: 0 6px 16px rgba(197, 160, 89, 0.4) !important;
}

.epchs-inductee-avatar {
  width: 85px;
  height: 85px;
  border-color: #c5a059 !important;
  cursor: pointer;
}

.epchs-inductee-placeholder {
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f4eee1 100%);
  color: #8b263e;
  border-color: #c5a059 !important;
}

.epchs-placeholder-icon {
  font-size: 3rem !important;
  opacity: 0.85 !important;
}

.epchs-title-pdf-link {
  color: #212529 !important;
  transition: color 0.2s ease !important;
}

.epchs-title-pdf-link:hover {
  color: #8b263e !important;
  text-decoration: underline !important;
}

.epchs-card-footer-border {
  border-color: #f0ebe1 !important;
  z-index: 5;
  position: relative;
}

.epchs-modal-heading {
  font-family: var(--epchs-font-heading, Georgia, serif);
  color: #212529;
}

.epchs-modal-img {
  max-height: 72vh;
  max-width: 82vw;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* GENEALOGY PROGRAM*/
.epchs-genealogy-card {
  border: 1px solid rgba(141, 1, 2, 0.12) !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease !important;
}

.epchs-genealogy-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--epchs-shadow-raise,
      0 12px 24px rgba(0, 0, 0, 0.08)) !important;
  border-color: rgba(141, 1, 2, 0.25) !important;
}

.epchs-genealogy-card-number {
  display: block;
  margin-bottom: 1rem;
  color: rgba(141, 1, 2, 0.32);
  font-family: var(--epchs-font-heading, Georgia, serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.epchs-genealogy-card-title {
  font-size: 1.2rem !important;
  font-weight: 800;
  color: var(--epchs-ink, #212529);
  font-family: var(--epchs-font-body, system-ui, sans-serif);
}

.epchs-genealogy-link {
  color: #8b263e;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.epchs-genealogy-link i {
  transition: transform 0.2s ease;
}

.epchs-genealogy-card:hover .epchs-genealogy-link {
  color: #701c1c;
}

.epchs-genealogy-card:hover .epchs-genealogy-link i {
  transform: translateX(4px);
}

.epchs-hours-card {
  border: 1px solid rgba(141, 1, 2, 0.12) !important;
}

.epchs-admission-callout-card {
  background: #fffdf9 !important;
  border: 1px solid rgba(197, 160, 89, 0.35) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
  border-radius: var(--epchs-radius-lg, 1rem) !important;
}

.epchs-pre-line {
  white-space: pre-line !important;
}

.epchs-letter-spacing-sm {
  letter-spacing: 0.5px !important;
}

.epchs-z-5 {
  z-index: 5 !important;
}

/* PIONEER ASSOCIATION*/
.epchs-card-clickable {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease !important;
}

.epchs-card-clickable:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.epchs-pioneer-page-link {
  color: var(--epchs-maroon, #8d0102) !important;
  border-radius: 50px !important;
  margin: 0 2px !important;
}

.page-item.active .epchs-pioneer-page-link {
  background-color: var(--epchs-maroon, #8d0102) !important;
  border-color: var(--epchs-maroon, #8d0102) !important;
  color: #fff !important;
}

.epchs-pioneer-avatar {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid #fff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

.epchs-pioneer-placeholder {
  width: 100px;
  height: 100px;
  background-color: #f3ede2;
  border: 2px solid rgba(141, 1, 2, 0.15) !important;
}

.epchs-pioneer-detail-gallery .individual-image-container {
  background-color: #fdfbf7 !important;
  border: 1px solid rgba(141, 1, 2, 0.12) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.epchs-pioneer-detail-gallery .individual-image-container img {
  object-fit: contain !important;
  object-position: center top !important;
  width: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
}

.epchs-pioneer-filter-card {
  background: #ffffff !important;
  border: 1px solid rgba(141, 1, 2, 0.16) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
  border-radius: 1.25rem !important;
}

.epchs-pioneer-portrait-wrap {
  max-width: 280px;
  border: 1px solid rgba(141, 1, 2, 0.15);
  border-radius: 0.75rem;
  background: #fdfbf7;
  padding: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.epchs-pioneer-portrait {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
  display: block;
}

.epchs-pioneer-portrait-caption {
  font-size: 0.78rem;
  color: #6c757d;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
}

.epchs-pioneer-bio-body p {
  text-align: justify;
}

@media (max-width: 576px) {
  .epchs-pioneer-portrait-wrap {
    float: none !important;
    margin: 0 auto 1.5rem auto !important;
    max-width: 220px;
    display: block;
  }
}

.epchs-pioneer-sibling-list {
  display: flex;
  flex-direction: column;
}

.epchs-pioneer-sibling-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--epchs-line);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.epchs-pioneer-sibling-link:first-child {
  padding-top: 4px;
}

.epchs-pioneer-sibling-link:last-child {
  padding-bottom: 8px;
  border-bottom: 0;
}

.epchs-pioneer-sibling-link:hover {
  color: inherit;
  transform: translateX(4px);
}

.epchs-sibling-dir {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--epchs-red);
  margin-bottom: 2px;
}

.epchs-sibling-name {
  font-size: 0.95rem;
  color: var(--epchs-ink);
  line-height: 1.3;
}

.epchs-pioneer-sibling-avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: top center;
  border: 2px solid rgba(141, 1, 2, 0.18);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.epchs-pioneer-sibling-placeholder {
  width: 44px;
  height: 44px;
  background: rgba(141, 1, 2, 0.08);
  border: 2px solid rgba(141, 1, 2, 0.15);
  font-size: 0.9rem;
  color: var(--epchs-red);
}

.epchs-share-box {
  background: #ffffff;
  border: 1px solid var(--epchs-line);
  border-radius: var(--epchs-radius-md, 1rem);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.epchs-share-icon-wrap {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(141, 1, 2, 0.08);
  color: var(--epchs-red);
  font-size: 1rem;
}

.epchs-share-title {
  font-family: var(--epchs-font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--epchs-ink);
  line-height: 1.2;
}

.epchs-share-subtitle {
  font-size: 0.76rem;
  color: var(--epchs-muted);
}

.epchs-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--epchs-line);
  background: #ffffff;
  color: var(--epchs-ink);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.epchs-share-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.epchs-share-x:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.epchs-share-facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.epchs-share-linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
}

.epchs-share-copy:hover {
  background: var(--epchs-red);
  color: #ffffff;
  border-color: var(--epchs-red);
}

/* PASSWORD INDEX STYLES */
.epchs-index-placeholder {
  width: 56px;
  height: 56px;
  background: rgba(43, 41, 39, 0.06);
  border: 2px solid rgba(43, 41, 39, 0.18);
}

.epchs-index-letter-pill {
  width: 32px;
  height: 32px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 6px;
}

.epchs-index-letter-pill.active,
.epchs-az-pill.active-dark {
  background: #2b2927 !important;
  color: #ffffff !important;
  border-color: #2b2927 !important;
  box-shadow: 0 3px 8px rgba(43, 41, 39, 0.25) !important;
}

.epchs-letter-title-accent {
  color: #2b2927;
  font-weight: 700;
}

.epchs-password-index-content {
  color: var(--epchs-ink, #212529);
  font-size: 1.025rem;
  line-height: 2.2;
}

.epchs-password-index-content p {
  margin-bottom: 1.25rem;
  line-height: 2.2;
}

.epchs-password-index-content strong,
.epchs-password-index-content b {
  font-weight: 700;
  color: #111111;
}

/* Inline Style Replacements */

.epchs-resource-link {
  background: #faf6f0;
  border: 1px solid rgba(112, 28, 28, 0.14);
}

.epchs-resource-link span {
  font-size: 0.92rem;
}

.epchs-about-intro-lead {
  max-width: 100%;
}

.epchs-obituaries-panel,
.epchs-passwords-panel {
  background: var(--epchs-card);
  border: 1px solid var(--epchs-line);
}

.epchs-search-box-wrapper {
  max-width: 550px;
}

.epchs-bg-important {
  background: var(--epchs-bg) !important;
}

.epchs-section-title-large {
  font-size: 1.4rem;
}

.epchs-sidebar-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.epchs-sidebar-link {
  font-size: 0.92rem;
}

.epchs-sidebar-topics-list {
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
}

.epchs-profile-section {
  background: var(--epchs-bg) !important;
}

.epchs-membership-label {
  font-size: 0.75rem;
}

.epchs-membership-value {
  font-size: 1.05rem;
  color: #701c1c !important;
}

.epchs-payment-icon {
  width: 70px;
  height: 70px;
}

.epchs-payment-icon.bg-primary {
  background-color: #701c1c !important;
}

.epchs-payment-box {
  max-width: 520px;
}

/* Rule 15: Card Accessibility */
.epchs-card-clickable {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.epchs-card-clickable:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* SiteController Views Standardized Classes */
.epchs-map-iframe {
  border: 0;
  width: 100%;
}

.epchs-card-fixed-width {
  width: 18rem;
}

.epchs-report-header {
  font-size: 2mm;
  display: inline-block;
}

.epchs-report-header-left {
  margin-left: 2mm;
}

.epchs-report-header-right {
  margin-left: 18mm;
}

.epchs-text-primary {
  color: var(--epchs-color-primary, #701c1c) !important;
}

.epchs-collection-icon {
  width: 46px;
  height: 46px;
  font-size: 0.85rem;
  background-color: var(--epchs-color-primary, #701c1c);
}

h2.epchs-section-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem) !important;
}

.epchs-z-5 {
  z-index: 5 !important;
}

.epchs-lh-13 {
  line-height: 1.3 !important;
}

.epchs-btn-disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

/* OCR Views General Cleanup */
.epchs-clippings-detail-section {
  background: var(--epchs-bg) !important;
}

.epchs-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #701c1c !important;
}

.epchs-subtitle-sm {
  font-size: 0.95rem;
}

.epchs-clipping-group-card {
  background: #faf6f0;
  border-color: rgba(112, 28, 28, 0.15) !important;
}

.epchs-icon-maroon {
  color: #701c1c;
}

.epchs-text-sm-14 {
  font-size: 0.8rem;
  line-height: 1.4;
}

.epchs-btn-sm {
  font-size: 0.85rem;
}

/* Historic Homes Cleanup */
.epchs-about-intro-lead {
  max-width: 100%;
}

.epchs-panel-bordered {
  background: var(--epchs-card);
  border: 1px solid var(--epchs-line);
}

.epchs-search-box-md {
  max-width: 550px;
}

/* Passwords Online Cleanup */
.epchs-lead-md {
  font-size: 1.05rem;
}

/* Search Archives*/
.epchs-search-icon {
  color: #701c1c;
}

.epchs-search-input,
.epchs-search-clear-container {
  border-color: #dee2e6;
}

.epchs-search-clear-btn {
  cursor: pointer;
}

.epchs-scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: none !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 0.9;
  transition: bottom 0.25s ease, right 0.25s ease;
}

body:has(.grecaptcha-badge) .epchs-scroll-top-btn {
  bottom: 92px;
  right: 20px;
}

.epchs-volume-detail-section {
  background: var(--epchs-bg) !important;
}

.epchs-volume-detail-section .epchs-lead {
  font-size: 1.05rem;
}

.epchs-volume-intro-text p.lead {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4a5568;
}

.epchs-volume-assets-box,
.epchs-issue-card {
  background: #faf6f0;
  border-color: rgba(112, 28, 28, 0.15) !important;
}

.epchs-volume-lock-box {
  background: #faf6f0;
  border-color: rgba(112, 28, 28, 0.18) !important;
}

.epchs-volume-assets-title {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #701c1c !important;
}

.epchs-btn-download-asset {
  font-size: 0.85rem;
}

.epchs-btn-read-document {
  font-size: 0.88rem;
}

.epchs-issue-toc {
  line-height: 1.7;
}

.epchs-volume-body-content {
  line-height: 1.8;
  font-size: 1.02rem;
  color: #2d3748;
}

.epchs-volume-lock-icon {
  color: #701c1c;
}

.epchs-volume-lock-text {
  max-width: 600px;
  font-size: 0.95rem;
}

.epchs-btn-maroon {
  background-color: #701c1c;
  border-color: #701c1c;
  color: white;
}

.epchs-btn-maroon:hover {
  background-color: #5a1616;
  border-color: #5a1616;
  color: white;
}

.epchs-btn-maroon-outline {
  background-color: #ffffff;
  border-color: #701c1c;
  color: #701c1c;
}

.epchs-btn-maroon-outline:hover {
  background-color: #701c1c;
  border-color: #701c1c;
  color: #ffffff;
}

.epchs-sidebar-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.epchs-sidebar-volume-item a {
  font-size: 0.92rem;
}

.premium-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
}

.premium-header {
  background: #303142;
  padding: 2.5rem;
  color: #ffffff;
}

.premium-title {
  font-family: "Inter", "Roboto", "Segoe UI", sans-serif !important;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff !important;
  margin: 0;
}

.premium-header .text-muted {
  color: #cbd5e1 !important;
}

.premium-body {
  padding: 2.5rem;
  background: #f8fafc;
}

.premium-content-box {
  background: #ffffff;
  border-radius: 12px;
  border-left: 4px solid #303142;
  padding: 2rem;
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.premium-badge {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.7rem;
  padding: 0.5em 1em;
  border-radius: 50rem;
  background: #303142 !important;
  color: #ffffff;
  border: none !important;
}

.info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  height: 100%;
}

.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
  display: flex;
  align-items: center;
  color: #475569;
  font-weight: 500;
}

.info-list li:last-child {
  border-bottom: none;
}

.info-icon {
  background: #f1f5f9;
  color: #303142;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-right: 15px;
  font-size: 0.9rem;
}

.action-row {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.reply-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.reply-card {
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  background: #ffffff;
}

.reply-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.premium-card .select2-container--default .select2-selection--single {
  border-radius: 10px !important;
  height: 44px !important;
  display: flex;
  align-items: center;
  border: 1px solid #cbd5e1 !important;
  background-color: #ffffff;
}

.btn-premium {
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 24px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Volunteer Application*/

.epchs-volunteer-container {
  max-width: 1200px;
}

.epchs-volunteer-border {
  border-left: 5px solid #701c1c !important;
}

.epchs-volunteer-text {
  color: #701c1c !important;
}

/* Member Login*/

.epchs-member-login-section {
  background: var(--epchs-bg) !important;
}

.epchs-member-login-banner {
  background: linear-gradient(180deg, #7a1f1f 0%, #4d1414 100%);
}

.epchs-badge-maroon {
  background-color: #ffffff !important;
  color: #4d1414 !important;
  font-size: 0.8rem;
}

.firebaseui-idp-password,
.firebaseui-idp-button[data-provider-id="password"] {
  background-color: #b3241b !important;
}

.firebaseui-tos,
.firebaseui-tos-list {
  color: #4b4b4b !important;
}

.firebaseui-tos-link,
.firebaseui-pp-link {
  color: #0c82b9 !important;
  font-weight: 600;
}

.epchs-banner-title {
  color: #ffffff !important;
  line-height: 1.25;
}

.epchs-banner-text {
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.6;
  font-size: 0.95rem;
}

.epchs-member-banner-footer {
  border-top-color: rgba(255, 255, 255, 0.25) !important;
}

.epchs-banner-footer-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

.epchs-btn-outline-white {
  border: 1.5px solid #ffffff;
}

/* Members Area*/

.epchs-members-area-section {
  background: var(--epchs-bg) !important;
}

.epchs-text-maroon {
  color: #701c1c !important;
}

.epchs-text-xxs {
  font-size: 0.7rem !important;
}

.epchs-text-xs {
  font-size: 0.725rem !important;
}

.epchs-text-sm {
  font-size: 0.75rem !important;
}

.epchs-text-base {
  font-size: 0.92rem !important;
}

.epchs-text-md {
  font-size: 0.95rem !important;
}

.epchs-resource-box {
  background: #faf6f0;
  border: 1px solid rgba(112, 28, 28, 0.14);
}

/*WCAG updates*/
:root {
  --epchs-muted: #4c4841 !important;
}

.epchs-page-banner {
  background-color: var(--epchs-ink, #2c2a26) !important;
}

.text-muted,
.text-secondary {
  color: var(--epchs-muted, #4c4841) !important;
}

.text-primary {
  color: var(--epchs-red-dark, #6f0001) !important;
}

.epchs-event-date-pill span[aria-hidden="true"] {
  font-size: 0.75rem;
}

.epchs-membership-benefit-number {
  color: var(--epchs-muted, #4c4841) !important;
}

.firebaseui-tos-link,
.firebaseui-pp-link,
.firebaseui-link {
  color: #0c548a !important;
  font-weight: 600 !important;
}

.epchs-badge-maroon {
  background-color: #ffffff !important;
  color: #6f0001 !important;
  /* maroon */
}

.epchs-member-login-banner span {
  color: #212529 !important;
}

@media screen and (max-width: 1023px) {
  .epchs-home-hero-fullscreen {
    position: relative;
    min-height: 135vh;
    background: var(--epchs-bg);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
  }
}

@media screen and (min-width: 1366px) and (max-width: 1680px) {
  .epchs-home-hero-fullscreen {
    position: relative;
    min-height: 105vh;
    background: var(--epchs-bg);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1680px) and (min-height: 768px) and (max-height: 1050px) {
  .epchs-home-hero-fullscreen {
    position: relative;
    min-height: 100vh;
    background: var(--epchs-bg);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
  }
}

@media screen and (min-width: 1681px) and (max-width: 1919px) {
  .epchs-home-hero-fullscreen {
    position: relative;
    min-height: 90vh;
    background: var(--epchs-bg);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
  }
}

@media screen and (min-width: 1920px) {
  .epchs-home-hero-fullscreen {
    position: relative;
    min-height: 85vh;
    background: var(--epchs-bg);
    overflow: hidden;
    display: flex;
    align-items: flex-start;
  }
}

.epchs-home-hero-content-center {
  position: relative;
  z-index: 3;
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.epchs-post-card h4,
.epchs-archive-tile h4,
.epchs-info-card h3,
.epchs-event-card h3 {
  font-family: var(--epchs-font-heading);
  font-weight: var(--epchs-font-heading);
}

.epchs-home-hero.epchs-home-hero-fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: auto;
  min-height: 100svh;
  padding-bottom: 0;
  gap: clamp(16px, 3vw, 40px);
}

.epchs-home-hero-fullscreen>.container-xl {
  flex: 0 0 auto;
}

.epchs-home-hero-fullscreen .epchs-home-hero-bottom-graphic {
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  transform: none;
}

.epchs-home-hero-fullscreen .epchs-home-hero-bottom-graphic img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.epchs-home-hero.epchs-home-hero-fullscreen {
  gap: 0;
}

.epchs-home-hero-content-center {
  margin-bottom: 0;
  padding-bottom: 0;
}

.epchs-home-hero-fullscreen .epchs-home-hero-bottom-graphic {
  margin-top: -10px;
}

.epchs-home-hero.epchs-home-hero-fullscreen {
  min-height: 0;
  height: auto;
  justify-content: flex-start;
  padding-top: clamp(24px, 4vw, 60px);
}

.epchs-search-card {
  position: relative;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.epchs-search-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.epchs-search-member-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #8b263e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.epchs-search-category {
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.epchs-search-title a {
  color: #212529;
  text-decoration: none;
}

.epchs-search-title a:hover {
  color: #8b263e;
}

.epchs-search-excerpt {
  overflow-wrap: anywhere;
}

#site-search-submit:disabled {
  opacity: 0.8;
  cursor: wait;
}

#site-search-loading-notice:focus {
  outline: none;
}

/* 
  =========================================================
   ANALYTICS
  ========================================================= 
*/

.table-search-wrapper {
  margin-top: 1rem;
}

.card.analytics-card {
  padding: 1rem;
}

.card.analytics-card .form-control {
  color: #000 !important;
}

.card.analytics-card table {
  table-layout: fixed;
  width: 100%;
}

.card.analytics-card table tbody {
  width: 100%;
}

.analytics-export-button {
  height: fit-content !important;
}

#click-report-summary {
  background-color: #fdfdfd !important;
}

#click-report-summary .btn.btn-sm,
#click-report-summary .nav .nav-item button,
#click-report-summary .nav .nav-item select,
#click-report-summary input {
  font-size: 1rem !important;
  padding: 0.5rem 1rem !important;
  max-height: 2.5rem !important;
  background-color: #fdfdfd !important;
}

#click-report-summary h2,
#click-report-summary h3,
#click-report-summary p,
#click-report-summary span,
#click-report-summary select,
#click-report-summary button {
  color: #000000;
}

#click-report-summary .pagination li a {
  color: #000000 !important;
}

#click-report-summary .pagination li.active a {
  color: #ffffff !important;
}

#click-report-summary .card.card-analytics {
  margin-top: 2rem;
}

.text-small {
  font-size: 0.85em;
}

.analytics-card .nav .nav-item .nav-link.active {
  font-weight: bold;
}

.analytics-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.analytics-card .total-clicks {
  font-weight: bold;
  font-size: 1.2rem;
  color: #2c2c2c !important;
}

.analytics-card .badge {
  position: relative;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  top: 0;
  right: 0;
  background-color: transparent;
}

/* -- Analytics Loader --------------------------------------------------- */
#analyticsLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: hsla(0, 0%, 0%, 0.65);
  border-radius: 0.5rem;
  z-index: 1000;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

#analyticsLoader.hidden {
  opacity: 0;
  visibility: hidden;
}

#analyticsLoader .loader-text {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 1rem;
}

#analyticsLoader .spinner-border {
  color: #fff !important;
  width: 5rem !important;
  height: 5rem !important;
}

/* -- Analytics End --------------------------------------------------- */

.epchs-inductee-card-linked {
  transition: border-color .2s ease, box-shadow .2s ease;
}

.epchs-inductee-card-linked:hover,
.epchs-inductee-card-linked:focus-within {
  border-color: #8b263e !important;
  box-shadow: 0 .5rem 1.25rem rgba(139, 38, 62, .15) !important;
}

.epchs-inductee-details-label {
  color: #8b263e;
}

.epchs-inductee-details-link::after {
  z-index: 1;
}

.epchs-inductee-image-button {
  position: relative;
  z-index: 2;
}

.epchs-inductee-card>.epchs-card-footer-border {
  position: relative;
  z-index: 2;
}

.epchs-leadership-people .epchs-leadership-person-card {
  transition: border-color .2s ease, box-shadow .2s ease;
}

.epchs-leadership-people .epchs-leadership-person-card-linked:hover,
.epchs-leadership-people .epchs-leadership-person-card-linked:focus-within {
  border-color: #8b263e !important;
  box-shadow: 0 .5rem 1.25rem rgba(139, 38, 62, .15) !important;
}

.epchs-leadership-people .epchs-leadership-person-link::after {
  z-index: 1;
}

.epchs-leadership-people .epchs-leadership-image-button,
.epchs-leadership-people .epchs-leadership-person-contact,
.epchs-leadership-people .epchs-leadership-person-admin {
  position: relative;
  z-index: 2;
}

.epchs-leadership-people .epchs-leadership-image-button {
  cursor: pointer;
}



.epchs-leadership-people .epchs-leadership-person-avatar {
  object-fit: cover;
}




.epchs-leadership-people .epchs-leadership-person-role {
  background: #f7edf0;
  color: #8b263e;
  white-space: normal;
}

.epchs-leadership-people .epchs-leadership-person-details-label {
  color: #8b263e;
}

.epchs-leadership-people .epchs-leadership-person-contact {
  overflow-wrap: anywhere;
}

.epchs-leadership-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.epchs-placeholder-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.epchs-inductee-photo-credit {
  font-size: 0.725rem;
  color: #6c757d;
  max-width: 100%;
  margin-top: 0.25rem;
}

.epchs-news-card-pinned {
  border-top: 3.5px solid #701c1c !important;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 8px 24px rgba(112, 28, 28, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.epchs-news-card-pinned:hover {
  box-shadow: 0 12px 28px rgba(112, 28, 28, 0.18), 0 4px 10px rgba(0, 0, 0, 0.06) !important;
}

.epchs-news-pinned-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(112, 28, 28, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.epchs-news-pinned-badge i {
  color: #ffd700;
}

button.epchs-news-pinned-badge {
  cursor: pointer;
  pointer-events: auto;
  z-index: 10;
  transition: all 0.2s ease-in-out;
}

button.epchs-news-pinned-badge:hover {
  background: #581414 !important;
  border-color: #ffd700 !important;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.45) !important;
  transform: translateY(-1px);
}

.epchs-news-pin-action-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  pointer-events: auto;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #495057;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease-in-out;
}

.epchs-news-pin-action-btn i {
  font-size: 0.75rem;
  color: #6c757d;
}

.epchs-news-pin-action-btn:hover {
  background: #ffffff;
  color: #701c1c;
  border-color: #701c1c;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.25);
  transform: translateY(-1px);
}

.epchs-news-pin-action-btn:hover i {
  color: #701c1c;
}

.epchs-news-pin-action-btn.is-pinned {
  background: #701c1c;
  color: #ffffff;
  border-color: #ffd700;
  box-shadow: 0 3px 10px rgba(112, 28, 28, 0.35);
}

.epchs-news-pin-action-btn.is-pinned i {
  color: #ffd700;
}

.epchs-news-pin-action-btn.is-pinned:hover {
  background: #581414;
  border-color: #ffd700;
  color: #ffffff;
}

.epchs-admin-toolbar-wrapper {
  position: relative !important;
  z-index: 5 !important;
  pointer-events: auto !important;
}

.epchs-inductee-detail-avatar {
  width: 130px;
  height: 130px;
  border: 3px solid #c5a059 !important;
  background-color: #ffffff;
  padding: 3px;
  object-fit: cover;
}

.epchs-inductee-placeholder-lg {
  width: 130px;
  height: 130px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f4eee1 100%);
  border: 3px solid #c5a059 !important;
}

.epchs-placeholder-image-lg {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0.85;
}

.epchs-ocr-notice {
  background-color: #fff9e6 !important;
}

.epchs-link-maroon {
  color: #701c1c !important;
}

.epchs-link-maroon:hover {
  color: #8f2424 !important;
  text-decoration: underline !important;
}

.epchs-photo-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.epchs-photo-caption {
  margin-top: 15px;
  padding: 2px 4px 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #555555;
  font-weight: 400;
  text-align: center;

}

.epchs-donate-visual .epchs-photo-caption {
  margin-top: 0;
  padding: 12px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.epchs-about-photo-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #555555;
  font-weight: 400;
  text-align: left;
}

@media (min-width: 992px) {
  .epchs-about-photo-caption {
    margin-left: auto;
    max-width: 40%;
    text-align: right;
    padding-right: 4px;
  }
}

img,
.page-content img,
.lightbox-gallery img,
.sortable img,
article img,
picture img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.epchs-screenshot-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  background: rgba(112, 28, 28, 0.92);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.epchs-screenshot-badge.epchs-badge-active {
  opacity: 1;
  transform: translateY(0);
}

.epchs-screenshot-badge img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.epchs-subheading {
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  color: #1a1a1a;
}


/* OCR & AI Admin Form Section */
.epchs-ocr-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-top: 4px solid #701c1c;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  overflow: hidden;
  margin-bottom: 24px;
}

.epchs-ocr-header {
  background: linear-gradient(180deg, #faf5f4 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.epchs-ocr-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.epchs-ocr-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #701c1c;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(112, 28, 28, 0.22);
}

.epchs-ocr-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #701c1c;
  margin-bottom: 2px;
}

.epchs-ocr-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.epchs-ocr-subtitle {
  font-size: 0.83rem;
  color: #64748b;
  margin: 3px 0 0 0;
  line-height: 1.4;
}

.epchs-ocr-wallet-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  padding: 5px 7px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.epchs-ocr-badge-credits {
  display: inline-flex;
  align-items: center;
  font-size: 0.81rem;
  padding: 5px 12px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.epchs-ocr-badge-has-credits {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.epchs-ocr-badge-no-credits {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.epchs-ocr-body {
  padding: 18px 22px;
  background: #ffffff;
}

.epchs-ocr-source-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.epchs-ocr-source-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.epchs-ocr-source-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 4px;
}

.epchs-ocr-section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 8px;
}

.epchs-ocr-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 767.98px) {
  .epchs-ocr-specs-grid {
    grid-template-columns: 1fr;
  }
  .epchs-ocr-wallet-bar {
    border-radius: 12px;
    width: 100%;
    justify-content: flex-start;
  }
}

.epchs-ocr-spec-item {
  background: #fcfcfd;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.epchs-ocr-spec-icon {
  color: #701c1c;
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.epchs-ocr-spec-title {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.epchs-ocr-spec-text {
  display: block;
  font-size: 0.79rem;
  color: #475569;
  line-height: 1.45;
  margin-top: 3px;
}

.epchs-ocr-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 14px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.epchs-ocr-btn-extract {
  background-color: #701c1c !important;
  border-color: #701c1c !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 9px 22px;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.epchs-ocr-btn-extract:hover,
.epchs-ocr-btn-extract:focus {
  background-color: #581515 !important;
  border-color: #581515 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(112, 28, 28, 0.22) !important;
}

.epchs-ocr-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}

.epchs-ocr-target-file {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-family: monospace;
  color: #1e293b;
}

.epchs-ocr-target-empty {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
  font-family: inherit;
}

.epchs-ocr-target-ready {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

@keyframes epchsOcrPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(112, 28, 28, 0.45);
    border-color: #701c1c;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(112, 28, 28, 0);
    border-color: #701c1c;
  }
  100% {
    box-shadow: none;
  }
}

.epchs-ocr-highlight-pulse {
  animation: epchsOcrPulse 2s ease-out 2;
  border: 1.5px solid #701c1c !important;
}

.epchs-ocr-swal-body {
  overflow-x: hidden !important;
}

.epchs-ocr-packages-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.epchs-ocr-progress-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0 16px 0;
  text-align: left;
}

.epchs-ocr-progress-step-active {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #701c1c;
  margin-bottom: 8px;
  line-height: 1.35;
}

.epchs-ocr-progress-step-desc {
  font-size: 0.86rem;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.5;
  padding-left: 24px;
}

.epchs-ocr-progress-track {
  height: 9px;
  background-color: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  margin-left: 24px;
}

.epchs-ocr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #701c1c 0%, #b91c1c 100%);
  border-radius: 999px;
  width: 15%;
  transition: width 0.4s ease;
}

.epchs-ocr-package-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  background: #ffffff;
}

.epchs-ocr-package-card:hover {
  border-color: #701c1c;
  box-shadow: 0 4px 12px rgba(112, 28, 28, 0.08);
}

.epchs-ocr-package-card.selected {
  border-color: #701c1c;
  background-color: #fffaf9;
}

.epchs-ocr-processed-badge {
  display: inline-flex;
  align-items: center;
  background-color: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 50px;
}

.epchs-ocr-cost-pill {
  display: inline-block;
  background-color: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
  font-family: inherit;
  margin-left: 6px;
}

.epchs-ocr-ledger-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.epchs-ocr-ledger-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.epchs-ocr-ledger-stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 2px;
}

.epchs-ocr-ledger-stat-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.epchs-ocr-ledger-scroll {
  max-height: 360px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.epchs-ocr-ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  text-align: left;
}

.epchs-ocr-ledger-table thead th {
  position: sticky;
  top: 0;
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid #cbd5e1;
  white-space: nowrap;
}

.epchs-ocr-ledger-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}

.epchs-ocr-type-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

.epchs-ocr-type-purchase {
  background: #ecfdf5;
  color: #065f46;
}

.epchs-ocr-type-usage {
  background: #fef2f2;
  color: #991b1b;
}

.epchs-ocr-type-refund {
  background: #eff6ff;
  color: #1d4ed8;
}

.epchs-ocr-popup-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdfbf7 0%, #f4efe6 100%);
  padding: 24px;
  margin: 0;
}

.epchs-ocr-popup-card {
  max-width: 440px;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.epchs-ocr-popup-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.epchs-ocr-popup-icon-success {
  background: #ecfdf5;
  color: #059669;
  border: 2px solid #a7f3d0;
}

.epchs-ocr-popup-icon-cancel {
  background: #f1f5f9;
  color: #475569;
  border: 2px solid #cbd5e1;
}

.epchs-ocr-popup-icon-warning {
  background: #fffbeb;
  color: #d97706;
  border: 2px solid #fde68a;
}

.epchs-ocr-popup-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.epchs-ocr-detail-upload-wrap {
  background: #ffffff;
  border-top: 1px dashed #cbd5e1;
  padding-top: 12px;
  margin-top: 12px;
}

/* Social Media Icons & Links */
.epchs-header-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(141, 1, 2, 0.2);
}

.epchs-header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--epchs-muted, #6F6A60);
  background: rgba(141, 1, 2, 0.06);
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.epchs-header-social-link:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
}

.epchs-header-social-link.epchs-social-facebook:hover,
.epchs-header-social-link[aria-label*="Facebook"]:hover {
  background-color: #1877f2;
}

.epchs-header-social-link.epchs-social-instagram:hover,
.epchs-header-social-link[aria-label*="Instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.epchs-nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(141, 1, 2, 0.12);
  margin-top: 8px;
}

.epchs-footer-contact {
  max-width: 360px;
}

.epchs-footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.epchs-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(141, 1, 2, 0.08);
  color: var(--epchs-ink, #2C2A26);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.epchs-footer-social-link:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.epchs-footer-social-link.epchs-social-facebook:hover,
.epchs-footer-social-link[aria-label*="Facebook"]:hover {
  background-color: #1877f2;
}

.epchs-footer-social-link.epchs-social-instagram:hover,
.epchs-footer-social-link[aria-label*="Instagram"]:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.epchs-sidebar-social {
  padding-top: 14px;
}

.epchs-sidebar-social-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--epchs-muted, #6F6A60);
}

.epchs-sidebar-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.epchs-sidebar-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--epchs-radius-pill, 999px);
  text-decoration: none;
  background: var(--epchs-card, #FBF7EB);
  border: 1px solid var(--epchs-line, #DDD1B5);
  color: var(--epchs-ink, #2C2A26);
  transition: all 0.2s ease;
}

.epchs-sidebar-social-btn:hover {
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.epchs-sidebar-social-btn.epchs-sidebar-social-facebook:hover {
  background-color: #1877f2;
  border-color: #1877f2;
}

.epchs-sidebar-social-btn.epchs-sidebar-social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: #d6249f;
}

.epchs-contact-form-social {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(141, 1, 2, 0.1);
  text-align: center;
}

.epchs-contact-form-social-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--epchs-muted, #6F6A60);
}

.epchs-contact-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.epchs-btn-social-fb,
.epchs-btn-social-ig {
  font-size: 0.88rem;
  padding: 8px 20px;
  border-radius: var(--epchs-radius-pill, 999px);
  font-weight: 600;
  transition: all 0.2s ease;
}

.epchs-btn-social-fb:hover {
  background-color: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
}

.epchs-btn-social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: #d6249f !important;
  color: #ffffff !important;
}

.epchs-service-card-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f8f5ef;
}

.epchs-service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.epchs-card-clickable:hover .epchs-service-card-img-wrap img {
  transform: scale(1.04);
}

.epchs-admin-actions-top {
  position: relative;
  z-index: 5;
}

.pagecontent a,
.epchs-content-body a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

.epchs-ocr-notice {
  background-color: #fff9e6 !important;
  scroll-margin-top: 110px;
}

.epchs-ocr-notice-actions {
  border-top: 1px dashed rgba(180, 130, 20, 0.35);
}

.epchs-ocr-contribute-btn {
  background-color: #ffffff !important;
  font-size: 0.82rem !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

.epchs-ocr-scroll-contribute-link {
  color: #701c1c !important;
}

.epchs-ocr-scroll-contribute-link:hover {
  color: #4d1414 !important;
  text-decoration: underline !important;
}

.epchs-ocr-contribution-card {
  border: 1px solid rgba(112, 28, 28, 0.16);
  background-color: #ffffff;
  border-radius: 0.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.epchs-card-clickable:hover .epchs-btn-outline,
.epchs-card-clickable:focus-within .epchs-btn-outline {
  border-color: var(--epchs-red);
  color: var(--epchs-red);
}

.epchs-login-transition-notice {
  position: relative;
  background-color: #fffdf7 !important;
  border: 1px solid rgba(112, 28, 28, 0.16) !important;
  border-left: 6px solid #7a1f1f !important;
  border-radius: 1.25rem !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06) !important;
  color: #3b2f1e;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.epchs-login-transition-notice.is-closing {
  opacity: 0;
  transform: translateY(-6px);
}

.epchs-login-transition-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #6b5b45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.epchs-login-transition-close:hover,
.epchs-login-transition-close:focus {
  background-color: rgba(122, 31, 31, 0.1);
  color: #7a1f1f;
}

.epchs-login-transition-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(122, 31, 31, 0.1);
  color: #7a1f1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.epchs-login-transition-title {
  color: #2c2214 !important;
  font-size: 1.2rem !important;
}

.epchs-login-transition-notice p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #3b2f1e;
}

.epchs-login-transition-link {
  color: var(--epchs-red);
}

.epchs-login-transition-link:hover,
.epchs-login-transition-link:focus {
  color: #4d1414;
}

.epchs-nav-logout-link {
  display: inline-flex;
  align-items: center;
}

.epchs-nav-logout-link i {
  font-size: 0.92em;
  opacity: 0.85;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.epchs-nav-logout-link:hover i,
.epchs-nav-logout-link:focus i {
  opacity: 1;
  transform: translateX(2px);
}

.epchs-footer-bottom-inner {
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  gap: 0.45rem !important;
}

.epchs-footer-bottom-links {
  justify-content: center !important;
  width: 100%;
}





