/* ========================================
   GREENLIST CSS - Green Pages Directory
   ======================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:  'Droid Serif' ;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   HEADER SECTION
   ======================================== */
.greenlist-header {
    background:linear-gradient(
90deg, #41AD49 0%, #014994 100%);
    padding: 40px 20px;
    color: white;
}

.greenlist-header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.greenlist-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.greenlist-subtitle {
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: center;
    opacity: 0.95;
}

.greenlist-tagline {
    font-size: 0.95rem;
    margin-bottom: 30px;
    text-align: center;
    opacity: 0.9;
}

/* Search Form */
.greenlist-search-form {
    margin-top: 30px;
}

.greenlist-search-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 120px;
    gap: 10px;
    align-items: end;
}

.greenlist-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.greenlist-label {
    font-size: 0.8rem;
    margin-bottom: 6px;
    opacity: 0.95;
    white-space: nowrap;
}

.greenlist-label .required-star {
    color: #e53e3e;
    margin-left: 2px;
}

.greenlist-select,
.greenlist-input {
    padding: 9px 10px;
    border: none;
    border-radius: 4px;
    background: white;
    font-size: 0.85rem;
    color: #333;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.greenlist-input {
    background-image: none;
    padding-right: 10px;
}

.greenlist-search-btn {
    padding: 9px 15px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.greenlist-search-btn:hover {
    background: #e67e22;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .greenlist-search-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .greenlist-search-btn {
        grid-column: span 2;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .greenlist-search-row {
        grid-template-columns: 1fr;
    }
    
    .greenlist-search-btn {
        grid-column: span 1;
        width: 100%;
    }
}

/* ========================================
   MAIN CONTAINER
   ======================================== */
.greenlist-main-container {
    
    margin: 30px auto;
    padding: 0 20px;
}

.greenlist-content-wrapper {
display: grid;
    grid-template-columns: 1fr 320px;
    gap: 25px;
    align-items: start;
    margin-top: 30px;
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */
.greenlist-solutions-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
}

.greenlist-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.greenlist-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
}

.greenlist-taxonomy-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #41AD49;
    padding: 18px 0 6px;
    border-top: 1px solid #e8e8e8;
    margin-top: 8px;
}

.greenlist-taxonomy-label:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.greenlist-view-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.greenlist-sort-dropdown {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
}

.greenlist-view-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.greenlist-view-btn:hover {
    background: #f8f9fa;
}

.greenlist-view-btn-active {
    background: #2980b9;
    color: white;
    border-color: #2980b9;
}

/* Solution Cards */
.greenlist-solution-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s;
}

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

.greenlist-solution-image {
    flex-shrink: 0;
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
}

.greenlist-solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.greenlist-solution-content {
    flex: 1;
}

.greenlist-solution-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.greenlist-solution-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 12px;
}

.greenlist-solution-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.greenlist-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.greenlist-filter-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    background: #ecf0f1;
    color: #555;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.greenlist-filter-pill:hover {
    background: #d5f4e6;
    color: #27ae60;
}

.greenlist-filter-pill-active {
    background: #27ae60;
    color: white;
    border-color: #27ae60;
}

.greenlist-filter-pill-active:hover {
    background: #219a52;
    color: white;
}

.greenlist-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.greenlist-tag-green {
    background: #d5f4e6;
    color: #27ae60;
}

.greenlist-tag-gray {
    background: #ecf0f1;
    color: #7f8c8d;
}

.greenlist-view-link {
    color: #e67e22;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.greenlist-view-link:hover {
    color: #d35400;
}

.greenlist-view-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.greenlist-load-more-btn {
    display: block;
    padding: 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin: auto;
    
}

.greenlist-load-more-btn:hover {
    background: #229954;
}

/* ========================================
   SIDEBAR - FEATURED SECTION
   ======================================== */
.greenlist-sidebar {
    background: white;
    /* padding: 25px; */
    border-radius: 8px;
}

.greenlist-sidebar article {
    margin-bottom: 20px;
}

.greenlist-sidebar article:last-child {
    margin-bottom: 0;
}

.greenlist-featured-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.greenlist-featured-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50;
    
    
}

.greenlist-featured-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Featured Cards */
.greenlist-featured-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.greenlist-featured-large {
    height: 400px;
}

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

.greenlist-featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
    color: white;
}

.greenlist-featured-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 220px;
}

.greenlist-featured-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #2980b9;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.greenlist-featured-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.greenlist-featured-desc {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.greenlist-view-details {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.greenlist-view-details:hover {
    opacity: 0.8;
}

.greenlist-view-details i {
    margin-left: 5px;
}

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

/* Small Featured Card */
.greenlist-featured-small {
    display: flex;
    
}

.greenlist-featured-yellow {
    background: #F2C71D;
}

.greenlist-featured-small .greenlist-featured-content {
    position: relative;
    background: transparent;
    flex: 1;
    padding: 20px;
    color: #2c3e50;
}

.greenlist-featured-img-small {
    width: 150px;
    min-height: auto;
    padding: 10px 20px;
}

.greenlist-featured-small .greenlist-view-details {
    color: #2c3e50;
}

