/* CSS Reset and Base Styles */


:root {
    --primary-green: #F2C71D;
    --dark-green: #C8A800;
    --light-green: #FFF9E2;
    --blue-accent: #4a90e2;
    --navy-blue: #2c5f7f;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --purple-gradient-start: #667eea;
    --purple-gradient-end: #764ba2;
}



body {
        font-family: 'Droid Serif',  sans-serif;

    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--bg-light);
}
.jobs-main{
        font-family: 'Droid Serif',  sans-serif;

}
.container {
    padding: 40px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    background-color: var(--light-green);
    padding: 40px 0;
    padding-bottom: 0px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero-left h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-left > p {
    font-size: 16px;
    color: var(--text-gray);
    
}

.opportunity-types h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.type-card {
    background-color: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

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

.type-card.active {
    border-color: var(--primary-green);
    background-color: var(--light-green);
}

.type-card i {
    font-size: 32px;
    color: #F2C71D;
    margin-bottom: 10px;
}

.type-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

.type-card p {
    font-size: 12px;
    color: var(--text-gray);
}

/* =================================================================================== */

/* ===== Carousel Wrapper ===== */
.carousel-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
  overflow: hidden;
}

.latest-opportunity-card {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
  overflow: hidden;
}

.loc-card {
  width: 100%;
  background: linear-gradient(135deg, #F2C71D 0%, #F2C71D 100%);
  border-radius: 14px;
  padding: 28px;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.loc-badge {
  display: inline-block;
  background: var(--blue-accent);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 12px;
}

.loc-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
}

.loc-name {
  font-size: 20px;
  margin-bottom: 5px;
  color: #fff;
}

.loc-title {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
  color: #fff;
}

.loc-desc {
  font-size: 14px;
  margin-bottom: 14px;
  color: #fff;
}

.loc-read-more {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 400px;
}

/* ===== Card Base ===== */
.carousel-card {
  position: absolute;
  top: 200px !important;
  width: 330px;
  height: 400px;
  background: linear-gradient(135deg, #F2C71D 0%, #F2C71D 100%);
  border-radius: 14px;
  padding: 28px;
  color: var(--white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transition: transform 0.9s ease, opacity 0.9s ease;
}

/* ===== Image ===== */
.carousel-card img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  object-fit: cover;
  
}

/* ===== Content ===== */
.badge {
  
  background: var(--blue-accent);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 4px;
  
  font-weight: 600;
}

.card-content h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.title {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.description {
  font-size: 14px;
  margin-bottom: 14px;
}

.read-more {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
}

/* ===== Positions ===== */
.carousel-card.center {
  left: 80% !important;
  transform: translateX(-50%) scale(1);
  z-index: 3;
  opacity: 1;
}

.carousel-card.left {
  left: 25%;
  transform: scale(0.85);
  opacity: 0.7;
  z-index: 1;
}

.carousel-card.right {
  right: 25%;
  transform: scale(0.85);
  opacity: 0.7;
  z-index: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .carousel {
    height: 380px;
  }

  .carousel-card {
    width: 220px;
    height: 380px;
  }

  .carousel-card.left {
    left: -5%;
  }

  .carousel-card.right {
    right: -5%;
  }
}



/* ========================================================== */

/* Filters Section */
.filters-section {
    background-color: #FFF9E2;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.search-btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 24px;
    transition: background-color 0.3s;
    font-weight: 600;
}

.search-btn-primary:hover {
    background-color: var(--dark-green);
}

.tags-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tags-row > span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.tag {
background-color: #FFF9E2;
    color: black;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.tag:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Main Content */
.main-content {
    padding: 40px 0;
    background-color: white;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* Sidebar Filters */
.sidebar {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    font-family: Droid Serif;

}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filter-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.clear-all {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.clear-all:hover {
    color: var(--dark-green);
}

.filter-section {
    margin-bottom: 25px;
 
}

.filter-section h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.filter-section h4 i {
    font-size: 12px;
    color: var(--text-gray);
    transition: transform 0.3s;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.filter-options label:hover {
    color: var(--primary-green);
}

.filter-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.view-location-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 13px;
    margin-top: 10px;
    transition: color 0.3s;
}

.view-location-btn:hover {
    color: var(--dark-green);
}

/* Jobs Listing */
.jobs-listing {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    min-width: 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.header-icon {
    background-color: #F2C71D;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.section-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 700;
}

/* Job Card */
.job-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
    background: linear-gradient(45deg, #EFF6FF, #FAF5FF);
}

.job-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-green);
    background: #F2C71D;
    color: white;
}

.job-card:hover h3{
    color: white;
}
.job-card:hover p{
    color: white;
}
.job-card:hover span{
    color: white;
}
.job-card:hover span:first-child{
    color: white;
}
.job-card:hover .tag-item{
    color: white;
    background: transparent;
    border: 1px solid lightgrey;
}
.card-main {
    flex: 1;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.job-header h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 5px;
    transition: color 0.3s;
    font-weight: 600;
}


.organization {
    font-size: 14px;
    color: var(--text-gray);
}

.job-time {
    font-size: 13px;
    color: var(--text-gray);
    white-space: nowrap;
}

.card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.card-meta span {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}



.card-meta i {
    color: var(--primary-green);
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-item {
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.card-action button {
background-color: transparent;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    white-space: nowrap;
    font-weight: 600;
}

.card-action button:hover {
    background-color: white;
    gap: 12px;
    color:#F2C71D ;
}

.load-more-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 30px auto 0;
    transition: background-color 0.3s;
    font-weight: 600;
}

.load-more-btn:hover {
    background-color: var(--dark-green);
}

/* Right Sidebar
.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.info-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.info-card .card-content {
    padding: 20px;
}

.info-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 700;
}

.info-card p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.info-card .card-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-weight: 600;
}

.info-card .card-btn:hover {
    background-color: var(--dark-green);
    gap: 12px;
} */

/* =============================================================== */

/* ============================================================================== */


.story-sidebar{

    gap: 10px;
}

.story-sidebar-ad {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Career Catalysts Widgets */
.career-widget {
    border-radius: 10px;
    overflow: hidden;
}

.blue-widget {
    background: linear-gradient(135deg, #004FA1 0%, #023870 100%);
}

.blue-widget .widget-content {
    background: transparent;
}

.cd-image-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.cd-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cd-tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 20px;
    font-size: 12px;
    color: #ffffff;
    background: transparent;
    white-space: nowrap;
}

.widget-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.widget-content {
    padding: 24px;
    border-radius: 10px;
}

.career-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.career-description {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 16px;
}

.widget-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.widget-link:hover {
    opacity: 0.7;
}

.arrow {
    font-size: 18px;
}

/* Yellow Widget */
.yellow-widget .widget-content {
    background-color: #ffd900;
}



/* Blue Widget */
.blue-widget .widget-content {
    
    background: linear-gradient(135deg, #004FA1 0%, #023870 100%);
    color: #ffffff;
}
/* gre enWidget */
.green-widget .widget-content {
   background: linear-gradient(135deg, #36A23E 0%, #12951C 100%);
    color: #ffffff;
}

.blue-widget .career-title,
.blue-widget .career-description {
    color: #ffffff;
}

.event-details {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.event-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-date,
.event-location {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.95;
}

.white-link {
    color: #ffffff;
}

/* Green Pages Widget */
.green-pages-widget {
    padding: 0;
}

.green-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.green-description {
    font-size: 14px;
    color: #e7e7e7;
    margin-bottom: 20px;
}

.search-box {
    margin-bottom: 20px;
}

.green-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.green-search:focus {
    outline: none;
    border-color: linear-gradient(135deg, #F2C71D 0%, #C8A800 100%);
    
}

.green-categories {
    margin-top: 16px;
}

.category-label {
    font-size: 13px;
    font-weight: 600;
    color: #e7e7e7;
    display: block;
    margin-bottom: 12px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 8px 14px;
    background: linear-gradient(135deg, #36A23E 0%, #12951C 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-tag:hover {
    background-color: #12951C;
}

.green-link {
    color: #F2C71D;
}

/* Quiz Widget */
.quiz-widget {
    padding: 0;
    background: linear-gradient(135deg, #F2C71D 0%, #C8A800 100%);
    border-radius: 5px;
}

.quiz-widget .widget-image {
    height: 220px;
}

.quiz-widget .widget-content {
    background: linear-gradient(135deg, #014994  0%, #F2C71D 100%);
    color: #ffffff;
}

.quiz-badge {
    display: inline-block;
    background-color: #ec4899;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 5px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.quiz-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.95;
}

/* Newsletter Widget */
.newsletter-widget {
    padding: 22px 14px;
    background: linear-gradient(135deg, #FFF9E2  0%, #F2C71D 100%);
    text-align: center;
}

.newsletter-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}

.newsletter-input:focus {
    outline: none;
    border-color: #F2C71D;
}

.newsletter-btn {
    width: 100%;
    padding: 14px 16px;
    background-color: #F2C71D;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #F2C71D;
}




/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
    .story-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .story-sidebar {
        gap: 16px;
    }

    .sidebar-widget:first-child {
        padding: 20px;
    }

    .widget-content {
        padding: 20px;
    }

    .widget-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .news-thumb {
        height: 160px;
    }

    .news-title {
        font-size: 15px;
    }

    .career-title {
        font-size: 18px;
    }

    .green-title {
        font-size: 20px;
    }

    .quiz-title {
        font-size: 20px;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .widget-image {
        height: 180px;
    }

    .quiz-widget .widget-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .sidebar-widget:first-child {
        padding: 16px;
    }

    .widget-content {
        padding: 16px;
    }

    .widget-title {
        font-size: 15px;
    }

    .news-thumb {
        height: 140px;
    }

    .news-title {
        font-size: 14px;
    }

    .career-title {
        font-size: 16px;
    }

    .career-description {
        font-size: 13px;
    }

    .green-title {
        font-size: 18px;
    }

    .quiz-title {
        font-size: 18px;
    }

    .newsletter-title {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .newsletter-widget {
        padding: 24px 16px;
    }

    .category-tags {
        gap: 6px;
    }

    .category-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    .event-details {
        padding: 12px;
    }

    .event-name {
        font-size: 14px;
    }

    .event-date,
    .event-location {
        font-size: 12px;
    }
}

 
/* =================================================================================== */
/* Three Column Cards */
.three-column-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin: auto;
    margin-top: 4rem;
    padding: 20px 40px 40px 40px;
}

.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s ease;
    background: linear-gradient(91deg, #EFF6FF, #FAF5FF);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 10px;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-label {
    padding: 2px 12px;
}

.card-labels {
    padding: 7px;
}

.card-label h2,
.card-labels h2 {
    color: black;
    font-size: 19px;
    font-weight: bold;
    transition: color 0.5s ease;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    transition: color 0.5s ease;
}

/* Hover effects for card 1 */
#card1:hover {
    background: linear-gradient(117deg, #0852a7, #014994);
}

#card1:hover .card-label h2,
#card1:hover .card-labels h2,
#card1:hover .card-subtitle,
#card1:hover .card-date,
#card1:hover .card-title,
#card1:hover .card-text,
#card1:hover .card-author,
#card1:hover .card-link {
    color: white !important;
}

/* Hover effects for card 2 */
#card2:hover {
    background: linear-gradient(119deg, #029528, #159344);
}

#card2:hover .card-label h2,
#card2:hover .card-labels h2,
#card2:hover .card-subtitle,
#card2:hover .card-date,
#card2:hover .card-title,
#card2:hover .card-text,
#card2:hover .card-author,
#card2:hover .card-link {
    color: white !important;
}

/* Hover effects for card 3 */
#card3:hover {
    background: linear-gradient(117deg, #0852a7, #014994);
}

#card3:hover .card-label h2,
#card3:hover .card-labels h2,
#card3:hover .card-subtitle,
#card3:hover .card-date,
#card3:hover .card-title,
#card3:hover .card-text,
#card3:hover .card-author,
#card3:hover .card-link {
    color: white !important;
}

.card img {
    width: 96%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: auto;
    display: block;
    border-radius: 6px;
}

.card-content {
    padding: 7px;
}

.card-date {
    font-size: 11px;
    color: #666;
    display: block;
    margin-bottom: 8px;
    transition: color 0.5s ease;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.5s ease;
}

.card-text {
    font-size: 14px;
    color: #32373c;
    line-height: 1.5;
    margin-bottom: 10px;
    transition: color 0.5s ease;
}

.card-author {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
    transition: color 0.5s ease;
}

.card-link {
    color: #014994;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.5s ease;
}

.card-link:hover {
    text-decoration: underline;
}

/* Three-column earthline card styles (homepage match) */
.earthline-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 10px;
}

.earthline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.earthline-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.earthline-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

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

.earthline-card-content {
    padding: 9px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.earthline-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #32373c;
    margin-bottom: 10px;
    font-weight: 400;
}

.calendar-icon {
    width: 14px;
    height: 14px;
    color: #32373c;
}

.earthline-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 10px 0;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.earthline-card:hover .earthline-title {
    color: #2563a8;
}

.earthline-description {
    font-size: 14px;
    color: #32373c;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.earthline-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #ff6900;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.earthline-read-more .arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.earthline-read-more:hover {
    color: #ff5500;
}

.earthline-read-more:hover .arrow {
    transform: translateX(4px);
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

@media (max-width: 576px) {
    .three-column-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        margin-top: 2rem;
        padding: 20px;
    }

    .card img {
        height: 160px;
    }

    .card-content {
        padding: 12px;
    }

    .card-label h2 {
        font-size: 15px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-text {
        font-size: 12px;
    }

    .section-title {
        font-size: 22px;
        text-align: center;
    }

    .section-subtitle {
        font-size: 13px;
        text-align: center;
    }
}




/* ======================================================================= */

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(90deg, #014994 0%, #45b876 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    width: 95%;
    margin: auto;
}

.newsletter-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-title {
    font-size: 20px;
    margin: 0;
    font-weight: bold;
    font-family: Droid Serif;
}

.newsletter-text {
    font-size: 14px !important;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
    font-family: Droid Serif;
}

.newsletter-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
}

/* CF7 form styled to match homepage */
.newsletter-section .wpcf7 {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.newsletter-section .wpcf7-form {
    display: flex !important;
    flex-direction: row !important;
    gap: 9px !important;
    padding: 4px !important;
    border-radius: 5px !important;
    width: 100% !important;
    align-items: center !important;
}

.newsletter-section .wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
    display: contents !important;
}

.newsletter-section .wpcf7-form .wpcf7-email {
    flex: 1 !important;
    padding: 12px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    outline: none !important;
    background: white !important;
    color: #333 !important;
    min-width: 0 !important;
    width: auto !important;
}

.newsletter-section .wpcf7-form .wpcf7-submit {
    padding: 12px 24px !important;
    background: #2abf60 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    width: auto !important;
}

.newsletter-section .wpcf7-form .wpcf7-submit:hover {
    background: #0f4028 !important;
}

.newsletter-section .wpcf7-response-output {
    border: none !important;
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    padding: 10px !important;
    border-radius: 4px !important;
    margin: 0 !important;
    font-size: 14px !important;
    width: 100% !important;
    align-self: flex-start !important;
    box-sizing: border-box !important;
}

.newsletter-section .wpcf7-mail-sent-ok {
    background: rgba(255,255,255,0.3) !important;
    color: white !important;
}

.newsletter-section .wpcf7-not-valid-tip {
    color: white !important;
    font-size: 12px !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .newsletter-right {
        justify-content: stretch;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .newsletter-text {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .subscribe-btn {
        width: 100%;
    }

    .newsletter-title {
        font-size: 18px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   SIMPLE RESPONSIVE CSS - Just add to end of your existing CSS
   ============================================ */

/* Tablets and smaller (992px and below) */
@media (max-width: 992px) {
    /* Hero section - stack columns */
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    /* Main content - remove left sidebar */
    .content-wrapper {
        grid-template-columns: 1fr 300px;
    }
    
    .sidebar {
        display: none;
    }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 20px;
    }
    
    /* Hero title smaller */
    .hero-left h1 {
        font-size: 32px;
    }
    
    /* Type cards - 2 columns */
    .type-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Filters - 2 columns */
    .filter-row {
        grid-template-columns: 1fr 1fr;
    }
    
    /* Main content - single column */
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* Right sidebar - 2 columns grid */
    .story-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Three column cards - 2 columns */
    .three-column-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
    
    /* Newsletter - stack */
    .newsletter-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .newsletterr-form {
        flex-direction: column;
    }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
    /* Container smaller padding */
    .container {
        padding: 0 15px;
    }
    
    /* Hero title even smaller */
    .hero-left h1 {
        font-size: 28px;
    }
    
    /* Type cards - 2 columns still */
    .type-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .type-card {
        padding: 15px 10px;
    }
    
    /* Filters - 1 column */
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .search-btn-primary {
        width: 100%;
        margin-top: 0;
    }
    
    /* Job cards stack button */
    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-action {
        width: 100%;
    }
    
    .card-action button {
        width: 100%;
        justify-content: center;
    }
    
    /* Right sidebar - 1 column */
    .story-sidebar {
        grid-template-columns: 1fr;
    }
    
    /* Three column cards - 1 column */
    .three-column-cards {
        grid-template-columns: 1fr;
    }
    
    /* Load more button full width */
    .load-more-btn {
        width: 100%;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    /* Smaller text */
    .hero-left h1 {
        font-size: 24px;
    }
    
    /* Jobs listing less padding */
    .jobs-listing {
        padding: 15px;
    }
    
    /* Section header smaller */
    .section-header h2 {
        font-size: 22px;
    }
    
    /* Job card smaller */
    .job-header h3 {
        font-size: 18px;
    }
}

/* Very small mobile (400px and below) */
@media (max-width: 400px) {
    /* Type cards - 1 column */
    .type-cards {
        grid-template-columns: 1fr;
    }
}
/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #F2C71D;
    --dark-green: #C8A800;
    --light-green: #FFF9E2;
    --blue-accent: #4a90e2;
    --navy-blue: #2c5f7f;
    --text-dark: #2c3e50;
    --text-gray: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --purple-gradient-start: #667eea;
    --purple-gradient-end: #764ba2;
}

body {
    font-family: Arial, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--bg-light);
}

.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
        background: #FFF9E2;
    padding: 40px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.hero-left h1 {
    font-size: 42px;
    color: darkslategray;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-left > p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.opportunity-types h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.type-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.type-card {
    background-color: var(--white);
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

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

.type-card.active {
    border-color: var(--primary-green);
    background-color: var(--light-green);
}

.type-card i {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.type-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 600;
}

.type-card p {
    font-size: 12px;
    color: var(--text-gray);
}

/* Carousel Wrapper */
.carousel-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 400px;
}

/* Card Base */
.carousel-card {
    position: absolute;
    top: 0;
    width: 330px;
    height: 400px;
    background: linear-gradient(135deg, #F2C71D 0%, #F2C71D 100%);
    border-radius: 14px;
    padding: 28px;
    color: var(--white);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    transition: transform 0.9s ease, opacity 0.9s ease;
}

/* Image */
.carousel-card img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

/* Content */
.badge {
    display: inline-block;
    background: #004FA1;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.title {
    font-size: 13px !important;
    opacity: 0.9;
    margin-bottom: 8px;
}

.description {
    font-size: 14px !important;
    margin-bottom: 14px;
}

.read-more {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

/* Positions */
.carousel-card.center {
    left: 50%;
    transform: translateX(-50%) scale(1);
    z-index: 3;
    opacity: 1;
}

.carousel-card.left {
    left: 25%;
    transform: scale(0.85);
    opacity: 0.7;
    z-index: 1;
}

.carousel-card.right {
    right: 25%;
    transform: scale(0.85);
    opacity: 0.7;
    z-index: 1;
}

/* Filters Section */
.filters-section {
      background: #FFF9E2;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

.search-btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 24px;
    transition: background-color 0.3s;
    font-weight: 600;
}

.search-btn-primary:hover {
    background-color: var(--dark-green);
}

.tags-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tags-row > span:first-child {
    font-weight: 600;
    color: var(--text-dark);
}
 

/* Main Content */
.main-content {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

/* Sidebar Filters */
.sidebar {
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filter-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.clear-all {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.clear-all:hover {
    color: var(--dark-green);
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.filter-section h4 i {
    font-size: 12px;
    color: var(--text-gray);
    transition: transform 0.3s;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.filter-options label:hover {
    color: var(--primary-green);
}

.filter-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.view-location-btn {
    background: none;
    border: none;
    color: var(--primary-green);
    cursor: pointer;
    font-size: 13px;
    margin: 10px 0;
    transition: color 0.3s;
    display: block;
}

.view-location-btn:hover {
    color: var(--dark-green);
}

.location-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

/* Trainings Listing */
.trainings-listing {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
}

.section-header {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    gap: 15px;
    margin-bottom: 30px;
}

.section-header > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    background-color:#12951c;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.section-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 700;
}

.view-all {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: gap 0.3s;
}

.view-all:hover {
    gap: 10px;
}

/* Training Card */
.training-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease;
}

.training-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-green);
}

.card-main {
    flex: 1;
}

.card-main h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
    transition: color 0.3s;
    font-weight: 600;
}

.training-card:hover .card-main h3 {
    color: var(--primary-green);
}

.organization {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.card-meta > span:first-child {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-meta i {
    color: var(--primary-green);
}

.tag-badge {
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.card-action {
    margin-left: 20px;
}

.arrow-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.arrow-btn:hover {
    background-color: var(--dark-green);
    transform: translateX(5px);
}

.load-more-btn {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: block;
    margin: 30px auto 0;
    transition: background-color 0.3s;
    font-weight: 600;
}

.load-more-btn:hover {
    background-color: var(--dark-green);
}

.story-sidebar {
    gap: 10px;
}

/* Career Catalysts Widgets */
.career-widget {
    padding: 10px 0;
    border-radius: 10px;
    margin-top: 20px;
}
.green-search-input {
    width: 100%;
    padding: 12px 15px;
    padding-left: 40px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background: white url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>) no-repeat 12px center;
    outline: none;
}
.cd-tag {
    background: #ffffff;
    color: #023870;
    border: none;
}
.category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #0281306b;
    border-radius: 4px;
    font-size: 14px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 3px;
}

.widget-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.widget-content {
    padding: 24px;
    border-radius: 10px;
}

.career-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.career-description {
    font-size: 14px;
    color: #333333;
    line-height: 1.5;
    margin-bottom: 16px;
}

.widget-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.widget-link:hover {
    opacity: 0.7;
}

.arrow {
    font-size: 18px;
}

/* Yellow Widget */
.yellow-widget .widget-content {
    background-color: #ffd900;
}

/* Blue Widget */
.blue-widget .widget-content {
    background: linear-gradient(135deg, #004FA1 0%, #023870 100%);
    color: #ffffff;
}

/* Green Widget */
.green-widget .widget-content {
    background: linear-gradient(135deg, #36A23E 0%, #12951C 100%);
    color: #ffffff;
}

.blue-widget .career-title,
.blue-widget .career-description {
    color: #ffffff;
}

.event-details {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.event-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-date,
.event-location {
    font-size: 13px;
    color: #ffffff;
    opacity: 0.95;
}

.white-link {
    color: #ffffff;
}

/* Green Pages Widget */
.green-pages-widget {
    padding: 0;
}

.green-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.green-description {
    font-size: 14px;
    color: #e7e7e7;
    margin-bottom: 20px;
}

.search-box {
    margin-bottom: 20px;
}

.green-search {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.green-search:focus {
    outline: none;
    border-color: #F2C71D;
}

.green-categories {
    margin-top: 16px;
}

.category-label {
    font-size: 13px;
    font-weight: 600;
    color: #e7e7e7;
    display: block;
    margin-bottom: 12px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: inline-block;
    padding: 8px 14px;
    background: linear-gradient(135deg, #36A23E 0%, #12951C 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.category-tag:hover {
    background-color: #12951C;
}

.green-link {
    color: #F2C71D;
}

/* Quiz Widget */
.quiz-widget {
    padding: 0;
    background: linear-gradient(135deg, #F2C71D 0%, #C8A800 100%);
    border-radius: 10px;
}

.quiz-widget .widget-image {
    height: 220px;
}

.quiz-widget .widget-content {
    background: linear-gradient(135deg, #014994 0%, #F2C71D 100%);
    color: #ffffff;
}

.quiz-badge {
    display: inline-block;
    background-color: #ec4899;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 5px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quiz-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.quiz-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 16px;
    opacity: 0.95;
}

/* Three Column Cards */
.three-column-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 4rem;
    padding: 0 40px;
    margin-bottom: 40px;
    background-color: white;
}

.card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.5s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    background: linear-gradient(120deg, #9bd6e559, transparent);
    padding: 10px;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-label {
    padding: 2px 12px;
}

.card-label h2 {
    color: black;
    font-size: 17px;
    font-weight: bold;
    transition: color 0.5s ease;
}

.card-subtitle {
    font-size: 11px;
    color: #666;
    transition: color 0.5s ease;
}

/* Hover effects for card 1 */
#card1:hover {
    background: linear-gradient(117deg, #0852a7, #003877);
}

/* #card1:hover .card-label h2,
#card1:hover .card-subtitle,
#card1:hover .card-date,
#card1:hover .card-title,
#card1:hover .card-text,
#card1:hover .card-author,
#card1:hover .card-link {
    color: white !important;
} */

/* Hover effects for card 2 */
#card2:hover {
    background: linear-gradient(119deg, #F2C71D, #C8A800);
}

#card2:hover .card-label h2,
#card2:hover .card-subtitle,
#card2:hover .card-date,
#card2:hover .card-title,
#card2:hover .card-text,
#card2:hover .card-author,
#card2:hover .card-link {
    color: white !important;
}

/* Hover effects for card 3 */
#card3:hover {
    background: linear-gradient(117deg, #0852a7, #003877);
}

#card3:hover .card-label h2,
#card3:hover .card-subtitle,
#card3:hover .card-date,
#card3:hover .card-title,
#card3:hover .card-text,
#card3:hover .card-author,
#card3:hover .card-link {
    color: white !important;
}

.card img {
    width: 96%;
    height: 180px;
    object-fit: cover;
    margin: auto;
    display: block;
    border-radius: 6px;
}

.card-content {
    padding: 15px;
}

.card-date {
    font-size: 11px;
    color: #999;
    display: block;
    margin-bottom: 8px;
    transition: color 0.5s ease;
}

.card-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.5s ease;
}

.card-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 10px;
    transition: color 0.5s ease;
}

.card-author {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    transition: color 0.5s ease;
}

.card-link {
    color: #2563a8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.5s ease;
}

.card-link:hover {
    text-decoration: underline;
}

/* Section Titles */
.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(90deg, #014994 0%, #F2C71D 100%);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    width: 95%;
    margin: auto;
}

.newsletter-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletterr-title {
    font-size: 24px;
    margin: 0;
    font-weight: bold;
    font-family: Droid Serif;
}

.newsletterr-text {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
    font-family: Droid Serif;
}

.newsletter-right {
    display: flex;
    justify-content: flex-end;
}

.newsletterr-form {
    display: flex;
    gap: 10px;
    width: 100%;
    background: white;
    padding: 4px;
    border-radius: 5px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.email-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.subscribe-btn {
    padding: 12px 24px;
    background: #F2C71D;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #8B6914;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ============================================ */

/* Large Desktop (1200px+) - Already defined above */

/* Medium Desktop (992px - 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .content-wrapper {
        grid-template-columns: 220px 1fr 280px;
        gap: 20px;
    }

    .three-column-cards {
        padding: 0 20px;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) {
    .container {
        /* max-width: 720px; */
        padding: 0 15px;
    }

    /* Hero Section */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .type-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Carousel */
    .carousel {
        height: 420px;
    }

    .carousel-card {
        width: 280px;
    }

    .carousel-card.left {
        left: 10%;
    }

    .carousel-card.right {
        right: 10%;
    }

    /* Filters */
    .filter-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .search-btn-primary {
        margin-top: 0;
        width: 100%;
    }

    /* Main Content - Mobile Order */
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    /* Order 1: Carousel (Girl Image - The Leap) */
    .carousel-wrapper {
        order: -3;
    }

    /* Order 2: Career Catalysts (already in hero section) */
    
    /* Order 3: Filters Section (4 boxes for opportunity types) */
    
    /* Order 4: Sidebar (Climate Training) */
    .sidebar {
        position: static;
        order: 1;
    }

    /* Order 5: Trainings Listing (Jobs Display) */
    .trainings-listing {
        order: 2;
        padding: 20px;
    }

    /* Order 6: Story Sidebar (Quiz, Events widgets) */
    .story-sidebar {
        order: 3;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Three Column Cards - will come after via document flow */
    .three-column-cards {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        padding: 0 15px;
    }

    /* Newsletter - will come last via document flow */
    .newsletter-section {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        padding: 25px;
    }

    .newsletter-right {
        justify-content: stretch;
    }
}

/* Tablet Portrait (577px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }

    /* Mobile Layout Order Control */
    .trainings-main {
        display: flex;
        flex-direction: column;
    }

    .hero-section { order: 1; }
    .filters-section { order: 2; }
    .main-content { order: 3; }
    .three-column-cards { order: 4; }
    .newsletter-section { order: 5; }

    /* Within Main Content */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .sidebar { order: 1; }
    .trainings-listing { order: 2; }
    .story-sidebar { 
        order: 3;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Hero Section */
    .hero-section {
        padding: 30px 0;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .hero-left > p {
        font-size: 14px;
    }

    .type-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .type-card {
        padding: 15px 10px;
    }

    .type-card i {
        font-size: 28px;
    }

    .type-card h4 {
        font-size: 14px;
    }

    .type-card p {
        font-size: 11px;
    }

    /* Carousel */
    .carousel {
        height: 380px;
    }

    .carousel-card {
        width: 220px;
        height: 380px;
        padding: 20px;
    }

    .carousel-card.left {
        left: -5%;
    }

    .carousel-card.right {
        right: -5%;
    }

    .carousel-card img {
        height: 130px;
    }

    .card-content h4 {
        font-size: 18px;
    }

    .title {
        font-size: 12px;
    }

    .description {
        font-size: 13px;
    }

    /* Filters */
    .filters-section {
        padding: 20px 0;
    }

    .filter-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tags-row {
        gap: 8px;
    }

    .tag {
        font-size: 13px;
        padding: 6px 12px;
    }

    /* Training Cards */
    .training-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .card-main h3 {
        font-size: 18px;
    }

    .card-action {
        margin-left: 0;
        margin-top: 15px;
        align-self: flex-end;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .widget-content {
        padding: 20px;
    }

    .career-title {
        font-size: 18px;
    }

    .green-title {
        font-size: 20px;
    }

    .quiz-title {
        font-size: 20px;
    }

    /* Newsletter */
    .newsletterr-title {
        font-size: 20px;
    }

    .newsletterr-text {
        font-size: 13px;
    }

    .newsletterr-form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe-btn {
        width: 100%;
    }
}

/* Mobile (481px - 576px) */
@media (max-width: 576px) {
    /* Mobile Layout Order Control */
    .trainings-main {
        display: flex;
        flex-direction: column;
    }

    /* Order: Hero Section (includes carousel) */
    .hero-section {
        order: 1;
    }

    /* Order: Filters Section (4 opportunity type boxes) */
    .filters-section {
        order: 2;
    }

    /* Order: Main Content */
    .main-content {
        order: 3;
    }

    /* Order: Three Column Cards */
    .three-column-cards {
        order: 4;
    }

    /* Order: Newsletter */
    .newsletter-section {
        order: 5;
    }

    /* Within Main Content - Order Control */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    /* Order 1: Climate Training (Sidebar) */
    .sidebar {
        order: 1;
    }

    /* Order 2: Jobs Listings (Trainings Listing) */
    .trainings-listing {
        order: 2;
        padding: 15px;
    }

    /* Order 3: Story Sidebar (Widgets) */
    .story-sidebar {
        order: 3;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Hero Section */
    .hero-left h1 {
        font-size: 24px;
    }

    .hero-left > p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .opportunity-types h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .type-cards {
        gap: 10px;
    }

    /* Carousel */
    .carousel {
        height: 350px;
    }

    .carousel-card {
        width: 200px;
        height: 350px;
        padding: 16px;
    }

    .carousel-card img {
        height: 120px;
    }

    .card-content h4 {
        font-size: 16px;
    }

    .badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    /* Filters */
    .filter-group label {
        font-size: 13px;
    }

    .section-header > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .training-card {
        padding: 12px;
    }

    .card-main h3 {
        font-size: 16px;
    }

    .organization {
        font-size: 13px;
    }

    .card-meta {
        gap: 8px;
    }

    .tag-badge {
        font-size: 11px;
        padding: 3px 10px;
    }

    .load-more-btn {
        padding: 10px 30px;
        font-size: 14px;
    }

    /* Widgets */
    .widget-img {
        height: 200px;
    }

    .widget-content {
        padding: 16px;
    }

    .career-title {
        font-size: 16px;
    }

    .career-description {
        font-size: 13px;
    }

    .green-title {
        font-size: 18px;
    }

    .quiz-title {
        font-size: 18px;
    }

    .event-details {
        padding: 12px;
    }

    .event-name {
        font-size: 14px;
    }

    .event-date,
    .event-location {
        font-size: 12px;
    }

    .category-tags {
        gap: 6px;
    }

    .category-tag {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* Cards */
    .three-column-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 2rem;
        padding: 15px;
    }

    .card img {
        height: 160px;
    }

    .card-content {
        padding: 12px;
    }

    .card-label h2 {
        font-size: 15px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-text {
        font-size: 12px;
    }

    .section-title {
        font-size: 22px;
        text-align: center;
    }

    .section-subtitle {
        font-size: 13px;
        text-align: center;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 20px;
        width: 100%;
        margin-bottom: 40px;
    }

    .newsletterr-title {
        font-size: 18px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Mobile Layout Order Control */
    .trainings-main {
        display: flex;
        flex-direction: column;
    }

    .hero-section { order: 1; }
    .filters-section { order: 2; }
    .main-content { order: 3; }
    .three-column-cards { order: 4; }
    .newsletter-section { order: 5; }

    /* Within Main Content */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .sidebar { 
        order: 1;
        padding: 15px;
    }
    
    .trainings-listing { 
        order: 2;
        padding: 12px;
    }
    
    .story-sidebar { 
        order: 3;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Hero */
    .hero-section {
        padding: 20px 0;
    }

    .hero-left h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .hero-left > p {
        font-size: 12px;
    }

    .type-card {
        padding: 12px 8px;
    }

    .type-card i {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .type-card h4 {
        font-size: 13px;
    }

    .type-card p {
        font-size: 10px;
    }

    /* Carousel */
    .carousel {
        height: 320px;
    }

    .carousel-card {
        width: 180px;
        height: 320px;
        padding: 14px;
    }

    .carousel-card img {
        height: 100px;
    }

    .card-content h4 {
        font-size: 15px;
    }

    .title,
    .description {
        font-size: 11px;
    }

    /* Filters */
    .filters-section {
        padding: 15px 0;
    }

    .filter-group select,
    .filter-group input {
        padding: 8px;
        font-size: 13px;
    }

    .search-btn-primary {
        padding: 8px 20px;
        font-size: 13px;
    }

    .tags-row > span:first-child {
        width: 100%;
        margin-bottom: 5px;
    }

    .filter-header h3 {
        font-size: 16px;
    }

    .filter-section h4 {
        font-size: 13px;
    }

    .filter-options label {
        font-size: 12px;
    }

    /* Training Listing */
    .section-header h2 {
        font-size: 18px;
    }

    .training-card {
        padding: 10px;
    }

    .card-main h3 {
        font-size: 15px;
    }

    .arrow-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    /* Newsletter */
    .newsletterr-title {
        font-size: 16px;
    }

    .newsletterr-text {
        font-size: 12px;
    }

    .email-input {
        font-size: 13px;
        padding: 10px 12px;
    }

    .subscribe-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Extra Small Mobile (max 360px) */
@media (max-width: 360px) {
    /* Mobile Layout Order Control */
    .trainings-main {
        display: flex;
        flex-direction: column;
    }

    .hero-section { order: 1; }
    .filters-section { order: 2; }
    .main-content { order: 3; }
    .three-column-cards { order: 4; }
    .newsletter-section { order: 5; }

    /* Within Main Content */
    .content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .sidebar { order: 1; }
    .trainings-listing { order: 2; }
    .story-sidebar { 
        order: 3;
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-left h1 {
        font-size: 20px;
    }

    .type-cards {
        grid-template-columns: 1fr;
    }

    .carousel {
        height: 300px;
    }

    .carousel-card {
        width: 160px;
        height: 300px;
    }

    .carousel-card.left,
    .carousel-card.right {
        display: none;
    }

    .section-header h2 {
        font-size: 16px;
    }

    .training-card {
        padding: 8px;
    }
}
/* Fix the filter row to align all items at the bottom */
.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    height: 42px;
    box-sizing: border-box;
}

/* Remove the margin-top and let grid handle alignment */
.search-btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 0;
    transition: background-color 0.3s;
    font-weight: 600;
    height: 42px;
    align-self: flex-end;
}
h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2rem !important;
}

p {
    font-size: 16px !important;
}
h3{
    font-size: 23px;
}

/* ── Load More ── */
.load-more-wrap {
    text-align: center;
    margin: 24px 0 8px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #ffffff;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, color 0.25s;
}

.load-more-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
}

/* ============================================
   Embedded Filters In Hero Left (page-jobs.php)
   ============================================ */
.hero-left .hero-embedded-filters {
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #ecd98e;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.hero-left .hero-embedded-filters .filter-row {
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 14px;
    margin-bottom: 14px;
    align-items: end;
}

.hero-left .hero-embedded-filters .filter-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-left .hero-embedded-filters .filter-group select,
.hero-left .hero-embedded-filters .filter-group input {
    height: 42px;
    border-radius: 8px;
    background: #fff;
}

.hero-left .hero-embedded-filters .search-btn-primary {
    height: 42px;
    margin-top: 0;
    border-radius: 8px;
    padding: 0 24px;
    white-space: nowrap;
}

.hero-left .hero-embedded-filters .tags-row {
    border-top: 1px solid #efe4b5;
    padding-top: 12px;
    gap: 8px;
}

.hero-left .hero-embedded-filters .tag {
    background: #fff7d6;
    border: 1px solid #f0de9a;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
}

.hero-left .hero-embedded-filters .tag:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}

@media (max-width: 1199px) {
    .hero-left .hero-embedded-filters .filter-row {
        grid-template-columns: 1fr 1fr;
    }

    .hero-left .hero-embedded-filters .filter-group:last-child {
        grid-column: span 2;
    }

    .hero-left .hero-embedded-filters .search-btn-primary {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-left .hero-embedded-filters {
        margin-top: 20px;
        padding: 14px;
    }

    .hero-left .hero-embedded-filters .filter-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-left .hero-embedded-filters .filter-group:last-child {
        grid-column: auto;
    }

    .hero-left .hero-embedded-filters .search-btn-primary {
        width: 100%;
    }
}