/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #5b8fa3;
    --primary-dark: #4a7c8c;
    --secondary: #1d4e5f;
    --secondary-light: #2c6b80;
    --accent: #e8d9cd;
    --gray-light: #f8f5f2;
    --gray: #e9e2db;
    --text-dark: #2d3e45;
    --text-light: #5b6b70;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px -12px rgba(0,0,0,0.2);
    --border-radius: 16px;
    --border-radius-lg: 28px;
    --transition: all 0.25s ease;
}

.logo-image {
    height: 30px;
    width: auto;
    object-fit: contain;
    transform: scale(1.22);
    transform-origin: left center;
}

.home-logo-image {
    height: 78px;
    max-height: 78px;
    transform: scale(1.12);
    transform-origin: left center;
}

/* Home page uses a larger logo, so reduce navbar vertical padding */
.home-navbar {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

body {
    font-family: "Inter", sans-serif;
    background-color: #fcfaf7;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;      /* remove underline */
    display: flex;
    align-items: center;
    line-height: 0;
    transition: var(--transition);
}

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


.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links i {
    margin-right: 6px;
    font-size: 0.95rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background-color: var(--secondary);
    color: white !important;
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    box-shadow: 0 8px 20px -8px rgba(29, 78, 95, 0.45);
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 14px 24px -10px rgba(29, 78, 95, 0.55);
}

.btn-estore {
    background-color: transparent;
    color: var(--secondary) !important;
    border: 2px solid var(--secondary);
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin-left: 0.5rem;
    text-decoration: none;
}

.btn-estore:hover {
    background-color: var(--secondary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    text-align: center;
    background: transparent;
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    background: url("/static/landing.jpg") center/cover no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(125deg, rgba(13, 42, 54, 0.85) 0%, rgba(0, 30, 40, 0.55) 100%);
    width: 100%;
    height: 100%;
    padding: 4rem 3rem;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-content h1 {
    font-family: "Playfair Display", serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.4rem;
    opacity: 0.95;
    max-width: 580px;
    font-weight: 300;
}

.hero-content .btn-primary {
    background: white;
    color: var(--secondary) !important;
    font-size: 1.15rem;
    padding: 1rem 2.8rem;
    box-shadow: 0 16px 28px -12px rgba(0,0,0,0.35);
}

.hero-content .btn-primary:hover {
    background: #e7f1f5;
    color: #0f3947 !important;
    transform: translateY(-2px);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: white;
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--gray);
}

.about h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.about p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== TRUST SCORE SECTION — compact horizontal metrics bar ===== */
.trust-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    padding: 1.8rem 2rem;
    text-align: center;
}

.trust-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    color: white;
}

.trust-section > .container > p {
    font-size: 0.88rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.trust-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 1rem auto 0;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

.trust-card {
    flex: 1;
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 0.8rem;
    padding: 0.9rem 1.4rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.15);
    border-radius: 0;
    text-align: left;
    transition: var(--transition);
}

.trust-card:last-child { border-right: none; }

.trust-card:hover {
    transform: none;
    background: rgba(255,255,255,0.07);
    box-shadow: none;
}

/* Hide big top icon — not needed in compact layout */
.trust-card > i:first-child { display: none; }

.trust-score {
    grid-column: 1;
    grid-row: 1 / 4;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #ffd966;
    line-height: 1;
    align-self: center;
    text-align: center;
}

.trust-stars {
    grid-column: 2;
    grid-row: 1;
    color: #ffd966;
    font-size: 0.7rem;
    margin: 0;
    letter-spacing: 1px;
    align-self: end;
}

.trust-card h3 {
    grid-column: 2;
    grid-row: 2;
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    margin: 0.15rem 0 0;
    color: white;
    align-self: start;
}

.trust-card p {
    grid-column: 2;
    grid-row: 3;
    opacity: 0.7;
    font-size: 0.72rem;
    margin: 0.1rem 0 0;
}

.trust-source {
    grid-column: 2;
    grid-row: 4;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    opacity: 0.65;
}

/* ===== PRODUCTS / E-STORE SECTION ===== */
.products-section {
    padding: 3rem 2rem;
    background: white;
}

.category-filter {
    display: none; /* full filtering available on the e-store page */
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    border: 2px solid var(--accent);
    background: transparent;
    color: var(--text-dark);
    border-radius: 40px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1300px;
    margin: 1.5rem auto 0;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 150px;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 3rem;
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.product-card:hover .product-image i {
    transform: scale(1.1);
}

.product-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: "Inter", sans-serif;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== POLICIES SECTION ===== */
.policies {
    background: var(--gray-light);
    padding: 2rem 2rem;
}

.policies-grid {
    display: none; /* quick-link pills above are sufficient */
}

.policy-card {
    background: white;
    padding: 2.4rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray);
    cursor: pointer;
    position: relative;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.policy-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.policy-card h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.6rem;
}

.policy-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.click-hint {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 1rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.click-hint i {
    font-size: 0.8rem;
    margin: 0;
}

/* Policy Links */
.policy-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto 3rem;
    flex-wrap: wrap;
    max-width: 1200px;
}

