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

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #FFFFFF;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 24px;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1392px;
    height: 40px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 32px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.logo-link:hover .logo-svg {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
    padding: 8px 0;
}





/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 64px 0;
    max-width: 1440px;
    margin: 0 auto;
}

/* Minimal directory main - increased top padding for no hero */
.main.minimal-directory {
    padding: 64px 64px 0;
}

@media (max-width: 768px) {
    .main.minimal-directory {
        padding: 32px 16px 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 840px;
    border-radius: 24px;
    margin-bottom: 64px;
    overflow: hidden;
    min-height: 400px;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./hero-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 56px;
    gap: 24px;
    /* background: rgba(255, 255, 255, 0.85); */
    /* backdrop-filter: blur(10px); */
    height: 100%;
}

.hero-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 16px;
}

.hero-introduction {
    font-size: 18px;
    line-height: 155%;
    color: #333333;
}

.hero-introduction .content-paragraph {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 155%;
    color: #333333;
}

.hero-introduction .content-paragraph:last-child {
    margin-bottom: 0;
}

.hero-description {
    font-size: 18px;
    line-height: 155%;
    color: #000000;
}

/* Content Sections */
.content-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 840px;
    margin-bottom: 72px;
}

.section-header {
    padding: 0 56px;
    margin-bottom: 32px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(0, 191, 48, 0.1);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #008020;
    margin-bottom: 12px;
}

.section-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 130%;
    color: #000000;
}

.section-content {
    padding: 0 56px;
}

.section-text {
    font-size: 18px;
    line-height: 155%;
    color: #000000;
}

.content-paragraph {
    font-size: 18px;
    line-height: 155%;
    color: #000000;
    margin-bottom: 16px;
}

.content-heading {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    margin-top: 24px;
}

.content-list {
    margin: 16px 0;
    padding-left: 24px;
}

.content-list-item {
    font-size: 18px;
    line-height: 155%;
    color: #000000;
    margin-bottom: 8px;
}

/* Step Cards */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
}

.step-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 12px;
    background: #FFFFFF;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    position: relative;
}

/*.step-card::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: rgba(0, 191, 48, 0.3);
}*/

.step-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #000000;
}

.step-description {
    font-size: 16px;
    line-height: 145%;
    color: rgba(0, 0, 0, 0.7);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 24px;
}

.benefit-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 32px;
    background: #FFFFFF;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    min-height: 320px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 191, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: #00BF30;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefit-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #000000;
}

.benefit-description {
    font-size: 16px;
    line-height: 145%;
    color: rgba(0, 0, 0, 0.7);
}

/* Implementation List - Text aligned with section title */
.implementation-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.implementation-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 0;
}

.implementation-number {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #00BF30;
    font-weight: 400;
    flex-shrink: 0;
    margin: 0;
    position: absolute; /* Position numbers absolutely */
    left: 0; /* Align with benefit card edge */
}

.implementation-text {
    font-size: 18px;
    line-height: 155%;
    color: #000000;
    font-weight: 400;
    margin: 0;
    padding-left: 32px; /* Push text to align with "Implementation" title */
}

.implementation-text strong {
    font-weight: 600;
    color: #000000;
}

/* Keep section-level padding for overall alignment */
.content-section .implementation-list {
    padding: 0 24px;
}

/* Style for the title part within implementation text */
.implementation-title {
    font-weight: 600;
    color: #000000;
}

/* Alternative approach if you can modify the HTML structure */
.implementation-content {
    font-size: 18px;
    line-height: 155%;
    color: #000000;
}

.implementation-content .step-title {
    font-weight: 600;
    color: #000000;
    display: inline;
}

.implementation-content .step-description {
    font-weight: 400;
    color: #000000;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 56px;
}

.tag {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.7);
}

/* Breadcrumbs - Fixed for Two-Line Layout */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 4px 8px; /* Small vertical gap between lines, horizontal gap between items */
    padding: 0 56px;
    margin-bottom: 32px;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumbs a.breadcrumb-link,
.breadcrumbs span.breadcrumb-current {
    color: rgba(0, 0, 0, 0.6) !important; /* Black with 60% opacity for default state */
    text-decoration: none !important;
    white-space: nowrap; /* Keep individual items from breaking */
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: color 0.2s ease;
    border-bottom: none !important; /* Remove any blue underlines */
    background-color: transparent !important; /* Remove any blue backgrounds */
}

.breadcrumbs a.breadcrumb-link:hover {
    color: rgba(0, 0, 0, 1.0) !important; /* Black with 100% opacity on hover */
    background-color: transparent !important;
    border-bottom: none !important;
}

/* Home icon link */
.breadcrumbs a.breadcrumb-link:first-child {
    display: inline-flex;
    align-items: center;
}

/* The circle for the home icon */
.breadcrumbs a.breadcrumb-link:first-child div {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.6) !important;
    border-radius: 50%;
    display: inline-block;
}