/* Quiz Card */
.greenlist-featured-quiz {
    background: #81c784;
    min-height: 200px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.greenlist-featured-quiz .greenlist-featured-img {
    position: absolute;
    opacity: 0.3;
}

.greenlist-featured-quiz .greenlist-featured-content {
    position: relative;
    background: transparent;
    color: white;
}

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

.widget-content {
    padding: 24px;
}

/* Quiz Widget */
.quiz-widget {
    padding: 0;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

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

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

.quiz-badge {
    display: inline-block;
    background-color: #ec4899;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    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;
}

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

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

/* Event Card */
.greenlist-featured-event {
    background: #2980b9;
    min-height: 250px;
}

.greenlist-featured-event .greenlist-featured-img {
    opacity: 0.3;
}

.greenlist-featured-subtitle-small {
    font-size: 0.85rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.greenlist-featured-meta {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.greenlist-featured-meta i {
    margin-right: 5px;
    margin-left: 10px;
}

.greenlist-featured-meta i:first-child {
    margin-left: 0;
}

/* =================================================================================== */
/* 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, #029528, #159344);
}

#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;
    /* font-style: italic; */
    /* 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;
}

@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;
    }
}

/* ========================================
   PLATFORM SECTION
   ======================================== */
.greenlist-platform-section {
    background: #ecf0f1;
    padding: 50px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.greenlist-platform-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.greenlist-platform-subtitle {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
}

.greenlist-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.greenlist-platform-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: left;
}

.greenlist-platform-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
}

.greenlist-platform-card-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ========================================
   CTA SECTION
   ======================================== */
.greenlist-cta-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.greenlist-cta-card {
    padding: 40px;
    border-radius: 8px;
    color: white;
}

.greenlist-cta-blue {
    background: #27ae60;
}

.greenlist-cta-green {
    background: #2980b9;
}

.greenlist-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.greenlist-cta-text {
    font-size: 1rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.greenlist-cta-btn {
    padding: 15px 30px;
    background: white;
    color: #2980b9;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
    font-family: 'Droid Serif';
}

.greenlist-cta-btn:hover {
    transform: translateY(-2px);
}

.greenlist-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: background 0.3s;
}

.greenlist-email-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.greenlist-newsletter-section {
    background:linear-gradient(90deg, #41AD49 0%, #014994 100%);
    padding: 40px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 40px;
}

.greenlist-newsletter-content {
    flex: 1;
}

.greenlist-newsletter-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.greenlist-newsletter-text {
    font-size: 1rem;
    opacity: 0.95;
}

.greenlist-newsletter-form {
    display: flex;
    gap: 10px;
}

.greenlist-newsletter-input {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    width: 300px;
    font-size: 0.95rem;
}

.greenlist-newsletter-btn {
    padding: 12px 30px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.greenlist-newsletter-btn:hover {
    background: #229954;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 768px to 1024px */
@media (max-width: 1024px) {
    .greenlist-main-title {
        font-size: 2rem;
    }
    
    .greenlist-search-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .greenlist-search-btn {
        grid-column: 1 / -1;
    }
    
    .greenlist-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .greenlist-platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .greenlist-three-column-section {
        grid-template-columns: 1fr;
    }
    
    .greenlist-cta-section {
        grid-template-columns: 1fr;
    }
    
    .greenlist-newsletter-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .greenlist-newsletter-form {
        width: 100%;
        max-width: 500px;
    }
    
    .greenlist-newsletter-input {
        flex: 1;
        width: auto;
    }
}

/* Mobile - Below 768px */
@media (max-width: 768px) {
    .greenlist-header {
        padding: 30px 15px;
    }
    
    .greenlist-main-title {
        font-size: 1.6rem;
    }
    
    .greenlist-subtitle,
    .greenlist-tagline {
        font-size: 0.9rem;
    }
    
    .greenlist-search-row {
        grid-template-columns: 1fr;
    }
    
    .greenlist-main-container {
        padding: 0 15px;
    }
    
    .greenlist-solutions-section {
        padding: 20px 15px;
    }
    
    .greenlist-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .greenlist-section-title {
        font-size: 1.5rem;
    }
    
    .greenlist-solution-card {
        flex-direction: column;
        padding: 15px;
    }
    
    .greenlist-solution-image {
        width: 100%;
        height: 180px;
    }
    
    /* .greenlist-sidebar {
        padding: 20px 15px;
    } */
    
    .greenlist-featured-large {
        height: 250px;
    }
    
    .greenlist-featured-small {
        flex-direction: column;
    }
    
    .greenlist-featured-img-small {
        width: 100%;
        height: 150px;
    }
    
    .greenlist-platform-grid {
        grid-template-columns: 1fr;
    }
    
    .greenlist-platform-section {
        padding: 40px 20px;
    }
    
    .greenlist-platform-title {
        font-size: 1.6rem;
    }
    
    .greenlist-cta-card {
        padding: 30px 20px;
    }
    
    .greenlist-cta-title {
        font-size: 1.4rem;
    }
    
    .greenlist-newsletter-section {
        padding: 30px 20px;
    }
    
    .greenlist-newsletter-title {
        font-size: 1.3rem;
    }
    
    .greenlist-newsletter-form {
        flex-direction: column;
    }
    
    .greenlist-newsletter-input {
        width: 100%;
    }
}

/* Small Mobile - Below 480px */
@media (max-width: 480px) {
    .greenlist-main-title {
        font-size: 1.4rem;
    }
    
    .greenlist-solution-title {
        font-size: 1.1rem;
    }
    
    .greenlist-solution-desc {
        font-size: 0.9rem;
    }
    
    .greenlist-featured-card-title {
        font-size: 1.1rem;
    }
    
    .greenlist-column-title {
        font-size: 1.3rem;
    }
    
    .greenlist-platform-title {
        font-size: 1.4rem;
    }
    
    .greenlist-cta-title {
        font-size: 1.2rem;
    }
}

/* Print Styles */
@media print {
    .greenlist-header,
    .greenlist-search-form,
    .greenlist-view-controls,
    .greenlist-load-more-btn,
    .greenlist-cta-section,
    .greenlist-newsletter-section {
        display: none;
    }
    
    .greenlist-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .greenlist-solution-card {
        page-break-inside: avoid;
    }
}
h1 {
    font-size: 3rem !important;
}

h2 {
    font-size: 2rem;
}

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