.blog-navigation {
    text-align: center;
    margin-top: 20px;
}

.blog-prev,
.blog-next {
    background: #f29ab9;
    color: #fff;
    padding: 8px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 8px;
    transition: 0.3s;
}

.blog-prev:hover,
.blog-next:hover {
    background: #4d537f;
}

.blog-titel{
    font-size: 25px;
    color: #4d537f;
    font-weight: 700;
}

.page-blog{
    padding: 20px !important;
}



.card-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 150px;     /* same size image for all */
    object-fit: cover; /* crop properly */
    border-radius: 6px;
}

.card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.card p {
    font-size: 14px;
    color: #555;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background: #f29ab9;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
}

/* Responsive: 5 → 3 → 2 → 1 cards */
@media (max-width: 1100px) {
    .card-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .card-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .card-section {
        grid-template-columns: repeat(1, 1fr);
    }
}



.author-section {
    display: flex;
    gap: 20px;
    padding: 20px 90px ;
    /* border: 4px solid #f29ab9; */
    border-radius: 10px;
    background: #f29ab9;
    align-items: center;
    margin-top: 40px;
}

.author-img img {
    width: 90px;

    border-radius: 8px;
    object-fit: cover;
}

.author-content p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
  
}

.author-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.author-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .author-section {
        flex-direction: column;
        text-align: center;
    }
}



 /* Optional: make links in sidebar nice */
    .sidebar a {
        text-decoration: none;
        color: #333;
        display: block;
        padding: 5px 0;
        transition: background 0.2s;
    }
    .sidebar a:hover {
        background-color: #e0e0e0;
        padding-left: 5px;
    }

    /* Responsive: stack on mobile */
    @media (max-width: 992px) {
        .container {
            flex-direction: column;
        }
        .main-content, .sidebar {
            flex: 1;
        }
    }