/*
Theme Name: FEDARENE 2025 
Theme URI: https://fedarene.org
Author: CheckFirst
Author URI: https://checkfirst.network
Description: FEDARENE's theme. 
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
*/

/* 
  FEDARENE Website CSS
  Table of Contents:
  1. Global Variables
  2. Base & Typography
  3. Layout Components
  4. UI Components
  5. Page-Specific Styles
     - 5.1 Home Page
     - 5.2 Article Page
     - 5.3 Events Listing Page
     - 5.4 Single Event Page
     - 5.5 Single Project Page
  6. Media Queries
*/

/*--------------------------------------------------------------
1. GLOBAL VARIABLES
--------------------------------------------------------------*/
:root {
  /* Brand Colors */
  --fedarene-black: #000000;
  --fedarene-white: #FFFFFF;
  --fedarene-light-green: #DCF1CF;
  --fedarene-light-blue: #BFDFE5;
  --fedarene-light-pink: #EFC9E2;
  --fedarene-golden: #F4C67E;
  
  /* Missing Primary/Secondary/Dark Colors - Using existing colors */
  --fedarene-primary: #4a7c59; /* A darker green based on light-green */
  --fedarene-primary-dark: #2d5436; /* Even darker green */
  --fedarene-primary-rgb: 74, 124, 89; /* RGB values for primary */
  --fedarene-secondary: #F4C67E; /* Same as golden */
  --fedarene-dark: #333333; /* Dark gray for text */
  
  /* Bootstrap Gray Scale */
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-600: #6c757d;
  --bs-gray-100: #f1f3f5; /* Bootstrap compatible */
  
  /* Text Colors */
  --text-primary: #000000;
  --text-secondary: #666666;
  --text-light: rgba(255, 255, 255, 0.75);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-circle: 50%;
  
  /* Shadows */
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
2. BASE & TYPOGRAPHY
--------------------------------------------------------------*/
/* Font imports */
@font-face {
  font-family: 'Gordita';
  src: url('fonts/Gordita-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gordita';
  src: url('fonts/Gordita-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/P22MackinacPro-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'P22 Mackinac Pro';
  src: url('fonts/P22MackinacPro-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Base Typography */
body {
  font-family: 'Gordita', sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6, .serif-text {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 400;
  line-height: 1.2;
}

/* Utility Classes */
.text-white-75 {
  color: var(--text-light) !important;
}

/* Accessibility */
.visually-hidden-focusable:not(:focus) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Gradient Brand Bar */
.gradient-bar {
  height: 5px;
  background: linear-gradient(to right, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
}

/*--------------------------------------------------------------
3. LAYOUT COMPONENTS
--------------------------------------------------------------*/

/* Global Pagination Styles */
.pagination,
.page-numbers {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.page-numbers li {
  list-style: none;
}

.page-numbers a,
.page-numbers span,
.page-numbers .page-link,
.page-numbers .current,
a.page-numbers,
span.page-numbers {
  display: inline-block;
  padding: 0.5rem 1rem;
  min-width: 40px;
  text-align: center;
  text-decoration: none;
  color: var(--fedarene-dark);
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.page-numbers a:hover,
.page-numbers .page-link:hover,
a.page-numbers:hover {
  background: var(--fedarene-primary);
  color: white;
  border-color: var(--fedarene-primary);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(44, 94, 46, 0.2);
}

.page-numbers .current,
.page-numbers span.current,
span.page-numbers.current {
  background: var(--fedarene-primary);
  color: white;
  border-color: var(--fedarene-primary);
  font-weight: 600;
}

.page-numbers .dots {
  background: transparent;
  border: none;
  cursor: default;
}

.page-numbers .prev,
.page-numbers .next,
a.prev.page-numbers,
a.next.page-numbers {
  font-weight: 600;
}

/* Ensure right alignment wrapper */
.pagination-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 3rem;
}

@media (max-width: 767px) {
  .pagination,
  .page-numbers {
    justify-content: center;
  }
  
  .pagination-wrapper {
    justify-content: center;
  }
  
  .page-numbers a,
  .page-numbers span {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
}
/* Header & Navigation */
.navbar-brand img {
  height: 25px;
  width: auto;
}

.navbar .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: 0;
}

.navbar .dropdown-item:hover, 
.navbar .dropdown-item:focus {
  background-color: #f8f9fa;
  color: var(--fedarene-black);
}

.navbar .nav-item .btn-fedarene-secondary {
  padding: 0.4rem 1rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.85rem;
}
.breadcrumb-item a {
  color: var(--fedarene-black);
  text-decoration: none;
}

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

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

/* Footer */
footer {
  background-color: var(--fedarene-black);
  color: var(--fedarene-white);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
}

.footer-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--fedarene-golden);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-circle);
  margin-right: 0.5rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: var(--fedarene-golden);
  transform: translateY(-3px);
}

/* Newsletter Section - Common to all pages */
.newsletter-section {
  background-color: var(--fedarene-black);
  color: var(--fedarene-white);
  position: relative;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
}

/*--------------------------------------------------------------
4. UI COMPONENTS
--------------------------------------------------------------*/
/* Button Styles */
.btn-fedarene-primary {
  background-color: var(--fedarene-black);
  color: var(--fedarene-white);
  border: none;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-fedarene-primary:hover,
.btn-fedarene-primary:focus {
  background-color: #333;
  color: var(--fedarene-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-fedarene-secondary {
  background-color: var(--fedarene-golden);
  color: var(--fedarene-black);
  border: none;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-fedarene-secondary:hover,
.btn-fedarene-secondary:focus {
  background-color: #eab35f;
  color: var(--fedarene-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-fedarene-outline {
  background-color: transparent;
  border: 1px solid var(--fedarene-black);
  color: var(--fedarene-black);
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-fedarene-outline:hover,
.btn-fedarene-outline:focus {
  background-color: var(--fedarene-black);
  color: var(--fedarene-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-fedarene-light {
  background-color: transparent;
  border: 1px solid var(--fedarene-white);
  color: var(--fedarene-white);
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.btn-fedarene-light:hover,
.btn-fedarene-light:focus {
  background-color: var(--fedarene-white);
  color: var(--fedarene-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-text {
  padding: 0;
  background: none;
  border: none;
  color: var(--fedarene-black);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  position: relative;
  width: auto; 
  max-width: fit-content; 
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s;
}

.btn-text:hover::after,
.btn-text:focus::after {
  width: 100%;
}

.btn-text .arrow {
  transition: transform 0.3s;
  margin-left: 0.25rem;
}

.btn-text:hover .arrow,
.btn-text:focus .arrow {
  transform: translateX(5px);
}

.badge{
  font-weight: 500 !important;
}

/* Sidebar Widget - Common to Article and Event pages */
.sidebar-widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

.sidebar-more-link {
  display: inline-flex;
  align-items: center;
  color: var(--fedarene-black);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.3s;
}

.sidebar-more-link i {
  transition: transform 0.3s;
  margin-left: 0.25rem;
}

.sidebar-more-link:hover {
  color: var(--fedarene-golden);
}

.sidebar-more-link:hover i {
  transform: translateX(3px);
}

/* Cards */
.news-card, .feature-card {
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.news-card:hover, .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

.news-img-container, .feature-img-container {
  position: relative;
  overflow: hidden;
}

.news-img-container img, .feature-img-container img {
  transition: transform 0.5s;
}

.news-card:hover .news-img-container img, 
.feature-card:hover .feature-img-container img {
  transform: scale(1.05);
}

/* Homepage news date styling with absolute positioning */
.home-page .news-date,
.front-page .news-date {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--fedarene-white);
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.news-category {
  display: inline-block;
  background-color: var(--fedarene-light-blue);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 500;
  width: auto;
  max-width: fit-content;
}

/* Background colors for badges and icons */
.bg-light-green {
  background-color: var(--fedarene-light-green);
  color: var(--fedarene-black);
}

.bg-light-blue {
  background-color: var(--fedarene-light-blue);
  color: var(--fedarene-black);
}

.bg-light-pink {
  background-color: var(--fedarene-light-pink);
  color: var(--fedarene-black);
}

.bg-golden {
  background-color: var(--fedarene-golden);
  color: var(--fedarene-black);
}

/* Pagination */
/* Page link styles moved to global pagination styles */

/*--------------------------------------------------------------
5. PAGE-SPECIFIC STYLES
--------------------------------------------------------------*/

/*--------------------------------------------------------------
5.1 HOME PAGE
--------------------------------------------------------------*/
.home-page .hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--fedarene-white);
  padding: 5rem 0;
}

.home-page .hero .display-4 {
  font-weight: 400;
  line-height: 1.2;
}

/* Stats section */
.home-page .stats-section {
  background-color: var(--fedarene-light-green);
  padding: 4rem 0;
}

.home-page .stat-number {
  font-size: 2.5rem;
  font-weight: 400;
  font-family: 'P22 Mackinac Pro', serif;
  line-height: 1.2;
}

.home-page .stat-label {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #666;
}

/* Working Groups */
.home-page .working-groups-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
  position: relative;
}

.home-page .working-groups-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
}

.home-page .nav-scroll-container {
  position: relative;
  overflow-x: auto;
  padding-bottom: 5px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.home-page .nav-scroll-container::-webkit-scrollbar {
  display: none;
}

.home-page .wg-nav {
  position: relative;
  gap: 10px;
  padding-bottom: 5px;
}

.home-page .wg-nav .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--fedarene-black);
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: all 0.3s;
  min-width: 120px;
  border-bottom: 3px solid transparent;
}

.home-page .wg-nav .nav-link span {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.home-page .wg-nav .nav-link:hover {
  transform: translateY(-5px);
}

.home-page .wg-nav .nav-link.active {
  background-color: transparent;
  color: var(--fedarene-black);
  border-bottom: 3px solid var(--fedarene-black);
}

.home-page .wg-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s;
  overflow: hidden;
}

.home-page .wg-icon-container .wg-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.home-page .wg-nav .nav-link:hover .wg-icon-container {
  transform: scale(1.1);
}

.home-page .tab-content {
  padding: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.home-page .wg-content {
  padding: 1rem;
}

.home-page .wg-content h3 {
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.home-page .wg-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

.home-page .wg-benefits {
  list-style: none;
  padding-left: 0;
}

.home-page .wg-benefits li {
  margin-bottom: 0.75rem;
}

.home-page .wg-image-container {
  padding: 1rem;
  transition: transform 0.3s;
}

.home-page .wg-image-container img {
  transition: transform 0.5s;
}

.home-page .tab-pane:hover .wg-image-container img {
  transform: scale(1.03);
}

/* Events on home page */
.home-page .home-event-date {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--fedarene-white);
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Partner logos */
.home-page .partner-logo {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.home-page .partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Partners Carousel */
.partners-carousel-section {
  position: relative;
}

.partners-carousel-container {
  position: relative;
  padding: 0 60px; /* Space for navigation buttons */
}

.partners-carousel-wrapper {
  overflow: hidden;
  margin: 0 -15px; /* Compensate for slide padding */
}

.partners-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.partner-slide {
  flex: 0 0 25%; /* Default 4 slides visible */
  max-width: 25%;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.partner-slide img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* Carousel Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--fedarene-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
  z-index: 2;
}

.carousel-nav:hover:not(:disabled) {
  background-color: var(--fedarene-primary);
  color: white;
}

.carousel-nav:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.carousel-nav-prev {
  left: 10px;
}

.carousel-nav-next {
  right: 10px;
}

.carousel-nav i {
  font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .partner-slide {
    flex: 0 0 33.333%; /* 3 slides visible on tablet */
    max-width: 33.333%;
  }

  .partners-carousel-container {
    padding: 0 50px;
  }
}

@media (max-width: 767px) {
  .partner-slide {
    flex: 0 0 50%; /* 2 slides visible on mobile */
    max-width: 50%;
  }

  .partners-carousel-container {
    padding: 0 40px;
  }

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

  .carousel-nav-prev {
    left: 5px;
  }

  .carousel-nav-next {
    right: 5px;
  }

  .carousel-nav i {
    font-size: 1rem;
  }
}

/* Mobile accordion styles */
.home-page .accordion-item {
  border-radius: 8px !important;
  overflow: hidden;
}

.home-page .accordion-button {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: white;
  color: var(--fedarene-black);
  font-weight: 500;
}

.home-page .accordion-button:not(.collapsed) {
  background-color: white;
  color: var(--fedarene-black);
  box-shadow: none;
}

.home-page .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.home-page .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/*--------------------------------------------------------------
5.2 ARTICLE PAGE
--------------------------------------------------------------*/
/* Article header */
.article-page .article-header {
  padding: 2rem 0 1rem;
  position: relative;
}

.article-page .article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.article-page .article-category {
  display: inline-block;
  background-color: var(--fedarene-light-blue);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.article-page .article-date {
  color: #666;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.article-page .article-date::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #666;
  margin-right: 0.75rem;
}

.article-page .article-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
}

.article-page .article-lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
}

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

.article-page .share-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.article-page .share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #f0f0f0;
  border-radius: 50%;
  margin-right: 0.5rem;
  color: var(--fedarene-black);
  transition: all 0.3s;
}

.article-page .share-icon:hover {
  background-color: var(--fedarene-golden);
  transform: translateY(-2px);
}

/* Feature image */
.article-page .article-feature-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.article-page .figure-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

/* Article body content */
.article-page .article-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

.article-page .article-intro {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}

.article-page .article-body h2 {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.article-page .article-body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

.article-page .article-body h3 {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.article-page .article-body p {
  margin-bottom: 1.25rem;
}

.article-page .article-body figure {
  margin: 2rem 0;
}

/* Blockquotes */
.article-page .article-quote {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background-color: rgba(244, 198, 126, 0.15);
  border-left: 3px solid var(--fedarene-golden);
}

.article-page .article-quote p {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.article-page .article-quote cite {
  font-style: normal;
  font-weight: 500;
  font-size: 0.9rem;
  color: #555;
}

/* Lists */
.article-page .article-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-page .article-list li {
  margin-bottom: 0.75rem;
}

/* Call-out boxes */
.article-page .article-callout {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: rgba(191, 223, 229, 0.3);
  border-radius: 8px;
}

.article-page .article-callout h3 {
  margin-top: 0;
  color: var(--fedarene-black);
}

/* CTA box */
.article-page .article-cta {
  margin: 2.5rem 0;
  padding: 2rem;
  background-color: var(--fedarene-light-green);
  border-radius: 8px;
  text-align: center;
}

.article-page .article-cta h3 {
  margin-top: 0;
}

.article-page .article-cta .btn {
  margin-top: 1rem;
}

/* Resources list */
.article-page .article-resources {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.article-page .article-resources li {
  margin-bottom: 0.75rem;
}

.article-page .article-resources a {
  display: inline-flex;
  align-items: center;
  color: var(--fedarene-black);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

.article-page .article-resources a:hover {
  color: var(--fedarene-golden);
}

/* Author information */
.article-page .article-author {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.article-page .author-image {
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.article-page .author-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.article-page .author-info h4 {
  margin: 0 0 0.25rem;
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
}

.article-page .author-info h4 a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.article-page .author-info h4 a:hover {
  color: var(--fedarene-primary);
  text-decoration: none;
}

.article-page .author-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  margin-bottom: 0.5rem;
}

.article-page .author-position {
  font-size: 0.95rem;
  font-style: italic;
  color: #666;
  margin-bottom: 0.5rem;
}

.article-page .author-bio {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.article-page .author-image a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.article-page .author-image a:hover {
  transform: scale(1.05);
}

.article-page .author-image a:hover img {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Article Sidebar */
.article-page .article-sidebar {
  position: sticky;
  top: 100px;
}

/* Latest news widget in sidebar - OVERRIDES PREVIOUS STYLES */
.article-page .news-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.article-page .news-item a {
  display: block;
  margin-bottom: 0.3rem;
  text-decoration: none;
  font-weight: 500;
  color: var(--fedarene-black);
  transition: color 0.3s;
}

.article-page .news-item a:hover {
  color: var(--fedarene-golden);
}

.article-page .news-item .news-date {
  /* Override the absolute positioning from the news cards */
  position: static;
  display: inline-block;
  background-color: transparent;
  color: #666;
  padding: 0;
  font-size: 0.8rem;
  margin: 0;
}

/* Upcoming events widget */
.article-page .event-item {
  display: flex;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.article-page .event-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--fedarene-golden);
  border-radius: 4px;
  margin-right: 1rem;
  text-align: center;
}

.article-page .date-number {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-top: 4px;
}

.article-page .date-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 4px;
}

.article-page .event-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.article-page .event-title {
  display: block;
  font-weight: 500;
  color: var(--fedarene-black);
  text-decoration: none;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
  line-height: 1.3;
}

.article-page .event-title:hover {
  color: var(--fedarene-golden);
}

.article-page .event-location {
  display: block;
  font-size: 0.8rem;
  color: #666;
}

/* Newsletter widget */
.article-page .newsletter .widget-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Related topics widget */
.article-page .topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.article-page .topic-tag {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--fedarene-black);
  text-decoration: none;
  transition: all 0.3s;
}

.article-page .topic-tag:hover {
  background-color: var(--fedarene-golden);
  transform: translateY(-2px);
}

/* Related articles section */
.article-page .related-articles {
  margin-top: 3rem;
}

.article-page .section-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}

.article-page .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

/*--------------------------------------------------------------
5.3 EVENTS LISTING PAGE
--------------------------------------------------------------*/
.events-page .hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--fedarene-white);
  padding: 5rem 0;
}

/* Event filter toggle buttons */
.events-page .btn-check:checked + .btn-outline-dark {
  background-color: var(--fedarene-black);
  color: var(--fedarene-white);
}

.events-page .btn-outline-dark {
  border-color: var(--fedarene-black);
  color: var(--fedarene-black);
}

.events-page .btn-outline-dark:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--fedarene-black);
}

/* Featured event section */
.events-page .featured-event .object-fit-cover {
  object-fit: cover;
}

.events-page .featured-event-img {
  min-height: 300px;
}

.events-page .event-date-badge {
  background-color: var(--fedarene-golden);
  border-radius: 4px;
  color: var(--fedarene-black);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  padding: 0.5rem 1rem;
  text-align: center;
  font-family: 'P22 Mackinac Pro', serif;
}

.events-page .event-date-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}

/* Event list view */
.events-page .event-list-item {
  transition: transform 0.3s, box-shadow 0.3s;
}

.events-page .event-list-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12) !important;
}

.events-page .event-date-list {
  background-color: #f9f9f9;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-page .event-month {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
}

.events-page .event-day {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: 'P22 Mackinac Pro', serif;
  line-height: 1.1;
  color: var(--fedarene-black);
}

.events-page .event-year {
  font-size: 0.9rem;
  color: #666;
}

.events-page .event-type {
  background-color: #f5f5f5;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.events-page .event-status .badge {
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
}

/* Badges for event types */
.events-page .badge {
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
}

/*--------------------------------------------------------------
5.4 SINGLE EVENT PAGE
--------------------------------------------------------------*/
/* Event Hero Section */
.event-page .event-hero {
  margin-bottom: 0;
}

.event-page .event-hero-image {
  position: relative;
}

.event-page .event-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.event-page .event-hero-content {
  padding:0;
  padding-top: 3rem;
  padding-bottom: 3rem; /* Ensure consistent spacing at bottom */
  position: relative;
  z-index: 1;
  color: var(--fedarene-white);
  margin-top: -340px;
  min-height: 340px; /* Ensure minimum height to prevent overlap */
}

/* Event Metadata */
.event-page .event-meta {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.event-page .event-meta-item {
  margin-bottom: 0.75rem;
}

.event-page .event-meta-icon {
  background-color: rgba(255, 255, 255, 0.2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.event-page .event-meta-content {
  display: flex;
  flex-direction: column;
}

.event-page .event-meta-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.event-page .event-meta-value {
  font-weight: 500;
}


/* Event Content Sections */
.event-page .event-section {
  margin-bottom: 3rem;
}

.event-page .event-section h2 {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.event-page .event-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

/* Program Styling */
.event-page .program-day-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.event-page .program-day-subtitle {
  color: #666;
  font-size: 0.95rem;
}

.event-page .program-item {
  border-left: 2px solid #eee;
  padding-left: 1.5rem;
  margin-left: 0.5rem;
  position: relative;
  padding-bottom: 1.5rem;
}

.event-page .program-item:last-child {
  padding-bottom: 0;
}

.event-page .program-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: var(--fedarene-golden);
  border-radius: 50%;
  left: -7px;
  top: 6px;
}

.event-page .program-time {
  font-weight: 500;
  color: #666;
  margin-bottom: 0.5rem;
}

.event-page .program-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.event-page .program-description {
  font-size: 0.95rem;
  color: #555;
}

.event-page .program-speakers {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
}

/* Speaker Cards */
.event-page .speaker-card {
  margin-bottom: 1.5rem;
}

.event-page .speaker-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-right: 1rem;
  overflow: hidden;
}

.event-page .speaker-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-page .speaker-name {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.event-page .speaker-position {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.event-page .speaker-bio {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0;
}

/* Registration Section */
.event-page .registration-card {
  border-radius: 8px;
}

.event-page .price-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: white;
  height: 100%;
  position: relative;
}

.event-page .price-card-highlight {
  border: 2px solid var(--fedarene-golden);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.event-page .price-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background-color: var(--fedarene-golden);
  color: var(--fedarene-black);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.event-page .price-value {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2rem;
  font-weight: 700;
}

.event-page .price-period {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}

.event-page .price-features {
  list-style: none;
  padding-left: 0;
}

/* Sidebar Styles for Event Page */
.event-page .sidebar-widget {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.event-page .widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fedarene-primary);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

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

.event-page .event-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

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

.event-page .event-info-item i {
  color: var(--fedarene-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.event-page .event-info-item div {
  flex: 1;
  line-height: 1.5;
}

.event-page .event-info-item strong {
  display: block;
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 4px;
}

/* Share Buttons */
.event-page .share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-page .share-btn {
  width: 45px;
  height: 45px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.event-page .share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Events in Sidebar */
.event-page .related-event {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.event-page .related-event-date {
  background: var(--fedarene-primary);
  color: white !important;
  padding: 10px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-page .related-event-date .event-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
  color: white !important;
}

.event-page .related-event-date .event-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: white !important;
}

.event-page .related-event-content {
  padding: 12px;
}

.event-page .related-event-title {
  font-size: 0.95rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.event-page .related-event-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.event-page .related-event-title a:hover {
  color: var(--fedarene-primary);
}

.event-page .related-event-details {
  color: #666;
  font-size: 0.85rem;
}

.event-page .sidebar-more-link {
  color: var(--fedarene-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.event-page .sidebar-more-link:hover {
  gap: 10px;
}

/* Document List */
.event-page .document-list {
  list-style: none;
  padding: 0;
}

.event-page .document-list .list-group-item {
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.event-page .document-list .list-group-item:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.event-page .document-link {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.event-page .document-link:hover {
  color: var(--fedarene-primary);
}

/* Newsletter Section */
.event-page .newsletter-section {
  background: linear-gradient(135deg, var(--fedarene-primary) 0%, #006400 100%);
  position: relative;
  overflow: hidden;
}

.event-page .newsletter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 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.05'%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");
  opacity: 0.1;
}

.event-page .newsletter-section h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
}

.event-page .newsletter-section .text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Related Content Styles */
.event-page .related-section-title {
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.event-page .related-item {
  transition: all 0.3s ease;
}

.event-page .related-item:hover {
  background-color: rgba(0, 114, 63, 0.05);
  margin-left: 5px;
  border-radius: 5px;
  padding: 5px;
  margin-bottom: 0.75rem !important;
}

.event-page .related-item-image img {
  border: 1px solid #dee2e6;
  padding: 5px;
  background: white;
}

.event-page .related-item h6 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.event-page .related-item h6 a {
  color: var(--fedarene-primary);
}

.event-page .related-item h6 a:hover {
  color: var(--fedarene-primary-dark);
  text-decoration: underline !important;
}

/* Map Styles */
.event-page .venue-map {
  border-radius: 8px;
  overflow: hidden;
}

.event-page .event-location-map {
  width: 100%;
  height: 250px;
  background: #f8f9fa;
  position: relative;
  border-radius: 8px;
}

.event-page .venue-directions {
  padding: 10px 0;
}

/* Past Event Alert */
.event-page .alert-warning {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff3cd, #ffe9a1);
  color: #856404;
  padding: 20px;
  margin-bottom: 30px;
}

.event-page .alert-warning .alert-heading {
  color: #856404;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Registration CTA in Sidebar */
.event-page .bg-fedarene-light-green {
  background: var(--fedarene-light-green) !important;
  border: 2px solid var(--fedarene-primary);
}

.event-page .bg-fedarene-light-green .widget-title {
  border-bottom: none;
  padding-bottom: 0;
}

/* Responsive Styles for Event Page */
@media (max-width: 991px) {
  .event-page .event-hero-content {
    padding: 30px 0;
  }
  
  .event-page .event-title {
    font-size: 2rem;
  }
  
  .event-page .event-meta-item {
    margin-bottom: 15px;
  }
  
  .event-page .speaker-card {
    flex-direction: column;
    text-align: center;
  }
  
  .event-page .speaker-image {
    margin-bottom: 15px;
  }
}

@media (max-width: 767px) {
  .event-page .event-hero-content {
    padding: 20px 0;
  }
  
  .event-page .event-title {
    font-size: 1.75rem;
  }
  
  .event-page .event-meta {
    margin-top: 20px;
  }
  
  .event-page .program-item {
    padding-left: 0;
  }
  
  .event-page .program-item::before {
    display: none;
  }
  
  .event-page .program-time {
    font-weight: 600;
    color: var(--fedarene-primary);
    margin-bottom: 5px;
  }
  
  .event-page .sidebar-widget {
    margin-top: 30px;
  }
}

.event-page .price-features li {
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.event-page .price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: green;
}

/* Event Info List */
.event-page .event-info-list {
  margin-bottom: 0;
}

.event-page .event-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

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

.event-page .event-info-item i {
  margin-right: 1rem;
  color: var(--fedarene-black);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* Share Buttons */
.event-page .share-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.event-page .share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.event-page .share-btn:hover {
  background-color: var(--fedarene-golden);
  border-color: var(--fedarene-golden);
  color: var(--fedarene-black);
}

/* Document List */
.event-page .document-list {
  border-radius: 4px;
  overflow: hidden;
}

.event-page .document-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--fedarene-black);
  transition: color 0.3s;
}

.event-page .document-link:hover {
  color: var(--fedarene-golden);
}

/* Related Events */
.event-page .related-event {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s;
}

.event-page .related-event:hover {
  border-color: var(--fedarene-golden);
  box-shadow: var(--shadow-sm);
}

/* Removed duplicate rule - using the earlier one with proper colors */

/* Generic Page Template Styles */
.generic-page .page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 80px;
  position: relative;
  background-color: var(--fedarene-light-green);
}

.generic-page .page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.generic-page .page-hero .container {
  position: relative;
  z-index: 2;
}

.generic-page .page-hero .breadcrumb {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  margin-bottom: 0;
  flex-wrap: nowrap;
}

.generic-page .page-hero .breadcrumb-item {
  display: inline-block;
}

.generic-page .page-hero .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.generic-page .page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.7);
  content: "/";
  padding-right: 0.5rem;
}

.generic-page .page-hero .breadcrumb-item a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.generic-page .page-hero .breadcrumb-item a:hover {
  color: white;
}

.generic-page .page-hero .breadcrumb-item.active {
  color: white;
}

.generic-page .page-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.generic-page .page-subtitle {
  color: rgba(255,255,255,0.95);
  font-size: 1.25rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.generic-page .page-excerpt {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Page Content Section */
.generic-page .page-content {
  padding: 60px 0;
}

.generic-page .page-article {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* Child Pages Grid */
.generic-page .child-pages-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #f0f0f0;
}

.generic-page .child-pages-section .section-title {
  color: var(--fedarene-primary);
  margin-bottom: 2rem;
}

.generic-page .child-page-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.generic-page .child-page-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.generic-page .child-page-image {
  height: 200px;
  overflow: hidden;
  background: var(--fedarene-light-blue);
}

.generic-page .child-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.generic-page .child-page-card:hover .child-page-image img {
  transform: scale(1.05);
}

.generic-page .child-page-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.generic-page .child-page-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.generic-page .child-page-title a {
  color: var(--fedarene-black);
  text-decoration: none;
  transition: color 0.3s;
}

.generic-page .child-page-title a:hover {
  color: var(--fedarene-primary);
}

.generic-page .child-page-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.generic-page .read-more {
  color: var(--fedarene-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.generic-page .read-more:hover {
  transform: translateX(5px);
}

.generic-page .read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.generic-page .read-more:hover i {
  transform: translateX(3px);
}

/* Page Sidebar */
.generic-page .page-sidebar {
  position: sticky;
  top: 100px;
}

.generic-page .sidebar-widget {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.generic-page .sidebar-widget .widget-title {
  font-size: 1.25rem;
  color: var(--fedarene-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--fedarene-light-green);
}

/* Sub-navigation */
.generic-page .sub-navigation {
  background: white;
}

.generic-page .sub-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.generic-page .sub-nav-list li {
  margin-bottom: 0.5rem;
}

.generic-page .sub-nav-list li.parent-link {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #f0f0f0;
}

.generic-page .sub-nav-list a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.generic-page .sub-nav-list a:hover {
  background: var(--fedarene-light-green);
  color: var(--fedarene-primary);
  padding-left: 1rem;
}

.generic-page .sub-nav-list li.current-page a {
  background: var(--fedarene-light-green);
  color: var(--fedarene-primary);
  font-weight: 600;
}

.generic-page .current-indicator {
  width: 8px;
  height: 8px;
  background: var(--fedarene-primary);
  border-radius: 50%;
  display: inline-block;
}

.generic-page .sub-nav-children {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.generic-page .sub-nav-children li {
  margin-bottom: 0.25rem;
}

.generic-page .sub-nav-children a {
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
}

/* Related Pages Widget */
.generic-page .related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.generic-page .related-list li {
  margin-bottom: 0.75rem;
}

.generic-page .related-list a {
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  transition: all 0.3s;
}

.generic-page .related-list a:hover {
  background: var(--fedarene-light-blue);
  color: var(--fedarene-primary);
  transform: translateX(5px);
}

.generic-page .related-list a i {
  opacity: 0;
  transition: opacity 0.3s;
}

.generic-page .related-list a:hover i {
  opacity: 1;
}

/* Contact Widget */
.generic-page .contact-widget {
  background: var(--fedarene-light-green);
  border: 2px solid var(--fedarene-primary);
}

.generic-page .contact-widget .widget-title {
  border-bottom-color: var(--fedarene-primary);
}

.generic-page .contact-widget p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Page CTA Section */
.generic-page .page-cta {
  background: linear-gradient(135deg, var(--fedarene-light-green) 0%, var(--fedarene-light-blue) 100%);
  padding: 80px 0;
}

.generic-page .page-cta h2 {
  color: var(--fedarene-primary);
  margin-bottom: 1rem;
}

.generic-page .page-cta .lead {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Page Meta */
.generic-page .page-meta {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Page Links (WordPress pagination) */
.generic-page .page-links {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.generic-page .page-links-title {
  font-weight: 600;
  margin-right: 0.5rem;
}

.generic-page .page-links .page-number {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--fedarene-light-green);
  color: var(--fedarene-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s;
}

.generic-page .page-links .page-number:hover {
  background: var(--fedarene-primary);
  color: white;
}

.generic-page .page-links .current .page-number {
  background: var(--fedarene-primary);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .generic-page .page-title {
    font-size: 2rem;
  }
  
  .generic-page .page-subtitle {
    font-size: 1.1rem;
  }
  
  .generic-page .page-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .generic-page .page-hero {
    padding: 80px 0 60px;
  }
}

/* Search Overlay Styles */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
}

.search-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.search-close:hover {
  transform: rotate(90deg);
}

.search-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 1.5rem 4rem 1.5rem 1.5rem;
  font-size: 1.5rem;
  background: white;
  border: none;
  border-radius: var(--radius-md);
  outline: none;
}

@media (max-width: 768px) {
  .search-input {
    font-size: 1.2rem;
    padding: 1rem 3rem 1rem 1rem;
  }
}

.search-submit {
  position: absolute;
  right: 0.5rem;
  background: var(--fedarene-primary);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.3s;
}

.search-submit:hover {
  background: var(--fedarene-primary-dark);
}

.search-suggestions {
  text-align: center;
  color: white;
}

.suggestion-label {
  display: inline-block;
  margin-right: 1rem;
  opacity: 0.7;
}

.suggestion-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background 0.3s;
}

.suggestion-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Search Results Page Styles */
.search-results-page .search-hero {
  background: var(--fedarene-light-green);
}

.search-results-page .search-form-inline {
  max-width: 800px;
}

.search-results-page .search-tabs {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-results-page .search-tabs .nav-link {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.25rem;
  background: white;
  color: var(--text-secondary);
  border: 1px solid #dee2e6;
  transition: all 0.3s;
}

.search-results-page .search-tabs .nav-link:hover {
  background: var(--fedarene-light-blue);
  border-color: var(--fedarene-primary);
}

.search-results-page .search-tabs .nav-link.active {
  background: var(--fedarene-primary);
  color: white;
  border-color: var(--fedarene-primary);
}

.search-results-page .search-tabs .badge {
  background: rgba(0, 0, 0, 0.2);
}

.search-results-page .search-tabs .nav-link.active .badge {
  background: rgba(255, 255, 255, 0.3);
}

/* Search Result Cards */
.search-results-page .search-result-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search-results-page .search-result-card:hover {
  box-shadow: var(--shadow-md);
}

.search-results-page .search-result-card .result-image {
  margin: -1.5rem -1.5rem 1rem;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  height: 200px;
}

.search-results-page .search-result-card .result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.search-results-page .search-result-card:hover .result-image img {
  transform: scale(1.05);
}

.search-results-page .search-result-card .result-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.search-results-page .search-result-card .result-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.search-results-page .search-result-card .result-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.search-results-page .search-result-card .result-title a {
  color: var(--fedarene-black);
  text-decoration: none;
  transition: color 0.3s;
}

.search-results-page .search-result-card .result-title a:hover {
  color: var(--fedarene-primary);
}

.search-results-page .search-result-card .result-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.6;
}

.search-results-page .search-result-card .read-more {
  color: var(--fedarene-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
  margin-top: auto;
}

.search-results-page .search-result-card .read-more:hover {
  transform: translateX(5px);
}

.search-results-page .search-result-card .read-more i {
  margin-left: 0.25rem;
}

/* Event Result Specific */
.search-results-page .search-result-card.event-result {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.search-results-page .search-result-card.event-result .event-date-simple {
  background: var(--fedarene-primary);
  color: white;
  padding: 1rem;
  text-align: center;
  width: 70px;
  min-width: 70px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.search-results-page .search-result-card.event-result .event-month {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: white;
  line-height: 1;
}

.search-results-page .search-result-card.event-result .event-day {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: white;
  margin: 0.25rem 0;
}

.search-results-page .search-result-card.event-result .event-year {
  font-size: 0.7rem;
  color: white;
  opacity: 0.9;
  line-height: 1;
}

.search-results-page .search-result-card.event-result .result-title {
  font-size: 1.1rem;
}

.search-results-page .search-result-card.event-result .event-location {
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Project Result Specific */
.search-results-page .search-result-card.project-result {
  position: relative;
  padding-bottom: 4rem;
}

.search-results-page .search-result-card.project-result .project-logo-small {
  width: 100px;
  height: 100px;
  margin: -1.5rem auto 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.search-results-page .search-result-card.project-result .project-logo-small img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.search-results-page .search-result-card.project-result .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.search-results-page .search-result-card.project-result .btn {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
}

/* Member Result Specific */
.search-results-page .search-result-card.member-result .member-logo-small {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-results-page .search-result-card.member-result .member-logo-small img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Publication Result Specific */
.search-results-page .search-result-card.publication-result {
  padding: 0;
  overflow: hidden;
}

.search-results-page .search-result-card.publication-result .row {
  height: 100%;
  margin: 0;
}

.search-results-page .search-result-card.publication-result .publication-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.search-results-page .search-result-card.publication-result .result-content {
  padding: 1.5rem;
}

/* Board Result Specific */
.search-results-page .search-result-card.board-result {
  padding: 1.5rem;
}

.search-results-page .search-result-card.board-result .board-photo img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid var(--fedarene-light-green);
}

/* Working Group Result Specific */
.search-results-page .search-result-card.wg-result {
  padding: 0;
  overflow: hidden;
}

.search-results-page .search-result-card.wg-result .row {
  height: 100%;
  margin: 0;
}

.search-results-page .search-result-card.wg-result .wg-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.search-results-page .search-result-card.wg-result .result-content {
  padding: 1.5rem;
}

/* Webinar Result Specific */
.search-results-page .search-result-card.webinar-result {
  padding: 0;
}

.search-results-page .search-result-card.webinar-result .webinar-thumbnail {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #000;
}

.search-results-page .search-result-card.webinar-result .webinar-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-results-page .search-result-card.webinar-result .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s;
}

.search-results-page .search-result-card.webinar-result:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.search-results-page .search-result-card.webinar-result .play-overlay i {
  font-size: 3rem;
  color: white;
  opacity: 0.9;
  transition: transform 0.3s;
}

.search-results-page .search-result-card.webinar-result:hover .play-overlay i {
  transform: scale(1.1);
}

.search-results-page .search-result-card.webinar-result .result-content {
  padding: 1.5rem;
}

/* Page Result Specific */
.search-results-page .search-result-card.page-result {
  background: linear-gradient(135deg, white 0%, #fafafa 100%);
}

/* No Results */
.search-results-page .no-results {
  padding: 4rem 0;
}

.search-results-page .no-results i {
  color: #dee2e6;
}

/* Additional Search Result Fixes */
.search-results-page .tab-content {
  min-height: 400px;
}

.search-results-page .search-result-card .btn-sm {
  padding: 0.375rem 1rem;
}

.search-results-page .search-result-card.project-result .result-content {
  text-align: center;
}

.search-results-page .search-result-card.project-result .result-title {
  margin-top: 1rem;
}

/* Placeholder Images */
.search-results-page .placeholder-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--fedarene-light-green) 0%, var(--fedarene-light-blue) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

/* Responsive fixes for search results */
@media (max-width: 768px) {
  .search-results-page .search-result-card.event-result .event-date-badge {
    min-height: 100px;
    padding: 1rem;
  }
  
  .search-results-page .search-result-card.event-result .event-date-badge .day {
    font-size: 2rem;
  }
  
  .search-results-page .search-result-card.project-result .project-logo-small {
    width: 80px;
    height: 80px;
  }
}

.event-page .related-event-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

/*--------------------------------------------------------------
5.5 PROJECT PAGE
--------------------------------------------------------------*/
/* Project Header */
.project-page .project-header {
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  position: relative;
  min-height: 200px;
}

/* Enhanced project header with background image */
.project-page .project-header[style*="background-image"] {
  border-bottom: 2px solid var(--fedarene-primary);
  background-color: transparent;
}

.project-page .project-header[style*="background-image"] h1 {
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.project-page .project-header[style*="background-image"] .lead {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.project-page .project-logo-wrapper {
  background: rgba(255, 255, 255, 0.95);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 120px;
  position: relative;
  z-index: 1;
}

.project-page .project-logo-wrapper img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

/* Legacy .project-logo support if exists elsewhere */
.project-page .project-logo {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.project-page .project-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Project Sub-Navigation */
.project-page .project-subnav {
  background-color: var(--fedarene-black);
  position: sticky;
  top: 58px; /* Height of the main navbar */
  z-index: 100;
}

.project-page .project-nav {
  overflow-x: auto;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.project-page .project-nav::-webkit-scrollbar {
  display: none;
}

.project-page .project-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-page .project-nav-item {
  margin: 0;
}

.project-page .project-nav-link {
  display: block;
  padding: 1rem 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border-bottom: 3px solid transparent;
}

.project-page .project-nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.project-page .project-nav-item.active .project-nav-link {
  color: white;
  border-bottom: 3px solid var(--fedarene-golden);
}

/* Project Section Styling */
.project-page .project-section {
  margin-bottom: 3rem;
}

.project-page .project-section h2 {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.project-page .project-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--fedarene-golden);
}

/* Project Activities */
.project-page .project-activities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-page .activity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.project-page .activity-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-page .activity-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.project-page .activity-content h3 {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.project-page .activity-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Impact Cards */
.project-page .impact-card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.project-page .impact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-page .impact-number {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fedarene-black);
  margin-bottom: 0.5rem;
}

.project-page .impact-label {
  font-size: 1rem;
  color: #555;
}

/* Related Content Cards */
.project-page .related-content-card {
  background-color: white;
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  height: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.project-page .related-content-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.project-page .related-content-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.project-page .related-content-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.project-page .related-content-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.project-page .related-content-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Project Metadata */
.project-page .project-meta-list {
  margin-bottom: 0;
}

.project-page .project-meta-item {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.project-page .project-meta-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.project-page .project-meta-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.25rem;
}

.project-page .project-meta-value {
  color: var(--fedarene-black);
}

/* Download Widget */
.project-page .download-widget {
  background-color: #f9f9f9;
}

.project-page .document-list {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.project-page .document-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--fedarene-black);
  transition: color 0.3s;
}

.project-page .document-link:hover {
  color: var(--fedarene-golden);
}

/* Related Projects */
.project-page .related-project {
  border: 1px solid #eee;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.project-page .related-project:hover {
  border-color: var(--fedarene-golden);
  box-shadow: var(--shadow-sm);
}

.project-page .related-project-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.project-page .related-project-description {
  color: #666;
  margin-bottom: 0;
}

/* Project Contact */
.project-page .contact-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.project-page .contact-title {
  font-size: 0.85rem;
  color: #666;
}

.project-page .contact-details p {
  font-size: 0.9rem;
}

/* Social Media Buttons */
.project-page .social-buttons {
  display: flex;
  flex-wrap: wrap;
}

.project-page .social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.project-page .social-btn:hover {
  background-color: var(--fedarene-golden);
  border-color: var(--fedarene-golden);
  color: var(--fedarene-black);
}

/*--------------------------------------------------------------
6. MEDIA QUERIES
--------------------------------------------------------------*/
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .event-page .event-hero-content {
    margin-top: -180px;
    min-height: 180px; /* Adjust minimum height for medium screens */
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero .display-4 {
    font-size: calc(1.375rem + 1.5vw);
  }
  
  .navbar .nav-item .btn-fedarene-secondary {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .article-page .article-sidebar {
    margin-top: 3rem;
    position: static;
  }
  
  .article-page .article-title {
    font-size: 2rem;
  }
  
  .article-page .article-lead {
    font-size: 1.1rem;
  }
  
  .article-page .article-body {
    font-size: 1rem;
  }
  
  .event-page .event-hero-content {
    margin-top: -150px;
    min-height: 150px; /* Adjust minimum height for tablets */
  }
  
  .event-page .event-cta-card {
    max-width: 100%;
    margin-top: 2rem;
  }
  .project-page .project-subnav {
    top: 56px;
  }
  
  .project-page .project-nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .project-page .project-activities {
    grid-template-columns: 1fr;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .home-page .stat-number {
    font-size: 2rem;
  }
  
  .news-card.featured {
    grid-column: auto;
  }
  
  .article-page .article-header {
    padding: 1.5rem 0 1rem;
  }
  
  .article-page .article-title {
    font-size: 1.75rem;
  }
  
  .article-page .article-body h2 {
    font-size: 1.5rem;
  }
  
  .article-page .article-body h3 {
    font-size: 1.25rem;
  }
  
  .article-page .article-author {
    flex-direction: column;
    text-align: center;
  }
  
  .article-page .author-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .events-page .event-date-list {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .events-page .event-month, 
  .events-page .event-day, 
  .events-page .event-year {
    display: inline-block;
    margin: 0 0.25rem;
  }
  
  .events-page .event-day {
    font-size: 1.8rem;
  }
  
  .events-page .event-type {
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .events-page .featured-event-img {
    min-height: 200px;
  }
  
  .event-page .event-hero-content {
    margin-top: -100px;
    min-height: 100px; /* Adjust minimum height for mobile */
  }
  
  .event-page .event-meta {
    padding: 1rem;
  }
  
  .event-page .event-meta-item {
    margin-bottom: 1rem;
  }
  
  .event-page .speaker-card {
    flex-direction: column;
  }
  
  .event-page .speaker-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .project-page .project-header .project-logo {
    width: 90px;
    height: 90px;
  }
  
  .project-page .project-nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero {
    padding: 3rem 0;
  }
  
  .stats-section, 
  .newsletter-section,
  section.py-5 {
    padding: 3rem 0 !important;
  }
  
  .footer-title {
    margin-top: 1rem;
  }
  
  .article-page .article-header {
    padding: 1rem 0;
  }
  
  .article-page .article-title {
    font-size: 1.5rem;
  }
  
  .article-page .article-lead {
    font-size: 1rem;
  }
  
  .article-page .article-quote p {
    font-size: 1.1rem;
  }
}/*--------------------------------------------------------------
POLICY PAGE STYLES
--------------------------------------------------------------*/

/* Hero Section */
.policy-hero {
  position: relative;
  background-image: url('https://fedarene.org/wp-content/uploads/2021/08/joakim-honkasalo-DurC25GdOvk-unsplash.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 7rem 0 8rem;
  margin-bottom: 2rem;
}

.policy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.policy-hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-badge {
  display: inline-block;
  background-color: var(--fedarene-golden);
  color: black;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
  z-index: 3;
}

/* Section Titles */
.section-title {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--fedarene-golden);
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-header {
  margin-bottom: 2rem;
}

/* Policy Overview Section */
.policy-overview {
  padding-top: 3rem;
}

.highlight-item {
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: all 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.highlight-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.highlight-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.highlight-item p {
  color: #555;
  margin-bottom: 0;
}



/* Publications Section */
.publication-tabs .nav-tabs {
  border-bottom: 2px solid #eee;
}

.publication-tabs .nav-link {
  font-weight: 500;
  color: #555;
  padding: 0.75rem 1.25rem;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.publication-tabs .nav-link:hover {
  color: var(--fedarene-black);
  background-color: rgba(0, 0, 0, 0.02);
}

.publication-tabs .nav-link.active {
  color: var(--fedarene-black);
  background-color: transparent;
  border-bottom: 2px solid var(--fedarene-golden);
}

.publication-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.publication-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.publication-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.publication-card:hover .publication-image img {
  transform: scale(1.05);
}

.publication-content {
  padding: 1.5rem;
}

.publication-date {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.publication-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.publication-excerpt {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.publication-actions {
  display: flex;
  gap: 0.5rem;
}

/* News and Events Section */
.featured-news-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.featured-news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.featured-news-image {
  position: relative;
  height: 100%;
}

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

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-news-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-meta {
  margin-bottom: 0.75rem;
}
/* Remove conflicting absolute positioning for news dates */
/* These rules were causing layout issues on single-advocacy pages */

.news-category {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fedarene-black);
  position: relative;
}

.news-category::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -0.75rem;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #666;
}

.news-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-excerpt {
  color: #555;
  margin-bottom: 1.25rem;
}

.news-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}


/* Events Sidebar */
.events-sidebar {
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.event-card {
  padding: 1.5rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.event-card:hover {
  background-color: #f5f5f5;
  transform: translateY(-3px);
}

.event-meta {
  display: flex;
}

.event-date {
  background-color: var(--fedarene-golden);
  border-radius: 8px;
  color: var(--fedarene-black);
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  margin-right: 1rem;
}

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

.event-month {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
}

.event-details {
  flex-grow: 1;
}

.event-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-location {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.event-description {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Advocacy Fora Section */
.advocacy-forum-card {
  display: flex;
  background-color: white;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.advocacy-forum-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.advocacy-forum-logo {
  width: 40%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-right: 1px solid #eee;
}

.advocacy-forum-logo img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.advocacy-forum-content {
  width: 60%;
  padding: 2rem;
}

.advocacy-forum-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.advocacy-forum-content p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.advocacy-forum-stats {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  gap: 0.75rem;
}

.advocacy-forum-stats li {
  background-color: #f5f5f5;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #555;
}

/* CTA Section */
.policy-cta-section {
  background-color: var(--fedarene-light-green);
}

.cta-wrapper {
  background-color: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
}

/* Media Queries */
@media (max-width: 991.98px) {
  .policy-hero {
    padding: 5rem 0 6rem;
  }
  
  .advocacy-forum-card {
    flex-direction: column;
  }
  
  .advocacy-forum-logo {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 1.5rem;
  }
  
  .advocacy-forum-content {
    width: 100%;
    padding: 1.5rem;
  }
  
  .cta-wrapper {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .policy-hero {
    padding: 4rem 0 5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .publication-tabs .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .featured-news-card {
    margin-bottom: 1.5rem;
  }
  
  .featured-news-content {
    padding: 1.5rem;
  }
  
  .featured-news-image {
    height: 250px;
  }
  
  .cta-wrapper {
    padding: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .policy-hero {
    padding: 3rem 0 4rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
  }
  
  .policy-hero h1 {
    font-size: 2rem;
  }
  
  .publication-tabs .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .publication-tabs .nav-item {
    flex: 0 0 auto;
  }
  
  .event-card {
    padding: 1.25rem;
  }
  
  .event-date {
    width: 50px;
    height: 50px;
  }
  
  .event-day {
    font-size: 1.25rem;
  }
  
  .event-month {
    font-size: 0.8rem;
  }
}

/* 
  Additional CSS for "Joining FEDARENE" Page
  This complements the main style.css file
*/

/* Hero Section Refinements */
.hero-joining {
  background-color: #f8f9fa;
  padding: 3rem 0;
}

/* Icon Containers for Benefits Section */
.benefit-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.benefit-card:hover .benefit-icon-container {
  transform: scale(1.1);
}

/* Number Containers for How to Join Section */
.number-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  margin-right: 1rem;
  transition: all 0.3s;
}

.join-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.join-step:last-child {
  margin-bottom: 0;
}

.join-step-content {
  flex: 1;
}

.join-step-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Card styling for Who Can Join section */
.member-type-card {
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.member-type-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

.member-type-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.member-type-header h3 {
  font-family: 'P22 Mackinac Pro', serif;
  margin-bottom: 0;
}

/* Benefits checklist */
.benefits-list {
  padding-left: 0;
  list-style: none;
}

.benefits-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--fedarene-light-green);
  color: var(--fedarene-black);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}

/* CTA section specific to Joining page */
.join-cta-section {
  background-color: var(--fedarene-black);
  position: relative;
  padding: 4rem 0;
}

.join-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, 
    var(--fedarene-light-blue), 
    var(--fedarene-light-green), 
    var(--fedarene-golden), 
    var(--fedarene-light-pink)
  );
}

/* Custom styling for the "How to Join" steps */
.join-process-wrapper {
  position: relative;
  padding: 3rem;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.join-process-wrapper::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 4.4rem;
  width: 3px;
  height: 80%;
  background-color: #f0f0f0;
  z-index: 0;
}

.number-container {
  position: relative;
  z-index: 1;
}

/* Image styling */
.joining-image {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.joining-image:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .hero-joining {
    padding: 2rem 0;
  }
  
  .join-process-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .join-process-wrapper::before {
    left: 1.75rem;
  }
  
  .join-step {
    flex-direction: column;
    margin-bottom: 2.5rem;
  }
  
  .number-container {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

/* Print-friendly styles */
@media print {
  .join-cta-section,
  footer,
  .navbar-nav .nav-item:not(.dropdown-menu) {
    display: none;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
  
  .member-type-card,
  .benefit-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Project specific styles */
.project-filter-btn {
	border-radius: 50px;
	padding: 8px 16px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s;
}

.project-card {
	transition: all 0.3s ease;
	border-radius: var(--radius-md);
	overflow: hidden;
	height: 100%;
}

.project-card:hover .project-image-container img,
.featured-project-card:hover .project-image-container img {
	transform: scale(1.05);
}

.project-image-container {
	overflow: hidden;
	height: 200px;
}

.project-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.project-card:hover .project-image-container img {
	transform: scale(1.05);
}

.project-status {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
}

/* Project logo positioning fix */
.project-logo {
	position: absolute;
	width: 70px;
	height: 70px;
	background-color: white;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	z-index: 10;
	top: 13px;
	left: 13px;
	padding: 5px;
	opacity: 0; /* Hide by default */
	transform: translateY(10px); /* Slight offset for animation */
	transition: opacity 0.3s, transform 0.3s; /* Smooth transition */
}

.project-image-container {
	position: relative;
	height: 200px;
	overflow: hidden;
}
.project-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.project-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.project-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
}

.project-meta-item {
	display: block;
	font-size: 0.85rem;
	color: var(--text-secondary);
}

.project-meta-item i {
	margin-right: 0.5rem;
}

.project-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.project-tag {
	display: inline-block;
	padding: 4px 12px;
	font-size: 0.75rem;
	border-radius: 50px;
	background-color: #f0f0f0;
	color: var(--text-secondary);
	transition: all 0.3s;
}

.project-card:hover .project-tag {
	background-color: var(--fedarene-golden);
	color: var(--fedarene-black);
}

.horizontal-scroll-container {
	display: flex;
	overflow-x: auto;
	padding: 20px 0;
	gap: 20px;
	-ms-overflow-style: none;  /* Hide scrollbar in IE and Edge */
	scrollbar-width: none;     /* Hide scrollbar in Firefox */
	margin: 0 -15px;
	padding: 15px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.horizontal-scroll-container::-webkit-scrollbar {
	display: none;
}

/* Featured project card */
.featured-project-card {
	flex: 0 0 auto;
	width: 330px;
	position: relative;
	scroll-snap-align: start;
}

.featured-project-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
}

/* Featured project image container with overlay */
.featured-project-image-container {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.featured-project-image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.featured-project-card:hover .featured-project-image-container img {
	transform: scale(1.05);
}

/* Dark overlay for featured projects */
.featured-project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

/* Centered logo on featured projects */
.featured-project-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	max-width: 150px;
	max-height: 80px;
}

.featured-project-logo img {
	width: 100%;
	height: auto;
	max-height: 80px;
	object-fit: contain;
	filter: brightness(0) invert(1); /* Makes logo white */
	opacity: 0.9;
}

.featured-project-card:hover .featured-project-logo img {
	opacity: 1;
}

.featured-project-content {
	padding: 1.5rem;
}

.timeline-indicator {
	position: relative;
	height: 4px;
	background-color: #eee;
	border-radius: 2px;
	overflow: hidden;
}

.timeline-progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(to right, 
		var(--fedarene-light-blue), 
		var(--fedarene-light-green), 
		var(--fedarene-golden), 
		var(--fedarene-light-pink)
	);
}

.timeline-info {
	font-size: 0.75rem;
	color: var(--text-secondary);
	margin-top: 0.5rem;
}

.grid-style-switch {
	display: flex;
	gap: 0.5rem;
}

.grid-btn {
	background: none;
	border: none;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	transition: all 0.3s;
}

.grid-btn:hover {
	background-color: #f0f0f0;
}

.grid-btn.active {
	background-color: var(--fedarene-light-green);
	color: var(--fedarene-black);
}

/* List view styles */
.list-project-card {
	display: flex;
	margin-bottom: 1.5rem;
}

.list-project-image {
	width: 200px;
	min-width: 200px;
	height: 200px;
	position: relative;
	overflow: hidden;
}

.list-project-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.list-project-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.list-project-card:hover .list-project-image img {
	transform: scale(1.05);
}

.list-project-content {
	padding: 1.5rem;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

/* Category highlight colors */
.bg-energy-efficiency {
	background-color: var(--fedarene-light-green);
}

.bg-renewable-energy {
	background-color: var(--fedarene-light-blue);
}

.bg-climate-action {
	background-color: var(--fedarene-golden);
}

.bg-mobility {
	background-color: var(--fedarene-light-pink);
}

@media (max-width: 767.98px) {
	.list-project-card {
		flex-direction: column;
	}
	
	.list-project-image {
		width: 100%;
		max-width: 100%;
		min-width: 100%;
	}
	
	.featured-project-card {
		width: 280px;
	}
}

/* Inline styles extracted from HTML files */

/* From event.html line 138 */
/* Applied to: <img src="https://picsum.photos/seed/123/1600/600" class="w-100 object-fit-cover" alt="European Sustainable Energy Week" style="height: 400px;"> */
/* Recommended class name: .event-hero-img */
.event-hero-img {
  height: 400px;
}

/* From projects.html line 432 */
/* Applied to: <img src="https://picsum.photos/seed/projects/600/300" alt="FEDARENE Projects" class="img-fluid rounded shadow-sm" style="max-height: 200px;"> */
/* Recommended class name: .project-intro-img */
.project-intro-img {
  max-height: 200px;
}

/* From projects.html - timeline progress widths */
/* These are dynamic values that should probably remain inline or be converted to utility classes */
/* Line 470: style="width: 80%" */
/* Line 507: style="width: 75%" */
/* Line 544: style="width: 60%" */
/* Line 581: style="width: 50%" */
/* Recommended: Keep these as inline styles or create utility classes like: */
.timeline-progress-80 { width: 80%; }
.timeline-progress-75 { width: 75%; }
.timeline-progress-60 { width: 60%; }
.timeline-progress-50 { width: 50%; }

/* ============================================
   Shared Page Header Styles
   Used across Projects, Policy, Members pages
   ============================================ */
.page-intro-header {
  padding: 3rem 0;
  background-color: #f8f9fa;
}

.page-intro-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.5rem;
}

.page-intro-header .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #6c757d;
  margin-bottom: 0;
}

.page-intro-header .intro-image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.page-intro-header .intro-image {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .page-intro-header {
    padding: 2rem 0;
  }

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

  .page-intro-header .intro-image-wrapper {
    margin-top: 2rem;
    justify-content: center;
  }

  .page-intro-header .intro-image {
    max-height: 250px;
  }
}

@media (max-width: 767px) {
  .page-intro-header h1 {
    font-size: 1.75rem;
  }

  .page-intro-header .lead {
    font-size: 1rem;
  }
}

/* From projects.html - partner logo heights */
/* Lines 942, 948, 954, 960, 966, 972: style="max-height: 50px;" */
/* Applied to various partner logo images */
/* Recommended class name: .partner-logo */
.partner-logo {
  max-height: 50px;
}

/* ================================
   User Generated Content (UGC) Styles
   ================================ */
/* Apply consistent article styling to any user-generated content 
   by wrapping it in an element with class="ugc" */

.ugc {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--fedarene-dark);
}

/* Headings in UGC */
.ugc h1, .ugc h2, .ugc h3, .ugc h4, .ugc h5, .ugc h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--fedarene-black);
}

.ugc h1 { font-size: 2.5rem; }
.ugc h2 { font-size: 2rem; }
.ugc h3 { font-size: 1.5rem; }
.ugc h4 { font-size: 1.25rem; }
.ugc h5 { font-size: 1.125rem; }
.ugc h6 { font-size: 1rem; }

/* Paragraphs */
.ugc p {
  margin-bottom: 1.5rem;
}

/* Intro paragraph style */
.ugc .intro,
.ugc > p:first-child {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--fedarene-dark);
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Links */
.ugc a {
  color: var(--fedarene-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.ugc a:hover {
  color: var(--fedarene-primary-dark);
}

/* Lists */
.ugc ul, .ugc ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.ugc li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.ugc ul li {
  list-style-type: disc;
}

.ugc ol li {
  list-style-type: decimal;
}

/* Blockquotes */
.ugc blockquote {
  border-left: 4px solid var(--fedarene-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background-color: var(--gray-100);
  font-style: italic;
}

.ugc blockquote p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  color: var(--fedarene-dark);
}

.ugc blockquote cite {
  display: block;
  font-size: 1rem;
  font-style: normal;
  color: var(--gray-600);
  margin-top: 1rem;
}

/* Callout boxes */
.ugc .callout {
  background-color: #f0f9ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}

.ugc .callout h3,
.ugc .callout h4 {
  color: var(--fedarene-primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* CTA boxes */
.ugc .cta {
  background-color: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.ugc .cta h3,
.ugc .cta h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.ugc .cta .btn {
  margin-top: 1rem;
}

/* Images and figures */
.ugc img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
}

.ugc figure {
  margin: 2rem 0;
}

.ugc figure img {
  margin: 0;
}

.ugc figcaption {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Tables */
.ugc table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 1rem;
}

.ugc th,
.ugc td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-300);
}

.ugc th {
  background-color: var(--gray-100);
  font-weight: 700;
  color: var(--fedarene-black);
  border-bottom: 2px solid var(--gray-400);
}

.ugc tbody tr:hover {
  background-color: var(--gray-50);
}

/* Code blocks */
.ugc pre {
  background-color: var(--gray-100);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 1rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.ugc code {
  background-color: var(--gray-100);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
  font-family: 'Courier New', Courier, monospace;
}

.ugc pre code {
  background-color: transparent;
  padding: 0;
}

/* Horizontal rules */
.ugc hr {
  border: 0;
  border-top: 2px solid var(--gray-300);
  margin: 3rem 0;
}

/* Embedded content */
.ugc iframe,
.ugc embed,
.ugc object,
.ugc video {
  max-width: 100%;
  margin: 2rem 0;
}

/* WordPress specific alignment classes */
.ugc .alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.ugc .alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.ugc .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.ugc .alignnone {
  margin: 2rem 0;
}

/* WordPress captions */
.ugc .wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.ugc .wp-caption img {
  margin: 0;
  max-width: 100%;
  height: auto;
}

.ugc .wp-caption-text {
  font-size: 0.875rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Gallery */
.ugc .gallery {
  margin: 2rem -0.5rem;
}

.ugc .gallery-item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 100%;
  padding: 0.5rem;
}

.ugc .gallery-columns-2 .gallery-item { max-width: 50%; }
.ugc .gallery-columns-3 .gallery-item { max-width: 33.33%; }
.ugc .gallery-columns-4 .gallery-item { max-width: 25%; }
.ugc .gallery-columns-5 .gallery-item { max-width: 20%; }
.ugc .gallery-columns-6 .gallery-item { max-width: 16.66%; }

.ugc .gallery img {
  margin: 0;
}

/* ================================
   WordPress Core Blocks Enhancement
   ================================ */

/* Paragraph Block */
.wp-block-paragraph {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.wp-block-paragraph.has-drop-cap:first-letter {
  font-size: 4rem;
  line-height: 0.8;
  font-weight: 700;
  margin: 0.1em 0.1em 0 0;
  float: left;
  color: var(--fedarene-primary);
}

/* Quote Block */
.wp-block-quote {
  border-left: 4px solid var(--fedarene-primary);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: linear-gradient(to right, rgba(220, 241, 207, 0.1) 0%, transparent 100%);
}

.wp-block-quote cite {
  font-style: normal;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.wp-block-quote.is-style-large {
  padding: 2rem 2.5rem;
  font-size: 1.5rem;
}

/* Pullquote Block */
.wp-block-pullquote {
  border-top: 4px solid var(--fedarene-primary);
  border-bottom: 4px solid var(--fedarene-primary);
  padding: 2rem 0;
  margin: 3rem 0;
  text-align: center;
}

.wp-block-pullquote blockquote {
  border: none;
  background: none;
  padding: 0;
}

/* List Block */
.wp-block-list {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.wp-block-list li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

/* Table Block */
.wp-block-table {
  margin: 2rem 0;
  overflow-x: auto;
}

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

.wp-block-table th,
.wp-block-table td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.wp-block-table th {
  background-color: var(--gray-100);
  font-weight: 600;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

/* Code Block */
.wp-block-code {
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.wp-block-code code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}

/* Preformatted Block */
.wp-block-preformatted {
  background-color: #f8f9fa;
  border-left: 4px solid var(--fedarene-primary);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  white-space: pre-wrap;
  font-family: monospace;
}

/* Separator Block */
.wp-block-separator {
  border: none;
  border-top: 2px solid #e9ecef;
  margin: 3rem 0;
}

.wp-block-separator.is-style-wide {
  max-width: 100%;
}

.wp-block-separator.is-style-dots {
  border: none;
  text-align: center;
  line-height: 1;
  height: auto;
}

.wp-block-separator.is-style-dots::before {
  content: "···";
  font-size: 2rem;
  letter-spacing: 1rem;
  color: var(--fedarene-primary);
}

/* Button Block */
.wp-block-button {
  margin: 1.5rem 0;
}

.wp-block-button__link {
  background-color: var(--fedarene-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.wp-block-button__link:hover {
  background-color: var(--fedarene-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--fedarene-primary);
  color: var(--fedarene-primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--fedarene-primary);
  color: white;
}

/* Columns Block */
.wp-block-columns {
  margin: 2rem 0;
  gap: 2rem;
}

.wp-block-column {
  flex-grow: 1;
}

@media (max-width: 782px) {
  .wp-block-columns {
    flex-direction: column;
  }
}

/* Media & Text Block */
.wp-block-media-text {
  margin: 2rem 0;
  align-items: center;
}

.wp-block-media-text__media {
  margin: 0;
}

.wp-block-media-text__content {
  padding: 0 2rem;
}

/* Cover Block */
.wp-block-cover {
  margin: 2rem 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 2rem;
  color: white;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

/* Group Block */
.wp-block-group {
  margin: 2rem 0;
}

.wp-block-group.has-background {
  padding: 2rem;
  border-radius: var(--radius-md);
}

/* File Block */
.wp-block-file {
  margin: 1.5rem 0;
}

.wp-block-file__button {
  background-color: var(--fedarene-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  margin-left: 1rem;
  transition: all 0.3s;
}

.wp-block-file__button:hover {
  background-color: var(--fedarene-primary-dark);
}

/* Embed Blocks */
.wp-block-embed {
  margin: 2rem 0;
}

.wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Gallery Block */
.wp-block-gallery {
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.wp-block-gallery .wp-block-image {
  flex: 1 1 calc(33.333% - 1rem);
  margin: 0;
}

.wp-block-gallery.columns-2 .wp-block-image {
  flex: 1 1 calc(50% - 1rem);
}

.wp-block-gallery.columns-4 .wp-block-image {
  flex: 1 1 calc(25% - 1rem);
}

/* Latest Posts Block */
.wp-block-latest-posts {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.wp-block-latest-posts li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.wp-block-latest-posts li:last-child {
  border-bottom: none;
}

.wp-block-latest-posts__post-date {
  color: var(--gray-600);
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

.wp-block-latest-posts__post-excerpt {
  margin-top: 0.5rem;
  color: var(--gray-700);
}

/* Search Block */
.wp-block-search {
  margin: 2rem 0;
}

.wp-block-search__inside-wrapper {
  display: flex;
  gap: 0.5rem;
}

.wp-block-search__input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-sm);
}

.wp-block-search__button {
  background-color: var(--fedarene-primary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
}

.wp-block-search__button:hover {
  background-color: var(--fedarene-primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ugc {
    font-size: 1rem;
  }
  
  .ugc h1 { font-size: 2rem; }
  .ugc h2 { font-size: 1.5rem; }
  .ugc h3 { font-size: 1.25rem; }
  
  .ugc blockquote {
    padding: 1rem 1.5rem;
  }
  
  .ugc .cta {
    padding: 1.5rem;
  }
}

/* ============================================
   STAFF PAGE STYLES
   ============================================ */

.staff-page .page-header {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.staff-page .page-header.has-bg-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.staff-page .page-header .container {
  position: relative;
  z-index: 2;
}

/* Department Filter */
.staff-page #department-filter {
  border-color: var(--fedarene-light-green);
  transition: all 0.3s ease;
  cursor: pointer;
}

.staff-page #department-filter:hover {
  border-color: var(--fedarene-primary);
}

.staff-page #department-filter:focus {
  border-color: var(--fedarene-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 114, 63, 0.1);
}

/* Department Sections */
.staff-page .department-section {
  position: relative;
  padding-top: 1rem;
  transition: opacity 0.3s ease;
}

.staff-page .department-section h3 {
  color: var(--fedarene-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--fedarene-light-green);
  margin-bottom: 1.5rem;
}

/* Staff Cards */
.staff-page .staff-card {
  transition: all 0.3s ease;
  height: 100%;
}

.staff-page .staff-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.staff-page .staff-card img {
  transition: transform 0.3s ease;
}

.staff-page .staff-card:hover img {
  transform: scale(1.05);
}

.staff-page .staff-name {
  font-family: 'P22 Mackinac Pro', serif;
  color: var(--fedarene-black);
  font-weight: 500;
}

.staff-page .staff-name a {
  color: inherit;
  transition: color 0.3s ease;
}

.staff-page .staff-name a:hover {
  color: var(--fedarene-primary);
}

.staff-page .staff-position {
  font-size: 0.95rem;
  font-weight: 500;
}

.staff-page .staff-email a {
  color: var(--fedarene-primary);
  font-size: 0.9rem;
}

.staff-page .staff-email a:hover {
  text-decoration: underline;
}

/* Intern Cards */
.staff-page .intern-card {
  padding: 1rem;
}

.staff-page .intern-card img {
  border: 3px solid var(--fedarene-light-green);
  transition: all 0.3s ease;
}

.staff-page .intern-card:hover img {
  transform: scale(1.1);
  border-color: var(--fedarene-primary);
}

.staff-page .intern-name {
  font-family: 'P22 Mackinac Pro', serif;
  color: var(--fedarene-black);
}

.staff-page .intern-email a {
  transition: color 0.3s ease;
}

.staff-page .intern-email a:hover {
  color: var(--fedarene-primary);
}

/* Responsive adjustments for staff page */
@media (max-width: 768px) {
  .staff-page .staff-card .row {
    text-align: center;
  }
  
  .staff-page .staff-card .col-4,
  .staff-page .staff-card .col-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .staff-page .staff-card img {
    max-width: 150px;
    margin: 0 auto 1rem;
  }
}

/* ============================================
   AUTHOR/STAFF PROFILE PAGE STYLES
   ============================================ */

.author-page .profile-header {
  background: linear-gradient(135deg, var(--fedarene-light-green) 0%, var(--fedarene-light-blue) 100%);
  position: relative;
}

.author-page .profile-image {
  border: 5px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.author-page .profile-image:hover {
  transform: scale(1.05);
}

.author-page .profile-contact-info a {
  color: var(--fedarene-primary);
  transition: color 0.3s ease;
}

.author-page .profile-contact-info a:hover {
  color: var(--fedarene-dark);
  text-decoration: underline;
}

.author-page .profile-social .btn {
  border-radius: 20px;
  padding: 0.25rem 1rem;
}

/* Profile Bio Section */
.author-page .profile-bio {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Project Cards in Profile */
.author-page .project-card {
  transition: all 0.3s ease;
}

.author-page .project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.author-page .project-card .card-title a {
  color: var(--fedarene-black);
  font-family: 'P22 Mackinac Pro', serif;
  font-weight: 500;
  transition: color 0.3s ease;
}

.author-page .project-card .card-title a:hover {
  color: var(--fedarene-primary);
}

/* Articles List */
.author-page .list-group-item {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.author-page .list-group-item:hover {
  border-left-color: var(--fedarene-primary);
  transform: translateX(5px);
  background-color: var(--bs-gray-100);
}

.author-page .list-group-item h5 {
  font-family: 'P22 Mackinac Pro', serif;
  color: var(--fedarene-black);
  font-weight: 500;
}

/* Contact Form Widget */
.author-page .contact-form-widget .card {
  border-radius: var(--radius-md);
}

.author-page .contact-form-widget .form-control,
.author-page .contact-form-widget .form-select {
  border: 1px solid #dee2e6;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.author-page .contact-form-widget .form-control:focus,
.author-page .contact-form-widget .form-select:focus {
  border-color: var(--fedarene-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--fedarene-primary-rgb), 0.25);
}

.author-page .contact-form-widget .form-label {
  font-weight: 500;
  color: var(--fedarene-black);
  margin-bottom: 0.5rem;
}

.author-page .contact-form-widget .form-check-label {
  line-height: 1.5;
}

/* Related Staff Items */
.author-page .related-staff-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.author-page .related-staff-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.author-page .related-staff-item h6 a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.author-page .related-staff-item h6 a:hover {
  color: var(--fedarene-primary);
}

/* Responsive adjustments for author page */
@media (max-width: 768px) {
  .author-page .profile-header .row {
    text-align: center;
  }
  
  .author-page .profile-image {
    margin: 0 auto;
  }
  
  .author-page .profile-contact-info {
    justify-content: center;
  }
  
  .author-page .contact-form-widget {
    position: static !important;
    margin-top: 2rem;
  }
}

/* ============================================
   BOARD PAGE STYLES
   ============================================ */

.board-page .page-header {
  position: relative;
  min-height: 300px;
}

.board-page .page-header.has-bg-image {
  color: white;
}

/* President Card */
.board-page .president-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-page .president-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.board-page .president-card img {
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.board-page .president-card:hover img {
  transform: scale(1.05);
}

/* Board Cards */
.board-page .board-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.board-page .board-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.board-page .board-card img {
  transition: transform 0.3s ease;
}

.board-page .board-card:hover img {
  transform: scale(1.05);
}

.board-page .board-member-name a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.board-page .board-member-name a:hover {
  color: var(--fedarene-primary);
  text-decoration: none;
}

.board-page .board-member-position {
  font-size: 0.95rem;
  line-height: 1.4;
}

.board-page .president-section {
  margin-bottom: 3rem;
}

.board-page .vice-presidents-section {
  margin-bottom: 3rem;
}

.board-page blockquote {
  border-left: 4px solid var(--fedarene-primary);
  padding-left: 1rem;
}

.board-page blockquote p {
  color: var(--fedarene-dark);
}

/* Responsive adjustments for board page */
@media (max-width: 768px) {
  .board-page .president-card .row {
    text-align: center;
  }
  
  .board-page .board-card .row {
    text-align: center;
  }
  
  .board-page .board-card .col-4,
  .board-page .board-card .col-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .board-page .board-card img {
    margin: 0 auto 1rem;
  }
}

/* ============================================
   SINGLE BOARD MEMBER PAGE STYLES
   ============================================ */

.board-member-page .profile-header {
  background: linear-gradient(135deg, var(--fedarene-light-blue) 0%, var(--fedarene-light-pink) 100%);
  position: relative;
}

.board-member-page .profile-image {
  border: 5px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.board-member-page .profile-image:hover {
  transform: scale(1.05);
}

.board-member-page blockquote {
  border-left: 4px solid var(--fedarene-primary);
}

.board-member-page blockquote p {
  color: var(--fedarene-dark);
}

.board-member-page .sidebar-widget {
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.board-member-page .widget-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.board-member-page .bg-fedarene-primary {
  background-color: var(--fedarene-primary) !important;
  color: white;
}

.board-member-page .bg-fedarene-primary .widget-title {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.board-member-page .bg-fedarene-primary p {
  color: rgba(255, 255, 255, 0.9);
}

.board-member-page .related-board-member {
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.board-member-page .related-board-member:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.board-member-page .board-bio h2 {
  color: var(--fedarene-primary);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.board-member-page .board-bio h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--fedarene-primary);
}

.board-member-page .btn-light {
  transition: all 0.3s ease;
}

.board-member-page .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* In the News Section */
.board-member-page .in-the-news-section h2 {
  color: var(--fedarene-primary);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.board-member-page .in-the-news-section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--fedarene-primary);
}

.board-member-page .news-card {
  transition: all 0.3s ease;
  height: 100%;
}

.board-member-page .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.board-member-page .news-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.board-member-page .news-card .card-title a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.board-member-page .news-card .card-title a:hover {
  color: var(--fedarene-primary);
}

/* Responsive adjustments for board member page */
@media (max-width: 768px) {
  .board-member-page .profile-header .row {
    text-align: center;
  }
  
  .board-member-page .profile-image {
    margin: 0 auto;
    display: block;
  }
  
  .board-member-page .sticky-top {
    position: relative !important;
    top: 0 !important;
  }
}

/* ============================================
   MEMBERS PAGE STYLES
   ============================================ */

.members-page .page-header {
  position: relative;
  min-height: 350px;
}

.members-page .page-header.has-bg-image {
  color: white;
}

.members-page .btn-fedarene-outline {
  background: white;
  color: var(--fedarene-primary);
  border: 2px solid white;
}

.members-page .btn-fedarene-outline:hover {
  background: transparent;
  color: white;
  border-color: white;
}

/* Map Section */
.members-page .members-map-section {
  position: relative;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

#MemberMap {
  background: #e5f3ff;
  position: relative;
}

/* Filter Section */
.members-page #country-filter-form .form-select {
  border: 2px solid var(--fedarene-primary);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.members-page #country-filter-form .form-select:focus {
  border-color: var(--fedarene-primary);
  box-shadow: 0 0 0 0.25rem rgba(220, 241, 207, 0.5);
}

.members-page #country-filter-form .form-label {
  font-weight: 600;
  color: var(--fedarene-dark);
  margin-bottom: 0.5rem;
}

/* Country Sections */
.members-page .country-header {
  background: linear-gradient(135deg, var(--fedarene-light-blue) 0%, var(--fedarene-light-green) 100%);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.members-page .country-header h3 {
  color: var(--fedarene-dark);
  font-weight: 600;
  font-size: 1.5rem;
}

.members-page .country-header i {
  color: var(--fedarene-primary);
}

/* Member Cards */
.members-page .member-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

.members-page .member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.members-page .member-logo {
  max-height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.members-page .member-logo-placeholder {
  width: 80px;
  height: 80px;
  background: #f0f0f0;
  border-radius: 10px;
  font-size: 2rem;
}

.members-page .member-name a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.members-page .member-name a:hover {
  color: var(--fedarene-primary);
}

.members-page .member-name small {
  font-size: 0.85em;
  font-weight: normal;
}

.members-page .member-local-name {
  font-style: italic;
  font-size: 0.95rem;
}

.members-page .member-excerpt {
  color: #6c757d;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .members-page .page-header .btn-fedarene-primary,
  .members-page .page-header .btn-fedarene-outline {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .members-page .member-card .col-3,
  .members-page .member-card .col-9 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
  
  .members-page .member-card .col-3 {
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .members-page .member-card .col-9 {
    text-align: center;
  }
}

@media (max-width: 767px) {
  #MemberMap {
    height: 400px !important;
  }
  
  .members-page .country-header h3 {
    font-size: 1.2rem;
  }
}

/* ============================================
   SINGLE MEMBER PAGE STYLES
   ============================================ */

.single-member-page .member-header {
  position: relative;
  min-height: 350px;
}

.single-member-page .member-header.has-bg-image {
  color: white;
}

.single-member-page .member-logo-container {
  display: inline-block;
}

/* Member Content */
.single-member-page .member-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Sidebar Widgets */
.single-member-page .sidebar-widget {
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.single-member-page .widget-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  color: var(--fedarene-primary);
}

.single-member-page .widget-title i {
  color: var(--fedarene-primary);
}

/* Related Projects in Sidebar */
.single-member-page .related-items {
  margin-bottom: 0;
}

.single-member-page .related-item {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #e9ecef;
}

.single-member-page .related-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.single-member-page .related-item-image img {
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.single-member-page .related-item h6 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.single-member-page .related-item h6 a {
  color: var(--fedarene-dark);
  transition: color 0.2s ease;
}

.single-member-page .related-item h6 a:hover {
  color: var(--fedarene-primary);
  text-decoration: none;
}

.single-member-page .related-item .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

/* Member Information */
.single-member-page .info-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e9ecef;
}

.single-member-page .info-item:last-child {
  border-bottom: none;
}

.single-member-page .info-item strong {
  color: var(--fedarene-dark);
  font-weight: 600;
}

/* Location Map */
.single-member-page .member-location {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #dee2e6;
}

.single-member-page .member-location .leaflet-map {
  height: 250px !important;
}

/* Team Members */
.single-member-page .team-member {
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.single-member-page .team-member:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.single-member-page .team-member h6 {
  color: var(--fedarene-black);
  font-weight: 600;
}

/* Contact Items */
.single-member-page .contact-item {
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.single-member-page .contact-item:hover {
  transform: translateX(5px);
}

.single-member-page .contact-item i {
  color: var(--fedarene-primary);
  width: 20px;
}

.single-member-page .contact-item a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-member-page .contact-item a:hover {
  color: var(--fedarene-primary);
  text-decoration: underline;
}

/* Social Media Links */
.single-member-page .social-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.single-member-page .social-link:hover {
  background-color: var(--fedarene-primary);
  border-color: var(--fedarene-primary);
  color: white;
  transform: translateY(-3px);
}

/* Related News Section */
.single-member-page .related-news-section h2 {
  color: var(--fedarene-primary);
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.single-member-page .related-news-section h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--fedarene-primary);
}

.single-member-page .news-card {
  transition: all 0.3s ease;
  height: 100%;
}

.single-member-page .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.single-member-page .news-card .card-img-top {
  height: 180px;
  object-fit: cover;
}

.single-member-page .news-card .card-title a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.single-member-page .news-card .card-title a:hover {
  color: var(--fedarene-primary);
}

/* Other Members */
.single-member-page .other-member {
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.single-member-page .other-member:hover {
  background: #f8f9fa;
  transform: translateX(5px);
}

.single-member-page .other-member h6 a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.single-member-page .other-member h6 a:hover {
  color: var(--fedarene-primary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .single-member-page .member-header .row {
    text-align: center;
  }
  
  .single-member-page .member-logo-container {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .single-member-page .sidebar-widget {
    margin-top: 2rem;
  }
  
  .single-member-page .news-card .card-img-top {
    height: 200px;
  }
}

/* ============================================
   CATEGORY/NEWS ARCHIVE PAGE STYLES
   ============================================ */

.category-page .page-header,
.news-archive .page-header {
  position: relative;
  min-height: 250px;
}

/* Category Stats */
.category-page .category-stats .stat-item {
  text-align: center;
}

.category-page .category-stats .stat-number {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.category-page .category-stats .stat-label {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Filters Section */
.category-page .filters-section {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
}

/* Category and Year Filter Selects */
.category-page #categoryFilter,
.category-page #yearFilter,
.news-archive #categoryFilter,
.news-archive #yearFilter {
  min-width: 150px;
  max-width: 250px;
  cursor: pointer;
  border-color: #dee2e6;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.category-page #categoryFilter:hover,
.category-page #yearFilter:hover,
.news-archive #categoryFilter:hover,
.news-archive #yearFilter:hover {
  border-color: var(--fedarene-primary);
}

.category-page #categoryFilter:focus,
.category-page #yearFilter:focus,
.news-archive #categoryFilter:focus,
.news-archive #yearFilter:focus {
  border-color: var(--fedarene-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 114, 63, 0.25);
}

.category-page .dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

.category-page .dropdown-item.active {
  background-color: var(--fedarene-light-green);
  color: var(--fedarene-dark);
}

/* Grid/List View Toggle Buttons */
.category-page #grid-view,
.category-page #list-view,
.news-archive #grid-view,
.news-archive #list-view {
  background-color: transparent;
  border-color: #6c757d;
  color: #6c757d;
}

.category-page #grid-view.active,
.category-page #list-view.active,
.news-archive #grid-view.active,
.news-archive #list-view.active {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: white !important;
}

.category-page #grid-view:hover:not(.active),
.category-page #list-view:hover:not(.active),
.news-archive #grid-view:hover:not(.active),
.news-archive #list-view:hover:not(.active) {
  background-color: #f8f9fa;
  border-color: #6c757d;
  color: #6c757d;
}

/* Featured Post */
.category-page .featured-post .card {
  overflow: hidden;
  transition: transform 0.3s ease;
}

.category-page .featured-post .card:hover {
  transform: translateY(-5px);
}

.category-page .featured-post .card-title a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.category-page .featured-post .card-title a:hover {
  color: var(--fedarene-primary);
}

.category-page .featured-post .author-info {
  display: flex;
  align-items: center;
}

/* News Cards Grid View */
.category-page .news-card {
  transition: all 0.3s ease;
  height: 100%;
  overflow: hidden;
}

.category-page .news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.category-page .card-img-top-wrapper {
  position: relative;
  overflow: hidden;
  display: block;
}

.category-page .news-card .card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-page .news-card:hover .card-img-top {
  transform: scale(1.05);
}

.category-page .card-img-placeholder {
  height: 220px;
}

.category-page .card-img-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 94, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-page .news-card:hover .card-img-overlay-hover {
  opacity: 1;
}

.category-page .read-more-overlay {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.category-page .news-card .card-title {
  font-size: 1.25rem;
  line-height: 1.4;
}

.category-page .news-card .card-title a {
  color: var(--fedarene-black);
  transition: color 0.3s ease;
}

.category-page .news-card .card-title a:hover {
  color: var(--fedarene-primary);
  text-decoration: none;
}

.category-page .card-meta a {
  transition: color 0.3s ease;
}

.category-page .card-meta a:hover {
  color: var(--fedarene-primary) !important;
}

/* List View Styles */
.category-page .news-list .news-item {
  margin-bottom: 2rem;
}

.category-page .news-list .news-card {
  flex-direction: row;
}

.category-page .news-list .card-img-top-wrapper {
  width: 300px;
  flex-shrink: 0;
}

.category-page .news-list .card-img-placeholder {
  width: 300px;
  height: 200px;
}

.category-page .news-list .news-card .card-img-top {
  height: 200px;
  width: 100%;
}

.category-page .news-list .card-body {
  padding: 1.5rem;
}

/* View Toggle Buttons */
.category-page .btn-group .btn {
  padding: 0.5rem 1rem;
}

.category-page .btn-group .btn.active {
  background-color: var(--fedarene-primary);
  border-color: var(--fedarene-primary);
  color: white;
}

/* Pagination */
/* Category page pagination - removed, using global styles */

/* No Posts Alert */
.category-page .alert-info {
  background: linear-gradient(135deg, var(--fedarene-light-blue) 0%, var(--fedarene-light-green) 100%);
  border: none;
  color: var(--fedarene-dark);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .category-page .featured-post .card-body {
    padding: 2rem !important;
  }
  
  .category-page .filters-section .row {
    text-align: center;
  }
  
  .category-page .filters-section .col-lg-6:last-child {
    margin-top: 1rem;
  }
  
  .category-page .news-list .card-img-top-wrapper {
    width: 100%;
  }
  
  .category-page .news-list .news-card {
    flex-direction: column;
  }
  
  .category-page .news-list .card-img-placeholder {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .category-page .featured-post img {
    height: 250px;
    object-fit: cover;
  }
  
  .category-page .news-card .card-title {
    font-size: 1.1rem;
  }
  
  .category-page .filters-section {
    position: static;
  }
}

/* ============================================
   BEST PRACTICES PAGE STYLES
   ============================================ */

.best-practices-page .page-hero {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
}

.best-practices-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 94, 46, 0.9), rgba(44, 94, 46, 0.7));
}

.best-practices-page .page-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
}

.best-practices-page .page-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.best-practices-page .page-intro {
  color: white;
  font-size: 1.1rem;
  line-height: 1.6;
}

.best-practices-page .copyright-pic {
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  border-radius: 4px;
}

.best-practices-page .copyright-pic p {
  color: white;
  font-size: 0.75rem;
  margin: 0;
}

/* Filters Section */
.best-practices-page .filters-section {
  border-bottom: 1px solid #dee2e6;
  background: #f8f9fa;
}

.best-practices-page .filter-form {
  position: relative;
}

.best-practices-page .form-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Best Practices Cards */
.best-practices-page .bp-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.best-practices-page .bp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.best-practices-page .bp-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.best-practices-page .bp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.best-practices-page .bp-card:hover .bp-image img {
  transform: scale(1.05);
}

.best-practices-page .bp-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 94, 46, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.best-practices-page .bp-card:hover .bp-overlay {
  opacity: 1;
}

.best-practices-page .read-more-text {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.best-practices-page .bp-image-placeholder {
  height: 220px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.best-practices-page .placeholder-content {
  text-align: center;
  color: #999;
}

.best-practices-page .placeholder-content i {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
}

.best-practices-page .bp-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.best-practices-page .bp-meta {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  min-height: 32px; /* Ensure consistent height even without category */
}

.best-practices-page .bp-year {
  font-size: 0.875rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0; /* Prevent year from shrinking */
  margin-left: auto; /* Push to the right */
}

.best-practices-page .bp-category {
  background: var(--fedarene-light-blue);
  color: var(--fedarene-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  flex: 0 1 75%; /* Take up to 75% of the width */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.best-practices-page .bp-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.best-practices-page .bp-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.best-practices-page .bp-title a:hover {
  color: var(--fedarene-primary);
}

.best-practices-page .bp-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.best-practices-page .btn-text {
  color: var(--fedarene-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.best-practices-page .btn-text:hover {
  gap: 0.75rem;
}

/* No Results */
.best-practices-page .no-results {
  padding: 5rem 0;
}

.best-practices-page .no-results i {
  color: #dee2e6;
}

/* Pagination - Removed, using global styles */

/* Newsletter CTA */
.best-practices-page .newsletter-cta {
  background: var(--fedarene-light-green);
}

/* Responsive */
@media (max-width: 991px) {
  .best-practices-page .page-title {
    font-size: 2rem;
  }
  
  .best-practices-page .filters-section .row {
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .best-practices-page .page-hero {
    min-height: 300px;
    padding: 80px 0 60px;
  }
  
  .best-practices-page .bp-title {
    font-size: 1.1rem;
  }
  
  .best-practices-page .copyright-pic {
    display: none;
  }
}

/* ============================================
   SINGLE BEST PRACTICE PAGE STYLES
   ============================================ */

.single-bp-page .bp-hero {
  background: #f8f9fa;
  padding: 80px 0 40px;
}

.single-bp-page .bp-meta-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.single-bp-page .bp-category-badge {
  background: var(--fedarene-light-blue);
  color: var(--fedarene-dark);
  padding: 0.375rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}

.single-bp-page .bp-year-badge {
  color: #666;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.single-bp-page .bp-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2.5rem;
  color: var(--fedarene-dark);
  margin: 1rem 0;
  line-height: 1.2;
}

.single-bp-page .bp-title i {
  color: var(--fedarene-primary);
  font-size: 2rem;
}

.single-bp-page .bp-excerpt {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.6;
}

.single-bp-page .bp-share-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.single-bp-page .share-buttons {
  display: inline-flex;
  gap: 0.5rem;
}

.single-bp-page .share-buttons .btn {
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Featured Organizations Card in Header */
.single-bp-page .featured-orgs-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: fit-content;
}

.single-bp-page .featured-orgs-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.single-bp-page .featured-orgs-card .card-header {
  background: linear-gradient(135deg, var(--fedarene-light-green), var(--fedarene-light-blue));
  padding: 0.5rem 1rem;
  border-bottom: none;
}

.single-bp-page .featured-orgs-card .card-title {
  color: var(--fedarene-dark);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.single-bp-page .featured-orgs-card .card-body {
  padding: 1rem;
}

/* Compact horizontal layout for featured items */
.single-bp-page .featured-org-item.compact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.single-bp-page .org-icon-small,
.single-bp-page .org-logo-small {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.5rem;
}

.single-bp-page .org-icon-small img,
.single-bp-page .org-logo-small img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.single-bp-page .org-icon-small i,
.single-bp-page .org-logo-small i {
  font-size: 1.25rem;
  color: var(--fedarene-primary);
}

.single-bp-page .org-details {
  flex: 1;
  min-width: 0; /* Allow text truncation */
}

.single-bp-page .org-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--fedarene-primary);
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.single-bp-page .featured-org-item .org-name {
  font-size: 0.9rem;
  line-height: 1.2;
  margin: 0;
}

.single-bp-page .featured-org-item .org-name a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-bp-page .featured-org-item .org-name a:hover {
  color: var(--fedarene-primary);
  white-space: normal;
}

.single-bp-page .featured-orgs-card hr {
  border-color: #e0e0e0;
  opacity: 0.3;
  margin: 0.5rem 0;
}

/* Featured Image */
.single-bp-page .bp-featured-image {
  padding: 2rem 0;
}

.single-bp-page .image-caption {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

.single-bp-page .image-caption p {
  margin: 0;
}

/* Sidebar */
.single-bp-page .bp-sidebar {
  position: sticky;
  top: 100px;
}

.single-bp-page .sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.single-bp-page .widget-title {
  font-size: 1.125rem;
  color: var(--fedarene-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--fedarene-light-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-bp-page .widget-title i {
  color: var(--fedarene-primary);
}

/* Information Widget */
.single-bp-page .info-widget .info-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.single-bp-page .info-widget .info-item {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.single-bp-page .info-widget .info-item:last-child {
  border-bottom: none;
}

.single-bp-page .info-widget .info-label {
  font-weight: 600;
  color: #666;
  min-width: 120px;
  font-size: 0.9rem;
}

.single-bp-page .info-widget .info-value {
  flex: 1;
  color: var(--fedarene-dark);
  font-size: 0.9rem;
}

.single-bp-page .info-widget .email-link {
  color: var(--fedarene-primary);
  margin-left: 0.5rem;
  transition: color 0.3s ease;
}

.single-bp-page .info-widget .email-link:hover {
  color: var(--fedarene-dark);
}

.single-bp-page .info-widget .badge {
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Related Items */
.single-bp-page .related-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.single-bp-page .related-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.single-bp-page .item-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.5rem;
}

.single-bp-page .item-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.single-bp-page .item-content h4 {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.single-bp-page .item-content h4 a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-bp-page .item-content h4 a:hover {
  color: var(--fedarene-primary);
}

/* Removed unused Event and Publication Items styles */

/* Related Best Practices Section */
.single-bp-page .related-bp-section {
  background: #f8f9fa;
}

.single-bp-page .related-bp-section .bp-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.single-bp-page .related-bp-section .bp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.single-bp-page .related-bp-section .bp-image {
  height: 200px;
  overflow: hidden;
}

.single-bp-page .related-bp-section .bp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.single-bp-page .related-bp-section .bp-card:hover .bp-image img {
  transform: scale(1.05);
}

.single-bp-page .related-bp-section .bp-content {
  padding: 1.5rem;
}

.single-bp-page .related-bp-section .bp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.single-bp-page .related-bp-section .bp-category {
  background: var(--fedarene-light-blue);
  color: var(--fedarene-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  flex: 0 1 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-bp-page .related-bp-section .bp-year {
  font-size: 0.85rem;
  color: #666;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.single-bp-page .related-bp-section .bp-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.single-bp-page .related-bp-section .bp-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-bp-page .related-bp-section .bp-title a:hover {
  color: var(--fedarene-primary);
}

.single-bp-page .related-bp-section .bp-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.single-bp-page .related-bp-section .btn-text {
  color: var(--fedarene-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.single-bp-page .related-bp-section .btn-text:hover {
  gap: 0.75rem;
}

/* CTA Section */
.single-bp-page .bp-cta {
  background: var(--fedarene-light-green);
}

/* Responsive */
@media (max-width: 991px) {
  .single-bp-page .bp-title {
    font-size: 2rem;
  }
  
  .single-bp-page .bp-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .single-bp-page .featured-orgs-card {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .single-bp-page .bp-title {
    font-size: 1.75rem;
  }
  
  .single-bp-page .bp-hero {
    padding: 60px 0 30px;
  }
  
  .single-bp-page .image-caption {
    display: none;
  }
}

/* ============================================
   PUBLICATIONS PAGE STYLES
   ============================================ */

/* Publications Hero Section */
.publications-page .page-hero {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  padding: 80px 0;
}

.publications-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.publications-page .page-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.publications-page .page-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.publications-page .page-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
}

/* Filters Section */
.publications-page .filters-section {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.publications-page .filter-form {
  position: relative;
}

.publications-page .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Publications Grid */
.publications-page .publications-grid {
  min-height: 400px;
}

.publications-page .section-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2rem;
  color: var(--fedarene-dark);
}

/* Publication Card */
.publications-page .publication-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.publications-page .publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.publications-page .publication-cover {
  position: relative;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.publications-page .publication-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.publications-page .publication-card:hover .publication-cover img {
  transform: scale(1.05);
}

.publications-page .cover-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.publications-page .cover-placeholder i {
  font-size: 3rem;
  color: #999;
}

.publications-page .publication-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.publications-page .publication-type {
  display: inline-block;
  background: var(--fedarene-light-blue);
  color: var(--fedarene-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.publications-page .publication-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  flex-grow: 1;
}

.publications-page .publication-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.publications-page .publication-title a:hover {
  color: var(--fedarene-primary);
}

.publications-page .publication-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.publications-page .publication-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.publications-page .publication-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.publications-page .publication-actions .btn {
  font-size: 0.85rem;
}

/* No Results */
.publications-page .no-results {
  padding: 4rem 2rem;
}

.publications-page .no-results i {
  color: #dee2e6;
}

/* Newsletter CTA */
.publications-page .newsletter-cta {
  background: var(--fedarene-light-blue);
}

/* Responsive */
@media (max-width: 991px) {
  .publications-page .page-title {
    font-size: 2.5rem;
  }
  
  .publications-page .publication-card .row {
    flex-direction: column;
  }
  
  .publications-page .publication-card .col-4,
  .publications-page .publication-card .col-8 {
    width: 100%;
    max-width: 100%;
  }
  
  .publications-page .publication-cover {
    max-width: 200px;
    margin: 0 auto 1rem;
  }
}

@media (max-width: 767px) {
  .publications-page .page-hero {
    padding: 60px 0;
    min-height: 300px;
  }
  
  .publications-page .page-title {
    font-size: 2rem;
  }
  
  .publications-page .filter-form {
    margin-bottom: 1rem;
  }
}

/* ============================================
   SINGLE PUBLICATION PAGE STYLES
   ============================================ */

/* Publication Hero Section */
.single-publication-page .publication-hero {
  background-size: cover;
  background-position: center;
  min-height: 500px;
  position: relative;
  color: white;
  padding: 80px 0 60px;
  display: flex;
  align-items: center;
}

.single-publication-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.single-publication-page .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.single-publication-page .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.7);
}

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

.single-publication-page .breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.single-publication-page .breadcrumb-item.active {
  color: white;
}

.single-publication-page .publication-meta-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.single-publication-page .publication-type-badge {
  background: var(--fedarene-light-blue);
  color: var(--fedarene-dark);
  padding: 0.375rem 1rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-publication-page .publication-year-badge {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.single-publication-page .publication-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2.5rem;
  color: white;
  margin: 1rem 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.single-publication-page .publication-excerpt {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Download Section */
.single-publication-page .publication-downloads {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.single-publication-page .downloads-label {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.single-publication-page .download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.single-publication-page .download-buttons .btn {
  border-color: rgba(255, 255, 255, 0.5);
}

.single-publication-page .download-buttons .badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
}

/* Cover Display */
.single-publication-page .publication-cover-display {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 300px;
  margin: 0 auto;
}

.single-publication-page .publication-cover-display img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Copyright */
.single-publication-page .copyright-pic {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  border-radius: 8px 0 0 0;
}

.single-publication-page .copyright-pic p {
  margin: 0;
}

/* Share Section */
.single-publication-page .publication-share-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.single-publication-page .share-buttons {
  display: inline-flex;
  gap: 0.5rem;
}

.single-publication-page .share-buttons .btn {
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar */
.single-publication-page .publication-sidebar {
  position: sticky;
  top: 100px;
}

.single-publication-page .sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.single-publication-page .widget-title {
  font-size: 1.125rem;
  color: var(--fedarene-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--fedarene-light-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.single-publication-page .widget-title i {
  color: var(--fedarene-primary);
}

/* Information Widget */
.single-publication-page .info-widget .info-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.single-publication-page .info-widget .info-item {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.single-publication-page .info-widget .info-item:last-child {
  border-bottom: none;
}

.single-publication-page .info-widget .info-label {
  font-weight: 600;
  color: #666;
  min-width: 100px;
  font-size: 0.9rem;
}

.single-publication-page .info-widget .info-value {
  flex: 1;
  color: var(--fedarene-dark);
  font-size: 0.9rem;
}

/* Featured Organizations Widget */
.single-publication-page .featured-org-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.single-publication-page .featured-org-compact:last-child {
  border-bottom: none;
}

.single-publication-page .org-icon-small,
.single-publication-page .org-logo-small {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.5rem;
}

.single-publication-page .org-icon-small img,
.single-publication-page .org-logo-small img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.single-publication-page .org-icon-small i,
.single-publication-page .org-logo-small i {
  font-size: 1.25rem;
  color: var(--fedarene-primary);
}

.single-publication-page .org-info {
  flex: 1;
  min-width: 0;
}

.single-publication-page .org-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.25rem;
}

.single-publication-page .org-info h5 {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.3;
}

.single-publication-page .org-info h5 a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-publication-page .org-info h5 a:hover {
  color: var(--fedarene-primary);
}

/* Related Items */
.single-publication-page .related-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #f0f0f0;
}

.single-publication-page .related-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.single-publication-page .item-logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.5rem;
}

.single-publication-page .item-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.single-publication-page .item-content h4 {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

.single-publication-page .item-content h4 a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-publication-page .item-content h4 a:hover {
  color: var(--fedarene-primary);
}

/* Related News Section */
.single-publication-page .related-news-section {
  background: #f8f9fa;
}

.single-publication-page .news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.single-publication-page .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.single-publication-page .news-image {
  height: 200px;
  overflow: hidden;
}

.single-publication-page .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.single-publication-page .news-card:hover .news-image img {
  transform: scale(1.05);
}

.single-publication-page .news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.single-publication-page .news-meta {
  margin-bottom: 0.75rem;
}

.single-publication-page .news-date {
  font-size: 0.85rem;
  color: #666;
}

.single-publication-page .news-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

.single-publication-page .news-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-publication-page .news-title a:hover {
  color: var(--fedarene-primary);
}

.single-publication-page .news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.single-publication-page .btn-text {
  color: var(--fedarene-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.single-publication-page .btn-text:hover {
  gap: 0.75rem;
}

/* CTA Section */
.single-publication-page .publication-cta {
  background: var(--fedarene-light-blue);
}

/* Responsive */
@media (max-width: 991px) {
  .single-publication-page .publication-title {
    font-size: 2rem;
  }
  
  .single-publication-page .publication-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .single-publication-page .publication-cover-display {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767px) {
  .single-publication-page .publication-title {
    font-size: 1.75rem;
  }
  
  .single-publication-page .publication-hero {
    padding: 60px 0 40px;
    min-height: 400px;
  }
  
  .single-publication-page .copyright-pic {
    display: none;
  }
  
  .single-publication-page .download-buttons {
    flex-direction: column;
  }
  
  .single-publication-page .download-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   WEBINARS PAGE STYLES
   ============================================ */

/* Webinars Hero Section */
.webinars-page .page-hero {
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  color: white;
  padding: 80px 0;
}

.webinars-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.webinars-page .page-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.webinars-page .page-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.webinars-page .page-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
}

/* Filters Section */
.webinars-page .filters-section {
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.webinars-page .filter-form {
  position: relative;
}

.webinars-page .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Webinars Grid */
.webinars-page .webinars-grid {
  min-height: 400px;
}

.webinars-page .section-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2rem;
  color: var(--fedarene-dark);
}

/* Video-Style Webinar Card */
.webinars-page .webinar-video-card {
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.webinars-page .webinar-video-card:hover {
  transform: translateY(-2px);
}

/* Video Thumbnail Wrapper */
.webinars-page .video-thumbnail-wrapper {
  position: relative;
  margin-bottom: 0.75rem;
}

/* Member Badge */
.webinars-page .member-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffd700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Video Thumbnail */
.webinars-page .video-thumbnail {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.webinars-page .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.webinars-page .webinar-video-card:hover .video-thumbnail img {
  transform: scale(1.05);
}

/* Video Placeholder */
.webinars-page .video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.webinars-page .video-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
  animation: pattern-shift 20s linear infinite;
}

@keyframes pattern-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(70px, 70px); }
}

.webinars-page .video-placeholder i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* Video Overlay */
.webinars-page .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, transparent 70%, rgba(0,0,0,0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.webinars-page .webinar-video-card:hover .video-overlay {
  opacity: 1;
}

/* Play Button */
.webinars-page .play-button {
  transition: transform 0.2s ease;
}

.webinars-page .webinar-video-card:hover .play-button {
  transform: scale(1.1);
}

.webinars-page .play-button svg {
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

/* Video Duration Badge */
.webinars-page .video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Video Progress Bar */
.webinars-page .video-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

.webinars-page .progress-bar {
  height: 100%;
  width: 0%;
  background: #ff0000;
  transition: width 0.3s ease;
}

.webinars-page .webinar-video-card:hover .progress-bar {
  width: 30%;
}

/* Video Info */
.webinars-page .video-info {
  padding: 0 0.25rem;
}

/* Video Meta */
.webinars-page .video-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #606060;
}

.webinars-page .video-date {
  position: relative;
}

.webinars-page .video-category {
  position: relative;
  padding-left: 0.75rem;
}

.webinars-page .video-category::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #606060;
}

/* Video Title */
.webinars-page .video-title {
  margin-bottom: 0.5rem;
}

.webinars-page .video-title a {
  color: #0f0f0f;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.webinars-page .video-title a:hover {
  color: var(--fedarene-primary);
}

/* Video Stats */
.webinars-page .video-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #606060;
}

.webinars-page .stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.webinars-page .stat-item i {
  font-size: 0.9rem;
}

/* No Results */
.webinars-page .no-results {
  padding: 4rem 2rem;
}

.webinars-page .no-results i {
  color: #dee2e6;
}

/* CTA Section */
.webinars-page .webinar-cta {
  background: linear-gradient(135deg, var(--fedarene-primary), var(--fedarene-dark));
  position: relative;
  overflow: hidden;
}

.webinars-page .webinar-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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.05'%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");
}

/* Responsive */
@media (max-width: 991px) {
  .webinars-page .page-title {
    font-size: 2.5rem;
  }
  
  .webinars-page .webinar-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .webinars-page .page-hero {
    padding: 60px 0;
    min-height: 300px;
  }
  
  .webinars-page .page-title {
    font-size: 2rem;
  }
  
  .webinars-page .filter-form {
    margin-bottom: 1rem;
  }
  
  .webinars-page .webinar-meta {
    font-size: 0.8rem;
  }
}

/* ============================================
   Single Webinar Page Styles
   ============================================ */

.single-webinar-page {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Hero Section */
.single-webinar-page .webinar-hero {
  background: white;
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

.single-webinar-page .webinar-title {
  color: #1a1a1a;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}

.single-webinar-page .webinar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #666;
  font-size: 0.95rem;
}

.single-webinar-page .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.single-webinar-page .meta-item i {
  color: #999;
}

.single-webinar-page .member-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1a1a1a;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.85rem;
}

.single-webinar-page .webinar-excerpt {
  color: #666;
  margin-top: 1rem;
}

/* Share Section */
.single-webinar-page .share-section {
  padding-top: 20px;
}

.single-webinar-page .share-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.single-webinar-page .share-buttons .btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.single-webinar-page .share-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Video Player Section */
.single-webinar-page .video-player-wrapper {
  position: relative;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.single-webinar-page .video-player-wrapper .ratio {
  background: #000;
}

.single-webinar-page .member-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 215, 0, 0.9);
  color: #1a1a1a;
  padding: 8px 15px;
  border-radius: 20px;
  z-index: 10;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Video Controls Bar */
.single-webinar-page .video-controls-bar {
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.single-webinar-page .controls-info {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.single-webinar-page .controls-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-webinar-page .controls-actions {
  display: flex;
  gap: 10px;
}

.single-webinar-page .controls-actions .btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: all 0.3s ease;
}

.single-webinar-page .controls-actions .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Video Placeholder */
.single-webinar-page .video-placeholder-large {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 100px 20px;
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.single-webinar-page .video-placeholder-large i {
  font-size: 5rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.single-webinar-page .video-placeholder-large p {
  font-size: 1.25rem;
  margin: 0;
  opacity: 0.9;
}

/* Content Section */
.single-webinar-page .webinar-description {
  background: white;
  padding: 30px;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-webinar-page .webinar-description .section-title {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #f0f0f0;
}

/* Sidebar */
.single-webinar-page .webinar-sidebar {
  position: sticky;
  top: 100px;
}

.single-webinar-page .sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.single-webinar-page .widget-title {
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-webinar-page .widget-title i {
  color: var(--fedarene-primary);
}

/* Slides Widget */
.single-webinar-page .slides-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.single-webinar-page .slide-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.single-webinar-page .slide-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.single-webinar-page .slide-icon {
  font-size: 1.75rem;
  color: #dc3545;
  flex-shrink: 0;
}

.single-webinar-page .slide-info {
  flex: 1;
  min-width: 0;
}

.single-webinar-page .slide-title {
  display: block;
  color: #1a1a1a;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.single-webinar-page .slide-title:hover {
  color: var(--fedarene-primary);
}

.single-webinar-page .slide-author {
  font-size: 0.85rem;
  color: #666;
}

.single-webinar-page .slide-download .btn {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Related Items */
.single-webinar-page .related-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.single-webinar-page .related-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.single-webinar-page .item-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
}

.single-webinar-page .item-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.single-webinar-page .item-content h4 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.4;
}

.single-webinar-page .item-content h4 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-webinar-page .item-content h4 a:hover {
  color: var(--fedarene-primary);
}

/* Newsletter Widget */
.single-webinar-page .newsletter-widget {
  background: linear-gradient(135deg, var(--fedarene-light-green) 0%, var(--fedarene-light-blue) 100%);
  text-align: center;
}

.single-webinar-page .newsletter-widget i {
  font-size: 2.5rem;
  color: var(--fedarene-primary);
}

.single-webinar-page .newsletter-widget h3 {
  color: #1a1a1a;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.single-webinar-page .newsletter-widget p {
  color: #666;
  margin-bottom: 1.5rem;
}

.single-webinar-page .newsletter-widget .btn {
  width: 100%;
}

/* Related Webinars Section */
.single-webinar-page .related-webinars {
  background: #f8f9fa;
}

.single-webinar-page .related-webinars .section-title {
  color: #1a1a1a;
  font-size: 2rem;
  font-weight: 600;
}

/* Reuse video card styles from listing page */
.single-webinar-page .webinar-video-card {
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.single-webinar-page .webinar-video-card:hover {
  transform: translateY(-5px);
}

.single-webinar-page .video-thumbnail-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.single-webinar-page .video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  overflow: hidden;
}

.single-webinar-page .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-webinar-page .video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.single-webinar-page .video-placeholder i {
  font-size: 3rem;
  color: white;
  opacity: 0.8;
  position: relative;
  z-index: 2;
}

.single-webinar-page .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.single-webinar-page .video-link:hover .video-overlay {
  opacity: 1;
}

.single-webinar-page .play-button svg {
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.single-webinar-page .video-link:hover .play-button svg {
  transform: scale(1.1);
}

.single-webinar-page .video-duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.single-webinar-page .video-progress {
  height: 4px;
  background: #e0e0e0;
  position: relative;
  margin-top: -4px;
}

.single-webinar-page .progress-bar {
  height: 100%;
  background: #ff0000;
  width: 0;
  transition: width 0.3s ease;
}

.single-webinar-page .video-link:hover .progress-bar {
  width: 35%;
}

.single-webinar-page .video-info {
  padding: 15px 0;
}

.single-webinar-page .video-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #666;
}

.single-webinar-page .video-title {
  margin: 0 0 10px 0;
}

.single-webinar-page .video-title a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-webinar-page .video-title a:hover {
  color: var(--fedarene-primary);
}

.single-webinar-page .video-stats {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: #666;
}

.single-webinar-page .stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* CTA Section */
.single-webinar-page .webinar-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.single-webinar-page .cta-buttons {
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 991px) {
  .single-webinar-page .webinar-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .single-webinar-page .share-section {
    text-align: left !important;
    margin-top: 1.5rem;
  }
  
  .single-webinar-page .share-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .single-webinar-page .webinar-title {
    font-size: 1.5rem;
  }
  
  .single-webinar-page .video-controls-bar {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .single-webinar-page .controls-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .single-webinar-page .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .single-webinar-page .cta-buttons .btn {
    width: 100%;
    margin: 0 !important;
  }
}

/* ============================================
   Members Hub Page Styles
   ============================================ */

.members-hub-page {
  background: #f8f9fa;
  min-height: 100vh;
}

/* Hero Section */
.members-hub-page .members-hero {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  position: relative;
  min-height: 400px;
}

.members-hub-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.7))
}

.members-hub-page .page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.members-hub-page .page-intro {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
}

.members-hub-page .welcome-message {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.members-hub-page .copyright-pic {
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Main Content Sections */
.members-hub-page .members-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.members-hub-page .section-title {
  color: #000;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.members-hub-page .section-title i {
  font-size: 1.5rem;
  opacity: 0.8;
}

/* News Cards */
.members-hub-page .member-news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #e0e0e0;
}

.members-hub-page .member-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.members-hub-page .news-image {
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.members-hub-page .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.members-hub-page .member-news-card:hover .news-image img {
  transform: scale(1.05);
}

.members-hub-page .news-content {
  padding: 20px;
}

.members-hub-page .news-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
}

.members-hub-page .news-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.members-hub-page .news-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.members-hub-page .news-title a:hover {
  color: var(--fedarene-primary);
}

.members-hub-page .news-excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
}

.members-hub-page .read-more {
  color: var(--fedarene-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s ease;
}

.members-hub-page .read-more:hover {
  gap: 10px;
}

/* Sidebar */
.members-hub-page .members-sidebar {
  position: sticky;
  top: 100px;
}

.members-hub-page .sidebar-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.members-hub-page .sidebar-title {
  color: #000;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

/* Events List */
.members-hub-page .events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.members-hub-page .event-item {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.members-hub-page .event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.members-hub-page .event-date-badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--fedarene-light-blue), #59C1D5);
  color: #000;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

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

.members-hub-page .event-date-badge .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.9;
}

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

.members-hub-page .event-title {
  font-size: 1rem;
  margin-bottom: 5px;
  line-height: 1.3;
}

.members-hub-page .event-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.members-hub-page .event-title a:hover {
  color: var(--fedarene-primary);
}

.members-hub-page .event-excerpt {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Opportunities Section */
.members-hub-page .opportunities-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.members-hub-page .opportunity-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.members-hub-page .opportunity-card:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.members-hub-page .opportunity-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  font-size: 2rem;
  color: #dc3545;
}

.members-hub-page .opportunity-content h4 {
  color: #1a1a1a;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.members-hub-page .opportunity-content p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Resources Section */
.members-hub-page .resources-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.members-hub-page .resource-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.members-hub-page .resource-card:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.members-hub-page .resource-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.members-hub-page .resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.members-hub-page .resource-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
  color: #999;
  font-size: 2rem;
}

.members-hub-page .resource-content {
  flex: 1;
  min-width: 0;
}

.members-hub-page .resource-content h4 {
  color: #1a1a1a;
  font-size: 1.125rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.members-hub-page .resource-excerpt {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.members-hub-page .resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.members-hub-page .resource-actions .btn {
  font-size: 0.85rem;
  padding: 5px 12px;
}

/* Webinars Section */
.members-hub-page .webinar-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.members-hub-page .webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.members-hub-page .webinar-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  overflow: hidden;
}

.members-hub-page .webinar-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.members-hub-page .webinar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 3rem;
}

.members-hub-page .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.members-hub-page .webinar-card:hover .play-overlay {
  opacity: 1;
}

.members-hub-page .play-button {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff0000;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.members-hub-page .webinar-card:hover .play-button {
  transform: scale(1.1);
}

.members-hub-page .duration-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.members-hub-page .webinar-info {
  padding: 15px;
}

.members-hub-page .webinar-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 8px;
}

.members-hub-page .webinar-title {
  font-size: 1rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.members-hub-page .webinar-title a {
  color: #1a1a1a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.members-hub-page .webinar-title a:hover {
  color: var(--fedarene-primary);
}

/* Quick Links Section */
.members-hub-page .quick-links-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.members-hub-page .quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  text-decoration: none;
  color: #1a1a1a;
  transition: all 0.3s ease;
  height: 100%;
}

.members-hub-page .quick-link-card:hover {
  background: linear-gradient(135deg, var(--fedarene-light-green), #ffffff);
  border-color: var(--fedarene-primary);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.members-hub-page .quick-link-card i {
  font-size: 2.5rem;
  color: var(--fedarene-primary);
  transition: transform 0.3s ease;
}

.members-hub-page .quick-link-card:hover i {
  transform: scale(1.15);
}

.members-hub-page .quick-link-card span {
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
  .members-hub-page .members-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .members-hub-page .page-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .members-hub-page .members-hero {
    padding: 3rem 0;
    min-height: 300px;
  }
  
  .members-hub-page .page-title {
    font-size: 2rem;
  }
  
  .members-hub-page .page-intro {
    font-size: 1.1rem;
  }
  
  .members-hub-page .opportunity-card,
  .members-hub-page .resource-card {
    flex-direction: column;
    text-align: center;
  }
  
  .members-hub-page .opportunity-icon,
  .members-hub-page .resource-image {
    margin: 0 auto;
  }
  
  .members-hub-page .resource-actions {
    justify-content: center;
  }
  
  .members-hub-page .quick-link-card {
    padding: 20px 15px;
  }
  
  .members-hub-page .quick-link-card i {
    font-size: 2rem;
  }
}

/* ============================================
   Login Page Styles
   ============================================ */

.login-page {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: calc(100vh - 200px);
  padding: 60px 0;
}

.login-page .login-wrapper {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Welcome Section */
.login-page .login-welcome {
  background: linear-gradient(135deg, var(--fedarene-primary) 0%, #004d00 100%);
  color: white;
  padding: 60px 50px;
  height: 100%;
  display: flex;
  align-items: center;
}

.login-page .welcome-content {
  width: 100%;
}

.login-page .login-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.login-page .login-title i {
  font-size: 2rem;
  opacity: 0.9;
}

.login-page .login-intro {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.login-page .login-intro p {
  margin-bottom: 1rem;
}

.login-page .login-benefits {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
}

.login-page .login-benefits h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.login-page .benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-page .benefits-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.login-page .benefits-list i {
  color: #90EE90;
  font-size: 1rem;
}

/* Login Form Section */
.login-page .login-form-wrapper {
  padding: 60px 50px;
}

.login-page .login-form-header {
  margin-bottom: 30px;
}

.login-page .login-form-header h2 {
  color: #1a1a1a;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.login-page .login-form-header p {
  color: #6c757d;
  margin: 0;
}

.login-page .custom-login-form {
  margin-bottom: 25px;
}

.login-page .alert {
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
  display: flex;
  align-items: center;
}

.login-page .alert-danger {
  background: #fee;
  color: #dc3545;
}

.login-page .alert-success {
  background: #d4edda;
  color: #155724;
}

/* Login Links */
.login-page .login-links {
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 20px;
}

.login-page .forgot-password,
.login-page .no-access {
  color: var(--fedarene-primary);
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.login-page .forgot-password:hover,
.login-page .no-access:hover {
  color: #005500;
  transform: translateX(3px);
}

/* Security Notice */
.login-page .security-notice {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #6c757d;
  font-size: 0.85rem;
}

.login-page .security-notice i {
  color: var(--fedarene-primary);
  font-size: 1.1rem;
}

/* Info Section */
.login-page .login-info {
  background: white;
}

.login-page .info-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
}

.login-page .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--fedarene-primary);
}

.login-page .info-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--fedarene-light-green) 0%, #e8f5e9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.login-page .info-card:hover .info-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--fedarene-primary) 0%, #006400 100%);
}

.login-page .info-icon i {
  font-size: 2rem;
  color: var(--fedarene-primary);
  transition: color 0.3s ease;
}

.login-page .info-card:hover .info-icon i {
  color: white;
}

.login-page .info-card h3 {
  color: #1a1a1a;
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.login-page .info-card p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
  .login-page .login-welcome {
    padding: 40px 30px;
  }
  
  .login-page .login-form-wrapper {
    padding: 40px 30px;
  }
  
  .login-page .login-title {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .login-page {
    padding: 30px 0;
  }
  
  .login-page .login-wrapper {
    border-radius: 0;
  }
  
  .login-page .login-welcome {
    padding: 30px 20px;
  }
  
  .login-page .login-form-wrapper {
    padding: 30px 20px;
  }
  
  .login-page .login-title {
    font-size: 1.75rem;
  }
  
  .login-page .login-title i {
    display: none;
  }
  
  .login-page .login-benefits {
    margin-top: 20px;
    padding: 20px;
  }
  
  .login-page .info-card {
    margin-bottom: 20px;
  }
}

/* ============================================
   POLICY PAGE STYLES
   ============================================ */

/* Policy Hero Section */
.policy-hero {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  position: relative;
  min-height: 400px;
}

.policy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

.policy-hero .container {
  position: relative;
  z-index: 2;
}

.policy-hero .hero-badge {
  display: inline-block;
  background-color: var(--fedarene-golden);
  color: black;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.policy-hero .copyright-pic {
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  margin: 1rem;
  border-radius: 4px;
  z-index: 2;
}

.policy-hero .copyright-pic p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  margin: 0;
}

/* Common Section Styles */
.policy-page section {
  padding: 4rem 0;
}

.policy-page .section-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.policy-page .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--fedarene-golden);
}

.policy-page .section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Policy Highlights */
.policy-highlights {
  margin-top: 3rem;
}

.highlight-item-link {
  text-decoration: none;
  display: block;
  height: 100%;
}

.highlight-item-link:hover {
  text-decoration: none;
}

.highlight-item {
  text-align: center;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  border-radius: 8px;
  height: 100%;
  cursor: pointer;
}

.highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 114, 63, 0.15);
}

.highlight-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.1);
}

.highlight-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--fedarene-dark);
}

.highlight-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Publications Section */
.publications-section {
  background-color: #f8f9fa;
}

.section-header {
  margin-bottom: 2rem;
}

/* Publication Tabs */
.publication-tabs .nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.publication-tabs .nav-link {
  color: #666;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  transition: all 0.3s ease;
}

.publication-tabs .nav-link:hover {
  color: var(--fedarene-dark);
  background-color: rgba(0, 0, 0, 0.02);
}

.publication-tabs .nav-link.active {
  color: var(--fedarene-dark);
  background-color: transparent;
  border-bottom: 3px solid var(--fedarene-golden);
}

/* Publication Cards */
.publication-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.publication-image {
  height: 200px;
  overflow: hidden;
  background: #f0f0f0;
}

.publication-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.publication-card:hover .publication-image img {
  transform: scale(1.05);
}

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

.publication-date {
  color: #999;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.publication-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--fedarene-dark);
}

.publication-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.publication-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.publication-actions .btn {
  font-size: 0.85rem;
  padding: 0.375rem 0.75rem;
}

/* News Section - Reuses common card styles */
.featured-news-card,
.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-news-card {
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.news-card {
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.featured-news-card:hover,
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.featured-news-image {
  position: relative;
  height: 100%;
  min-height: 300px;
}

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

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-news-content {
  padding: 2rem;
}

.news-meta {
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* General news date styling for policy page */
.policy-page .news-date {
  color: #999;
  font-size: 0.85rem;
}

.news-category {
  background: var(--fedarene-light-blue);
  color: var(--fedarene-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-title {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--fedarene-dark);
}

.featured-news-card .news-title {
  font-size: 1.5rem;
}

.news-card .news-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.news-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--fedarene-primary);
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Advocacy Coalitions Section */
.advocacy-fora-section {
  background: #f8f9fa;
}

.advocacy-forum-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advocacy-forum-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.advocacy-forum-logo {
  min-height: 100px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.advocacy-forum-logo img {
  max-height: 60px;
  width: auto;
  max-width: 100%;
}

.advocacy-forum-content {
  padding: 1rem 2rem 2rem;
}

.advocacy-forum-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--fedarene-dark);
}

.advocacy-forum-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.advocacy-forum-stats {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.advocacy-forum-stats li {
  background: var(--fedarene-light-green);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.advocacy-forum-stats strong {
  color: var(--fedarene-primary);
  font-weight: 700;
}

/* Policy Campaigns Section */
.policy-campaigns-section {
  background-color: #fff;
  padding: 4rem 0;
}

.campaign-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.campaign-card:hover {
  box-shadow: 0 5px 20px rgba(0, 114, 63, 0.1);
  transform: translateY(-3px);
}

.campaign-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.campaign-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--fedarene-dark);
}

.campaign-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.campaign-card .btn-text {
  color: var(--fedarene-primary);
  font-weight: 500;
}

/* CTA Section */
.policy-cta-section {
  background: var(--fedarene-light-green);
}

.cta-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.cta-box h2 {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--fedarene-dark);
  margin-bottom: 1rem;
}

.cta-box .lead {
  color: #666;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .policy-hero {
    padding: 3rem 0;
  }
  
  .policy-page .section-title {
    font-size: 2rem;
  }
  
  .highlight-item {
    margin-bottom: 2rem;
  }
  
  .featured-news-image {
    min-height: 200px;
  }
  
  .advocacy-forum-stats {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .policy-hero h1 {
    font-size: 2rem;
  }
  
  .publication-tabs .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/*--------------------------------------------------------------
5.7 WORKING GROUPS PAGE
--------------------------------------------------------------*/
/* Working Groups Hero */
.wg-hero {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.wg-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.wg-hero .hero-content {
  position: relative;
  z-index: 2;
}

/* Working Groups Introduction */
.wg-intro {
  background: white;
}

.wg-intro .section-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--fedarene-dark);
  margin-bottom: 1.5rem;
}

/* Working Groups Grid */
.wg-grid-section {
  background: var(--gray-50);
}

.wg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.wg-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.wg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wg-card-header {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.wg-icon-large {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
}

.wg-icon-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(0, 0, 0, 0.5);
}

.wg-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.wg-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--fedarene-dark);
}

.wg-excerpt {
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

.wg-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.wg-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.wg-meta-item i {
  color: var(--fedarene-primary);
}

.wg-coordinator {
  padding: 0.75rem;
  background: var(--gray-50);
  border-radius: 8px;
}

.coordinator-name {
  font-weight: 500;
  color: var(--fedarene-dark);
}

.wg-actions {
  margin-top: auto;
}

/* Benefits Section */
.wg-benefits .benefit-card {
  padding: 1.5rem;
  height: 100%;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--fedarene-dark);
}

.benefit-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--fedarene-dark);
}

.benefit-card p {
  color: #666;
  margin: 0;
}

/* How to Join Section */
.wg-join {
  background: var(--gray-50);
}

.join-steps {
  margin-top: 2rem;
}

.join-step {
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--fedarene-dark);
}

.step-content p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.wg-join .cta-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Resources Section */
.wg-resources .resource-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wg-resources .resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.resource-image {
  height: 200px;
  overflow: hidden;
}

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

.resource-content {
  padding: 1.5rem;
}

.resource-type {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fedarene-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.resource-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--fedarene-dark);
}

.resource-excerpt {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Responsive for Working Groups Page */
@media (max-width: 991px) {
  .wg-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .wg-hero {
    padding: 3rem 0;
  }
}

@media (max-width: 767px) {
  .wg-grid {
    grid-template-columns: 1fr;
  }
  
  .wg-card-header {
    padding: 1.5rem;
    min-height: 120px;
  }
  
  .wg-icon-large {
    max-width: 80px;
    max-height: 80px;
  }
  
  .join-steps {
    gap: 1.5rem;
  }
}

/*--------------------------------------------------------------
5.8 SINGLE WORKING GROUP PAGE (Content Hub)
--------------------------------------------------------------*/
/* Hero Section */
.single-wg-page .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}

.single-wg-page .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #666;
}

.wg-single-hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.wg-icon-hero {
  width: 100px;
  height: 100px;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wg-icon-hero img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.wg-info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wg-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--fedarene-dark);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.info-item i {
  font-size: 1.25rem;
  color: var(--fedarene-primary);
  margin-top: 0.25rem;
}

.info-item small {
  display: block;
  color: #666;
  font-size: 0.875rem;
}

.info-item strong {
  color: var(--fedarene-dark);
  font-size: 1rem;
}

/* Content Hub Navigation */
.content-hub-nav {
  background: white;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hub-nav-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hub-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.hub-nav .nav-link {
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
}

.hub-nav .nav-link:hover {
  background: var(--gray-50);
  color: var(--fedarene-dark);
}

.hub-nav .nav-link.active {
  background: var(--fedarene-primary);
  color: white;
}

/* Overview Section */
.wg-overview {
  padding-top: 4rem;
}

.wg-overview .ugc {
  font-size: 1.1rem;
  line-height: 1.8;
}

.objectives-section {
  padding: 2rem;
  background: var(--gray-50);
  border-radius: 12px;
  margin-top: 3rem;
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fedarene-dark);
}

.key-topics-section {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fedarene-dark);
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topic-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--fedarene-light-blue);
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fedarene-dark);
  transition: all 0.3s ease;
}

.topic-badge:hover {
  background: var(--fedarene-light-green);
  transform: translateY(-2px);
}


/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--fedarene-dark);
  margin: 0;
}

/* News Section */
.wg-news .news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wg-news .news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.wg-news .news-card.featured {
  display: flex;
  flex-direction: column;
}

.news-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
}

/* Working Groups News Date Styling - Override any conflicting styles */
.single-wg-page .news-date,
.wg-news .news-date {
  font-size: 0.875rem;
  color: #666;
  display: block !important;
  margin-bottom: 0.5rem;
  position: static !important; /* Ensure no absolute positioning */
  background: transparent !important; /* Remove any background */
  padding: 0 !important; /* Reset padding */
  opacity: 1 !important; /* Always visible */
  visibility: visible !important; /* Always visible */
  min-width: auto !important; /* Reset min-width */
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.news-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: var(--fedarene-primary);
}

.news-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Projects Section */
.project-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-logo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
}

.project-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.project-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.project-status.ongoing {
  background: #d4edda;
  color: #155724;
}

.project-status.finished {
  background: #f8d7da;
  color: #721c24;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
}

.project-title a:hover {
  color: var(--fedarene-primary);
}

.project-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Publications Section */
.publication-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.publication-cover {
  height: 250px;
  overflow: hidden;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.publication-info {
  padding: 1.25rem;
}

.publication-date {
  font-size: 0.875rem;
  color: var(--fedarene-primary);
  font-weight: 500;
}

.publication-title {
  font-size: 1rem;
  margin: 0.5rem 0 1rem;
}

.publication-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
}

.publication-title a:hover {
  color: var(--fedarene-primary);
}

/* Events Section */
.event-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.event-date-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--fedarene-primary);
  color: white;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
  min-width: 60px;
}

.event-date-badge .day {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
}

.event-date-badge .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.event-content {
  padding-right: 80px;
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.event-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
}

.event-title a:hover {
  color: var(--fedarene-primary);
}

.event-location {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.event-location i {
  color: var(--fedarene-primary);
  margin-right: 0.25rem;
}

/* Best Practices Section */
.bp-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bp-image {
  height: 100%;
  overflow: hidden;
}

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

.bp-content {
  padding: 1.25rem;
}

.bp-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.bp-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
}

.bp-title a:hover {
  color: var(--fedarene-primary);
}

.bp-excerpt {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Webinars Section */
.webinar-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.webinar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.webinar-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-50);
}

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

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.webinar-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 3rem;
  color: white;
}

.webinar-content {
  padding: 1.5rem;
}

.webinar-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.webinar-title a {
  color: var(--fedarene-dark);
  text-decoration: none;
}

.webinar-title a:hover {
  color: var(--fedarene-primary);
}

.webinar-excerpt {
  color: #666;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* CTA Section */
.wg-cta {
  background: var(--fedarene-light-green);
}

.wg-cta h2 {
  font-family: 'P22 Mackinac Pro', serif;
  font-size: 2rem;
  color: var(--fedarene-dark);
}

.wg-cta .lead {
  color: #666;
}

/* Fix button alignment in CTA section */
.wg-cta .text-lg-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991px) {
  .wg-cta .text-lg-end {
    flex-direction: column;
    align-items: stretch;
    margin-top: 1.5rem;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .wg-info-card {
    margin-top: 2rem;
  }
  
  .content-hub-nav {
    position: static;
  }
  
  .event-content {
    padding-right: 0;
    padding-top: 80px;
  }
  
  .event-date-badge {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 767px) {
  .wg-single-hero .display-4 {
    font-size: 2rem;
  }
  
  .hub-nav {
    padding: 0.5rem;
  }
  
  .hub-nav .nav-link {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .wg-cta .btn-lg {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .wg-cta .btn-lg.ms-2 {
    margin-left: 0 !important;
    margin-top: 0.5rem;
  }
}
