.articles-page {
    padding-bottom: 60px;
}

.header {
    margin-bottom: 40px;
    padding-top: 20px;
}

.header h1 {
    color: #5E4DA7;
    font-size: 48px;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 8px;
}

/* Section headers */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 20px;
    margin-top: 40px;
    border-bottom: 2px solid #ede9f7;
    padding-bottom: 10px;
}

.section-header h2 {
    color: #000;
    font-size: 28px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.section-header .scroll-hint {
    color: #5E4DA7;
    font-size: 14px;
    margin: 0;
}

/* Horizontal scroll rows */
.scroll-row {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    flex-wrap: nowrap;
    margin-bottom: 20px;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #CBC5E6 #f0edf9;
}

.scroll-row::-webkit-scrollbar {
    height: 6px;
}

.scroll-row::-webkit-scrollbar-track {
    background: #f0edf9;
    border-radius: 3px;
}

.scroll-row::-webkit-scrollbar-thumb {
    background: #CBC5E6;
    border-radius: 3px;
}

/* Yearbook cards */
.yearbook-card {
    flex: 0 0 200px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.yearbook-card:hover {
    box-shadow: 0 6px 18px rgba(94, 77, 167, 0.18);
    transform: translateY(-3px);
}

.yearbook-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
}

.yearbook-card-body {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.yearbook-card-body h3 {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.yearbook-card-body .link {
    color: #5E4DA7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    margin: 0;
}

/* Place cards */
.place-card {
    flex: 0 0 240px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.place-card:hover {
    box-shadow: 0 6px 18px rgba(94, 77, 167, 0.18);
    transform: translateY(-3px);
}

.place-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.place-card-body {
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.place-card-body h3 {
    color: #000;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.place-card-body .link {
    color: #5E4DA7;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    margin: 0;
}

/* Signs */
.signs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .signs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.sign-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 14px 18px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: box-shadow 0.2s, transform 0.2s, background-color 0.2s;
    border-left: 4px solid #5E4DA7;
}

.sign-card:hover {
    box-shadow: 0 6px 18px rgba(94, 77, 167, 0.18);
    transform: translateY(-2px);
    background-color: #f5f3fb;
    color: #5E4DA7;
}

.sign-card-arrow {
    color: #5E4DA7;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: 8px;
}