.policy-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    transition: var(--transition);
    background: white;
    border: 1px solid var(--gray);
    font-size: 0.95rem;
}

.policy-link:hover {
    background: var(--accent);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.policy-link i {
    color: var(--primary);
}

/* ===== BRIDGE SECTION ===== */
.bridge-section {
    background: linear-gradient(135deg, #f8f5f2 0%, #fff 100%);
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

.bridge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 1.5rem auto 0;
}

.bridge-card {
    text-align: center;
    padding: 1.4rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.bridge-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.bridge-icon {
    width: 52px;
    height: 52px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--secondary);
    font-size: 1.4rem;
    transition: var(--transition);
}

.bridge-card:hover .bridge-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.08);
}

.bridge-card h3 {
    color: var(--secondary);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    font-family: "Playfair Display", serif;
}

.bridge-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.bridge-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.bridge-card a:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: white;
    padding: 5rem 2rem;
    text-align: center;
}

.contact h2 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.contact-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
    background: var(--gray-light);
    padding: 3rem 2.5rem;
    border-radius: 70px 70px 40px 40px;
    box-shadow: inset 0 2px 8px #f2e7de, var(--shadow-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: var(--text-dark);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 2rem;
}

.contact-note {
    margin-top: 2.5rem;
    color: var(--text-light);
    font-size: 1rem;
}

.contact-note i {
    color: var(--primary);
    margin: 0 4px;
}

/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: #e4f0f2;
    text-align: center;
    padding: 2.5rem;
    font-size: 1rem;
}

footer i {
    color: #f0cfb4;
    margin: 0 4px;
}

footer p {
    opacity: 0.9;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 26px;
        transform: scale(1.16);
    }

    .home-logo-image {
        height: 60px;
        max-height: 60px;
        transform: scale(1.08);
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }

    .nav-links {
        gap: 1rem;
        justify-content: center;
    }

    .nav-links a {
        font-size: 0.95rem;
    }

    .btn-estore {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-overlay {
        padding: 3rem 1.5rem;
    }

    /* Trust bar stacks to column on narrow screens */
    .trust-grid {
        flex-direction: column;
        border-radius: 10px;
    }

    .trust-card {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .trust-card:last-child { border-bottom: none; }

    .policies-grid,
    .products-grid,
    .bridge-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .trust-score {
        font-size: 1.8rem;
    }

    .contact-flex {
        flex-direction: column;
        gap: 2rem;
        border-radius: 50px;
        padding: 2rem 1.5rem;
    }

    .category-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .policy-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .policy-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .policy-card h2 {
        font-size: 1.6rem;
    }

    .trust-card {
        padding: 0.8rem 1.2rem;
    }

    .bridge-card {
        padding: 1.2rem 1rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.hidden {
    display: none;
}

/* ===== INDUSTRY FEED SECTION ===== */
.feed-section {
    background: var(--gray-light);
    padding: 3rem 2rem;
    border-top: 1px solid var(--gray);
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 0.4rem;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Source filter tabs */
.feed-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feed-filter-btn {
    padding: 0.55rem 1.5rem;
    border: 2px solid var(--gray);
    background: white;
    color: var(--text-dark);
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.feed-filter-btn:hover,
.feed-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Feed cards grid */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Skeleton loading placeholders */
.feed-skeleton {
    background: white;
    border-radius: var(--border-radius);
    height: 280px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
}

.feed-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Individual feed card */
.feed-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.feed-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Card image area */
.feed-card-image {
    height: 150px;
    overflow: hidden;
    background: var(--secondary);
    position: relative;
    flex-shrink: 0;
}

.feed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.feed-card:hover .feed-card-image img {
    transform: scale(1.06);
}

/* Gradient placeholder when no image */
.feed-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: rgba(255, 255, 255, 0.7);
}

.feed-card-image-placeholder i {
    font-size: 2.8rem;
    opacity: 0.6;
}

.feed-card-image-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* Source badge overlaid on image */
.feed-source-badge {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-sm);
}

/* Card body */
.feed-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feed-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
}

.feed-card-meta i {
    color: var(--primary);
    font-size: 0.75rem;
}

.feed-card-title {
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-card:hover .feed-card-title {
    color: var(--primary-dark);
}

.feed-card-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.2rem;
}

.feed-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition);
    margin-top: auto;
}

.feed-card:hover .feed-card-cta {
    color: var(--primary-dark);
    gap: 0.7rem;
}

/* Error state */
.feed-error {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

.feed-error i {
    font-size: 2.5rem;
    color: var(--gray);
    margin-bottom: 1rem;
    display: block;
}

/* Attribution footer */
.feed-attribution {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .feed-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feed-filters {
        gap: 0.5rem;
    }

    .feed-filter-btn {
        padding: 0.5rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .navbar,
    .hero,
    .trust-section,
    .products-section,
    .bridge-section,
    .contact,
    footer {
        break-inside: avoid;
    }
}