/* Style for the current page item */
.breadcrumbs span.breadcrumb-current {
    font-weight: 600 !important;
    color: rgba(0, 0, 0, 0.8) !important; /* Slightly darker for current page */
    text-decoration: none !important;
    border-bottom: none !important;
    background-color: transparent !important;
}

/* Breadcrumb separators - using chevron-forward.svg */
.breadcrumb-separator {
    width: 8px;
    height: 8px;
    opacity: 0.6;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0; /* Prevent separators from shrinking */
}

/* Solution Overview Links - Fixed to prevent text shifting */
.content-paragraph a,
.section-content a,
.hero-introduction a {
    color: inherit; /* Use the same color as surrounding text */
    text-decoration: underline; /* Always underlined */
    text-decoration-thickness: 1px; /* Standard underline thickness */
    font-weight: 500; /* Slightly bolder than normal text by default */
    transition: text-decoration-thickness 0.2s ease; /* Smooth transition for underline */
}

.content-paragraph a:hover,
.section-content a:hover,
.hero-introduction a:hover {
    font-weight: 500; /* Keep the same font-weight to prevent shifting */
    text-decoration: underline;
    text-decoration-thickness: 2px; /* Thicker underline on hover */
}

.content-paragraph a:visited,
.section-content a:visited,
.hero-introduction a:visited {
    color: inherit; /* Same color for visited links */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    font-weight: 500; /* Same weight for visited links */
}

/* Override any existing AI task link styles in content sections */
.content-paragraph .ai-task-link,
.section-content .ai-task-link,
.hero-introduction .ai-task-link {
    color: inherit !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    font-weight: 500 !important; /* Slightly bolder by default */
    border-bottom: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    transition: text-decoration-thickness 0.2s ease !important;
}

.content-paragraph .ai-task-link:hover,
.section-content .ai-task-link:hover,
.hero-introduction .ai-task-link:hover {
    color: inherit !important;
    font-weight: 500 !important; /* Keep same weight to prevent shifting */
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important; /* Thicker underline on hover */
    background-color: transparent !important;
}

.content-paragraph .ai-task-link:visited,
.section-content .ai-task-link:visited,
.hero-introduction .ai-task-link:visited {
    color: inherit !important;
    font-weight: 500 !important;
    text-decoration-thickness: 1px !important;
}

/* Remove the external link indicator from content links */
.content-paragraph .ai-task-link:after,
.section-content .ai-task-link:after,
.hero-introduction .ai-task-link:after {
    display: none;
}

/* Mobile responsive adjustments for breadcrumbs */
@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0 24px;
        gap: 2px 6px; /* Smaller gaps on mobile */
    }
}

/* Vendors Section */
.vendors-section {
    background: #FAFAFA;
    border-radius: 24px;
    padding: 56px;
    width: 100%;
    max-width: 840px;
    margin-bottom: 72px;
}

.vendors-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 40px;
}

.vendors-list {
    display: flex;
    flex-direction: column;
}

.vendor-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.vendor-logo {
    width: 64px;
    height: 64px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 760;
    font-size: 24px;
}

.vendor-info {
    flex: 1;
}

.vendor-name {
    font-weight: 600;
    font-size: 18px;
    color: #000000;
    margin-bottom: 4px;
}

.vendor-description {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.7);
}

/* Related Articles */
.related-section {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 64px;
    background: #FFFFFF;
}

.related-wrapper {
    max-width: 1312px;
    margin: 0 auto;
}

.related-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 48px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.related-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    min-height: 240px;
    background: linear-gradient(135deg, #E8F5E8 0%, #D4F1D4 100%);
    border-radius: 24px;
}

.related-card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 125%;
    color: #000000;
    margin-bottom: auto;
}

.related-card-category {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 16px;
}

.category-placeholder {
    background: #F6F6F6;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-title {
    font-weight: 600;
    font-size: 20px;
    color: #28AE00;
    margin: 16px 0;
}

.category-count {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 16px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    padding: 24px 64px;
    width: 100%;
    background: #FFFFFF;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1312px;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-link {
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main {
        padding: 16px;
    }

    .hero-section {
        padding: 32px 24px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-header,
    .section-content,
    .implementation-list,
    .tags-container {
        padding: 0 24px;
    }

    .vendors-section {
        padding: 32px 24px;
    }

    .nav-menu {
        display: none;
    }

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

    .use-cases-grid,
    .related-tasks-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .use-case-card,
    .related-task-card {
        padding: 24px;
        min-height: auto;
    }

    .patent-source {
        padding: 72px 24px 0px;
    }

    .content-section .implementation-list {
        padding: 0 24px;
    }
    
    .implementation-text {
        padding-left: 32px; /* Maintain text alignment on mobile */
    }
}

/* AI Task Components - Use Cases and Related Tasks */

/* Use Cases Grid - Matching Benefits Grid Style */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    padding: 0 24px;
}

.use-case-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 16px;
    background: #FFFFFF;
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    min-height: 200px;
}

