﻿/* ============================================
   Design System - Rural Energy Research Group
   ============================================ */

/* Google Fonts Import - Professional Serif Fonts */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,500;0,8..60,600;0,8..60,700;1,8..60,400&display=swap');

:root {
    /* ========== Color Palette ========== */
    
    /* Primary - Deep Forest Green */
    --color-primary-900: #0c1a14;    /* Deepest - footer bg */
    --color-primary-800: #152b22;    /* Footer sections */
    --color-primary-700: #1e3d30;    /* Navbar */
    --color-primary-600: #2a5442;    /* Headings, dark accents */
    --color-primary-500: #3a6d56;    /* Secondary headings */
    
    /* Accent - Sage Green */
    --color-accent-600: #4a8068;     /* Active/pressed states */
    --color-accent-500: #5a9a7c;     /* Primary accent - links, dates */
    --color-accent-400: #74b393;     /* Hover states */
    --color-accent-300: #9acbb0;     /* Light accent */
    --color-accent-100: #e3f2eb;     /* Accent backgrounds */
    
    /* Warm Accent - Earthy Gold (complementary) */
    --color-warm-500: #b8956c;       /* Warm highlights */
    --color-warm-400: #cba882;       /* Warm hover */
    
    /* Neutrals - Warm tinted */
    --color-neutral-900: #1a1f1c;    /* Primary text */
    --color-neutral-700: #363d39;    /* Secondary text */
    --color-neutral-600: #4a524d;    /* Body text */
    --color-neutral-500: #636b66;    /* Muted text */
    --color-neutral-400: #8a918c;    /* Placeholder text */
    --color-neutral-300: #c2c7c4;    /* Subtle borders */
    --color-neutral-200: #dfe2e0;    /* Borders */
    --color-neutral-100: #f2f4f3;    /* Light backgrounds */
    --color-neutral-50: #f8faf9;     /* Card backgrounds */
    
    /* Semantic */
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* ========== Typography ========== */
    
    /* Font Families */
    --font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    
    /* Font Sizes - Fluid Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;
    --leading-loose: 2;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    
    /* Letter Spacing */
    --tracking-tight: -0.015em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    
    /* ========== Spacing ========== */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* ========== Effects ========== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px rgba(12, 26, 20, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(12, 26, 20, 0.08), 0 2px 4px -1px rgba(12, 26, 20, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(12, 26, 20, 0.1), 0 4px 6px -2px rgba(12, 26, 20, 0.05);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* ========== Layout ========== */
    --max-width: 1200px;
    --navbar-height: 54px;
}

/* ============================================
   Reset and Base Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    line-height: var(--leading-relaxed);
    color: var(--color-neutral-600);
    background-color: var(--color-neutral-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-semibold);
    line-height: var(--leading-snug);
    color: var(--color-primary-600);
    letter-spacing: var(--tracking-tight);
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    background-color: var(--color-primary-700);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-neutral-100);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container.nav-centered {
    justify-content: center;
    position: relative;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    left: var(--space-2);
}

.nav-brand-logo {
    width: auto;
    height: 56px;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 1.75rem;
    margin-left: 0;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-normal);
    color: #FFC300;
    letter-spacing: var(--tracking-normal);
    padding: var(--space-2) 0;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFC300;
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: #FFC300;
}

.nav-link.nav-link-active,
.nav-link.active {
    color: #FFC300;
}

.nav-link:hover::after,
.nav-link.nav-link-active::after,
.nav-link.active::after {
    width: 100%;
}

/* Navbar Dropdown */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) 0;
    color: #FFC300;
}

.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #FFC300;
    transition: width var(--transition-base);
}

.nav-item-dropdown:hover .nav-dropdown-toggle::after {
    width: 100%;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary-800);
    min-width: 160px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: var(--space-2) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1001;
    margin-top: var(--space-2);
    border: 1px solid var(--color-primary-600);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--color-primary-600);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: var(--space-2) var(--space-5);
    color: #FFC300;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--color-primary-700);
    color: #FFC300;
    padding-left: var(--space-6);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    height: auto;
    min-height: 200px;
    margin-top: var(--navbar-height);
    background-image: url('https://images.unsplash.com/photo-1761839257961-4dce65b72d99?q=80&w=1920&h=500&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 61, 48, 0.9);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    width: 100%;
    padding: var(--space-6) var(--space-2);
    text-align: left;
}

