/* ===== PROGRAMMES PAGE SPECIFIC STYLES ===== */

/* PAGE HEADER */
.page-header {
  background: linear-gradient(135deg, #801612 0%, #b82c25 100%);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 8px;
}

.page-body {
  background: var(--white);
  padding: 60px 0;
}

.page-body article {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Program List Grid */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 48px;
}

.prog-tile {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--text);
  border-top: 1px solid #f2f2f2;
  border-right: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
}

.prog-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.prog-tile .label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.prog-tile h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Merriweather', serif;
}

.prog-tile p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.prog-tile .arrow {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  transition: color 0.2s;
  display: inline-block;
}

.prog-tile:hover .arrow {
  color: var(--primary);
}

/* Detail view styling */
.prog-detail-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.prog-detail-meta strong {
  color: var(--primary);
}

.page-body h2 {
  font-family: 'Merriweather', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin: 40px 0 16px;
  border-bottom: 1.5px solid var(--border);
  padding-bottom: 10px;
}

.page-body h2:first-of-type {
  margin-top: 0;
}

.page-body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 18px;
}

.page-body ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.page-body ul li {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}

.read-more-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  transition: color 0.2s;
}

.read-more-link:hover {
  color: var(--accent);
}

@media (max-width: 992px) {
  .programmes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .programmes-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-header h1 {
    font-size: 32px;
  }
}
