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

:root {
    --primary-color: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --text-primary: #000000;
    --text-secondary: #1f2937;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-soft: #fafafa;
    --border-color: #e5e7eb;
    --accent-red: #fee2e2;
    --shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2), 0 2px 4px -1px rgba(220, 38, 38, 0.15);
    --shadow-lg: 0 10px 15px -3px rgba(220, 38, 38, 0.25), 0 4px 6px -2px rgba(220, 38, 38, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-soft);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    background: var(--bg-primary);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    max-width: 1200px;
    width: 100%;
    padding: 60px 40px;
    animation: fadeIn 0.6s ease-in;
}

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

.header {
    text-align: center;
    margin-bottom: 50px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-placeholder {
    margin-bottom: 30px;
}

.photo-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-color);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.photo-frame:hover {
    transform: scale(1.05);
}

.photo-frame svg {
    width: 100%;
    height: 100%;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.roles {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.role {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    padding: 8px 16px;
    background: var(--accent-red);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.role:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.role-divider {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.main-content {
    margin: 50px 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.about-section {
    margin-bottom: 40px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.8;
    text-align: justify;
}

.contact-section {
    margin-bottom: 30px;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.blog-section {
    margin-bottom: 30px;
}

.blog-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 24px;
    background: var(--accent-red);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.blog-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Blog Posts Grid Section */
.blog-posts-section {
    margin-bottom: 30px;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.blog-post-card {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.post-url {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.post-title-link {
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-title-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.post-title-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.post-snippet {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta-info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.post-date-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.post-category-meta {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

.blog-section-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 24px;
    background: var(--accent-red);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    height: fit-content;
}

.email-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--primary-dark);
}

.email-link svg {
    width: 24px;
    height: 24px;
}

.social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 0;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 18px;
    background: var(--accent-red);
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    height: fit-content;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 2px solid var(--primary-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer .domain {
    margin-top: 10px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .blog-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 40px 30px;
    }

    .name {
        font-size: 2rem;
    }

    .role {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .photo-frame {
        width: 150px;
        height: 150px;
    }

    .about-text {
        font-size: 1rem;
        text-align: left;
    }

    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .name {
        font-size: 1.75rem;
    }

    .roles {
        flex-direction: column;
        gap: 8px;
    }

    .role-divider {
        display: none;
    }

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