.hero-content p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-light);
    line-height: var(--leading-relaxed);
    color: var(--color-white);
    opacity: 0.95;
    letter-spacing: 0.01em;
}

.hero-content p + p {
    margin-top: var(--space-4);
}

/* ============================================
   Alternative Hero (index2.html)
   ============================================ */

.hero-alt {
    min-height: 280px;
    justify-content: center;
    align-items: center;
}

.hero-title-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-8);
}

.hero-title-content h1 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    letter-spacing: var(--tracking-tight);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    background-color: var(--color-white);
    padding: var(--space-10) var(--space-2);
    border-bottom: 1px solid var(--color-neutral-200);
}

.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.about-content p {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
    color: var(--color-neutral-600);
}

.about-content p + p {
    margin-top: var(--space-4);
}

/* What We Do Section (index2.html) */
.what-we-do-section {
    margin-top: var(--navbar-height);
    background-image: url('https://images.unsplash.com/photo-1761839257961-4dce65b72d99?q=80&w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: var(--space-10) 0;
}

.what-we-do-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 61, 48, 0.97);
}

.what-we-do-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-2);
    position: relative;
    z-index: 1;
}

.what-we-do-content h1 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-accent-100);
    display: inline-block;
}

.what-we-do-text {
    max-width: 100%;
}

.what-we-do-text p {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    line-height: var(--leading-loose);
    color: var(--color-neutral-200);
}

.what-we-do-text p + p {
    margin-top: var(--space-4);
}

/* ============================================
   Main Content Section
   ============================================ */

.main-content {
    padding: var(--space-10) 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding: 0 var(--space-2);
}

/* ============================================
   Card Styles (Shared)
   ============================================ */

.projects-section,
.updates-section,
.uma-section {
    background-color: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.projects-section:hover,
.updates-section:hover,
.uma-section:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.projects-section h2,
.updates-section h2,
.uma-section h2 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary-600);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--color-accent-100);
}

/* ============================================
   Projects Section
   ============================================ */

.projects-list {
    list-style: disc;
    padding-left: var(--space-6);
}

.projects-list li {
    margin-bottom: var(--space-3);
    color: var(--color-neutral-700);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.projects-list li::marker {
    color: var(--color-accent-500);
}

.projects-sublist {
    list-style: circle;
    padding-left: var(--space-6);
    margin-top: var(--space-2);
    margin-bottom: var(--space-1);
}

.projects-sublist li {
    margin-bottom: var(--space-2);
    font-size: var(--text-base);
    color: var(--color-neutral-600);
}

.projects-sublist li::marker {
    color: var(--color-accent-400);
}

.project-link {
    color: var(--color-neutral-700);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    display: block;
    padding: var(--space-2) var(--space-2);
    margin-left: calc(var(--space-2) * -1);
    border-radius: var(--radius-sm);
}

.project-link:hover {
    color: var(--color-accent-600);
    background-color: var(--color-neutral-50);
}

.projects-sublist .project-link {
    color: var(--color-neutral-600);
}

.projects-sublist .project-link:hover {
    color: var(--color-accent-500);
}

/* ============================================
   Right Column
   ============================================ */

.right-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

/* ============================================
   Updates Section
   ============================================ */

.updates-section {
    flex: 1;
}

.policy-list {
    list-style: disc;
    padding-left: var(--space-6);
}

.policy-list li {
    margin-bottom: var(--space-3);
    color: var(--color-neutral-700);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.policy-list li::marker {
    color: var(--color-accent-500);
}

/* ============================================
   UMA Section
   ============================================ */

.uma-section {
    flex: 1;
}

.uma-list {
    list-style: disc;
    padding-left: var(--space-6);
}

.uma-list li {
    margin-bottom: var(--space-3);
    color: var(--color-neutral-700);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.uma-list li::marker {
    color: var(--color-accent-500);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--color-primary-900);
    color: var(--color-neutral-300);
    padding: var(--space-12) 0 var(--space-4);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-2);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.footer-section h3 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
    color: var(--color-white);
    letter-spacing: var(--tracking-wide);
}

.footer-section p {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-2);
    color: var(--color-neutral-400);
}

