* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

body {
    background-color: #fafbfc;
    color: #1a1a1a;
    line-height: 1.5;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: clamp(400px, 65vh, 600px);
    overflow: hidden;
    margin-bottom: clamp(40px, 5vw, 50px);
}

.hero-image {
    width: 100%;
    height: 100%;
    background-image: url('https://sturgeonbio-prd-public-files.s3.eu-central-1.amazonaws.com/blog_main/blog_header.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.8) contrast(1.1);
    transition: filter 0.4s ease;
}

.hero-section:hover .hero-image {
    filter: brightness(0.75) contrast(1.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
            135deg,
            rgba(26, 32, 44, 0.4) 0%,
            rgba(26, 32, 44, 0.3) 50%,
            rgba(26, 32, 44, 0.45) 100%
    );
}

.hero-overlay h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 6vw, 48px);
    color: white;
    text-transform: uppercase;
    letter-spacing: clamp(6px, 2vw, 16px);
    font-weight: 300;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 50px);
    padding: clamp(25px, 4vw, 30px) 0;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.header h1 {
    font-size: clamp(26px, 4vw, 32px);
    font-weight: 400;
    background: radial-gradient(circle, #EFB995 -20%, #98735B 110%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.header p {
    color: #4a5568;
    font-weight: 300;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
}

/* Container */
.container-blogy {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: clamp(30px, 4vw, 40px);
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 20px);
}

/* Compact Article Cards */
.article {
    display: flex;
    align-items: stretch;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    border-radius: 0;
    min-height: 180px;
}

.article:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.article img {
    width: clamp(130px, 16vw, 190px);
    height: auto;
    min-height: 180px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 2.8vw, 22px);
}

.article-content h2 {
    font-size: clamp(16px, 2.2vw, 18px);
    font-weight: 400;
    color: #111;
    margin: 0 0 8px 0;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.date {
    font-size: clamp(10px, 1.3vw, 11px);
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.article-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #777;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 12px;
    text-overflow: ellipsis;
    font-size: clamp(13px, 1.8vw, 14px);
}

.read-more {
    display: inline-block;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: clamp(10px, 1.2vw, 11px);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    align-self: flex-start;
}

.read-more::after {
    content: '→';
    font-size: 12px;
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(3px);
}

/* Sidebar */
.sidebar {
    background-color: #ffffff;
    padding: 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: relative;
    height: fit-content;
    top: 0;
    overflow: hidden;
}

.about-me {
    margin-bottom: 0;
}

.about-me h3 {
    text-align: left;
    margin-bottom: 18px;
    font-size: clamp(16px, 2.5vw, 18px);
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: clamp(20px, 3vw, 25px) clamp(20px, 3vw, 25px) 0;
}

.about-me img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    margin-bottom: 18px;
    transition: opacity 0.3s ease;
    display: block;
}

.about-me img:hover {
    opacity: 0.85;
}

.about-me p {
    color: #4a5568;
    font-size: clamp(14px, 2vw, 15px);
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 1.6;
    padding: 0 clamp(20px, 3vw, 25px);
    text-align: justify;
    hyphens: auto;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(20px, 5vw, 60px);
    margin-bottom: clamp(20px, 3vw, 30px);
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #4a5568;
    text-decoration: none;
    background-color: white;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.page-link:hover {
    background-color: #f7fafc;
    color: #2d3748;
    border-color: #cbd5e0;
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #EFB995 0%, #98735B 100%);
    color: white;
    border-color: #98735B;
    font-weight: 500;
}

.page-item.disabled .page-link {
    color: #a0aec0;
    background-color: #f7fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
    transform: none;
}

.page-item.disabled .page-link:hover {
    background-color: #f7fafc;
    color: #a0aec0;
    transform: none;
}

.page-link.prev,
.page-link.next {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.page-link.prev::before {
    content: '←';
    font-size: 14px;
}

.page-link.next::after {
    content: '→';
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-blogy {
        grid-template-columns: 1fr;
        gap: 35px;
        width: 90%;
    }

    .article {
        flex-direction: column;
        min-height: 220px;
    }

    .article img {
        width: 100%;
        height: 200px;
        min-height: auto;
    }

    .sidebar {
        order: 1;
        margin-bottom: 25px;
        padding: 0;
    }

    .hero-section {
        height: 300px;
    }

    .header {
        width: 90%;
    }

    .pagination {
        gap: 4px;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .page-link.prev,
    .page-link.next {
        font-size: 11px;
    }
    .header p{
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container-blogy {
        width: 90%;
    }

    .article-content {
        padding: 18px;
    }

    .sidebar {
        padding: 0;
    }

    .main-content {
        gap: 14px;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 4px 8px;
        font-size: 12px;
    }

    .page-link.prev::before,
    .page-link.next::after {
        margin: 0;
    }

    .page-link.prev span,
    .page-link.next span {
        display: none;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Subtle loading animation */
img {
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
