/* Mass Times Page Styles */

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--color-brand) 0%, #004080 100%);
  color: white;
  border-radius: var(--radius-md);
}

.page-header h2 {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.page-subtitle {
  margin: 0;
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Announcements Section */
.announcements-section {
  margin-bottom: 3rem;
}

.announcement-card {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.announcement-card h3 {
  color: #856404;
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
}

.announcement-content p {
  margin: 0 0 1rem 0;
  color: #856404;
  line-height: 1.6;
}

.announcement-content p:last-child {
  margin-bottom: 0;
}

.announcement-content a {
  color: #856404;
  text-decoration: underline;
}

.announcement-content a:hover {
  color: #533606;
}

/* Schedule Section */
.schedule-section {
  margin-bottom: 3rem;
}

.schedule-section h3 {
  color: var(--color-brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.schedule-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-top: 4px solid;
}

.schedule-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.weekend-mass {
  border-top-color: var(--color-accent);
}

.weekday-mass {
  border-top-color: #28a745;
}

.holy-days {
  border-top-color: #dc3545;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.schedule-header h4 {
  margin: 0;
  color: var(--color-brand);
  font-size: 1.3rem;
}

.schedule-type {
  background: #f8f9fa;
  color: #666;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.mass-times {
  margin-bottom: 1.5rem;
}

.mass-time {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
}

.mass-time:last-child {
  border-bottom: none;
}

.mass-time .day {
  font-weight: 600;
  color: var(--color-brand);
}

.mass-time .time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
}

.mass-time .type {
  font-style: italic;
  color: #666;
  font-size: 0.9rem;
}

.location-info {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-accent);
}

.location-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Location Section */
.location-section {
  margin-bottom: 3rem;
}

.location-section h3 {
  color: var(--color-brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.location-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.location-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-accent);
}

.location-card h4 {
  color: var(--color-brand);
  margin: 0 0 1.5rem 0;
  font-size: 1.4rem;
}

.address {
  margin-bottom: 1.5rem;
}

.address p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  margin: 0 0 0.5rem 0;
  color: #666;
}

.contact-info a {
  color: var(--color-accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.location-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.quick-info-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid #28a745;
}

.quick-info-card h4 {
  color: var(--color-brand);
  margin: 0 0 1.5rem 0;
  font-size: 1.4rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 0.95rem;
}

.info-list li:last-child {
  border-bottom: none;
}

/* Seasonal Section */
.seasonal-section {
  margin-bottom: 3rem;
}

.seasonal-section h3 {
  color: var(--color-brand);
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-align: center;
}

.seasonal-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.season-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
}

.season-card h4 {
  color: var(--color-brand);
  margin: 0 0 1rem 0;
  font-size: 1.2rem;
}

.season-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Related Links */
.related-links {
  margin-bottom: 2rem;
}

.related-links h3 {
  color: var(--color-brand);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  text-align: center;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.link-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 0.3s ease;
  border-top: 3px solid transparent;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-accent);
}

.link-card h4 {
  color: var(--color-brand);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.link-card p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  text-align: center;
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: #8e6600;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-header {
    padding: 1.5rem 1rem;
  }
  
  .page-header h2 {
    font-size: 2rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
  
  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .mass-time {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }
  
  .mass-time .time {
    font-size: 1.3rem;
  }
  
  .location-actions {
    flex-direction: column;
  }
  
  .seasonal-info {
    grid-template-columns: 1fr;
  }
  
  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .schedule-card,
  .location-card,
  .quick-info-card {
    padding: 1.5rem;
  }
  
  .announcement-card {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .page-header {
    background: none !important;
    color: black !important;
  }
  
  .announcement-card {
    background: none !important;
    border: 1px solid #ccc !important;
  }
  
  .schedule-card,
  .location-card,
  .quick-info-card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    break-inside: avoid;
  }
  
  .btn {
    display: none !important;
  }
}