.footer-section ul li {
    margin-bottom: var(--space-2);
}

.footer-section ul li a {
    font-size: var(--text-sm);
    color: var(--color-neutral-400);
    transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--color-accent-400);
}

.footer-section p a {
    color: var(--color-neutral-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section p a:hover {
    color: var(--color-accent-400);
    text-decoration: underline;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: var(--space-4) auto 0;
    padding: var(--space-4) var(--space-2) 0;
    border-top: 1px solid var(--color-primary-700);
    text-align: center;
}

.footer-bottom p {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
}

/* ============================================
   Project Pages
   ============================================ */

.project-page {
    margin-top: var(--navbar-height);
    padding: var(--space-12) var(--space-8);
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - var(--navbar-height) - 300px);
}

.project-header {
    margin-bottom: var(--space-10);
}

.back-link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-accent-500);
    display: inline-block;
    margin-bottom: var(--space-4);
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--color-accent-600);
}

.project-header h1 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-primary-600);
    margin-bottom: var(--space-3);
}

.project-subtitle {
    font-size: var(--text-lg);
    color: var(--color-neutral-500);
    font-style: italic;
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-10);
}

.project-description h2,
.project-details h2 {
    font-size: var(--text-xl);
    color: var(--color-primary-600);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--color-accent-100);
}

.project-description p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-neutral-600);
    margin-bottom: var(--space-4);
}

.project-related-list {
    list-style: disc;
    padding-left: var(--space-6);
}

.project-related-list li {
    margin-bottom: var(--space-3);
}

.project-related-list a {
    color: var(--color-neutral-700);
    font-size: var(--text-base);
    transition: color var(--transition-fast);
}

.project-related-list a:hover {
    color: var(--color-accent-500);
}

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

@media (max-width: 768px) {
    :root {
        --navbar-height: 44px;
    }
    
    .navbar {
        padding: var(--space-2) 0;
    }
    
    .nav-container.nav-centered {
        justify-content: space-between;
        position: static;
    }

    .nav-brand {
        position: static;
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary-800);
        flex-direction: column;
        padding: var(--space-4) var(--space-4);
        gap: var(--space-4);
        display: none;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: var(--space-3) 0;
        text-align: center;
    }
    
    .nav-link::after {
        display: none;
    }

    /* Mobile Dropdown */
    .nav-item-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        transform: none;
        left: auto;
    }

    .dropdown-menu {
        position: static;
        left: auto;
        right: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        margin-top: var(--space-2);
        margin-left: 0;
        margin-right: 0;
        display: none;
        padding: var(--space-2) 0;
        border: none;
        align-self: stretch;
    }
    
    .dropdown-menu::before {
        display: none;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
        transform: none;
        left: auto;
    }

    .dropdown-link {
        padding: var(--space-2) var(--space-4);
        color: #FFC300;
        text-align: center;
    }

    .dropdown-link:hover {
        padding-left: var(--space-4);
    }

    .hero {
        min-height: 280px;
        padding: var(--space-10) 0;
    }

    .hero-content {
        padding: var(--space-6);
    }

    .hero-content p {
        font-size: var(--text-base);
        line-height: var(--leading-relaxed);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .project-content {
        grid-template-columns: 1fr;
    }
    
    .project-page {
        padding: var(--space-8) var(--space-6);
    }
    
    .hero-title-content h1 {
        font-size: var(--text-3xl);
    }
    
    .about-section {
        padding: var(--space-8) var(--space-6);
    }
    
    .about-content p {
        font-size: var(--text-base);
        line-height: var(--leading-relaxed);
    }
    
    .what-we-do-section {
        padding: var(--space-10) var(--space-6);
    }
    
    .what-we-do-content h1 {
        font-size: var(--text-2xl);
    }
    
    .what-we-do-text p {
        font-size: var(--text-base);
        line-height: var(--leading-relaxed);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 240px;
        padding: var(--space-8) 0;
    }

    .hero-content {
        padding: var(--space-4);
    }

    .hero-content p {
        font-size: var(--text-sm);
        line-height: var(--leading-normal);
    }

    .hero-content p + p {
        margin-top: var(--space-4);
    }

    .main-content {
        padding: var(--space-8) var(--space-4);
    }

    .projects-section,
    .updates-section,
    .uma-section {
        padding: var(--space-6);
    }
    
    .projects-section h2,
    .updates-section h2,
    .uma-section h2 {
        font-size: var(--text-lg);
    }
}

