/* News & Events Styles */

/* Common Styles */
.page-header {
  background-color: #0a2240;
  color: #fff;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.page-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 700;
}

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #d4af37;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #d4af37;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.two-column .main-content {
  flex: 1;
  min-width: 0;
}

.two-column .sidebar {
  width: 100%;
  max-width: 350px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #d4af37;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.5rem;
}

.read-more svg {
  margin-left: 0.25rem;
  transition: transform 0.2s;
}

.read-more:hover {
  color: #0a2240;
}

.read-more:hover svg {
  transform: translateX(3px);
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  color: #d4af37;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1rem;
}

.view-all-link svg {
  margin-left: 0.25rem;
  transition: transform 0.2s;
}

.view-all-link:hover {
  color: #0a2240;
}

.view-all-link:hover svg {
  transform: translateX(3px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.button.primary {
  background-color: #d4af37;
  color: #0a2240;
}

.button.primary:hover {
  background-color: #c9a22e;
}

.button.secondary {
  background-color: #0a2240;
  color: #fff;
}

.button.secondary:hover {
  background-color: #0d2d56;
}

.button.light {
  background-color: #fff;
  color: #0a2240;
}

.button.light:hover {
  background-color: #f5f5f5;
}

.button.full-width {
  width: 100%;
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e9ecef;
  position: relative;
}

.sidebar-widget h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #d4af37;
}

/* Search Widget */
.search-form {
  width: 100%;
}

.search-input {
  position: relative;
}

.search-input input {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.95rem;
}

.search-input button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3rem;
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input button:hover {
  color: #0a2240;
}

/* Categories Widget */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  border-bottom: 1px solid #e9ecef;
}

.categories-list li:last-child {
  border-bottom: none;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: #495057;
  text-decoration: none;
  transition: color 0.2s;
}

.categories-list a:hover {
  color: #d4af37;
}

.categories-list .count {
  background-color: #e9ecef;
  color: #495057;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  min-width: 28px;
  text-align: center;
}

/* Archives Widget */
.archives-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archives-list li {
  border-bottom: 1px solid #e9ecef;
}

.archives-list li:last-child {
  border-bottom: none;
}

.archives-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  color: #495057;
  text-decoration: none;
  transition: color 0.2s;
}

.archives-list a:hover {
  color: #d4af37;
}

.archives-list .count {
  background-color: #e9ecef;
  color: #495057;
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  min-width: 28px;
  text-align: center;
}

/* Recent News Widget */
.recent-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-news-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.recent-news-list li:first-child {
  padding-top: 0;
}

.recent-news-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.recent-news-list .news-image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  overflow: hidden;
  border-radius: 4px;
}

.recent-news-list .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-news-list .news-info {
  flex: 1;
  min-width: 0;
}

.recent-news-list h4 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.recent-news-list h4 a {
  color: #212529;
  text-decoration: none;
}

.recent-news-list h4 a:hover {
  color: #d4af37;
}

.recent-news-list .date {
  font-size: 0.8rem;
  color: #6c757d;
}

/* Events Promo Widget */
.events-promo .event-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 15px;
  border-bottom: 1px solid #e9ecef;
}

.events-promo .event-card:first-child {
  padding-top: 0;
}

.events-promo .event-card:last-child {
  border-bottom: none;
}

.events-promo .event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #0a2240;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  flex-shrink: 0;
}

.events-promo .event-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color:#fff;
}

.events-promo .event-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  color:#fff;
}

.events-promo .event-details {
  flex: 1;
  min-width: 0;
}

.events-promo h4 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.events-promo h4 a {
  color: #212529;
  text-decoration: none;
}

.events-promo h4 a:hover {
  color: #d4af37;
}

.events-promo .event-location,
.events-promo .event-time {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}

/* Featured News Section */
.featured-news {
  margin-bottom: 3rem;
}

.featured-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.featured-news-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-news-item.main-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-news-item .news-image {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}

.featured-news-item.main-feature .news-image {
  height: 100%;
  padding-bottom: 0;
}

.featured-news-item .news-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-news-item.main-feature .news-image img {
  position: absolute;
}

.featured-news-item .news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.featured-news-item .news-category a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #d4af37;
  color: #0a2240;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.2s;
}

.featured-news-item .news-category a:hover {
  background-color: #c9a22e;
}

.featured-news-item .news-content {
  padding: 1.5rem;
}

