/* Core Last Hour Red Brand Theme Variables */
:root {
  --lh-red-primary: #D9383A;
  --lh-red-hover: #C02B2D;
  --lh-red-light: rgba(217, 56, 58, 0.08);
}

/* Page Header */
.sermons_header {
  background: linear-gradient(rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.70)), url('../images/sermon-header-bg.jpg') no-repeat center center / cover;
  padding: 220px 0 60px;
  color: #ffffff;
  text-align: center;
}

.sermons_header h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Featured Sermon Card */
.featured_sermon {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-bottom: 50px;
  border-left: 5px solid var(--lh-red-primary);
}

.featured_sermon .sermon_img_container {
  position: relative;
  overflow: hidden;
}

.featured_sermon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon_badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--lh-red-primary);
  color: #fff;
  padding: 4px 12px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
}

/* Standard Sermon Grid Item */
.sermon_card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sermon_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.sermon_card_body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sermon_meta {
  font-size: 13px;
  color: #888888;
  margin-bottom: 10px;
}

.sermon_meta i {
  color: var(--lh-red-primary);
  margin-right: 4px;
}

.sermon_title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.4;
}

.sermon_excerpt {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sermon_actions {
  margin-top: auto;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-sermon {
  background-color: var(--lh-red-primary);
  color: #ffffff;
  font-size: 12px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-sermon:hover {
  background-color: var(--lh-red-hover);
  color: #ffffff;
  text-decoration: none;
}

.sermon_icon_btn {
  color: #666666;
  font-size: 16px;
  margin-left: 10px;
  transition: color 0.2s;
}

.sermon_icon_btn:hover {
  color: var(--lh-red-primary);
}

/* Sidebar Styling */
.sidebar_widget {
  background: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.widget_title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.widget_title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--lh-red-primary);
}

.search_form input {
  border-radius: 4px 0 0 4px;
  border: 1px solid #e0e0e0;
}

.search_form button {
  background-color: var(--lh-red-primary);
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 15px;
  transition: background-color 0.2s ease;
}

.search_form button:hover {
  background-color: var(--lh-red-hover);
  color: #fff;
}

/* Pagination Adjustments */
.pagination .page-item.active .page-link {
  background-color: var(--lh-red-primary);
  border-color: var(--lh-red-primary);
  color: #ffffff;
}

.pagination .page-link {
  color: var(--lh-red-primary);
}

.pagination .page-link:hover {
  color: var(--lh-red-hover);
}