/* ============================================
   Projects Page Styles
   ============================================ */

/* Page Header Section */
.page-header-section {
    margin-top: var(--navbar-height);
    background: linear-gradient(135deg, #dbe9e3 0%, #c5d9d0 100%);
    padding: var(--space-12) 0 var(--space-10);
    border-bottom: 1px solid var(--color-neutral-200);
}

.page-header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.page-header-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: var(--font-bold);
    color: var(--color-primary-600);
    margin-bottom: var(--space-4);
    letter-spacing: var(--tracking-tight);
}

.page-header-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--color-neutral-600);
    max-width: 700px;
}

/* Active nav link */
.nav-link-active {
    color: var(--color-white) !important;
}

/* Fix: offset scroll target to prevent fixed navbar from covering #home */
#home {
    scroll-margin-top: var(--navbar-height);
}

@media (max-width: 768px) {
    #home {
        scroll-margin-top: 44px; /* matches reduced mobile navbar height */
    }
}

/* Home Header Background Overlay */
.home-header-bg {
    background-color: var(--color-primary-800);
    background-image: linear-gradient(rgba(21, 43, 34, 0.58), rgba(21, 43, 34, 0.58)), url('../images/pic11.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: calc(var(--space-16) + var(--space-8)) 0 calc(var(--space-16) + var(--space-1));
    border-bottom: 2px solid var(--color-accent-400);
}

/* Home Page Intro Card */
.home-intro-card {
    background-color: var(--color-neutral-50);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-sm);
    padding: var(--space-6) var(--space-8);
    margin-bottom: var(--space-8);
    color: var(--color-neutral-800);
    line-height: var(--leading-loose);
    font-size: 1.05rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* ultra minimal */
}

/* Home Page Refinements (scoped to index only) */
.home-page .home-content-grid {
    margin-top: var(--space-8);
}

.home-page .projects-section,
.home-page .updates-section,
.home-page .uma-section {
    padding: var(--space-5);
}

.home-page .right-column {
    gap: var(--space-6);
}

.home-page .right-column > div {
    flex: 1;
}

.home-page .recent-section .project-link {
    display: block;
}

.home-page .projects-section h2,
.home-page .updates-section h2,
.home-page .uma-section h2 {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
}

.home-page .section-heading-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

.home-page .heading-link-icon {
    display: inline-block;
    font-size: 0.62em;
    font-weight: var(--font-normal);
    color: var(--color-neutral-500);
    opacity: 0.42;
    transform: translateY(-0.5px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.home-page .section-heading-link:hover .heading-link-text {
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-thickness: 1px;
}

.home-page .section-heading-link:hover .heading-link-icon {
    opacity: 0.85;
    transform: translate(2px, -0.5px);
}

.home-page .projects-list li,
.home-page .policy-list li,
.home-page .uma-list li {
    margin-bottom: var(--space-2);
    line-height: var(--leading-normal);
}

.home-page .projects-sublist {
    margin-top: var(--space-1);
    margin-bottom: 0;
}

.home-page .projects-sublist li {
    margin-bottom: var(--space-1);
    line-height: var(--leading-normal);
}

/* Restore subtle home link behavior: underline only */
.home-page .project-link {
    display: inline;
    padding: 0;
    margin-left: 0;
    border-radius: 0;
    border-bottom: none;
}

.home-page .project-link:hover {
    color: inherit;
    background-color: transparent;
    text-decoration: underline;
    text-underline-offset: 0.12em;
    text-decoration-thickness: 1px;
}

/* Team Page */
.team-section-main {
    padding: var(--space-10) 0 var(--space-12);
}

.team-header-bg {
    background-color: var(--color-primary-800);
    background-image: linear-gradient(rgba(21, 43, 34, 0.62), rgba(21, 43, 34, 0.62)), url('../images/pic4.jpg');
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--color-accent-400);
    padding: 4rem 0;
}

.team-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.team-card {
    background: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6) var(--space-5);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-4);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-accent-500);
    transition: width var(--transition-slow);
}

.team-card:hover::before {
    width: 100%;
}

