:root {
  --primary-light: #f7fff0;
}

.page-content {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.category-top h1 {
    display: none;
}

.article-title {
    margin-top: 10px;
    margin-left: 12px;
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-light);
}

.article-image {
    width: 96%;
    aspect-ratio: 5/2;
    object-fit: cover;
    border-radius: 8px;
    margin: 0px 12px;
}

.text {
    font-size: 1.2rem;
    line-height: 1.55;
    color: var(--primary-light);
    opacity: 85%;
    margin-left: 12px;
}

/* ----------------------------------------------
   Artikel bearbeiten
---------------------------------------------- */

.article-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-left: 0.75vw;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 14px 14px;
    border-radius: 10px;

    color: var(--primary-light);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.action-btn img {
    width: 35px;
    height: 35px;
}

/* Bearbeiten */
.action-btn.edit:hover {
    background: #ffffff33;
}

/* Löschen */
.action-btn.delete {
    background: #ff5c5c;
}

.action-btn.delete:hover {
    background: #e94a4a;
}


/* ----------------------------------------------
   Mobile Ansicht
---------------------------------------------- */

@media (max-width: 800px) {

    .top-bar {
        margin-top: 20px;
    }

    .small-icon {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }

    .arrow {
        font-size: 2rem;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .text {
        font-size: 1.1rem;
    }
}
