/**
 * BuikBorrel Custom CSS
 * Gedeelde stijlen voor alle pagina's
 */

/* ======================================
   CSS Variables (Design Tokens)
   ====================================== */
:root {
    --bg-color: #1C1230;
    --primary: #FF897C;
    --secondary: #AAD9CC;
    --tertiary: #F7DF8B;
    --text-primary: #FFFFFF;
    --text-secondary: #D1CDE1;
    --card-bg: #2A1F42;
    --accent: #C38DFF;
    --input-bg: #FDEFD6;
    --input-text: #3E2F5B;
    --input-placeholder: #8B7F9F;
    --vote-yes: #AAD9CC;
    --vote-maybe: #F7DF8B;
    --vote-no: #FF897C;
}

/* ======================================
   Base Styles
   ====================================== */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

/* ======================================
   Typography
   ====================================== */
.subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

.help-text,
.password-hint {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ======================================
   Auth Container (Login, Register, etc.)
   ====================================== */
.auth-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 24px;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
}

.logo-section {
    text-align: center;
    margin-bottom: 8px;
}

.logo-section img {
    height: 36px;
}

.illustration {
    text-align: center;
    margin-bottom: 32px;
}

.illustration img {
    max-width: 280px;
    width: 100%;
    height: auto;
}

/* ======================================
   Form Controls
   ====================================== */
.form-group {
    margin-bottom: 16px;
}

.form-control {
    background-color: var(--input-bg);
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 16px;
    color: var(--input-text);
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

.form-control:focus {
    background-color: var(--input-bg);
    box-shadow: 0 0 0 3px rgba(255, 137, 124, 0.3);
    outline: none;
}

.password-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--input-placeholder);
    cursor: pointer;
    padding: 0;
}

/* ======================================
   Buttons
   ====================================== */
.btn-primary {
    background-color: var(--primary);
    border: none;
    border-radius: 24px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: #ff7a6a;
    color: var(--text-primary);
}

/* ======================================
   Alerts
   ====================================== */
.alert {
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.alert-danger {
    background-color: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

.alert-success {
    background-color: rgba(170, 217, 204, 0.2);
    border: 1px solid var(--secondary);
    color: var(--secondary);
}

/* ======================================
   Links
   ====================================== */
.register-link,
.login-link,
.back-link,
.forgot-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
}

.register-link a,
.login-link a,
.back-link a,
.forgot-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.forgot-link {
    text-align: right;
    margin-bottom: 24px;
    margin-top: 0;
}

.forgot-link a {
    font-size: 14px;
    font-weight: normal;
}

/* ======================================
   Icon Circle (Success/Error States)
   ====================================== */
.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(170, 217, 204, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.icon-circle i {
    font-size: 32px;
    color: var(--secondary);
}

.icon-circle.error {
    background: rgba(255, 107, 107, 0.2);
}

.icon-circle.error i {
    color: #ff6b6b;
}

/* ======================================
   Slide-out Menu
   ====================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.slide-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--card-bg);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 24px;
}

.slide-menu.active {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-header h2 {
    font-size: 18px;
    margin: 0;
}

.menu-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item:hover {
    color: var(--primary);
}

.menu-item i {
    width: 24px;
    color: var(--text-secondary);
}

.menu-item.danger {
    color: var(--primary);
}

.menu-item.danger i {
    color: var(--primary);
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* ======================================
   Header
   ====================================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 12px;
}

.header h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.back-btn,
.menu-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    padding: 8px;
    text-decoration: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================
   Dashboard Container
   ====================================== */
.dashboard-container {
    padding: 20px;
    max-width: 480px;
    margin: 0 auto;
}

/* ======================================
   Babyshower Cards
   ====================================== */
.babyshower-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    position: relative;
}

.babyshower-card .baby-emoji {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
}

.babyshower-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    padding-right: 40px;
}

.babyshower-card .mother-name {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 12px;
}

.babyshower-card .due-label {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 2px;
}

.babyshower-card .due-date {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
}

.babyshower-card .days-left {
    color: var(--primary);
    font-size: 13px;
    margin-top: 2px;
}

.babyshower-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.babyshower-card .code {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.babyshower-card .created-date {
    color: var(--text-secondary);
    font-size: 12px;
}

/* ======================================
   Empty State
   ====================================== */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 48px;
    color: var(--tertiary);
    margin-bottom: 16px;
}

/* ======================================
   Bottom Actions (Fixed)
   ====================================== */
.bottom-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    padding: 16px 20px 32px;
    max-width: 480px;
    margin: 0 auto;
}

/* ======================================
   Bottom Navigation
   ====================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    display: flex;
    justify-content: space-around;
    padding: 16px 0 24px;
    max-width: 480px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item {
    color: var(--text-secondary);
    font-size: 22px;
    padding: 8px 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
}

/* ======================================
   Modals
   ====================================== */
.modal-content {
    background: var(--card-bg);
    border: none;
    border-radius: 16px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 24px;
}