.team-card-avatar {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--color-accent-100) 0%, var(--color-neutral-50) 100%);
    border: 2px solid var(--color-neutral-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-400);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.team-card:hover .team-card-avatar {
    border-color: var(--color-accent-400);
    color: var(--color-accent-500);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(90, 154, 124, 0.12);
}

.team-card-avatar svg {
    width: 40px;
    height: 40px;
}

.team-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.team-name {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-primary-900);
    margin: 0;
    line-height: var(--leading-tight);
}

.team-role {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background-color: var(--color-accent-100);
    color: var(--color-primary-700);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin: 0;
    border: 1px solid var(--color-accent-300);
}

.team-email {
    font-size: var(--text-sm);
    margin: var(--space-2) 0 0 0;
}

.team-email a {
    color: var(--color-accent-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.team-email a:hover {
    color: var(--color-accent-700);
    text-decoration: underline;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-300);
}

.team-cta {
    margin-top: var(--space-10);
    text-align: center;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* Projects Main Section */
.projects-section-main {
    padding: var(--space-12) 0 var(--space-16);
    background-color: var(--color-neutral-100);
}

.projects-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Projects Grid */
.projects-grid-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 576px) {
    .projects-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .projects-grid-layout {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Project Card */
.project-card-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.project-card-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent-300);
}

/* Project Card Image */
.project-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-accent-100) 0%, var(--color-neutral-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
    font-family: var(--font-body);
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Card Body */
.project-card-body {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Project Card Tag */
.project-card-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: var(--font-semibold);
    color: var(--color-primary-700);
    background-color: var(--color-accent-100);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
    border: 1px solid var(--color-accent-300);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    align-self: flex-start;
}

/* Project Card Heading */
.project-card-heading {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary-600);
    margin-bottom: var(--space-3);
    line-height: var(--leading-tight);
}

/* Project Card Text */
.project-card-text {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-neutral-600);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-4);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Project Card Link Button */
.project-card-link-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-accent-600);
    transition: color var(--transition-fast);
    margin-top: auto;
}

.project-card-link-btn:hover {
    color: var(--color-primary-600);
}

.project-card-link-btn .arrow-icon {
    transition: transform var(--transition-fast);
}

.project-card-link-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Project Card Without Image */
.project-card-item-no-image {
    display: flex;
    flex-direction: column;
}

.project-card-item-no-image .project-card-body {
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-item-no-image .project-card-header-group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.project-card-item-no-image .project-card-heading {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.project-card-item-no-image .project-card-text {
    flex: 1;
    margin-bottom: var(--space-5);
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

/* View Switcher */
.view-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--color-neutral-200);
}

.view-switcher-label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--color-neutral-500);
    font-weight: var(--font-medium);
}

.view-switcher-btn {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-neutral-600);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-neutral-300);
    background-color: var(--color-white);
    transition: all var(--transition-fast);
}

.view-switcher-btn:hover {
    color: var(--color-primary-600);
    border-color: var(--color-accent-400);
    background-color: var(--color-neutral-50);
}

.view-switcher-btn-active {
    color: var(--color-white);
    background-color: var(--color-primary-600);
    border-color: var(--color-primary-600);
}

.view-switcher-btn-active:hover {
    background-color: var(--color-primary-700);
    border-color: var(--color-primary-700);
}

/* ============================================
   Projects List View
   ============================================ */

/* List Layout Container */
.projects-list-layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* List Item Card */
.project-list-item-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    transition: all var(--transition-base);
}

.project-list-item-card:hover {
    border-color: var(--color-accent-300);
    box-shadow: var(--shadow-sm);
}

/* List Item Header */
.project-list-item-header {
    margin-bottom: var(--space-3);
}

/* List Item Title */
.project-list-item-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--color-primary-600);
    margin-bottom: var(--space-4);
    line-height: var(--leading-tight);
}

/* List Item Description */
.project-list-item-description {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-neutral-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-5);
}