.use-case-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 8px;
}

.use-case-description {
    font-size: 16px;
    line-height: 145%;
    color: rgba(0, 0, 0, 0.7);
}

.use-case-industry {
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    color: #000000;
    margin-bottom: 8px;
}

/* Related Tasks Section */
.related-tasks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 0 24px;
}

.related-task-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    background: linear-gradient(135deg, #E8F5E8 0%, #D4F1D4 100%);
    border-radius: 24px;
    min-height: 160px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
}

.related-task-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 125%;
    color: #000000;
}

.related-task-description {
    font-size: 14px;
    line-height: 145%;
    color: rgba(0, 0, 0, 0.7);
    flex-grow: 1;
}

.related-task-meta {
    margin-top: auto;
}

.related-task-tag {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.3);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* AI Task Links Styling - Updated for new tab behavior */
.ai-task-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.ai-task-link:hover {
    color: #0052a3;
    border-bottom-color: #0066cc;
    background-color: rgba(0, 102, 204, 0.1);
    padding: 1px 2px;
    border-radius: 2px;
}

.ai-task-link:visited {
    color: #5a6c7d;
}

/* Add external link indicator for new tab links */
.ai-task-link:after {
    content: "↗";
    font-size: 0.8em;
    margin-left: 2px;
    opacity: 0.6;
}

/* Ensure links work well in paragraphs */
.content-paragraph .ai-task-link {
    display: inline;
    line-height: inherit;
}

/* Patent citation styles */
.patent-citation {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0.5rem 0 1.5rem 0;
   /*font-style: italic;*/
}

/* Patent source styles - Fixed version */
.patent-source {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 56px 0px;
    gap: 32px;
    
    width: 100%;
    max-width: 840px;
    min-height: 118px;
    
    margin-bottom: 32px;
}

.patent-source p {
    margin: 0;
    font-size: 16px;
    color: #4b5563;
    line-height: 1.5;
}

/* Directory Page Styles */
.directory-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.stat-item {
    padding: 6px 12px;
    background: rgba(0, 191, 48, 0.1);
    border-radius: 999px;
    font-size: 14px;
    color: #008020;
}

.directory-content {
    margin-bottom: 48px;
}

/* Minimal directory content - add breathing room from header */
.directory-content.minimal {
    padding-top: 32px;
}

@media (max-width: 768px) {
    .directory-content.minimal {
        padding-top: 16px;
    }
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 24px;
    margin-bottom: 40px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.usecase-card,
.directory-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px;
    min-height: 200px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f1d4 100%);
    border-radius: 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.usecase-card:hover,
.directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.usecase-card-title,
.directory-card-title {
    margin-bottom: auto;
    font-weight: 600;
    font-size: 18px;
    line-height: 125%;
    color: #000000;
    padding-right: 8px;
}

.usecase-card-title a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 125%;
}

.usecase-card-title a:hover {
    color: #000000;
}

.usecase-card-meta,
.directory-card-category {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.usecase-industry,
.usecase-task,
.directory-card-category {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    background: none;
    padding: 0;
    border-radius: 0;
    text-transform: capitalize;
}

.directory-card-category::before {
    content: "🏷️ ";
    font-size: 12px;
    opacity: 0.7;
}

/* Directory card action (for CTA cards) - with arrow */
.directory-card-action {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 20px;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.6);
    background: none;
    padding: 0;
    border-radius: 0;
    text-transform: capitalize;
}

.directory-card-action::after {
    content: " →";
    margin-left: 4px;
}

.no-results {
    text-align: center;
    padding: 48px 24px;
    color: rgba(0, 0, 0, 0.6);
}

/* Pagination Styles */
.pagination-section {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 32px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-link {
    padding: 8px 16px;
    text-decoration: none;
    color: #0066cc;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-link:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.pagination-current {
    padding: 8px 16px;
    background-color: #0066cc;
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 8px 16px;
    color: rgba(0, 0, 0, 0.5);
    user-select: none;
}

/* SVG Arrow Styles */
.pagination-arrow {
    width: 16px;
    height: 16px;
    color: inherit;
}

.pagination-arrow-left {
    transform: rotate(180deg);
}

.pagination-prev {
    flex-direction: row;
}

.pagination-next {
    flex-direction: row;
}

@media (max-width: 768px) {
    .directory-stats {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
} 

/* New styles for the homepage grid ONLY */

.homepage-capabilities-grid {
    display: grid;
    gap: 16px;
    padding: 0 24px;
    grid-template-columns: 1fr; /* Mobile default: 1 column */
}

/* Tablet: 2 columns */
@media (min-width: 640px) {
    .homepage-capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 3 columns */
@media (min-width: 840px) {
    .homepage-capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Spacing adjustment for card titles ONLY on the homepage */
.homepage-capabilities-grid .directory-card-title {
    margin-bottom: 12px; /* Increases space below the title */
}