.modal-title {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.btn-close {
    filter: invert(1);
}

/* ======================================
   Info Sections
   ====================================== */
.info-section {
    background: var(--card-bg);
    padding: 20px;
    margin-bottom: 12px;
}

.info-label {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title i {
    color: var(--text-secondary);
}

/* ======================================
   Code Display
   ====================================== */
.code-display {
    background: var(--card-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    font-family: monospace;
}

/* ======================================
   Share Button
   ====================================== */
.share-btn {
    background: var(--primary);
    color: var(--text-primary);
    border: none;
    padding: 12px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.share-btn:hover {
    background: #ff7a6a;
}

.share-hint {
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
}

/* ======================================
   Location Section
   ====================================== */
.location-section {
    background: var(--card-bg);
    padding: 20px;
    margin-bottom: 12px;
}

.location-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.hint-text {
    color: var(--accent);
    font-size: 13px;
}

/* ======================================
   Status Badge
   ====================================== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tertiary);
    color: #1C1230;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* ======================================
   Invite Container
   ====================================== */
.invite-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 24px 40px;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

.invite-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.invite-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.4;
}

.invite-title .mother-name {
    color: var(--primary);
}

.info-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
}

.info-text {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ======================================
   Loading State
   ====================================== */
.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--text-secondary);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

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

.btn-action {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    margin-bottom: 12px;
    border: none;
    cursor: pointer;
}

.btn-action:last-child {
    margin-bottom: 0;
}

.btn-primary-action {
    background-color: var(--primary);
    color: var(--text-primary);
}

.btn-primary-action:hover {
    background-color: #ff7a6a;
    color: var(--text-primary);
}

.btn-secondary-action {
    background-color: var(--secondary);
    color: #1C1230;
}

.btn-secondary-action:hover {
    background-color: #9acebe;
    color: #1C1230;
}

/* ======================================
   PWA Install Section
   ====================================== */
.pwa-install-section {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.pwa-cta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.pwa-install-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b5b 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius-button);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 137, 124, 0.4);
}

.pwa-install-btn:active {
    transform: translateY(0);
}

.pwa-install-btn i {
    font-size: 18px;
}

/* ======================================
   Screenshot Showcase
   ====================================== */
.screenshots-showcase {
    margin-top: 60px;
    margin-bottom: 40px;
}

.screenshot-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(28, 18, 48, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 8px solid var(--card-bg);
}

.screenshot-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(28, 18, 48, 0.5);
}

.screenshot-card img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .screenshots-showcase {
        margin-top: 40px;
        /* Allow scroll to go edge-to-edge but respect container padding visually */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .screenshots-showcase .row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 24px;
        padding-top: 10px;
        /* Force start alignment so first image is first */
        justify-content: flex-start !important;
        /* Smooth scrolling */
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        /* Hide scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .screenshots-showcase .row::-webkit-scrollbar {
        display: none;
    }

    .screenshots-showcase .col-md-4 {
        flex: 0 0 auto;
        width: 70%;
        max-width: 260px;
        /* Cap width so they aren't huge */
    }

    .screenshot-card {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        scroll-snap-align: center;
        /* Reset margins used for desktop staggering */
        margin-top: 0 !important;
        border-width: 4px;
    }
}

/* Make slide-menu a flex container for the install section */
.slide-menu {
    display: flex;
    flex-direction: column;
}

.slide-menu nav {
    flex-shrink: 0;
}

/* ======================================
   Social Login (Auth0/Google)
   ====================================== */
.social-login {
    margin-bottom: 20px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 14px 24px;
    background-color: #ffffff;
    color: #3c4043;
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-google:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #3c4043;
    text-decoration: none;
}

.btn-google:active {
    background-color: #e8e8e8;
}

.btn-google .google-icon {
    flex-shrink: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.auth-divider span {
    padding: 0 16px;
    color: var(--text-secondary);
    font-size: 14px;
    white-space: nowrap;
}

/* ======================================
   Landing Page Navigation
   ====================================== */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 20px;
    background: rgba(28, 18, 48, 0.95);
    backdrop-filter: blur(10px);
}

.landing-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.landing-nav .logo img {
    height: 32px;
    /* Fixed height */
    width: auto;
    /* Auto width to maintain aspect ratio */
    max-width: 100%;
    /* Prevent overflow if somehow container is small */
}

.landing-nav .nav-buttons {
    display: flex;
    gap: 12px;
}

.btn-nav {
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-nav-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

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

.btn-nav-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-nav-primary:hover {
    background: #ff7a6a;
    border-color: #ff7a6a;
    color: white;
}

/* ======================================
   Landing Page Footer
   ====================================== */
.landing-footer {
    padding: 80px 0 40px;
    background: #150d24;
    /* Slightly darker than main bg */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo img {
    height: 32px;
    /* Fixed height */
    width: auto;
    /* Auto width */
    max-width: 200px;
    /* Max width just in case */
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links-col a {
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--primary) !important;
}

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

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand,
    .social-links {
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 16px;
    }
}


/* ======================================
   Mobile Menu Toggle
   ====================================== */
.menu-toggle {
    background: none;
    border: none;
    color: white;
    /* Landing page uses white text on dark bg */
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    /* Ensure above overlay? Nav container is z-100 */
}

/* Ensure slide menu items are visible */
.slide-menu a.menu-item {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slide-menu a.menu-item:hover {
    color: var(--primary);
}

/* ======================================
   Blog CTA Box
   ====================================== */
.blog-cta-box {
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed var(--primary);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at center, rgba(195, 141, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.blog-cta-box h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.blog-cta-box .micro-copy {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
    position: relative;
}

/* ======================================
   Related Blogs
   ====================================== */
.related-blog-card {
    display: block;
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.related-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.related-blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.related-blog-content {
    padding: 1.5rem;
}

.related-blog-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.related-blog-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-blog-card:hover .related-blog-title {
    color: var(--primary);
}

/* Mobile optimizations for related blogs */
@media (max-width: 767px) {
    .related-blog-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        height: auto;
    }

    .related-blog-image {
        width: 100px;
        min-width: 100px;
        height: 100px;
        border-radius: 0;
    }

    .related-blog-content {
        padding: 10px 15px;
        flex: 1;
        text-align: left;
    }

    .related-blog-title {
        font-size: 1rem;
        -webkit-line-clamp: 3;
        /* Allow more lines on mobile if needed */
    }
}