/* Thoughts Page Styles */
.thoughts-page {
    min-height: 100vh;
    padding: 8rem 3rem 4rem;
    position: relative;
    z-index: 1;
}

.thoughts-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--grey);
    max-width: 700px;
    margin: 0 auto;
}

/* Thoughts Grid */
.thoughts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

/* Thought Card */
.thought-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out backwards;
}

.thought-card:nth-child(1) { animation-delay: 0.1s; }
.thought-card:nth-child(2) { animation-delay: 0.2s; }
.thought-card:nth-child(3) { animation-delay: 0.3s; }
.thought-card:nth-child(4) { animation-delay: 0.4s; }
.thought-card:nth-child(5) { animation-delay: 0.5s; }
.thought-card:nth-child(6) { animation-delay: 0.6s; }

.thought-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.thought-link {
    display: block;
    padding: 2rem;
    text-decoration: none;
    color: var(--black);
    height: 100%;
}

/* Thought Header */
.thought-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.thought-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.platform {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg,
        rgba(85, 79, 224, 0.08) 0%,
        rgba(244, 91, 193, 0.08) 100%);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.date {
    font-size: 0.875rem;
    color: var(--grey-light);
    margin-top: 0.25rem;
}

.external-icon {
    color: var(--grey-light);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thought-card:hover .external-icon {
    color: var(--purple);
    transform: translate(2px, -2px);
}

/* Platform-specific colors */
.thought-card[data-platform="linkedin"] .platform {
    background: linear-gradient(135deg,
        rgba(85, 79, 224, 0.08) 0%,
        rgba(123, 117, 243, 0.08) 100%);
    color: var(--purple);
}

.thought-card[data-platform="twitter"] .platform {
    background: linear-gradient(135deg,
        rgba(244, 91, 193, 0.08) 0%,
        rgba(247, 133, 209, 0.08) 100%);
    color: var(--pink);
}

.thought-card[data-platform="blog"] .platform {
    background: linear-gradient(135deg,
        rgba(249, 171, 128, 0.08) 0%,
        rgba(251, 196, 160, 0.08) 100%);
    color: #E8753A;
}

/* Thought Content */
.thought-link h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.thought-card:hover .thought-link h3 {
    color: var(--purple);
}

.thought-link p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--grey);
    margin-bottom: 1.5rem;
}

/* Thought Footer */
.thought-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.read-more {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--purple);
    transition: all 0.3s ease;
}

.thought-card:hover .read-more {
    transform: translateX(4px);
}

/* Platform hover effects */
.thought-card[data-platform="linkedin"]:hover .thought-link h3 {
    color: var(--purple);
}

.thought-card[data-platform="twitter"]:hover .thought-link h3 {
    color: var(--pink);
}

.thought-card[data-platform="blog"]:hover .thought-link h3 {
    color: #E8753A;
}

.thought-card[data-platform="linkedin"]:hover .read-more {
    color: var(--purple);
}

.thought-card[data-platform="twitter"]:hover .read-more {
    color: var(--pink);
}

.thought-card[data-platform="blog"]:hover .read-more {
    color: #E8753A;
}

/* Responsive */
@media (max-width: 768px) {
    .thoughts-page {
        padding: 6rem 2rem 3rem;
    }

    .page-header {
        margin-bottom: 3rem;
    }

    .page-description {
        font-size: 1.125rem;
    }

    .thoughts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .thought-link {
        padding: 1.5rem;
    }

    .thought-link h3 {
        font-size: 1.25rem;
    }

    .thought-link p {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .thought-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .external-icon {
        align-self: flex-end;
    }
}