.featured-news-item .news-date {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.featured-news-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.featured-news-item.main-feature h3 {
  font-size: 1.5rem;
}

.featured-news-item h3 a {
  color: #212529;
  text-decoration: none;
}

.featured-news-item h3 a:hover {
  color: #d4af37;
}

.featured-news-item p {
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.news-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}



.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card .card-image {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}

.news-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card .news-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.news-card .news-category a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #d4af37;
  color: #0a2240;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.2s;
}

.news-card .news-category a:hover {
  background-color: #c9a22e;
}

.news-card .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card .news-date {
  font-size: 0.85rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card h3 a {
  color: #212529;
  text-decoration: none;
}

.news-card h3 a:hover {
  color: #d4af37;
}

.news-card p {
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.page-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: #495057;
  text-decoration: none;
  border: 1px solid #dee2e6;
  margin: 0 0.25rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.page-link:hover {
  background-color: #f8f9fa;
  color: #0a2240;
}

.page-link.disabled {
  color: #adb5bd;
  pointer-events: none;
  background-color: #f8f9fa;
}

.page-link svg {
  width: 16px;
  height: 16px;
}

.page-link.prev svg {
  margin-right: 0.25rem;
}

.page-link.next svg {
  margin-left: 0.25rem;
}

.page-numbers {
  display: flex;
  align-items: center;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 0.25rem;
  border-radius: 4px;
  color: #495057;
  text-decoration: none;
  border: 1px solid #dee2e6;
  transition: all 0.2s;
}

.page-numbers a:hover {
  background-color: #f8f9fa;
  color: #0a2240;
}

.page-numbers a.active {
  background-color: #d4af37;
  color: #fff;
  border-color: #d4af37;
}

/* News Detail Page */
.news-detail-section {
  margin-bottom: 3rem;
}

.news-article {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem 0;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.article-meta svg {
  margin-right: 0.5rem;
}

.article-meta a {
  color: #6c757d;
  text-decoration: none;
}

.article-meta a:hover {
  color: #d4af37;
}

.article-header .featured-image {
  margin-top: 1.5rem;
  width: 100%;
}

.article-header .featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  padding: 0 1.5rem 1.5rem;
  color: #495057;
  line-height: 1.7;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}

.article-content blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  font-style: italic;
  color: #6c757d;
}

.article-footer {
  padding: 1.5rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.share-buttons span {
  color: #6c757d;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.share-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s;
}

.share-buttons a:hover {
  transform: translateY(-3px);
}

/* Facebook */
.share-buttons .facebook {
  background-color: #3b5998;
}

/* Twitter */
.share-buttons .twitter {
  background-color: #1da1f2;
}

/* LinkedIn */
.share-buttons .linkedin {
  background-color: #0077b5;
}

/* Instagram */
.share-buttons .instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, 
              #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* WhatsApp */
.share-buttons .whatsapp {
  background-color: #25d366;
}

/* Related News */
.related-news {
  margin-bottom: 2rem;
}

.related-news h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-news-grid .news-card {
  margin-bottom: 0;
}

.related-news-grid .news-card h4 {
  font-size: 1rem;
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.post-navigation .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background-color: #f8f9fa;
  color: #495057;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
}

.post-navigation .nav-link:hover {
  background-color: #e9ecef;
  color: #0a2240;
}

.post-navigation .nav-link.prev svg {
  margin-right: 0.5rem;
}

.post-navigation .nav-link.next svg {
  margin-left: 0.5rem;
}

.post-navigation .nav-link.all svg {
  margin-right: 0.5rem;
}

/* Featured Events Section */
.featured-events {
  margin-bottom: 3rem;
}

.featured-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.featured-event-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-event-item.main-feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.featured-event-item .event-image {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}

.featured-event-item.main-feature .event-image {
  height: 100%;
  padding-bottom: 0;
}

.featured-event-item .event-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-event-item.main-feature .event-image img {
  position: absolute;
}

.featured-event-item .event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #d4af37;
  color: #0a2240;
  border-radius: 4px;
  text-align: center;
}

.featured-event-item .event-date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.featured-event-item .event-date-badge .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

.featured-event-item .event-content {
  padding: 1.5rem;
}

.featured-event-item .event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.featured-event-item .event-meta span {
  display: inline-flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.featured-event-item .event-meta svg {
  margin-right: 0.5rem;
}

.featured-event-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.featured-event-item.main-feature h3 {
  font-size: 1.5rem;
}

.featured-event-item h3 a {
  color: #212529;
  text-decoration: none;
}

.featured-event-item h3 a:hover {
  color: #d4af37;
}

.featured-event-item p {
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Events List */
.events-list {
  margin-bottom: 3rem;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-item .event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: #0a2240;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  flex-shrink: 0;
}

.event-item .event-date .day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color:#fff;
}

.event-item .event-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
  color:#fff;
}

.event-item .event-details {
  flex: 1;
  min-width: 0;
}

.event-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-item h3 a {
  color: #212529;
  text-decoration: none;
}

.event-item h3 a:hover {
  color: #d4af37;
}

.event-item .event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}

