/* Sidebar 2026-11-19: customer assets sb1 - sb5, across all page templates.
   sb1 supplies the brand header; live WordPress liturgy data stays interactive.
   sb2 - sb5 are link banners, managed by the existing OptionTree repeater. */
.sidebar .sidebar-calendar-refresh {
  background: #ffffff;
  border: 1px solid #552b2d;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
}
.sidebar .sidebar-calendar-refresh .sidebar-item-head {
  display: block;
  padding: 0;
  height: auto;
  line-height: normal;
  background: none;
  border: 0;
  border-radius: 0;
}
.sidebar .sidebar-calendar-refresh .sidebar-item-head img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
}
.sidebar .sidebar-calendar-refresh .sidebar-item-content-cal {
  display: block;
  margin: 0;
  padding: 10px 12px 13px;
  background: #fff !important;
  background-image: none !important;
  border: 0 !important;
  color: #49342f;
}
.sidebar .sidebar-calendar-refresh .cal-wrap {
  position: relative;
}
.sidebar .sidebar-calendar-refresh .sidebar-calendar-subtitle {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  color: #7d252a;
  margin: 1px 0 9px;
}
.sidebar .sidebar-calendar-refresh .cal-date-filter {
  position: relative;
  display: block;
  top: auto;
  left: auto;
  width: 100%;
  height: 37px;
  line-height: 37px;
  border: 1px solid #e2d5bf;
  border-radius: 5px;
  margin: 0 0 6px;
  padding: 0 9px;
  box-sizing: border-box;
  background: #fcf9f3;
  color: #49342f;
}
.sidebar .sidebar-calendar-refresh .cal-item {
  position: relative;
  height: auto;
  min-height: 0;
  padding: 0;
  background: transparent;
}
.sidebar .sidebar-calendar-refresh .cal-item > img {
  display: none !important;
}
.sidebar .sidebar-calendar-refresh .cal-item-top,
.sidebar .sidebar-calendar-refresh .cal-item-bottom {
  position: static;
  top: auto;
  left: auto;
  bottom: auto;
  width: 100%;
  padding: 3px 0;
  box-sizing: border-box;
}
.sidebar .sidebar-calendar-refresh .cal-item-top { text-align: center; }
.sidebar .sidebar-calendar-refresh .cal-item-ngay {
  margin: 5px 0 0;
  color: #7d252a;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
}
.sidebar .sidebar-calendar-refresh .cal-item-ngay-full {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.4;
  color: #8f5c48;
}
.sidebar .sidebar-calendar-refresh .cal-item-loi-chua {
  display: block;
  margin: 6px 0;
  color: #7d252a;
  font-size: 14px;
  line-height: 1.5;
}
.sidebar .sidebar-calendar-refresh .cal-item-title {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  color: #7d252a;
}
.sidebar .sidebar-calendar-refresh .cal-item-bottom-wrap {
  margin: 10px 0 0;
  padding: 10px;
  background: #fcf9f3;
  border: 1px solid #eadfce;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.55;
}
.sidebar .sidebar-calendar-refresh .cal-item-bottom-wrap a {
  display: block;
  color: #4b332e;
}
.sidebar .sidebar-calendar-refresh .cal-item-bottom-wrap a span {
  color: #7d252a;
}
.sidebar .sidebar-calendar-refresh .cal-empty {
  padding: 16px 10px;
  color: #7d252a;
}
.sidebar .sidebar-calendar-refresh .cal-popup {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 300px;
  z-index: 200;
}
.sidebar .sidebar-ads-item {
  display: block;
  margin-top: 10px;
  line-height: 0;
  border: 0;
  background: transparent;
}
.sidebar .sidebar-ads-item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
  border-radius: 0;
}
.sidebar .sidebar-ads-item:focus-visible {
  outline: 2px solid #c6a05b;
  outline-offset: 2px;
}