/* Two Column Layout on Larger Screens */
@media (min-width: 768px) {
    .projects-list-layout {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

/* ============================================
   Projects Page Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .page-header-section {
        padding: var(--space-10) 0 var(--space-8);
    }
    
    .page-header-title {
        font-size: var(--text-3xl);
    }
    
    .page-header-subtitle {
        font-size: var(--text-base);
    }
    
    .projects-section-main {
        padding: var(--space-10) 0 var(--space-12);
    }
    
    .projects-grid-layout {
        gap: var(--space-6);
    }
    
    .project-card-body {
        padding: var(--space-5);
    }
    
    .project-card-item-no-image .project-card-body {
        padding: var(--space-6);
    }
    
    .view-switcher {
        margin-top: var(--space-10);
        padding-top: var(--space-6);
    }
}

@media (max-width: 480px) {
    .page-header-section {
        padding: var(--space-8) 0 var(--space-6);
    }
    
    .page-header-title {
        font-size: var(--text-2xl);
    }
    
    .page-header-subtitle {
        font-size: var(--text-sm);
    }
    
    .projects-section-main {
        padding: var(--space-8) 0 var(--space-10);
    }
    
    .project-card-heading {
        font-size: var(--text-lg);
    }
    
    .project-card-item-no-image .project-card-heading {
        font-size: var(--text-xl);
    }
}

/* ============================================
   Project Detail Page Styles
   (Using reference design colors from styles-2.css)
   ============================================ */

/* Project Detail Specific Color Variables */
.project-detail {
    /* Reference design colors */
    --pd-primary: #2F5D50;
    --pd-primary-dark: #1e3d34;
    --pd-primary-light: #c5d9d0;
    --pd-primary-lighter: #dbe9e3;
    --pd-primary-pale: #eef4f1;
    --pd-text-dark: #1f2d28;
    --pd-text-body: #3a4a44;
    --pd-text-muted: #5f6e68;
    --pd-border: #d8ddd9;
    --pd-primary-hover: #244940;
}

/* Project Detail Container */
.project-detail {
    padding: var(--space-12) 0 var(--space-16);
    margin-top: var(--navbar-height);
}

.project-detail-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Project Detail Hero */
.project-detail__hero {
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, var(--pd-primary) 0%, var(--pd-primary-hover) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    color: var(--color-white);
    overflow: hidden;
}

.project-detail__hero span {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.7);
}

.project-detail__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Detail Tag */
.project-detail__tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--pd-primary);
    background-color: var(--pd-primary-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-3);
}

/* Project Detail Title */
.project-detail__title {
    font-size: clamp(1.75rem, 3.5vw, 2rem);
    margin-bottom: var(--space-5);
    color: var(--pd-text-dark);
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
}

/* Project Detail Meta */
.project-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--pd-border);
}

.project-detail__meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--pd-text-muted);
}

.project-detail__meta-item strong {
    color: var(--pd-text-dark);
    font-weight: var(--font-semibold);
}

/* Project Detail Content Grid */
.project-detail__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .project-detail__content {
        grid-template-columns: 2fr 1.25fr;
    }
}

/* Project Detail Body */
.project-detail__body h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    color: var(--pd-primary);
    font-family: var(--font-heading);
    font-weight: var(--font-bold);
}

.project-detail__body h2:first-child {
    margin-top: 0;
}

.project-detail__body p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-loose);
    color: var(--pd-text-body);
}

/* Content List */
.content-list {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-8);
}

.content-list li {
    margin-bottom: var(--space-2);
    color: var(--pd-text-muted);
    line-height: var(--leading-relaxed);
}

.content-list li::marker {
    color: var(--pd-primary);
}

.content-list2 {
    list-style: disc;
    padding-left: var(--space-6);
    margin-bottom: var(--space-8);
}

.content-list2 li {
    margin-bottom: var(--space-2);
    color: var(--pd-text-muted);
    line-height: var(--leading-relaxed);
}

.content-list2 li::marker {
    color: var(--pd-primary);
}