.event-item .event-meta span {
  display: inline-flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.9rem;
}

.event-item .event-meta svg {
  margin-right: 0.5rem;
}

.event-item p {
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.event-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-card .card-image {
  position: relative;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}

.event-card .card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card .event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #d4af37;
  color: #0a2240;
  border-radius: 4px;
  text-align: center;
}

.event-card .event-date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-card .event-date-badge .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 600;
}

.event-card .card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card h3,
.event-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.event-card h3 a,
.event-card h4 a {
  color: #212529;
  text-decoration: none;
}

.event-card h3 a:hover,
.event-card h4 a:hover {
  color: #d4af37;
}

.event-card .event-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.event-card .event-meta span {
  display: inline-flex;
  align-items: center;
  color: #6c757d;
  font-size: 0.85rem;
}

.event-card .event-meta svg {
  margin-right: 0.25rem;
}

.event-card p {
  color: #495057;
  margin-bottom: 1rem;
  line-height: 1.5;
  flex: 1;
}

/* View More Button */
.view-more {
  text-align: center;
  margin-top: 2rem;
}

/* Event Registration CTA */
.event-registration-cta {
  background-color: #0a2240;
  color: #fff;
  padding: 3rem 0;
  margin-top: 3rem;
}

.event-registration-cta .cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.event-registration-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.event-registration-cta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Calendar Widget */
.calendar-widget {
  margin-bottom: 2rem;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.calendar-header button {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.calendar-header button:hover {
  background-color: #e9ecef;
  color: #0a2240;
}

.calendar-header h4 {
  font-size: 1.1rem;
  margin: 0;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
}

.calendar-table th,
.calendar-table td {
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.calendar-table th {
  font-weight: 600;
  color: #495057;
}

.calendar-table td {
  color: #6c757d;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.calendar-table td:hover {
  background-color: #e9ecef;
}

.calendar-table td.has-event {
  background-color: rgba(212, 175, 55, 0.2);
  color: #0a2240;
  font-weight: 600;
}

.calendar-table td.has-event:hover {
  background-color: rgba(212, 175, 55, 0.3);
}

.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: #6c757d;
}

.legend-marker {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  margin-right: 0.5rem;
}

/* Subscribe Widget */
.subscribe-widget p {
  margin-bottom: 1rem;
}

.subscribe-form .form-group {
  display: flex;
  gap: 0.5rem;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Event Details Widget */
.event-details-widget {
  margin-bottom: 2rem;
}

.event-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.event-details-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.event-details-list li:first-child {
  padding-top: 0;
}

.event-details-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.event-details-list .detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-radius: 50%;
  flex-shrink: 0;
}

.event-details-list .detail-content {
  flex: 1;
}

.event-details-list h4 {
  font-size: 0.9rem;
  margin: 0 0 0.25rem;
  color: #6c757d;
}

.event-details-list p {
  margin: 0;
  font-weight: 600;
  color: #212529;
}

/* Calendar Buttons */
.calendar-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calendar-button {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.calendar-button svg {
  margin-right: 0.75rem;
}

.calendar-button.google {
  background-color: #4285f4;
  color: #fff;
}

.calendar-button.google:hover {
  background-color: #3367d6;
}

.calendar-button.outlook {
  background-color: #0078d4;
  color: #fff;
}

.calendar-button.outlook:hover {
  background-color: #0062a9;
}

.calendar-button.apple {
  background-color: #999;
  color: #fff;
}

.calendar-button.apple:hover {
  background-color: #777;
}

/* Registration Widget */
.registration-widget {
  margin-bottom: 2rem;
}

.registration-widget p {
  margin-bottom: 1rem;
}

/* Upcoming Events Widget */
.upcoming-events-widget {
  margin-bottom: 2rem;
}

.upcoming-events-list {
  margin-bottom: 1rem;
}

.upcoming-events-list .event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
  box-shadow: none;
  background: none;
}

.upcoming-events-list .event-item:hover {
  transform: none;
  box-shadow: none;
}

.upcoming-events-list .event-item:first-child {
  padding-top: 0;
}

.upcoming-events-list .event-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.upcoming-events-list .event-date {
  width: 50px;
  height: 50px;
}

.upcoming-events-list .event-date .day {
  font-size: 1.25rem;
  color:#fff;
}

.upcoming-events-list .event-date .month {
  font-size: 0.75rem;
  color:#fff;
}

.upcoming-events-list h4 {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.upcoming-events-list h4 a {
  color: #212529;
  text-decoration: none;
}

.upcoming-events-list h4 a:hover {
  color: #d4af37;
}

.upcoming-events-list .event-location {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .two-column {
    /*flex-direction: column;*/
  }

  .two-column .sidebar {
    max-width: 100%;
  }

  .featured-news-item.main-feature,
  .featured-event-item.main-feature {
    grid-template-columns: 1fr;
  }

  .featured-news-item.main-feature .news-image,
  .featured-event-item.main-feature .event-image {
    height: 0;
    padding-bottom: 60%;
  }

  .featured-news-item.main-feature .news-image img,
  .featured-event-item.main-feature .event-image img {
    position: absolute;
  }

  .news-grid,
  .events-grid,
  .related-news-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .featured-news-grid,
  .featured-events-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .events-grid,
  .related-news-grid {
    grid-template-columns: 1fr;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .event-item .event-date {
    width: 60px;
    height: 60px;
  }

  .event-item .event-date .day {
    font-size: 1.5rem;
    color:#fff;
  }

  .post-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .post-navigation .nav-link {
    width: 100%;
    justify-content: center;
  }

  .calendar-buttons {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .share-buttons {
    flex-wrap: wrap;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .subscribe-form .form-group {
    flex-direction: column;
  }
}

/* Calendar Views Styles */
.calendar-controls {
  background-color: #f8f9fa;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.view-switcher {
  display: flex;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-btn {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #495057;
  background-color: #fff;
  border: none;
  transition: all 0.2s;
  font-weight: 500;
}

.view-btn:hover {
  background-color: #f8f9fa;
  color: #0a2240;
}

.view-btn.active {
  background-color: #d4af37;
  color: #fff;
}

.date-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s;
}

.nav-btn:hover {
  background-color: #f8f9fa;
  color: #0a2240;
  border-color: #d4af37;
}

.current-period {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #0a2240;
  min-width: 200px;
  text-align: center;
}

.today-btn {
  padding: 0.5rem 1rem;
  background-color: #0a2240;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.today-btn:hover {
  background-color: #0d2d56;
  color: #fff;
}

.category-filter select {
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #fff;
  color: #495057;
  font-size: 0.95rem;
  min-width: 150px;
}

.category-filter select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Day View */
.day-view {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.day-header {
  background-color: #0a2240;
  color: #fff;
  padding: 1.5rem;
  text-align: center;
}

.day-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.day-events {
  padding: 1.5rem;
}

.day-event-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.2s;
}

.day-event-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.day-event-item:last-child {
  margin-bottom: 0;
}

.event-time {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a2240;
  min-width: 80px;
}

.event-details h4 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.event-details h4 a {
  color: #212529;
  text-decoration: none;
}

.event-details h4 a:hover {
  color: #d4af37;
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  margin: 0.5rem 0;
}

.event-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
}

/* Week View */
.week-view {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: #e9ecef;
}

.week-day {
  background-color: #fff;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}

.week-day .day-header {
  background-color: #f8f9fa;
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.week-day .day-header h4 {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  color: #6c757d;
  text-transform: uppercase;
}

.week-day .day-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a2240;
}

.week-day .day-events {
  padding: 0.5rem;
  flex: 1;
}

.week-event-item {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  color: #fff;
  font-size: 0.85rem;
}

.week-event-item:last-child {
  margin-bottom: 0;
}

.week-event-item .event-time {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.week-event-item .event-title a {
  color: #fff;
  text-decoration: none;
}

.week-event-item .event-title a:hover {
  text-decoration: underline;
}

/* Month View */
.month-view {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.month-grid {
  display: flex;
  flex-direction: column;
}

.month-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: #0a2240;
  color: #fff;
}

.day-name {
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.month-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: #e9ecef;
}

.month-day {
  background-color: #fff;
  min-height: 120px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background-color 0.2s;
}

.month-day:hover {
  background-color: #f8f9fa;
}

.month-day.other-month {
  background-color: #f8f9fa;
  color: #adb5bd;
}

.month-day.today {
  background-color: rgba(212, 175, 55, 0.1);
}

.month-day .day-number {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0a2240;
}

.month-day.other-month .day-number {
  color: #adb5bd;
}

.month-day .day-events {
  flex: 1;
}

.month-event-item {
  padding: 0.25rem 0.5rem;
  margin-bottom: 0.25rem;
  border-radius: 3px;
  font-size: 0.75rem;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.month-event-item:last-child {
  margin-bottom: 0;
}

.month-event-item a {
  color: #fff;
  text-decoration: none;
}

.more-events {
  font-size: 0.7rem;
  color: #6c757d;
  text-align: center;
  padding: 0.25rem;
}

/* Year View */
.year-view {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.year-month {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.year-month h4 {
  margin: 0 0 1rem;
  color: #0a2240;
  font-size: 1.1rem;
}

.month-mini-calendar {
  margin-bottom: 1rem;
}

.mini-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.mini-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  font-size: 0.8rem;
  border-radius: 2px;
}

.mini-day.other-month {
  color: #adb5bd;
}

.mini-day.has-events {
  background-color: #d4af37;
  color: #fff;
  font-weight: 600;
}

.month-event-count {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Events Sidebar */
.events-sidebar {
  background-color: #f8f9fa;
  padding: 2rem 0;
}

.sidebar-content h3 {
  margin-bottom: 1.5rem;
  color: #0a2240;
}

.sidebar-event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-event-item:last-child {
  margin-bottom: 0;
}

.sidebar-event-item .event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-event-item .event-date-badge .day {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.sidebar-event-item .event-date-badge .month {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.sidebar-event-item .event-info {
  flex: 1;
}

.sidebar-event-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.sidebar-event-item h4 a {
  color: #212529;
  text-decoration: none;
}

.sidebar-event-item h4 a:hover {
  color: #d4af37;
}

.sidebar-event-item .event-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.no-events {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

/* Responsive Design */
@media (max-width: 991px) {
  .controls-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .view-switcher {
    order: 1;
  }

  .date-navigation {
    order: 2;
    justify-content: center;
  }

  .category-filter {
    order: 3;
  }

  .category-filter select {
    width: 100%;
  }

  .year-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 767px) {
  .week-grid {
    grid-template-columns: 1fr;
  }

  .week-day {
    min-height: auto;
  }

  .week-day .day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .month-body {
    grid-template-columns: 1fr;
  }

  .month-day {
    min-height: auto;
    padding: 1rem;
  }

  .day-event-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .event-time {
    min-width: auto;
  }

  .current-period {
    font-size: 1.2rem;
    min-width: auto;
  }
}

@media (max-width: 575px) {
  .view-switcher {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .date-navigation {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
  }

  .year-grid {
    grid-template-columns: 1fr;
  }
}

/* Event Detail Page Styles */
.event-detail-content {
  padding: 3rem 0;
  background-color: #fff;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

@media (max-width: 991px) {
  .col-lg-8,
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Event Header Styles */
.event-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.event-meta-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.event-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #ffc107;
  color: #0a2240;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
}

.featured-badge svg {
  fill: currentColor;
}

/* Event Image */
.event-image {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-image img {
  width: 100%;
  height: auto;
  display: block;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Event Content */
.event-content {
  background-color: #fff;
}

.event-excerpt {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-left: 4px solid #d4af37;
  border-radius: 4px;
}

.event-excerpt .lead {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  color: #495057;
}

.event-description {
  margin-bottom: 3rem;
  line-height: 1.7;
  color: #495057;
}

.event-description h2,
.event-description h3,
.event-description h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0a2240;
}

.event-description p {
  margin-bottom: 1.5rem;
}

.event-description ul,
.event-description ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.event-description li {
  margin-bottom: 0.5rem;
}

/* Event Registration */
.event-registration {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  border: 1px solid #e9ecef;
}

.event-registration h3 {
  color: #0a2240;
  margin-bottom: 1rem;
}

.event-registration p {
  margin-bottom: 1.5rem;
  color: #6c757d;
}

.registration-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.registration-buttons .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s;
}

/* Social Sharing */
.social-sharing {
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
}

.social-sharing h4 {
  margin-bottom: 1rem;
  color: #0a2240;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  color: #fff;
  transition: all 0.2s;
}

.share-btn.facebook {
  background-color: #3b5998;
}

.share-btn.facebook:hover {
  background-color: #2d4373;
  color: #fff;
}

.share-btn.twitter {
  background-color: #1da1f2;
}

.share-btn.twitter:hover {
  background-color: #0d8bd9;
  color: #fff;
}

.share-btn.whatsapp {
  background-color: #25d366;
}

.share-btn.whatsapp:hover {
  background-color: #1ebe57;
  color: #fff;
}

/* Event Sidebar */
.event-sidebar {
  padding-left: 1rem;
}

@media (max-width: 991px) {
  .event-sidebar {
    padding-left: 0;
    margin-top: 3rem;
  }
}

/* Event Details Card */
.event-details-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e9ecef;
}

.event-details-card h3 {
  color: #0a2240;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-item:first-child {
  padding-top: 0;
}

.detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-radius: 50%;
  flex-shrink: 0;
}

.detail-content {
  flex: 1;
}

.detail-content strong {
  display: block;
  color: #0a2240;
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-content span {
  color: #495057;
  font-size: 1rem;
}

/* Add to Calendar */
.add-to-calendar {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.add-to-calendar h4 {
  color: #0a2240;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.calendar-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calendar-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s;
  color: #fff;
}

.calendar-btn.google {
  background-color: #4285f4;
}

.calendar-btn.google:hover {
  background-color: #3367d6;
  color: #fff;
}

.calendar-btn.outlook {
  background-color: #0078d4;
}

.calendar-btn.outlook:hover {
  background-color: #0062a9;
  color: #fff;
}

/* Related Events */
.related-events {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid #e9ecef;
}

.related-events h3 {
  color: #0a2240;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.related-events-list {
  margin-bottom: 1.5rem;
}

.related-event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f8f9fa;
}

.related-event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-event-item:first-child {
  padding-top: 0;
}

.event-date-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #0a2240;
  color: #fff;
  border-radius: 4px;
  text-align: center;
  flex-shrink: 0;
}

.event-date-small .day {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.event-date-small .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.event-info {
  flex: 1;
  min-width: 0;
}

.event-info h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
}

.event-info h4 a {
  color: #0a2240;
  text-decoration: none;
}

.event-info h4 a:hover {
  color: #d4af37;
}

.event-info .event-meta {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

.event-info .event-meta span {
  margin-right: 1rem;
}

.view-all-events {
  text-align: center;
}

.view-all-events .button {
  width: 100%;
}

/* Error Content */
.error-content {
  padding: 5rem 0;
  text-align: center;
}

.error-message {
  max-width: 600px;
  margin: 0 auto;
}

.error-message h2 {
  color: #dc3545;
  margin-bottom: 1rem;
}

.error-message p {
  color: #6c757d;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .event-meta-top {
    flex-direction: column;
    gap: 0.5rem;
  }

  .registration-buttons {
    flex-direction: column;
  }

  .registration-buttons .button {
    width: 100%;
    justify-content: center;
  }

  .share-buttons {
    flex-direction: row;
  }

  .share-btn {
    width: 100%;
    justify-content: center;
  }

  .event-details-card,
  .related-events {
    padding: 1.5rem;
  }

  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .detail-icon {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 575px) {
  .event-detail-content {
    padding: 2rem 0;
  }

  .event-image {
    margin-bottom: 1.5rem;
  }

  .event-excerpt {
    padding: 1rem;
  }

  .event-registration {
    padding: 1.5rem;
  }

  .calendar-buttons {
    gap: 0.5rem;
  }

  .related-event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .event-date-small {
    width: 60px;
    height: 40px;
    flex-direction: row;
    gap: 0.25rem;
  }

  .event-date-small .day {
    font-size: 1rem;
  }

  .event-date-small .month {
    font-size: 0.7rem;
    margin-top: 0;
  }
}