/* Project Detail Sidebar */
.project-detail__sidebar-card {
    background-color: var(--pd-primary-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.project-detail__sidebar-card:last-child {
    margin-bottom: 0;
}

.project-detail__sidebar-title {
    font-size: var(--text-base);
    color: var(--pd-primary);
    margin-bottom: var(--space-4);
    font-weight: var(--font-semibold);
    font-family: var(--font-heading);
}

.project-detail__sidebar-list {
    list-style: none;
}

.project-detail__sidebar-list li {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--pd-text-muted);
    border-bottom: 1px solid var(--pd-border);
}

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

.project-detail__sidebar-list a {
    color: var(--pd-text-muted);
    transition: color var(--transition-fast);
}

.project-detail__sidebar-list a:hover {
    color: var(--pd-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.75rem 1.5rem;
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn--primary {
    background-color: #2F5D50;
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: #244940;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background-color: transparent;
    color: #2F5D50;
    border: 1px solid #2F5D50;
}

.btn--secondary:hover {
    background-color: #2F5D50;
    color: var(--color-white);
}

/* Project Detail Responsive */
@media (max-width: 768px) {
    .project-detail {
        padding: var(--space-10) 0 var(--space-12);
    }
    
    .project-detail__hero {
        aspect-ratio: 16/9;
        margin-bottom: var(--space-8);
    }
    
    .project-detail__title {
        font-size: var(--text-3xl);
    }
    
    .project-detail__meta {
        gap: var(--space-4);
        margin-bottom: var(--space-8);
        padding-bottom: var(--space-6);
    }
    
    .project-detail__content {
        gap: var(--space-8);
    }
    
    .project-detail__body h2 {
        font-size: var(--text-xl);
        margin-top: var(--space-8);
    }
}

@media (max-width: 480px) {
    .project-detail {
        padding: var(--space-8) 0 var(--space-10);
    }
    
    .project-detail-container {
        padding: 0 var(--space-3);
    }
    
    .project-detail__hero {
        aspect-ratio: 4/3;
        margin-bottom: var(--space-6);
    }
    
    .project-detail__title {
        font-size: var(--text-2xl);
    }
    
    .project-detail__meta {
        gap: var(--space-3);
    }
    
    .project-detail__meta-item {
        font-size: var(--text-xs);
    }
    
    .project-detail__sidebar-card {
        padding: var(--space-5);
    }
}

/* ============================================
   Project Detail Media & Figure Styles
   ============================================ */

/* Single figure with image */
.project-media-figure {
    margin: var(--space-6) 0;
    text-align: center;
}

.project-media-figure img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Half-width figure variant (used on energy-water-crops, energy-estimation-tool) */
.project-media-figure--half {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.project-media-figure--half img {
    max-width: 100%;
    width: 100%;
}

/* Figure caption */
.project-figure-caption {
    font-size: var(--text-sm);
    color: var(--pd-text-muted, var(--color-neutral-500));
    margin-top: var(--space-2);
    line-height: var(--leading-normal);
    font-style: italic;
}

/* Media grid (side-by-side images) */
.project-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin: var(--space-6) 0;
    align-items: start;
}

.project-media-grid__item {
    text-align: center;
}

.project-media-grid__item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.project-media-grid__item--vertical img {
    max-width: 280px;
    margin: 0 auto;
    display: block;
}

.project-media-grid__item--landscape img {
    max-width: 100%;
}

/* Video embed */
.project-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin: var(--space-6) 0 var(--space-2);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments for project media */
@media (max-width: 768px) {
    .project-media-grid {
        grid-template-columns: 1fr;
    }

    .project-media-grid__item--vertical img {
        max-width: 220px;
    }
}

/* ============================================
   Projects Listing Page – PoCRA Group Layout
   (Scoped to projects listing page only)
   ============================================ */

/* PoCRA group spans full grid width */
.projects-pocra-group {
    grid-column: 1 / -1;
    background: var(--color-white);
    border: 1px solid var(--color-neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

/* PoCRA parent card – no border/shadow since group provides it */
.projects-pocra-group > .clickable-card-wrapper > .project-card-item {
    border: none;
    box-shadow: none;
    background: transparent;
}

.projects-pocra-group > .clickable-card-wrapper > .project-card-item .project-card-heading {
    font-size: var(--text-2xl) !important;
    color: var(--color-primary-600);
}

/* Sub-projects grid */
.projects-pocra-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--color-neutral-200);
}

.projects-pocra-subgrid .project-card-item {
    border: 1px solid var(--color-neutral-200);
    background: var(--color-neutral-50);
}

.projects-pocra-subgrid .project-card-heading {
    font-size: var(--text-base) !important;
}

.projects-pocra-subgrid .project-card-text {
    font-size: var(--text-xs);
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

@media (max-width: 768px) {
    .projects-pocra-subgrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .projects-pocra-group {
        padding: var(--space-4);
    }
}
